* Re: [linux-usb-devel] Re: hotplugging with current modutils and usbdcvs
@ 2001-01-08 23:14 David Brownell
2001-01-08 23:24 ` David Brownell
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: David Brownell @ 2001-01-08 23:14 UTC (permalink / raw)
To: linux-hotplug
I suspect this is the problem where "usbutils" hasn't
yet been updated to understand what modutils 2.4.1 is
writing out ...
If you update that, you might want to figure out where
to install "usbmodules": /usr/local/sbin was where it
landed on my system, but that's not one of the normal
places to find things run by sysadmin scripts.
- Dave
----- Original Message -----
From: Norbert Preining <preining@logic.at>
To: David Brownell <david-b@pacbell.net>; <linux-hotplug-devel@lists.sourceforge.net>;
<linux-usb-devel@lists.sourceforge.net>
Sent: Monday, January 08, 2001 2:53 PM
Subject: Re: [linux-usb-devel] Re: hotplugging with current modutils and usbdcvs
> On Mon, 08 Jan 2001, Norbert Preining wrote:
> > I didn't have the time to debug the script, but it looks like if the
> > usbmodules program is installed but does not take the --mapfile parameter
> > the hotplug process does not work at all.
>
> Additional information: With usbmodules from the cvs usbutils package
> (supports --mapfile) invoking usbmodules --device .... always gives me
> the empty string. Should it be like this?
>
> --
> ciao
> norb
>
_______________________________________________
Linux-hotplug-devel mailing list
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-usb-devel] Re: hotplugging with current modutils and usbdcvs
2001-01-08 23:14 [linux-usb-devel] Re: hotplugging with current modutils and usbdcvs David Brownell
@ 2001-01-08 23:24 ` David Brownell
2001-01-09 7:22 ` Miles Lane
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: David Brownell @ 2001-01-08 23:24 UTC (permalink / raw)
To: linux-hotplug
> Without usbmodules program the hotplugging didn't work at all for
> scanner (epson perfection 1200u, did work before), nor mouse/joystick
> nor usb-storage.
Curious, it most certainly worked for a mouse I tested it against.
Was that a combined mouse/joystick ... or a real mouse? Did you
install both modutils 2.4.1 and Keith's patch? And then rebuild
and reinstall your kernel, and reinstall all the kernel modules?
Rule of thumb for this version: if a HID device doesn't hotplug,
it's going to need an entry in /etc/hotplug/usb.handmap ... that
will be true until someone starts to teach the "input" subsystem
how to hotplug. (The previous version needed that for usb-storage
devices too ... but the ABI change made it easier for that driver
to hotplug, so usb-storage should mostly hotplug.)
I've not looked at it, but one way to start "input" hotplugging might
be to find out where "hid.c" sees devices' HID descriptors, and issue
call_usermodehelper() with information describing the device type.
An /etc/hotplug/input.agent script should be able to figure out
whether it's a mouse, keyboard, joystick, UPS, tablet, etc and
modprobe accordingly.
- Dave
_______________________________________________
Linux-hotplug-devel mailing list
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-usb-devel] Re: hotplugging with current modutils and usbdcvs
2001-01-08 23:14 [linux-usb-devel] Re: hotplugging with current modutils and usbdcvs David Brownell
2001-01-08 23:24 ` David Brownell
@ 2001-01-09 7:22 ` Miles Lane
2001-01-09 7:37 ` Miles Lane
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Miles Lane @ 2001-01-09 7:22 UTC (permalink / raw)
To: linux-hotplug
David Brownell wrote:
> I suspect this is the problem where "usbutils" hasn't
> yet been updated to understand what modutils 2.4.1 is
> writing out ...
>
> If you update that, you might want to figure out where
> to install "usbmodules": /usr/local/sbin was where it
> landed on my system, but that's not one of the normal
> places to find things run by sysadmin scripts.
Where do I get an up-to-date usbmodules? I've never had
such a utility and don't find it in the hotplug tar file
you posted.
Thanks!
Miles
_______________________________________________
Linux-hotplug-devel mailing list
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-usb-devel] Re: hotplugging with current modutils and usbdcvs
2001-01-08 23:14 [linux-usb-devel] Re: hotplugging with current modutils and usbdcvs David Brownell
2001-01-08 23:24 ` David Brownell
2001-01-09 7:22 ` Miles Lane
@ 2001-01-09 7:37 ` Miles Lane
2001-01-09 7:50 ` Norbert Preining
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Miles Lane @ 2001-01-09 7:37 UTC (permalink / raw)
To: linux-hotplug
Miles Lane wrote:
> David Brownell wrote:
>
>> I suspect this is the problem where "usbutils" hasn't
>> yet been updated to understand what modutils 2.4.1 is
>> writing out ...
>>
>> If you update that, you might want to figure out where
>> to install "usbmodules": /usr/local/sbin was where it
>> landed on my system, but that's not one of the normal
>> places to find things run by sysadmin scripts.
>
>
> Where do I get an up-to-date usbmodules? I've never had
> such a utility and don't find it in the hotplug tar file
> you posted.
After a bit of hunting around, I found that usbmodules
comes from usbutils. I went to the usbutils home page:
http://libusb.sourceforge.net/
But, the newest version of the package posted there is:
usbutils-0.7.tar.gz 03-Nov-2000 17:51
I doubt this is what I need for testing.
Pointers to the right stuff?
Miles
_______________________________________________
Linux-hotplug-devel mailing list
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-usb-devel] Re: hotplugging with current modutils and usbdcvs
2001-01-08 23:14 [linux-usb-devel] Re: hotplugging with current modutils and usbdcvs David Brownell
` (2 preceding siblings ...)
2001-01-09 7:37 ` Miles Lane
@ 2001-01-09 7:50 ` Norbert Preining
2001-01-09 8:08 ` Miles Lane
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Norbert Preining @ 2001-01-09 7:50 UTC (permalink / raw)
To: linux-hotplug
On Mon, 08 Jan 2001, Miles Lane wrote:
> usbutils-0.7.tar.gz 03-Nov-2000 17:51
>
> I doubt this is what I need for testing.
>
> Pointers to the right stuff?
Take the cvs version!
--
ciao
norb
+-------------------------------------------------------------------+
| Norbert Preining http://www.logic.at/people/preining |
| University of Technology Vienna, Austria preining@logic.at |
| DSA: 0x09C5B094 (RSA: 0xCF1FA165) mail subject: get [DSA|RSA]-key |
+-------------------------------------------------------------------+
_______________________________________________
Linux-hotplug-devel mailing list
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-usb-devel] Re: hotplugging with current modutils and usbdcvs
2001-01-08 23:14 [linux-usb-devel] Re: hotplugging with current modutils and usbdcvs David Brownell
` (3 preceding siblings ...)
2001-01-09 7:50 ` Norbert Preining
@ 2001-01-09 8:08 ` Miles Lane
2001-01-09 8:18 ` Norbert Preining
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Miles Lane @ 2001-01-09 8:08 UTC (permalink / raw)
To: linux-hotplug
Norbert Preining wrote:
> On Mon, 08 Jan 2001, Miles Lane wrote:
>
>> usbutils-0.7.tar.gz 03-Nov-2000 17:51
>>
>> I doubt this is what I need for testing.
>>
>> Pointers to the right stuff?
>
>
> Take the cvs version!
The only CVS tree I can find referenced in any way from
the homepage that mentioned usbutils is for libusb.
I downloaded the CVS version and built libusb, but I
see no sign of usbutils or usbmodules. Do I just need
the CVS version of libusb and the latest released version
of usbutils?
Thanks,
Miles
_______________________________________________
Linux-hotplug-devel mailing list
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-usb-devel] Re: hotplugging with current modutils and usbdcvs
2001-01-08 23:14 [linux-usb-devel] Re: hotplugging with current modutils and usbdcvs David Brownell
` (4 preceding siblings ...)
2001-01-09 8:08 ` Miles Lane
@ 2001-01-09 8:18 ` Norbert Preining
2001-01-09 8:18 ` Miles Lane
2001-01-09 8:22 ` Miles Lane
7 siblings, 0 replies; 9+ messages in thread
From: Norbert Preining @ 2001-01-09 8:18 UTC (permalink / raw)
To: linux-hotplug
On Die, 09 Jan 2001, Miles Lane wrote:
> The only CVS tree I can find referenced in any way from
> the homepage that mentioned usbutils is for libusb.
Take a look at http://usb.cs.tum.edu/download.html
--
ciao
norb
+-------------------------------------------------------------------+
| Norbert Preining http://www.logic.at/people/preining |
| University of Technology Vienna, Austria preining@logic.at |
| DSA: 0x09C5B094 (RSA: 0xCF1FA165) mail subject: get [DSA|RSA]-key |
+-------------------------------------------------------------------+
_______________________________________________
Linux-hotplug-devel mailing list
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-usb-devel] Re: hotplugging with current modutils and usbdcvs
2001-01-08 23:14 [linux-usb-devel] Re: hotplugging with current modutils and usbdcvs David Brownell
` (5 preceding siblings ...)
2001-01-09 8:18 ` Norbert Preining
@ 2001-01-09 8:18 ` Miles Lane
2001-01-09 8:22 ` Miles Lane
7 siblings, 0 replies; 9+ messages in thread
From: Miles Lane @ 2001-01-09 8:18 UTC (permalink / raw)
To: linux-hotplug
Norbert Preining wrote:
> On Mon, 08 Jan 2001, Miles Lane wrote:
>
>> usbutils-0.7.tar.gz 03-Nov-2000 17:51
>>
>> I doubt this is what I need for testing.
>>
>> Pointers to the right stuff?
>
>
> Take the cvs version!
Here's the command I used to download the libusb CVS source.
When I downloaded a released tarfile of usbutils, I found
that libusb seems to be contained within usbutils, but I
see no CVS module for usbutils. Hmm. Rats.
Here's what I tried:
cvs -z3 -d:pserver:anonymous@cvs.libusb.sourceforge.net:/cvsroot/libusb
co libusb
_______________________________________________
Linux-hotplug-devel mailing list
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-usb-devel] Re: hotplugging with current modutils and usbdcvs
2001-01-08 23:14 [linux-usb-devel] Re: hotplugging with current modutils and usbdcvs David Brownell
` (6 preceding siblings ...)
2001-01-09 8:18 ` Miles Lane
@ 2001-01-09 8:22 ` Miles Lane
7 siblings, 0 replies; 9+ messages in thread
From: Miles Lane @ 2001-01-09 8:22 UTC (permalink / raw)
To: linux-hotplug
Norbert Preining wrote:
> On Die, 09 Jan 2001, Miles Lane wrote:
>
>> The only CVS tree I can find referenced in any way from
>> the homepage that mentioned usbutils is for libusb.
>
>
> Take a look at http://usb.cs.tum.edu/download.html
Thanks Norbert. I've got it now.
Miles
_______________________________________________
Linux-hotplug-devel mailing list
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2001-01-09 8:22 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-08 23:14 [linux-usb-devel] Re: hotplugging with current modutils and usbdcvs David Brownell
2001-01-08 23:24 ` David Brownell
2001-01-09 7:22 ` Miles Lane
2001-01-09 7:37 ` Miles Lane
2001-01-09 7:50 ` Norbert Preining
2001-01-09 8:08 ` Miles Lane
2001-01-09 8:18 ` Norbert Preining
2001-01-09 8:18 ` Miles Lane
2001-01-09 8:22 ` Miles Lane
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).