From: Luke Biddell <luke@biddell.co.uk>
To: linux-hotplug@vger.kernel.org
Subject: Olympus USB digital camera and udev/hotplug
Date: Mon, 11 Oct 2004 21:38:18 +0000 [thread overview]
Message-ID: <1097530697.4696.19.camel@tranquillitatis> (raw)
[-- Attachment #1: Type: text/plain, Size: 4098 bytes --]
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 <linux-hotplug-devel@lists.sourceforge.net>
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
[-- Attachment #2: Type: text/html, Size: 5324 bytes --]
reply other threads:[~2004-10-11 21:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1097530697.4696.19.camel@tranquillitatis \
--to=luke@biddell.co.uk \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.