unable to connect to sdp session

Bug #1275296 reported by whochismo
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
QtSixA
New
Undecided
Unassigned

Bug Description

I am trying to pair a non-official PS3 controller via bluetooth to my raspberry pi (using Xbian 1.0RC1), although I've also tried it in my Ubuntu 13.10 laptop. It is recognised by the system as: SHENGHIC 2009/0708ZXW-V1Inc. PLAYSTATION(R)3Conteroller

Using a USB cable the controller works. Under some circumstances, the controller is able to pair via bluetooth and I can see the keystrokes with the hcidump command, but jstest doesn't report a single keystroke.

I compiled sixad from QtSixA-1.5.1-src.tar.gz on sourceforge. I am configuring it in a headless server, so no Qt packages are used.

This is the result of the sixad --start command:

xbian@xbian ~ $ sudo /usr/bin/sixad --start
sixad-bin[2863]: started
sixad-bin[2863]: sixad started, press the PS button now
sixad-bin[2863]: Server mode active, will start search now
sixad-bin[2863]: One event received
sixad-bin[2863]: unable to connect to sdp session
sixad-bin[2863]: Will initiate Sixaxis now
sixad-bin[2863]: One event proccessed
sixad-sixaxis[2869]: started

.... and after a while (5-10 minutes)

sixad-sixaxis[3428]: Connected 'PLAYSTATION(R)3 Controller (00:1E:3D:DE:41:02)' [Battery 00]
sixad-sixaxis[3428]: Read loop was broken on the Sixaxis process
sixad-sixaxis[3428]: Closing uinput...
sixad-sixaxis[3428]: uinput_close()::ioctl(UI_DEV_DESTROY) - success!
sixad-sixaxis[3428]: uinput_close()::close(fd) - success!
sixad-sixaxis[3428]: Done

During all this time, the controller is vibrating.

I added more detailed information about this problem in the following post: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=78&t=16702&p=498323#p498323

Thank you for your time and I hope you can cast some light on this issue

Revision history for this message
Andrew Drummond (4ndy) wrote :

I also have this problem with a genuine Sony Dualshock 3 Sixaxis controller. Console output:

$ sixad --start
[sudo] password for user:
[ ok ] Starting bluetooth (via systemctl): bluetooth.service.
sixad-bin[32528]: started
sixad-bin[32528]: sixad started, press the PS button now
sixad-bin[32528]: unable to connect to sdp session
sixad-bin[32528]: HID create error 107 (Transport endpoint is not connected)
sixad-bin[32528]: unable to connect to sdp session
sixad-bin[32528]: unable to connect to sdp session
sixad-bin[32528]: HID create error 110 (Connection timed out)

I tried pairing the controller beforehand as the manual instructed, output:
$ sudo sixpair
Current Bluetooth master: [redacted]
Setting master bd_addr to [redacted]

I'm guessing that there's supposed to be something more than that one BT address there. The MAC address for the controller that appears in my bluetooth manager never shows up.

I tried stopping and starting the service, but nothing worked. The controller only worked over USB. After pressing the PS button on prompt by sixad, all the controller's lights flashed until the connection attempt timed out.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.