lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 11 Jul 2010 17:45:50 +0100
From:	samwise <samwise@...shot-row.org>
To:	Jiri Kosina <jkosina@...e.cz>
Cc:	linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
	linux-usb@...r.kernel.org, Stephane Chatty <chatty@...c.fr>,
	Don Prince <dhprince-devel@...oo.co.uk>,
	Peter Hutterer <peter.hutterer@...-t.net>,
	Thadeu Lima de Souza Cascardo <cascardo@...oscopio.com>,
	Daniel Oliveira Nascimento <don@...t.com.br>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Paul Qureshi <retro@...ld3.net>
Subject: [PATCHv1] USB HID DRIVERS: Enable HID_QUIRK_MULTI_INPUT for Retro 
	Adaptor

From: Peter Edwards <samwise@...shot-row.org>

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@...shot-row.org>
Acked-by: Paul Qureshi <retro@...ld3.net>
---

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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ