linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* joydev bug with playstation USB adapter
@ 2013-02-01 23:43 renato
  2013-02-02  0:11 ` Jiri Kosina
  2013-02-08 18:58 ` Renato
  0 siblings, 2 replies; 4+ messages in thread
From: renato @ 2013-02-01 23:43 UTC (permalink / raw)
  To: linux-input; +Cc: jkosina

[-- Attachment #1: Type: text/plain, Size: 2668 bytes --]

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?

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)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: joydev bug with playstation USB adapter
@ 2013-07-15 12:27 Renato
  0 siblings, 0 replies; 4+ messages in thread
From: Renato @ 2013-07-15 12:27 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: linux-input

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


On Sat, 2 Feb 2013 01:11:17 Jiri Kosina wrote
>On Sat, 2 Feb 2013, renato wrote:
>
>> 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.
>
>> 
>> 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-----

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-07-15 12:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-01 23:43 joydev bug with playstation USB adapter renato
2013-02-02  0:11 ` Jiri Kosina
2013-02-08 18:58 ` Renato
  -- strict thread matches above, loose matches on Subject: below --
2013-07-15 12:27 Renato

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).