* Re: [linux-usb-devel] [PATCH] simplify/change usb.usermap handling
@ 2003-06-08 21:52 David Brownell
2003-06-09 15:25 ` Olaf Hering
0 siblings, 1 reply; 2+ messages in thread
From: David Brownell @ 2003-06-08 21:52 UTC (permalink / raw)
To: linux-hotplug
Olaf Hering wrote:
> Hi,
>
> the are are currently 3 kind of maps for device drivers
That is, the user-mode driver databases are built by combining
several categories of usbmap entries, for use by different kinds
of install processes. The most significant are the "depmod"
style installations (/lib/modules/*/modules.usbmap), and the
user mode drivers (/etc/hotplug/usb/*.usermap, which is a
forth type you omitted).
> All have a 'complicated' syntax.
There's only one syntax, as exported from "depmod".
Unfortunately nobody contributed any tools to edit
them (in Python or whatever); I think they'd be a
help to developers.
I happen to think that adding a second syntax would
be a significant change ... one we'll need at some
point, like when we have a more formal way to install
use usb drivers, and worth taking time on.
Seems to me this syntax is weaker than the current
one (no versioning or class support), so you could
solve your USR modem problem without new syntax
(and all the support code + training).
- Dave
> --- etc/hotplug-beta/usb.simple_usermap 2003-06-08 21:45:58.000000000 +0200
> +++ etc/hotplug-beta/usb.simple_usermap 2003-06-08 21:45:42.000000000 +0200
> @@ -0,0 +1,10 @@
> +# syntax of this file:
> +# lines starting with # are ignored
> +# driver matching (values in hex):
> +# usb_module idVendor idProduct
> +# or
> +# usb/helperscript idVendor idProduct
> +#
> +# U.S. Robotics (3Com) 0082 OfficeConnect Analog Modem
> +# does not like the usbmodules --device /proc/bus/usb/x/y
> +acm 0x04c1 0x0082
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-usb-devel] [PATCH] simplify/change usb.usermap handling
2003-06-08 21:52 [linux-usb-devel] [PATCH] simplify/change usb.usermap handling David Brownell
@ 2003-06-09 15:25 ` Olaf Hering
0 siblings, 0 replies; 2+ messages in thread
From: Olaf Hering @ 2003-06-09 15:25 UTC (permalink / raw)
To: linux-hotplug
On Sun, Jun 08, David Brownell wrote:
> Seems to me this syntax is weaker than the current
> one (no versioning or class support), so you could
> solve your USR modem problem without new syntax
> (and all the support code + training).
look again, the old syntax is still there.
*.usermap + *.simple_usermap
I believe that most (but maybe not all) devices can be addressed with
just the vendor+product match.
If my modem is fixable, no idea. Vojtec looked at it once and had no
fix. That makes me wonder.
> >--- etc/hotplug-beta/usb.simple_usermap 2003-06-08
> >21:45:58.000000000 +0200
> >+++ etc/hotplug-beta/usb.simple_usermap 2003-06-08
> >21:45:42.000000000 +0200
> >@@ -0,0 +1,10 @@
> >+# syntax of this file:
> >+# lines starting with # are ignored
> >+# driver matching (values in hex):
> >+# usb_module idVendor idProduct
> >+# or
> >+# usb/helperscript idVendor idProduct
> >+#
> >+# U.S. Robotics (3Com) 0082 OfficeConnect Analog Modem
> >+# does not like the usbmodules --device /proc/bus/usb/x/y
> >+acm 0x04c1 0x0082
>
>
>
>
--
USB is for mice, FireWire is for men!
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-06-09 15:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-08 21:52 [linux-usb-devel] [PATCH] simplify/change usb.usermap handling David Brownell
2003-06-09 15:25 ` Olaf Hering
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.