Re: [RFT] Sonypi: convert to the new platform device interface

From: Jan Engelhardt
Date: Tue Dec 27 2005 - 13:01:57 EST


>> It does not work here on a SONY VAIO U3. After loading the sonypi module,
>> neither mev nor showkey return something for the special stuff like
>> jogwheel, jogbutton or Fn keys respectively.
>>
>> Running 2.6.15-rc7, this appeared in the kernel log:
>> Dec 25 22:06:14 takeshi kernel: sonypi: request_irq failed
>
>Just in case I am sending corrected patch.
>
Ok now it works. (Just like with the old sonypi :-)

However, there are some things that remain unresolved:
- the "mousewheel" reports only once every 2 seconds when constantly
wheeling (in mev)
- pressing the jogdial button produces a keyboard event (keycode 158)
rather than a mousebutton 3 event

BTW, how can I use the Fn keys on console (keycodes 466-477) for arbitrary
shell commands?
Such a feature, among which special combinations like Ctrl+Alt+Del also
belong, are handled by the kernel which leaves almost no room for
user-defined userspace action. Any idea?



Jan Engelhardt
--
| Alphagate Systems, http://alphagate.hopto.org/
| jengelh's site, http://jengelh.hopto.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/