On 25-Jul-05 Barry Samuels wrote:
My computer has 2 USB ports which connect to a mouse and a printer. Both work.
If I connect my camera (Olympus E10) via the supplied USB cable, in place of the printer, I get no reaction from the system at all even with the usb-storage module loaded as I gather that is the one required. If I then disconnect the camera and plug in the printer lead the printer is then registered by the system.
I've tried connecting the camera and then switching it on and I've tried switching it on first and then plugging in the USB cable with no reaction from the system at all. Usually the last entry in the logs is the usb-storage module being registered.
Incidentally it won't react to my scanner either if I connect that via USB instead of the SCSI connection.
Debian Testing with 2.4.27 kernel.
Any ideas please?
It could be that the fact that you already connected the printer to the USB port left some of the modules in place when you unplugged it and plugged in the camera (or the scanner).
I had a very similar problem with my Red Hat 9 (kernel 2.4.20-8). I'd been plugging in a USB memory stick and unplugging it with bi problems. Then I got a USB camera, and after the first use the stick no longer worked.
I suggest you experiment a bit, along the lines of:
1. Reboot machine, with nothing plugged in (except mouse if you need it).
Do 'lsmod' and note the output.
Is there a /proc/scsi/scsi ? (there shouldn't be).
2. Plug in printer. Do 'lsmod' and note differences from (1).
Do 'cat /proc/scsi/scsi' and also look into what's in /proc/scsi/usb-storage-*
3. Reboot as at (1). Plug in camera. Does it work? Do 'lsmod' and again note differences from (1) and (2). Likewise for what's under /proc/scsi as in (2).
And so on similar. Basically, start with a clean slate and change one thing at a time. Try combinations. Just find out what goes on with modules when you plug things into the USB port.
What the above sort of thing lead me to is that, when I use the stick or the camera, I mount it with
mount /flash
where /flash is a directory on which I mount /dev/sd1 (which is where the stick or the camera is seen after being plugged in, and /flash is an entry I have made in /etc/fstab).
After using the stick or the camera, I clean the slate with
umount /flash rmmod sd_mod usb-storage scsi_mod
which removes the three modules that are brought in when USB storage is plugged in (the problem in my case was that while both the camera and the stick are USB storage, the entries in /proc/scsi/scsi which either creates when plugged in are left in place when it is unplugged, and whichever one it is is incompatible with the other. Removing the modules as above erases the entries in /proc/scsi/scsi and cleans the slate for whatever gets plugged in next).
This is just a hint -- the above worked for me, but your problem may be different!
Good luck, Ted.
-------------------------------------------------------------------- E-Mail: (Ted Harding) Ted.Harding@nessie.mcc.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 25-Jul-05 Time: 19:30:49 ------------------------------ XFMail ------------------------------