Re: [PATCH, RFC] HP WMI hotkey driver, RFKill query?

From
Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date
2008-01-15 20:54:29
Also in
linux-acpi
Reply to
Carlos Corbacho, 2008-01-14
On Mon, Jan 14, 2008 at 10:25:10PM +0000, Carlos Corbacho wrote:
On Monday 14 January 2008 18:27:33 Carlos Corbacho wrote:
quoted
On Monday 14 January 2008 17:41:07 Matthew Garrett wrote:
quoted
On Thu, Jan 03, 2008 at 11:58:02AM -0500, Dmitry Torokhov wrote:
quoted
There is no sysfs device to attach the input device to, by any chance?
Not as far as I can tell, but I may be misinterpreting this. Carlos?
What would be better - to have WMI itself as the parent device, or should I 
add something like this to WMI:

wmi_get_dev(const char *guid, struct device *dev)

to return the virtual device associated with a GUID, and then allow that to be 
used as the parent? (trade off is that this driver would then become 
dependent on the WMI sysfs patch going in as well, rather than just on the 
in-kernel WMI support).
If there is a [planned] WMI sysfs device then I think input device should
use it to form proper sysfs hierarchy. What are the roadblocks for getting
WMI sysfs in?

-- 
Dmitry
Thread (10 messages) 10 messages, 4 authors, last reply 2008-02-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help