Bug report: psx/ps2 to usb controller adapter missing buttons Inbox x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



To David Herrmann, and all of the linux input mailing list,

This is to report a bug concerning a psx/ps2 to usb game controller
adapter that is marketed to work on the PS3.  The device presents
itself using the manufacturer id of sony and the device id of the
official sixaxis/dualshock 3 controllers, and seems to self-initialize
upon being connected (unlike the original controller which requires
that one presses the menu button).

The problem is that the 'circle', 'square' and 'cross' buttons don't
work while every other button does.  The adapter can emulate a home
button press by using the 'analog' button on the controller, but this
also doesn't work.

The jstest applications confirms that the driver is presenting this
controller as having only 13 buttons, while a real ds3 is presented as
having 17.  The same device id and vendor id are shown in jstest, both
are using the hid driver, and everything in dmesg and lsusb appears
the same between the original controller and the adapter.  I can
provide every output log that is required.

After having a look at hid-sony.c, it's clear that the buttons that
are not working (square, circle, cross, and home) are the last four on
the sixaxis_keymap[] bitmap.  I speculate that there is some process
which is used to identify the control which fails to work with the
current driver, so that it ends up defaulting to a different keymap
with fewer buttons than needed.

This very same problem seems to have been reported years ago (circa
2012 iirc) on fedora forums for some non-official ps3 controller
replicas that also present themselves as the ps3 controller.  The fix
to this problem could very well improve compatibility with such clone
controllers.

I have observed it works well in both the ps3 and a windows pc with
the non-official drivers for the dual shock controller, so I can
confirm the controller work and the adapter works as well.

Be sure that I can run any test that you believe may be useful to fix
this issue, and can compile and test possible solutions in my system.

Best regards,

Daniel Jimenez



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux