From: Andrey Borzenkov <arvidjaar@mail.ru>
To: linux-hotplug@vger.kernel.org
Subject: Re: [PATCH] input hotplug support
Date: Tue, 28 Oct 2003 18:19:01 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-106736727910911@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-105977896014708@msgid-missing>
On Tuesday 14 October 2003 03:56, Greg KH wrote:
> On Sat, Aug 02, 2003 at 12:53:02PM +0400, Andrey Borzenkov wrote:
> > On Saturday 02 August 2003 03:57, Greg KH wrote:
> > > On Sat, Aug 02, 2003 at 01:39:37AM +0400, Andrey Borzenkov wrote:
> > > > this adds input agent and coldplug rc script. It relies on patch for
> > > > module-init-tools that gnerates input handlers map table being posted
> > > > to lkml as well.
> > > >
> > > > input agent loads input handler in respond to input subsystem
> > > > request. It is currently purely table-driven, no attempt to provide
> > > > for any static list or like was done, it needs some operational
> > > > experience.
> > > >
> > > > static coldplug rc script is intended to load input handlers for any
> > > > built-in input drivers, like e.g. psmouse (if you built it in).
> > > > Currently it does it by parsing /proc/bus/input/devices, I'd like to
> > > > use sysfs but apparently support for it in input susbsystem is
> > > > incomplete at best.
> > > >
> > > > It also modifies usb.agent to not consult usb.handmap on 2.6, as it
> > > > is not needed anymore.
> > > >
> > > > Patch is against 2003_05_01 version of hotplug. Comments appreciated.
> > >
> > > Can you send it not compressed so we have a chance to read it?
> >
> > sorry.
> >
> > plain text attached.
>
> Thanks, I've applied this patch. Did your module-init-tools patch make
> it into that package too?
>
No, Rusty was against it. You should have received those mails as well (you
were on Cc at least), subject was
"module-init-tools - input devices id support"
If you do not have them I can forward or they are on lkml as well, sorry do
not have pointers handy.
in short Rusty said the right thing is to use scripts/file2alias to generate
module aliases out of input device id tables. While I do not object in
principle, the reasons I did it the current way were
- it is consistent with how things are implemented currently and no one so far
told me it is going to change
- I think it is more flexible. E.g. it provides for extra filtering
(blacklisting) if needed. Doing this requires most of the current code (in
some form) even in presence of aliases generated by file2alias
- given size of input id tables it will generate aliases of size more than 1k
characters. Not that I really care but it is hardly readable.
- file2alias works only at kernel compile time. Users are free to install
extra (binary) modules at any time and expect them to still be recognized.
I really think that keeping module-init-tools in sync with kernel is not much
more difficult than keeping file2alias in sync with kernel. Whoever neglects
update the former may just as well neglect to update the latter. And so far
this was the main argument of Rusty IIRC.
cheers
and sorry for delay too
-andrey
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
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 prev parent reply other threads:[~2003-10-28 18:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-01 21:39 [PATCH] input hotplug support Andrey Borzenkov
2003-08-01 23:57 ` Greg KH
2003-08-02 8:53 ` Andrey Borzenkov
2003-10-13 23:56 ` Greg KH
2003-10-28 18:19 ` Andrey Borzenkov [this message]
2003-10-29 0:15 ` Rusty Russell
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-106736727910911@msgid-missing \
--to=arvidjaar@mail.ru \
--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).