You are not logged in.
Pages: 1
Hi, as the title says I have a problem with making a DualShock 3 controller work over the Bluetooth. I was following wiki guide and did it as it says there. Controller works over USB with no problems and it connects over bluetooth but it doesn't register any events (tested it with evtest).
jstest-gtk can calibrate over USB but it can't ovet BT. I have to ask if paired controller is the same device over USB and BT (e.g. /dev/input/js0)? I suppose there wouldn't be js0 if it didn't connect? In /dev/input/by-id/ there is only my usb mouse when controller is connected over BT.
When I open Steam BP it seems like it registers up button event all the time and keyboard key isn't stuck. It also recognizes DS3 but I can't map any button.
[bluetooth]# show 00:15:83:15:A3:10
Controller 00:15:83:15:A3:10
Name: BlueZ 5.22
Alias: BlueZ 5.22
Class: 0x000000
Powered: yes
Discoverable: yes
Pairable: yes
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d0516
Discovering: yes$ bluetoothctl
[NEW] Controller 00:15:83:15:A3:10 BlueZ 5.22 [default]
[NEW] Device 00:24:33:54:94:FB PLAYSTATION(R)3 ControllerWhen I try to pair it shows it failed. Is this normal, it doesnt have to be paired? In Gnome bluetooth settings it also shows DS3 as connected but not paired.
[bluetooth]# pair 00:24:33:54:94:FB
Attempting to pair with 00:24:33:54:94:FB
Failed to pair: org.bluez.Error.AuthenticationFailed$ hciconfig
hci0: Type: BR/EDR Bus: USB
BD Address: 00:15:83:15:A3:10 ACL MTU: 339:8 SCO MTU: 128:2
UP RUNNING PSCAN ISCAN INQUIRY
RX bytes:27719 acl:308 sco:0 events:2154 errors:0
TX bytes:14680 acl:319 sco:0 commands:946 errors:0$ hcitool con
Connections:
> ACL 00:24:33:54:94:FB handle 3 state 1 lm MASTERLink quality = 0?
$ hcitool lq 00:24:33:54:94:FB
Link quality: 0I guess hcitool scan doesn't show already connected devices?
$ hcitool scan
Scanning ...No events when over BT.
Input driver version is 1.0.1
Input device ID: bus 0x5 vendor 0x54c product 0x268 version 0x100
Input device name: "PLAYSTATION(R)3 Controller"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 288 (BTN_TRIGGER)
Event code 289 (BTN_THUMB)
Event code 290 (BTN_THUMB2)
Event code 291 (BTN_TOP)
Event code 292 (BTN_TOP2)
Event code 293 (BTN_PINKIE)
Event code 294 (BTN_BASE)
Event code 295 (BTN_BASE2)
Event code 296 (BTN_BASE3)
Event code 297 (BTN_BASE4)
Event code 298 (BTN_BASE5)
Event code 299 (BTN_BASE6)
Event code 300 (?)
Event code 301 (?)
Event code 302 (?)
Event code 303 (BTN_DEAD)
Event code 704 (BTN_TRIGGER_HAPPY1)
Event code 705 (BTN_TRIGGER_HAPPY2)
Event code 706 (BTN_TRIGGER_HAPPY3)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value 0
Min 0
Max 255
Flat 15
Event code 1 (ABS_Y)
Value 0
Min 0
Max 255
Flat 15
Event code 2 (ABS_Z)
Value 0
Min 0
Max 255
Flat 15
Event code 5 (ABS_RZ)
Value 0
Min 0
Max 255
Flat 15
Event code 40 (ABS_MISC)
Value 0
Min 0
Max 255
Flat 15
Event code 41 (?)
Value 0
Min 0
Max 255
Flat 15
Event code 42 (?)
Value 0
Min 0
Max 255
Flat 15
Event code 43 (?)
Value 0
Min 0
Max 255
Flat 15
Event code 44 (?)
Value 0
Min 0
Max 255
Flat 15
Event code 45 (?)
Value 0
Min 0
Max 255
Flat 15
Event code 46 (?)
Value 0
Min 0
Max 255
Flat 15
Event code 47 (ABS_MT_SLOT)
Value 0
Min 0
Max 255
Flat 15
Event code 48 (ABS_MT_TOUCH_MAJOR)
Value 0
Min 0
Max 255
Flat 15
Event code 49 (ABS_MT_TOUCH_MINOR)
Value 0
Min 0
Max 255
Flat 15
Event code 50 (ABS_MT_WIDTH_MAJOR)
Value 0
Min 0
Max 255
Flat 15
Event code 51 (ABS_MT_WIDTH_MINOR)
Value 0
Min 0
Max 255
Flat 15
Event code 52 (ABS_MT_ORIENTATION)
Value 0
Min 0
Max 255
Flat 15
Event code 53 (ABS_MT_POSITION_X)
Value 0
Min 0
Max 255
Flat 15
Event code 54 (ABS_MT_POSITION_Y)
Value 0
Min 0
Max 255
Flat 15
Event code 55 (ABS_MT_TOOL_TYPE)
Value 0
Min 0
Max 255
Flat 15
Event code 56 (ABS_MT_BLOB_ID)
Value 0
Min 0
Max 255
Flat 15
Event code 57 (ABS_MT_TRACKING_ID)
Value 0
Min 0
Max 255
Flat 15
Event code 58 (ABS_MT_PRESSURE)
Value 0
Min 0
Max 255
Flat 15
Event code 59 (ABS_MT_DISTANCE)
Value 0
Min 0
Max 1023
Fuzz 3
Flat 63
Event code 60 (ABS_MT_TOOL_X)
Value 0
Min 0
Max 1023
Fuzz 3
Flat 63
Event code 61 (ABS_MT_TOOL_Y)
Value 0
Min 0
Max 1023
Fuzz 3
Flat 63
Event code 62 (?)
Value 0
Min 0
Max 1023
Fuzz 3
Flat 63
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Event type 21 (EV_FF)
Event code 80 (FF_RUMBLE)
Event code 81 (FF_PERIODIC)
Event code 88 (FF_SQUARE)
Event code 89 (FF_TRIANGLE)
Event code 90 (FF_SINE)
Event code 96 (FF_GAIN)
Properties:
Testing ... (interrupt to exit)Is it possible that controller works but is calibrated to 0 for min and max?
Offline
When I try to pair it shows it failed. Is this normal, it doesnt have to be paired? In Gnome bluetooth settings it also shows DS3 as connected but not paired.
Now you will need to pair it with bluez.
Are there any additional messages in dmesg or journalctl?
Next time you hit the Playstation button it will connect without asking anything else.
Does it do that?
Offline
schizo-ri wrote:When I try to pair it shows it failed. Is this normal, it doesnt have to be paired? In Gnome bluetooth settings it also shows DS3 as connected but not paired.
Wiki wrote:Now you will need to pair it with bluez.
Are there any additional messages in dmesg or journalctl?
Yes, from journalctl:
bluetoothd[267]: No agent available for request type 0
bluetoothd[267]: device_request_pin: Operation not permittedWiki wrote:Next time you hit the Playstation button it will connect without asking anything else.
Does it do that?
Yes, it connects.
kernel: input: PLAYSTATION(R)3 Controller as /devices/pci0000:00/0000:00:12.0/usb3/3-4/3-4:1.0/bluetooth/hci0/hci0:3/0005:054C:0268.0006/input/input17
kernel: sony 0005:054C:0268.0006: input,hidraw1: BLUETOOTH HID v1.00 Joystick [PLAYSTATION(R)3 Controller] on 00:15:83:15:a3:10
bluetoothd[267]: sixaxis: compatible device connected: PLAYSTATION(R)3 Controller (054C:0268)
upowerd[501]: (upowerd:501): UPower-Linux-WARNING **: no valid voltage value found for device /sys/devices/pci0000:00/0000:00:12.0/usb3/3-4/3-4:1.0/bluetooth/hci0/hci0:3/0005:054C:0268.0006/power_supply/sony_controller_battery_00:24:33:54:94:fb, assuming 10VOffline
Did you install bluez-plugins? You need that package for it to work. I just did this myself and had no problem setting it up but there is a very annoying delay when it's going over bluetooth. It's noticeable on an emulator when there's a text input box the cursor will sometimes skip two or three positions. Also, sometimes the analog stick will get stuck in one position for a few seconds so your character may run off a cliff or something with no way of stopping it. The delay goes away completely when I go through USB. I was wondering if anyone knew a solution to this while we're on the subject.
Offline
Installed:
$ pacman -Q bluez-plugins
bluez-plugins 5.22-2Maybe BT radio is problem. I will try more but I'm losing my will. Maybe QtSixad from AUR. That Steam gamepad can't come soon enough. ![]()
Offline
Actually it sounds like it may be a bluetooth agent conflict. You mentioned GNOME bluetooth. Try disabling that and any other bluetooth services you may have so that bluetoothctl is the only agent running and then redo the steps in the wiki.
Offline
Tried, didn't help. (Actually I removed it, didn't know how to just disable.)
Thank you for your help, I appreciate it.
Offline
Are you still not able to pair the device? If so, start over.
bluetoothd[267]: No agent available for request type 0
bluetoothd[267]: device_request_pin: Operation not permittedSearch for that error without the 267 and other syntax symbols.
Offline
weirddan:
I had the same problem with my bt-keyboard... it turns out the issue was a weak connection strength. Everytime the problem happened to me, I could fix it by bringing the kb closer to my bt radio; I've since fixed the issue by using a USB dongle I had lying around :-/
schizo-ri:
Yea, a link quality of 0 is definitely a red flag... you may have a super weak connection as well. Do you have any other bt devices you can connect to in order to evaluate their lq's too? You may have a weak or poorly designed antenna on your bt card; my Brix has this issue leading to my use of an external bt-controller.
Offline
I thought about it to. I'll try to find another bt dongle.
Offline
Pages: 1