Re: joydev bug with playstation USB adapter

From: Renato <hidden>
Date: 2013-07-15 12:27:30

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Sat, 2 Feb 2013 01:11:17 Jiri Kosina wrote
On Sat, 2 Feb 2013, renato wrote:
quoted
Hi, I have two playstation USB adpters, one of them with this [1]
"lsusb -v" (the other I don't have access to ATM) and they both give
me the following buggy behaviour: the range of the sticks is limited
- i.e. value 32767 is reached when the stick is only about half-way
through its run, leaving a big dead zone after that. This happens on
all axes and recalibrating with "jscal -c" didn't help.

I'm on an up-to-date Archlinux, kernel 3.7.5, and have tried various
kernel versions down to 3.0.1 with same results.

Is there any other info I can provide?
[ adding Anssi to CC ]

Hi renato,

there is a driver for this particular device (hid-pl), written by
Anssi Hannula.

So before I'll be digging into this any further -- Anssi, does this 
limited range sound familiar to you when it comes to 0x0810/0x001
device?

Thanks.
quoted
thanks,
renato


[1]
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)
-- 
Jiri Kosina
SUSE Labs
--
Hi, so any news on this? I still have a limited range on my gamepads'
analog sticks, with kernel 3.9.9.

I woul've CCed Anssi Hannula as was suggested by you but I couln't find
his mail.

cheers,
renato
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQEcBAEBAgAGBQJR4+qsAAoJEBz6xFdttjrfBmwH/2ihT+nKdkmFuKnT5JR0Z9Ue
f2UdToUwy8V940Cg39v3HgVL9ZZO+vvuzK1Qg/mYgvtjd1UqmOKCOJFEdZdiLlz7
Ke1FHP+7dBY/c5tEK96psMiwXJJpJTZJvfynTv0jGgLtJ2EH+1xj2QY9n9HWYLgw
inNxWwq1uKxaXt6LD+ZWwaVdKTJ8Os+x+OmlDhSIaPhW31mBqJmgCoVI6FCyupxT
n021Zse3+ytj03odQ68Ocgyl3wkmjR/LxFYXJdwkB1mSkiYg5nseJ8UWqv2AyXCF
JfiKDigznDUKLyMVRfoplgl33qIa2K4iHt7X1W3EreQnugMRQyw9ul3YWwYH4cw=
=I4J2
-----END PGP SIGNATURE-----
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help