[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4611B0A1.8070106@gmail.com>
Date: Tue, 03 Apr 2007 09:40:49 +0800
From: Li Yu <raise.sail@...il.com>
To: Nicolas Mailhot <nicolas.mailhot@...oste.net>
CC: Li Yu <raise.sail@...il.com>, linux-kernel@...r.kernel.org,
linux-usb-devel@...ts.sourceforge.net,
Jiri Kosina <jkosina@...e.cz>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Marcel Holtmann <marcel@...tmann.org>
Subject: Re: [linux-usb-devel] [RFC] HID bus design overview.
Nicolas Mailhot wrote:
>> Er, I also want to know what are drawbacks of "flip-flopping" ?
>>
>
> This will cause major havoc as soon as hot-plugging and apps listening to
> HAL events (xorg eventually) enter in play.
>
>
~_~
It really need some extra works in user space, but I do not think this
is so critical. These HAL events should not be frequently, and happen
when system boot early very likely. In fact, these works also exist with
blacklist means, but it migrate to HID driver developer, and from
runtime move to development-time. (Of course, you can do it by sysfs,
just like vmware, I think it is so).
Although I do not agree very much, since such many guru said the
"flip-flopping" is not good idea, It is likely appropriate, I also will
change code later, this make the implementation more easier in fact.
May be, we need some means to change blacklist in runtime. and
loading/unloading such driver by specific script to do it.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists