I believe this is intentional incase you plug your device back in again. On Tue, 18 Mar 2003, Jan Fabry wrote:
> Hello, > > I needed support for my Pentax Optio 430RS, so I added information I > found on the web [ http://www.qbik.ch/usb/devices/showdev.php?id=1377 ] > in unusual_devs.h, and recompiled this module. I replaced the > usb-storage.o in > /lib/modules/linux-[myversion]/kernel/drivers/usb/storage/ with my > version. I can load this module with no problems. I can mount my card, > and everything works. > > Hotplug recognizes the device, and loads the correct module for it. > However, nothing happens when I disconnect the camera. I get a message > in /var/log/messages, but the device is still listed in /proc/scsi/scsi, > and I can get information about it in /proc/scsi/usb-storage-0/1. The > module also stays in memory. > > I can unload the module myself, but it gives a warning message (scsi : 1 > host left). > > What can be wrong here? Any help is appreciated. > > Greetings, > > Jan Fabry > > This is the relevant part of /var/log/messages: > > [Connect] > > Mar 18 16:28:47 localhost kernel: hub.c: USB new device connect on > bus4/1/4, assigned device number 23 > Mar 18 16:28:47 localhost kernel: usb.c: USB device 23 (vend/prod > 0xa17/0x4) is not claimed by any active driver. > Mar 18 16:28:50 localhost /etc/hotplug/usb.agent: Setup usb-storage for > USB product a17/4/1000 > Mar 18 16:28:50 localhost kernel: Initializing USB Mass Storage > driver... > Mar 18 16:28:50 localhost kernel: usb.c: registered new driver > usb-storage > Mar 18 16:28:50 localhost kernel: scsi1 : SCSI emulation for USB Mass > Storage devices > Mar 18 16:28:50 localhost kernel: Vendor: Pentax Model: Optio > 430RS Rev: 1000 > Mar 18 16:28:50 localhost kernel: Type: > Direct-Access ANSI SCSI revision: 02 > Mar 18 16:28:50 localhost kernel: Attached scsi removable disk sda at > scsi1, channel 0, id 0, lun 0 > Mar 18 16:28:50 localhost kernel: usb-uhci.c: interrupt, status 3, > frame# 116 > Mar 18 16:28:50 localhost kernel: SCSI device sda: 125184 512-byte hdwr > sectors (64 MB) > Mar 18 16:28:50 localhost kernel: sda: Write Protect is off > Mar 18 16:28:50 localhost kernel: sda: sda1 > Mar 18 16:28:50 localhost kernel: USB Mass Storage support registered. > Mar 18 16:28:50 localhost /etc/hotplug/usb.agent: Module setup > usb-storage for USB product a17/4/1000 > > [Disconnect] > > Mar 18 16:29:20 localhost kernel: usb.c: USB disconnect on device 23 > > [Unload module] > > Mar 18 16:40:19 localhost kernel: usb.c: deregistering driver > usb-storage > Mar 18 16:40:19 localhost kernel: scsi : 1 host left. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Does your code think in ink? > You could win a Tablet PC. Get a free Tablet PC hat just for playing. > What are you waiting for? > http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en > _______________________________________________ > [EMAIL PROTECTED] > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-users > -- /------------------------------------+-------------------------\ |Stephen J. Gowdy | SLAC, MailStop 34, | |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road, | |http://calendar.yahoo.com/gowdy | Menlo Park CA 94025, USA | |EMail: [EMAIL PROTECTED] | Tel: +1 650 926 3144 | \------------------------------------+-------------------------/ ------------------------------------------------------- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
