Driver for In-System USB hard drive box
All,
I am a bit confused and need some help.
I am trying to get my external USB hard drive manufactured by In-Systems Design to connect to my RedHat 7.0 running a 2.4.2 Kernel. The hardware is an Asus P5A motherboard with 128 MB of ram and a K6-3-450 Processor.
I checked and made sure the HotPlug was turned on and all the USB stuff in the kernel was set to module. I can manually load the usb-ochi and the usb-storage modules. When I load the storage module, I can see the LED on the USB drive blink four different times. I checked the /proc/sys/kernel/hotplug file and it does contain the path to /sbin/hotplug. I put a echo statement in the /sbin/hotplug file as a test, and the file does execute every time I plug the USB drive in and every time I unplug it. Further investigation found that the /var/log/messages file was having the following lines added when I plugged the drive in:
kernel: hub.c USB new device connected on bus1/1, assigned device number
5
/sbin/hotplug: ... no driver for USB product 5ab/31/100
I though that the usb-storage.o file was the drive of USB storage devices?
Does the USB hard drive require a special driver in addition to the modules I have already loaded?
I checked the WEB site of In-Systems and there is no Linux drive posted. I emailed their tech support and the claim that I should not need a driver for Linux that it is already built into Linux.
Could someone please explain? Does every USB device I want to connect to Linux need an additional driver or are some drivers already present? How do I know which drivers to use?
Thanks in advance,
Dick Holst
K2RH
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 1 line · Richard G. Holst
I though that the usb-storage.o file was the drive of USB storage devices?
Check the latest usb-storage code out of the CVS repository wiht
cvs -d cvs.linux-usb.sourceforge.net:/cvsroot/linux-usb co storage
And try with that code. The In-System driver is relatively new.
Matt
Signature · 7 lines
Matthew Dharm Home: [email protected] Maintainer, Linux USB Mass Storage Driver M: No, Windows doesn't have any nag screens. C: Then what are those blue and white screens I get every day? -- Mike and Cobb User Friendly, 1/4/1999
Cut/pasted from some email of yesterday is the way to find out what's really going on ... try with the latest scripts.
- Dave
So the problem is only to find out why the usb.agent script doesn't handle it. I have my guess below ... but you can debug such things yourself pretty easily.
You can snapshot the environment variables given to the hotplug script, or an agent, by adding a line line "env > /tmp/variables" to the script. Then turn those into a script that just assigns and exports (!) the variables listed up at the front ... use it to call "sh -x usb.agent" (or "pci.agent" or whatever) to see exactly what it's doing. With that kind of debug output, it's easy to find and fix problems.
----- Original Message -----
From: "Richard G. Holst" <[email protected]>
To: <[email protected]>
Sent: Monday, March 05, 2001 2:38 PM
Subject: Driver for In-System USB hard drive box
Quoted 44 lines
All,
I am a bit confused and need some help.
I am trying to get my external USB hard drive manufactured by In-Systems Design to connect to my RedHat 7.0 running a 2.4.2 Kernel. The hardware is an Asus P5A motherboard with 128 MB of ram and a K6-3-450 Processor.
I checked and made sure the HotPlug was turned on and all the USB stuff in the kernel was set to module. I can manually load the usb-ochi and the usb-storage modules. When I load the storage module, I can see the LED on the USB drive blink four different times. I checked the
/proc/sys/kernel/hotplugfile and it does contain the path to/sbin/hotplug. I put a echo statement in the/sbin/hotplugfile as a test, and the file does execute every time I plug the USB drive in and every time I unplug it. Further investigation found that the/var/log/messagesfile was having the following lines added when I plugged the drive in:kernel:
hub.cUSB new device connected on bus1/1, assigned device number 5
/sbin/hotplug: ... no driver for USB product 5ab/31/100I though that the usb-storage.o file was the drive of USB storage devices?
Does the USB hard drive require a special driver in addition to the modules I have already loaded?
I checked the WEB site of In-Systems and there is no Linux drive posted. I emailed their tech support and the claim that I should not need a driver for Linux that it is already built into Linux.
Could someone please explain? Does every USB device I want to connect to Linux need an additional driver or are some drivers already present? How do I know which drivers to use?
Thanks in advance,
Dick Holst
K2RH
Quoted 4 lines
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel