From: Peter Edwards <samwise@xxxxxxxxxxxxxxx> Patch for linux-2.6.35-rc4 mainline kernel to enable Paul Qureshi's Retro Adapter [http://keio.dk/retroadapter.html], an open source USB device which allows controllers and joysticks from classic computers and consoles to work on modern PCs, to appear as two separate devices under Linux. Signed-off-by: Peter Edwards <samwise@xxxxxxxxxxxxxxx> Acked-by: Paul Qureshi <retro@xxxxxxxxxx> --- This is a first patch submission following the Documentation/SubmittingPatches guidelines. Hope this is in the correct format for inclusion and is directed at the correct maintainer. Please reply if any modifications or further info is required. diff -uprN -X linux-2.6.35-rc4-vanilla/Documentation/dontdiff linux-2.6.35-rc4-vanilla/drivers/hid/hid-ids.h linux-2.6.35-rc4/drivers/hid/hid-ids.h --- linux-2.6.35-rc4-vanilla/drivers/hid/hid-ids.h 2010-07-05 04:22:50.000000000 +0100 +++ linux-2.6.35-rc4/drivers/hid/hid-ids.h 2010-07-11 16:54:07.948153000 +0100 @@ -369,6 +369,8 @@ #define USB_DEVICE_ID_MS_PRESENTER_8K_BT 0x0701 #define USB_DEVICE_ID_MS_PRESENTER_8K_USB 0x0713 +#define USB_VENDOR_ID_MOJO 0x8282 +#define USB_DEVICE_ID_RETRO_ADAPTER 0x3201 #define USB_VENDOR_ID_MONTEREY 0x0566 #define USB_DEVICE_ID_GENIUS_KB29E 0x3004 diff -uprN -X linux-2.6.35-rc4-vanilla/Documentation/dontdiff linux-2.6.35-rc4-vanilla/drivers/hid/usbhid/hid-quirks.c linux-2.6.35-rc4/drivers/hid/usbhid/hid-quirks.c --- linux-2.6.35-rc4-vanilla/drivers/hid/usbhid/hid-quirks.c 2010-07-05 04:22:50.000000000 +0100 +++ linux-2.6.35-rc4/drivers/hid/usbhid/hid-quirks.c 2010-07-11 16:55:22.028152999 +0100 @@ -37,6 +37,7 @@ static const struct hid_blacklist { { USB_VENDOR_ID_HAPP, USB_DEVICE_ID_UGCI_DRIVING, HID_QUIRK_BADPAD | HID_QUIRK_MULTI_INPUT }, { USB_VENDOR_ID_HAPP, USB_DEVICE_ID_UGCI_FLYING, HID_QUIRK_BADPAD | HID_QUIRK_MULTI_INPUT }, { USB_VENDOR_ID_HAPP, USB_DEVICE_ID_UGCI_FIGHTING, HID_QUIRK_BADPAD | HID_QUIRK_MULTI_INPUT }, +{ USB_VENDOR_ID_MOJO, USB_DEVICE_ID_RETRO_ADAPTER, HID_QUIRK_MULTI_INPUT }, { USB_VENDOR_ID_NATSU, USB_DEVICE_ID_NATSU_GAMEPAD, HID_QUIRK_BADPAD }, { USB_VENDOR_ID_NEC, USB_DEVICE_ID_NEC_USB_GAME_PAD, HID_QUIRK_BADPAD }, { USB_VENDOR_ID_NEXTWINDOW, USB_DEVICE_ID_NEXTWINDOW_TOUCHSCREEN, HID_QUIRK_MULTI_INPUT}, -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html