linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Driver for In-System USB hard drive box
@ 2001-03-05 22:38 Richard G. Holst
  2001-03-05 22:56 ` Matthew Dharm
  2001-03-06  2:00 ` David Brownell
  0 siblings, 2 replies; 3+ messages in thread
From: Richard G. Holst @ 2001-03-05 22:38 UTC (permalink / raw)
  To: linux-hotplug

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Driver for In-System USB hard drive box
  2001-03-05 22:38 Driver for In-System USB hard drive box Richard G. Holst
@ 2001-03-05 22:56 ` Matthew Dharm
  2001-03-06  2:00 ` David Brownell
  1 sibling, 0 replies; 3+ messages in thread
From: Matthew Dharm @ 2001-03-05 22:56 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 652 bytes --]

On Mon, Mar 05, 2001 at 05:38:18PM -0500, Richard G. Holst wrote:
> 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

-- 
Matthew Dharm                              Home: mdharm-usb@one-eyed-alien.net 
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

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Driver for In-System USB hard drive box
  2001-03-05 22:38 Driver for In-System USB hard drive box Richard G. Holst
  2001-03-05 22:56 ` Matthew Dharm
@ 2001-03-06  2:00 ` David Brownell
  1 sibling, 0 replies; 3+ messages in thread
From: David Brownell @ 2001-03-06  2:00 UTC (permalink / raw)
  To: linux-hotplug

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" <rgholst@adelphia.net>
To: <linux-hotplug-devel@lists.sourceforge.net>
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-03-06  2:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-05 22:38 Driver for In-System USB hard drive box Richard G. Holst
2001-03-05 22:56 ` Matthew Dharm
2001-03-06  2:00 ` David Brownell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).