From: David Brownell <david-b@pacbell.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: Driver for In-System USB hard drive box
Date: Tue, 06 Mar 2001 02:00:20 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-98388770613853@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-98383202016087@msgid-missing>
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
prev parent reply other threads:[~2001-03-06 2:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-hotplug-98388770613853@msgid-missing \
--to=david-b@pacbell.net \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).