This attached patch reenables the CAPTURE button events in the sonypi
driver, which were lost with the latest patch...
The same patch should apply cleanly on both 2.4 and 2.6 kernels.
Marcelo, Linus, please apply.
Stelian.
===== drivers/char/sonypi.h 1.18 vs edited =====
--- 1.18/drivers/char/sonypi.h Tue Aug 26 13:52:33 2003
+++ edited/drivers/char/sonypi.h Mon Sep 1 10:37:24 2003
@@ -323,7 +323,7 @@
{ SONYPI_DEVICE_MODEL_TYPE2, 0, 0xffffffff, sonypi_releaseev },
{ SONYPI_DEVICE_MODEL_TYPE2, 0x38, SONYPI_LID_MASK, sonypi_lidev },
{ SONYPI_DEVICE_MODEL_TYPE2, 0x11, SONYPI_JOGGER_MASK, sonypi_joggerev },
- { SONYPI_DEVICE_MODEL_TYPE2, 0x08, SONYPI_CAPTURE_MASK, sonypi_captureev },
+ { SONYPI_DEVICE_MODEL_TYPE2, 0x61, SONYPI_CAPTURE_MASK, sonypi_captureev },
{ SONYPI_DEVICE_MODEL_TYPE2, 0x21, SONYPI_FNKEY_MASK, sonypi_fnkeyev },
{ SONYPI_DEVICE_MODEL_TYPE2, 0x31, SONYPI_BLUETOOTH_MASK, sonypi_blueev },
{ SONYPI_DEVICE_MODEL_TYPE2, 0x08, SONYPI_PKEY_MASK, sonypi_pkeyev },
--
Stelian Pop <[email protected]>