Here's a patch for the Lola remote. Works for me. Finally, I've found something I can contribute! Not bad for someone who isn't good with C.
Seth --- 2.6.5/drivers/usb/input/ati_remote.c 2004-04-22 00:26:22.000000000 -0700 +++ linux/drivers/usb/input/ati_remote.c 2004-04-22 23:59:46.000000000 -0700 @@ -3,6 +3,8 @@ * * Version 2.2.0 Copyright (c) 2004 Torrey Hoffman <[EMAIL PROTECTED]> * Version 2.1.1 Copyright (c) 2002 Vladimir Dergachev + * + * 2.2.0 with patch for X10 Lola remote * * This 2.2.0 version is a rewrite / cleanup of the 2.1.1 driver, including * porting to the 2.6 kernel interfaces, along with other modification @@ -16,6 +18,8 @@ * * Feb 2004: Torrey Hoffman <[EMAIL PROTECTED]> * Version 2.2.0 + * Apr 2004: Seth Cohn <[EMAIL PROTECTED]> + * Version 2.2.0-lola-patch * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * @@ -41,6 +45,13 @@ * "All-In-Wonder" video card packages. The receiver self-identifies as a * "USB Receiver" with manufacturer "X10 Wireless Technology Inc". * + * Added Lola from X10 (was $5.90 shipped on sale, thanks X10! ) + * http://www.x10.com/products/lola_sg1.htm + * Similar to ATI unit but no mouse support, multifunction remote + * Added new ID for USB, and code to allow the unit to work + * Added buttons not on ATI (still missing: CH+, CH-) + * Left existing working keys alone, even if better keylabel was in input.h + * * It is possible to use multiple receivers and remotes on multiple computers * simultaneously by configuring them to use specific channels. * @@ -90,6 +101,7 @@ #define ATI_REMOTE_VENDOR_ID 0x0bc7 #define ATI_REMOTE_PRODUCT_ID 0x004 +#define LOLA_REMOTE_PRODUCT_ID 0x002 #define DRIVER_VERSION "2.2.0" #define DRIVER_AUTHOR "Torrey Hoffman <[EMAIL PROTECTED]>" @@ -113,6 +125,7 @@ static struct usb_device_id ati_remote_table[] = { { USB_DEVICE(ATI_REMOTE_VENDOR_ID, ATI_REMOTE_PRODUCT_ID) }, + { USB_DEVICE(ATI_REMOTE_VENDOR_ID, LOLA_REMOTE_PRODUCT_ID) }, {} /* Terminating entry */ }; @@ -254,6 +267,12 @@ {KIND_FILTERED, 0xeb, 0x26, EV_KEY, KEY_FORWARD, 1}, /* (>>) */ {KIND_FILTERED, 0xed, 0x28, EV_KEY, KEY_STOP, 1}, /* ([]) */ {KIND_FILTERED, 0xee, 0x29, EV_KEY, KEY_PAUSE, 1}, /* ('') */ + {KIND_FILTERED, 0xf0, 0x2b, EV_KEY, KEY_PREVIOUS, 1}, /* (<-) */ + {KIND_FILTERED, 0xef, 0x2a, EV_KEY, KEY_NEXT, 1}, /* (>+) */ + {KIND_FILTERED, 0xf2, 0x2D, EV_KEY, KEY_INFO, 1}, /* PLAYING */ + {KIND_FILTERED, 0xf3, 0x2E, EV_KEY, KEY_HOME, 1}, /* TOP */ + {KIND_FILTERED, 0xf4, 0x2F, EV_KEY, KEY_END, 1}, /* END */ + {KIND_FILTERED, 0xf5, 0x30, EV_KEY, KEY_SELECT, 1}, /* SELECT */ {KIND_END, 0x00, 0x00, EV_MAX + 1, 0, 0} }; @@ -691,7 +710,8 @@ /* See if the offered device matches what we can accept */ if ((udev->descriptor.idVendor != ATI_REMOTE_VENDOR_ID) || - (udev->descriptor.idProduct != ATI_REMOTE_PRODUCT_ID)) { + ( (udev->descriptor.idProduct != ATI_REMOTE_PRODUCT_ID) && + (udev->descriptor.idProduct != LOLA_REMOTE_PRODUCT_ID) ) ) { return -ENODEV; } ===== __________________________________ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25� http://photos.yahoo.com/ph/print_splash ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
