From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Date: Tue, 06 Mar 2001 02:00:20 +0000 Subject: Re: Driver for In-System USB hard drive box Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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" To: Sent: Monday, March 05, 2001 2:38 PM Subject: 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 > Linux-hotplug-devel@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel