[Bug 173429] Re: cant plugin usb camera, udev problem

Thomas Hotz thomas.hotz at gmail.com
Sun Oct 7 10:44:11 UTC 2012


Does it work under supported Ubuntu versions?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/173429

Title:
  cant plugin usb camera, udev problem

Status in libgphoto:
  Unknown
Status in “gphoto2” package in Ubuntu:
  Confirmed
Status in “udev” package in Ubuntu:
  Invalid
Status in “libgphoto2” package in Debian:
  Fix Released

Bug description:
  When I plugging my usb camera (07b4:0109 Olympus Optical Co., Ltd),
  system doesnt create appropriate device /dev/sd*.

  # dmesg
  ...
  [76067.116000] usb 4-1: new high speed USB device using ehci_hcd and address 4
  [76067.276000] usb 4-1: configuration #1 chosen from 1 choice
  [76067.284000] scsi31 : SCSI emulation for USB Mass Storage devices
  [76067.284000] usb-storage: device found at 4
  [76067.284000] usb-storage: waiting for device to settle before scanning

  But when I remove /etc/udev/rules.d/45-libgphoto2.rules, it work fine:

  [76221.148000] usb 4-1: new high speed USB device using ehci_hcd and address 5
  [76221.308000] usb 4-1: configuration #1 chosen from 1 choice
  [76221.312000] scsi32 : SCSI emulation for USB Mass Storage devices
  [76221.312000] usb-storage: device found at 5
  [76221.312000] usb-storage: waiting for device to settle before scanning
  [76226.312000] usb-storage: device scan complete
  [76226.312000] scsi 32:0:0:0: Direct-Access     OLYMPUS  SP320            1.00 PQ: 0 ANSI: 2
  [76226.324000] sd 32:0:0:0: [sdb] 1023120 512-byte hardware sectors (524 MB)
  [76226.328000] sd 32:0:0:0: [sdb] Write Protect is off
  [76226.328000] sd 32:0:0:0: [sdb] Mode Sense: 18 00 00 08
  [76226.328000] sd 32:0:0:0: [sdb] Assuming drive cache: write through
  [76226.332000] sd 32:0:0:0: [sdb] 1023120 512-byte hardware sectors (524 MB)
  [76226.336000] sd 32:0:0:0: [sdb] Write Protect is off
  [76226.336000] sd 32:0:0:0: [sdb] Mode Sense: 18 00 00 08
  [76226.336000] sd 32:0:0:0: [sdb] Assuming drive cache: write through
  [76226.336000]  sdb: sdb1
  [76226.344000] sd 32:0:0:0: [sdb] Attached SCSI removable disk
  [76226.344000] sd 32:0:0:0: Attached scsi generic sg1 type 0

  # ll /dev/sdb*
  brw-rw---- 1 root plugdev 8, 16 2007-12-02 18:23 /dev/sdb
  brw-rw---- 1 root plugdev 8, 17 2007-12-02 18:23 /dev/sdb1

  I cant determine which packet install this file:

  # dpkg -S 45-libgphoto2.rules
  dpkg: *45-libgphoto2.rules* not found.

  # apt-cache show udev |grep Ver
  Version: 113-0ubuntu16
  # apt-cache show libgphoto2-2 |grep Ver
  Version: 2.4.0-2ubuntu2
  # uname -r
  2.6.22-14-generic

To manage notifications about this bug go to:
https://bugs.launchpad.net/libgphoto/+bug/173429/+subscriptions




More information about the foundations-bugs mailing list