054c:0268 Sony Playstation 2 controller PC adaptator : buttons are not mapped correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
I just received an adaptator that allows one to plug a PlayStation 2 controller into an USB port to use it as a joystick in ubuntu.
The adpatator is from Gameron, but there is no clear product name (in french : "Adaptateur Manette PS2 > PS3, Compatible Sony PS3 / PC", so it seems to emulate a Playstation 3 controller). It has a "Gamepad / Wheel" switch on its side.
Using the "Wheel" mode, the controller is recognized as a "Logitech Logitech Driving Force" (output from jstest) and works correctly but is missing some features (half working analog sticks). I think this is working as intended.
Using the "Gamepad" mode, some buttons are missing.
The controller was set in that mode for all that follows.
Note that I've made the following tests with two different official Playstation 2 gamepads and the result was the same.
Here is the result of lsusb :
Bus 002 Device 012: ID 054c:0268 Sony Corp. Batoh Device
And here is the initial output of jstest :
Joystick (Sony PLAYSTATION(R)3 Controller) has 30 axes (X, Y, Z, Rz, Hat0X, Hat0Y, (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null))
and 13 buttons (Trigger, ThumbBtn, ThumbBtn2, TopBtn, TopBtn2, PinkieBtn, BaseBtn, BaseBtn2, BaseBtn3, BaseBtn4, BaseBtn5, BaseBtn6, BtnDead).
All axes are working correctly (they correspond to button pressure levels).
The 13 button IDs correspond to the following :
0 : select
1 : analog left
2 : analog right
3 : start
4 : directional pad top
5 : directional pad right
6 : directional pad bottom
7 : directional pad left
8 : L2
9 : R2
10 : L1
11 : R1
12 : triangle
As you can see, "circle", "cross" and "square" are missing from the button list.
I've plugged the adaptator on a Windows XP machine, and it was recognized out of the box (no additional driver required), and all buttons were working correctly. It also reported 13 buttons, which were mapped to the corresponding actions :
0 : triangle
1 : circle
2 : cross
3 : square
4 : L1
5 : R1
6 : L2
7 : R2
8 : select
9 : start
10 : analog left
11 : analog right
12 : ? (analog on/off button ?)
The directional pad was mapped to a joystick hat as far as I can tell, and the two analog sticks were working properly.
See the corresponding forum post : http://
Other people having the exact same problem with unofficial Playstation 3 controllers :
http://
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-image-
ProcVersionSign
Uname: Linux 2.6.38-11-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: i386
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC0D0p: kalith 1639 F...m pulseaudio
CRDA: Error: [Errno 2] Aucun fichier ou dossier de ce type
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xf0700000 irq 43'
Mixer name : 'Intel IbexPeak HDMI'
Components : 'HDA:10ec0269,
Controls : 16
Simple ctrls : 8
Date: Mon Aug 29 00:13:44 2011
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
MachineType: FUJITSU LIFEBOOK A530
ProcEnviron:
LANGUAGE=fr_FR:en
LANG=fr_FR.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.52
SourcePackage: linux
UpgradeStatus: Upgraded to natty on 2011-06-30 (59 days ago)
dmi.bios.date: 08/19/2010
dmi.bios.vendor: FUJITSU // Phoenix Technologies Ltd.
dmi.bios.version: Version 1.16
dmi.board.name: FJNBB06
dmi.board.vendor: FUJITSU
dmi.chassis.type: 10
dmi.chassis.vendor: FUJITSU
dmi.modalias: dmi:bvnFUJITSU/
dmi.product.name: LIFEBOOK A530
dmi.sys.vendor: FUJITSU
---
ApportVersion: 2.4-0ubuntu5
Architecture: i386
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA:
country FR:
(2402 - 2482 @ 40), (N/A, 20)
(5170 - 5250 @ 40), (N/A, 20)
(5250 - 5330 @ 40), (N/A, 20), DFS
(5490 - 5710 @ 40), (N/A, 27), DFS
CasperVersion: 1.320
DistroRelease: Ubuntu 12.10
LiveMediaBuild: Ubuntu 12.10 "Quantal Quetzal" - Alpha i386 (20120724.2)
MachineType: FUJITSU LIFEBOOK A530
Package: linux (not installed)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: initrd=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.85
Tags: quantal running-unity
Uname: Linux 3.5.0-6-generic i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 08/19/2010
dmi.bios.vendor: FUJITSU // Phoenix Technologies Ltd.
dmi.bios.version: Version 1.16
dmi.board.name: FJNBB06
dmi.board.vendor: FUJITSU
dmi.chassis.type: 10
dmi.chassis.vendor: FUJITSU
dmi.modalias: dmi:bvnFUJITSU/
dmi.product.name: LIFEBOOK A530
dmi.sys.vendor: FUJITSU
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
tags: |
added: kernel-bug-exists-upstream removed: needs-upstream-testing |
summary: |
- Sony Playstation 2 controller PC adaptator : buttons are not mapped - correctly + 054c:0268 Sony Playstation 2 controller PC adaptator : buttons are not + mapped correctly |
tags: | added: lucid |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
Corentin SCHREIBER, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please plug the USB device in that demonstrates this problem, unplug all other USB devices, execute the following via a terminal, and post the results to this report:
lsusb
As well, could you please test for this with the latest development release of Ubuntu? ISO CD images are available from http:// cdimage. ubuntu. com/releases/ .
If it remains an issue, could you please run the following command in the development release from a Terminal (Applications- >Accessories- >Terminal) , as it will automatically gather and attach updated debug information to this report:
apport-collect -p linux <replace- with-bug- number>
Also, could you please test the latest upstream kernel available? It will allow additional upstream developers to examine the issue. Refer to https:/ /wiki.ubuntu. com/KernelMainl ineBuilds . Please do not test the kernel in the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please remove the 'needs- upstream- testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs- upstream- testing' text. As well, please comment on which kernel version specifically you tested.
If this bug is fixed in the mainline kernel, please add the following tag 'kernel- fixed-upstream' .
If the mainline kernel does not fix this bug, please add the tag: 'kernel- bug-exists- upstream' .
If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel- unable- to-test- upstream' , and comment as to why specifically you were unable to test it.
Please let us know your results. Thanks in advance.
Helpful Bug Reporting Links: /help.ubuntu. com/community/ ReportingBugs# Bug_Reporting_ Etiquette /help.ubuntu. com/community/ ReportingBugs# A3._Make_ sure_the_ bug_hasn. 27t_already_ been_reported /help.ubuntu. com/community/ ReportingBugs# Adding_ Apport_ Debug_Informati on_to_an_ Existing_ Launchpad_ Bug /help.ubuntu. com/community/ ReportingBugs# Adding_ Additional_ Attachments_ to_an_Existing_ Launchpad_ Bug
https:/
https:/
https:/
https:/