Skip to contentSkip to conversation

Olympus USB digital camera and udev/hotplug

DISCUSSION Luke Biddell 1 participant 1 message Oct 11, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I'm running Debian sid with kernel 267 (problem happens with 268 too). If I have udev installed and running, my olympus d230 usb camera is not always recognised when I plug it in. It's intermittent, it has only ever been recognised once. If I remove udev and reboot, the camera is always recognised and available via one of the sd device nodes.

This was logged when I plugged the camera in hence why I've sent this email:

syslog:Oct 11 22:15:50 tranquillitatis wait_for_sysfs[5506]: error:
wait_for_sysfs needs an update to handle the device '/devices/pci0000:00/0000:00:01.2/usb1/1-1/1-1:1.0' properly, please report to <[email protected]>

This is what is logged to /var/log/messages:

Oct 11 22:15:45 tranquillitatis kernel: usb 1-1: new full speed USB
device using address 2
Oct 11 22:15:45 tranquillitatis kernel: scsi0 : SCSI emulation for USB
Mass Storage devices
Oct 11 22:15:50 tranquillitatis kernel: usb 1-1: control timeout on
ep0in
Oct 11 22:16:00 tranquillitatis hal.hotplug[5525]: timout(10000 ms)
waiting for /devices/pci0000:00/0000:00:01.2/usb1/1-1/1-1:1.0
Oct 11 22:16:02 tranquillitatis usb.agent[5529]:      usb-storage:
already loaded
Oct 11 22:16:02 tranquillitatis usb.agent[5529]:      libgphoto2: loaded

successfully

Prior to installing udev this is what would happen:

Oct  3 23:39:47 tranquillitatis kernel: usb 1-1: new full speed USB
device using address 2
Oct  3 23:39:48 tranquillitatis kernel: scsi0 : SCSI emulation for USB
Mass Storage devices
Oct  3 23:39:48 tranquillitatis usb.agent[3437]:      usb-storage:
already loaded
Oct  3 23:39:49 tranquillitatis usb.agent[3437]:      libgphoto2: loaded
successfully
Oct  3 23:39:49 tranquillitatis kernel:   Vendor: OLYMPUS   Model:
D-230             Rev: 1.00
Oct  3 23:39:49 tranquillitatis kernel:   Type:  
Direct-Access                      ANSI SCSI revision: 02
Oct  3 23:39:49 tranquillitatis scsi.agent[3509]: disk at
/devices/pci0000:00/0000:00:01.2/usb1/1-1/1-1:1.0/host0/0:0:0:0
Oct  3 23:39:49 tranquillitatis kernel: SCSI device sda: 256000 512-byte
hdwr sectors (131 MB)
Oct  3 23:39:50 tranquillitatis kernel: sda: Write Protect is off
Oct  3 23:39:50 tranquillitatis kernel: 
/dev/scsi/host0/bus0/target0/lun0: p1
Oct  3 23:39:50 tranquillitatis kernel: Attached scsi removable disk sda

at scsi0, channel 0, id 0, lun 0

The one time it did work, this was printed:

Oct  3 01:09:49 tranquillitatis kernel: usb 1-1: new full speed USB
device using address 8
Oct  3 01:09:50 tranquillitatis kernel: scsi12 : SCSI emulation for USB
Mass Storage devices
Oct  3 01:09:51 tranquillitatis kernel:   Vendor: OLYMPUS   Model:
D-230             Rev: 1.00
Oct  3 01:09:51 tranquillitatis kernel:   Type:  
Direct-Access                      ANSI SCSI revision: 02
Oct  3 01:09:51 tranquillitatis kernel: SCSI device sdb: 256000 512-byte
hdwr sectors (131 MB)
Oct  3 01:09:51 tranquillitatis kernel: sdb: Write Protect is off
Oct  3 01:09:51 tranquillitatis kernel: 
/dev/scsi/host12/bus0/target0/lun0: p1
Oct  3 01:09:51 tranquillitatis kernel: Attached scsi removable disk sdb
at scsi12, channel 0, id 0, lun 0
Oct  3 01:09:51 tranquillitatis scsi.agent[8113]: disk at
/devices/pci0000:00/0000:00:01.2/usb1/1-1/1-1:1.0/host12/12:0:0:0
Oct  3 01:09:52 tranquillitatis udev: configured rule in
'/etc/udev/rules.d/udev.rules' at line 72 applied, added symlink
'olympus_d230'
Oct  3 01:09:52 tranquillitatis udev: configured rule in
'/etc/udev/rules.d/udev.rules' at line 72 applied, 'sdb' becomes '%k'
Oct  3 01:09:52 tranquillitatis udev: creating device node '/dev/sdb'
Oct  3 01:09:52 tranquillitatis udev: configured rule in
'/etc/udev/rules.d/udev.rules' at line 72 applied, added symlink
'olympus_d230'
Oct  3 01:09:52 tranquillitatis udev: configured rule in
'/etc/udev/rules.d/udev.rules' at line 72 applied, 'sdb1' becomes '%k'
Oct  3 01:09:52 tranquillitatis udev: creating device node '/dev/sdb1'
Oct  3 01:09:53 tranquillitatis usb.agent[8107]:      libgphoto2: loaded

successfully

If there's any more info you require then please mail me back.

Cheers

Luke