Re: Small patch to hid-core.c for usb PS2 joystick adaptor

Philip Armstrong <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Tue, Mar 27, 2007 at 03:06:16PM +0200, Jiri Kosina wrote:
>On Tue, 27 Mar 2007, Philip Armstrong wrote:
>
>> It's a no-name Chinese thing, which lsusb reports as:
>>  Bus 003 Device 003: ID 0810:0001 Personal Communication Systems, Inc.
>> However, it needs the HID_QUIRK_MULTI_INPUT flag set, as it has sockets 
>> for two joysticks which otherwise get reported as a single 
>> /dev/input/js0
>
>this device is already properly handled by HID since 2.6.21-rc1. 

I should have checked obviously! Sorry...

>In addition to what you did (HID_QUIRK_MULTI_INPUT), it is also needed to 
>handle the fact that the device also uses one output report per controller 
>(on the same interface), that controls the force feedback. It is not 
>desired to have these as separate input devices. Current HID code skips 
>output reports on this device, and lets force feedback driver to take care 
>of them.

I'll try that on my machine (which isn't going to get updated to
2.6.21 anytime soon...). Although I don't know of any games that
actually *use* the force feedback...

cheers, Phil

-- 
http://www.kantaka.co.uk/ .oOo. public key: http://www.kantaka.co.uk/gpg.txt

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.