All,

I successfully paired a Sony Dual Shock sixaxis controller -

[    2.185863] usb 1-1.3: New USB device found, idVendor=054c, idProduct=0268
[    2.185875] usb 1-1.3: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
[    2.185917] usb 1-1.3: Product: PLAYSTATION(R)3 Controller
[    2.185928] usb 1-1.3: Manufacturer: Sony
[    2.186583] usb 1-1.3: usb_probe_device
[    2.186602] usb 1-1.3: configuration #1 chosen from 1 choice
[    2.186912] usb 1-1.3: adding 1-1.3:1.0 (config #1, interface 0)
[    2.187163] usbhid 1-1.3:1.0: usb_probe_interface
[    2.187179] usbhid 1-1.3:1.0: usb_probe_interface - got id
[    2.193368] sony 0003:054C:0268.0001: Fixing up Sony Sixaxis report 
descriptor
[    2.224759] input: Sony PLAYSTATION(R)3 Controller as 
/devices/ocp.3/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.3/1-1.3:1.0/input/input1
[    2.225527] usbhid 1-1.3:1.0: looking for a minor, starting at 96
[    2.226048] sony 0003:054C:0268.0001: input,hiddev0,hidraw0: USB HID v1.11 
Joystick [Sony PLAYSTATION(R)3 Controller] on usb-musb-hdrc.1.auto-1.3/input0
[    2.227235] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0008

with a
Targus USB-BT adapter-
[    1.999075] usb 1-1.1: New USB device found, idVendor=0a5c, 
idProduct=21e8
[    1.999089] usb 1-1.1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[    1.999101] usb 1-1.1: Product: BCM20702A0
[    1.999111] usb 1-1.1: Manufacturer: Broadcom Corp

through a Staples 4 port hub Model (#36302) (generic for NEC product NEC 
HUB_005A 0x005a USB 2.0 4-Port Hub )-
[    1.619722] usb 1-1: New USB device found, idVendor=0409, idProduct=005a
[    1.619734] usb 1-1: New USB device strings: Mfr=0, Product=0, 
SerialNumber=0
[    1.620163] usb 1-1: usb_probe_device
[    1.620181] usb 1-1: configuration #1 chosen from 1 choice
[    1.620314] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
[    1.620447] hub 1-1:1.0: usb_probe_interface
[    1.620460] hub 1-1:1.0: usb_probe_interface - got id
[    1.620478] hub 1-1:1.0: USB hub found
[    1.620561] hub 1-1:1.0: 4 ports detected
[    1.620573] hub 1-1:1.0: standalone hub
[    1.620583] hub 1-1:1.0: individual port power switching
[    1.620594] hub 1-1:1.0: individual port over-current protection
[    1.620604] hub 1-1:1.0: Single TT
[    1.620615] hub 1-1:1.0: TT requires at most 16 FS bit times (1332 ns)
[    1.620625] hub 1-1:1.0: Port indicators are supported
[    1.620635] hub 1-1:1.0: power on to power good time: 100ms
[    1.620743] hub 1-1:1.0: local power source is good
[    1.620944] hub 1-1:1.0: enabling power on all ports
[    1.621456] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[    1.621489] hub 1-0:1.0: port 1 enable change, status 00000503
[    1.721197] hub 1-1:1.0: port 1: status 0101 change 0001
[    1.721402] hub 1-1:1.0: port 3: status 0101 change 0001
[    1.822691] hub 1-1:1.0: state 7 ports 4 chg 000a evt 0000
[    1.822785] hub 1-1:1.0: port 1, status 0101, change 0000, 12 Mb/s
[    1.836392] hub 1-1:1.0: port 1 not reset yet, waiting 10ms

verified the USB-BT adapter via-

root@beaglebone:~# hciconfig
hci0:   Type: BR/EDR  Bus: USB
        BD Address: 00:19:0E:15:62:FA  ACL MTU: 1021:8  SCO MTU: 64:1
        UP RUNNING PSCAN
        RX bytes:1351 acl:0 sco:0 events:60 errors:0
        TX bytes:1333 acl:0 sco:0 commands:60 errors:0

root@beaglebone:~# lsusb
Bus 001 Device 002: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0a5c:21e8 Broadcom Corp.
Bus 001 Device 004: ID 054c:0268 Sony Corp. Batoh Device / PlayStation 3 
Controller

I downloaded sixpair.c from the following website
www.pabr.org/sixlinux/*sixpair*.*c*‎

To satisfy the #include <usb.h> I installed libusb-dev

root@beaglebone:~# apt-get install libusb-dev

then compiled sixpair.c and executed-

root@beaglebone:~# ./sixpair
Current Bluetooth master: 00:02:76:1e:bb:e0
Setting master bd_addr to 00:19:0e:15:62:fa

Finally-

root@beaglebone:~# hcitool dev
Devices:
        hci0    00:19:0E:15:62:FA
root@beaglebone:~# hcitool scan
Scanning ...
        00:26:83:36:62:F7       ubuntu-0



-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to