Support for more than one BT adapter
Bug #734397 reported by
Paul McMahon
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QtSixA |
New
|
Undecided
|
Unassigned |
Bug Description
Hi, thanks for qtsixa--it's very close to what I need!
What I'm really aiming for is to support two BT connections--one from the sixaxis controller, and another to a Lego NXT robot. I have two BT adapters in my system, correctly recognized at hci0 and hci1. I have no problems using my Sixaxis controller in ubuntu as a remote joystick -- slick!
My problem is that once I run sixad, the bluetooth service is stopped, so I can't access the other adapter. Is there a way to prevent killing the second adapter when sixad runs?
thanks
Ubuntu 10.10
Qt version: 4.7.0
PyQt version: 4.7.4
QtSixA version: 1.5.0
To post a comment you must log in.
the sixad driver needs 'hcid' to work, which conflicts with the regular bluetooth.
but, if you have 2 bt adapters, I guess you can make them work separately.
the steps should be:
1 - set (normal) bluetooth device as hci1 (leaving default hci0 for sixaxis).
(you should have a GUI for this...)
2 - connect the sixaxis using these commands:
$ sudo modprobe uinput
$ sudo hcid -n # will not close (ignore errors about config file)
$ sudo sixad-bin 0 0 # 1st argument for DEBUG, 2nd is LEGACY_MODE
press ps button, and it should work.
let me know how it goes