From: David Brownell <david-b@pacbell.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: [linux-usb-devel] [PATCH] simplify/change usb.usermap handling
Date: Sun, 08 Jun 2003 21:52:31 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-105517196614906@msgid-missing> (raw)
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
next reply other threads:[~2003-06-08 21:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-08 21:52 David Brownell [this message]
2003-06-09 15:25 ` [linux-usb-devel] [PATCH] simplify/change usb.usermap handling Olaf Hering
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-105517196614906@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).