Re: joydev bug with playstation USB adapter
From: Renato <hidden>
Date: 2013-02-08 18:58:13
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 2 Feb 2013 00:43:20 +0100 renato [off-list ref] wrote:
Bus 002 Device 002: ID 0810:0001 Personal Communication Systems, Inc.
Dual PSX A daptor
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0810 Personal Communication Systems, Inc.
idProduct 0x0001 Dual PSX Adaptor
bcdDevice 1.06
iManufacturer 0
iProduct 2 Twin USB Joystick
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 33 US
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 202
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)
and here's [1] the other device I own, with which I have the same bug. Actually they seem to be similar
hardware, same idVendor... the first one had 2 inputs for playstation
joypads, this only one which explains I think some of the other
differences (see output of "diff singular_adaptor dual_adaptor" at [2])
any ideas on this?
cheers
renato
[1]
Bus 002 Device 003: ID 0810:0003 Personal Communication Systems, Inc. PlayStation Gamepad
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0810 Personal Communication Systems, Inc.
idProduct 0x0003 PlayStation Gamepad
bcdDevice 1.06
iManufacturer 0
iProduct 2 USB Gamepad
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 350mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 33 US
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 101
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 17
Device Status: 0x0000
(Bus Powered)
[2]
1,2c1,2
< Bus 002 Device 003: ID 0810:0003 Personal Communication Systems, Inc. PlayStat
io
< n Gamepad
- ---Bus 002 Device 002: ID 0810:0001 Personal Communication Systems, Inc. Dual PSX A daptor
12c12 < idProduct 0x0003 PlayStation Gamepad - ---
idProduct 0x0001 Dual PSX Adaptor
15c15 < iProduct 2 USB Gamepad - ---
iProduct 2 Twin USB Joystick
27c27 < MaxPower 350mA - ---
MaxPower 500mA
45c45 < wDescriptorLength 101 - ---
wDescriptorLength 202
57c57 < bInterval 17 - ---
bInterval 10
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQEcBAEBAgAGBQJRFUq+AAoJEBz6xFdttjrfLN0H/3NAf1eWKtN6+WFBuVwIFrvs Vx8JAGjWWjByxIvBmdEvap0td0isJjmNp7Jm7LBqAbeUMoVGdIIW9xR4qigchX2p wN/OXpQ117J40X36TEC66Y/yJ4j04ddxmitOtOjaVKS1OSdWit5dMvDwse55HRbe YI8HBj7vq/lQiiOWNOOxFIkQE3PdHLAW0382z5Jr0MYlcEH801R3R7/Quyj9w0iZ pOOP3PY8m2LhQX3Cq85AwOZggoUnVKPfDrO81Ym33GHtMYABRC7Oqz/L099E4d0e GZf/D+Q+ITLsVLU0WNbZD81XFLwX8H0/injeLx+W9lyjoy+q2QmKug4ONcZn/b8= =bV3h -----END PGP SIGNATURE-----