Hi all, I've been working on software to control a usb based IR sender from linux; it's a HID device that I'm writing to using libusb and usb_interrupt_write(), but the only way I seem to be able to talk to it is to stop the usbhid module grabbing it first.
Would it be possible to get a patch like the below into the kernel? (If anyone is interested it's a device to inject IR codes directly into the RF cable to control the Sky digital satellite stbs we get in the UK - more details at http://www.heenan.me.uk/control-sky-from-pc/ ) Thanks! Joseph --- linux-2.6.12.3/drivers/usb/input/hid-core.c.orig 2005-07-15 22:18:57.000000000 +0100 +++ linux-2.6.12.3/drivers/usb/input/hid-core.c 2005-07-23 12:09:39.000000000 +0100 @@ -1421,6 +1421,8 @@ void hid_init_reports(struct hid_device #define USB_DEVICE_ID_VERNIER_SKIP 0x0003 #define USB_DEVICE_ID_VERNIER_CYCLOPS 0x0004 +#define USB_VENDOR_ID_PROTOTYPE 0x6666 +#define USB_DEVICE_ID_PROTOTYPE_SKYCONTROL 0xf100 /* * Alphabetically sorted blacklist by quirk type. @@ -1523,6 +1525,8 @@ static struct hid_blacklist { { USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_RUMBLEPAD, HID_QUIRK_BADPAD }, { USB_VENDOR_ID_TOPMAX, USB_DEVICE_ID_TOPMAX_COBRAPAD, HID_QUIRK_BADPAD }, + { USB_VENDOR_ID_PROTOTYPE, USB_DEVICE_ID_PROTOTYPE_SKYCONTROL, HID_QUIRK_IGNORE }, + { 0, 0 } }; -- Joseph Heenan, Glasgow, UK http://www.heenan.me.uk/ ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
