bruce@batman:~$ sudo apt-get install libusb-dev libusb-0.1-4
Reading package lists... Done
Building dependency tree
Reading state information... Done
libusb-0.1-4 is already the newest version.
The following NEW packages will be installed:
libusb-dev
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 28,9 kB of archives.
After this operation, 251 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://br.archive.ubuntu.com/ubuntu/ trusty/main libusb-dev amd64 2:0.1.12-23.3ubuntu1 [28,9 kB]
Fetched 28,9 kB in 1s (18,3 kB/s)
Selecting previously unselected package libusb-dev.
(Reading database ... 341588 files and directories currently installed.)
Preparing to unpack .../libusb-dev_2%3a0.1.12-23.3ubuntu1_amd64.deb ...
Unpacking libusb-dev (2:0.1.12-23.3ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for doc-base (0.10.5) ...
Processing 1 added doc-base file...
Registering documents with scrollkeeper...
Setting up libusb-dev (2:0.1.12-23.3ubuntu1) ...
bruce@batman:~$ sudo apt-get install sixpair
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package sixpair
bruce@batman:~$ sudo apt-add-repository ppa:falk-t-j/qtsixa
Packages for QtSixA and sixad software
More info: https://launchpad.net/~falk-t-j/+archive/ubuntu/qtsixa
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpuh2ro05r/secring.gpg' created
gpg: keyring `/tmp/tmpuh2ro05r/pubring.gpg' created
gpg: requesting key 736E4F0B from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpuh2ro05r/trustdb.gpg: trustdb created
gpg: key 736E4F0B: public key "Launchpad PPA for falktx" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
bruce@batman:~$ sudo apt-get update
bruce@batman:~$ sudo apt-get install sixad
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
sixad
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 38,0 kB of archives.
After this operation, 254 kB of additional disk space will be used.
0% [Working]
Get:1 http://ppa.launchpad.net/falk-t-j/qtsixa/ubuntu/ trusty/main sixad amd64 1.5.1+git20130130-0~trusty1 [38,0 kB]
Fetched 38,0 kB in 1s (36,9 kB/s)
Selecting previously unselected package sixad.
(Reading database ... 341646 files and directories currently installed.)
Preparing to unpack .../sixad_1.5.1+git20130130-0~trusty1_amd64.deb ...
Unpacking sixad (1.5.1+git20130130-0~trusty1) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Setting up sixad (1.5.1+git20130130-0~trusty1) ...
update-rc.d: warning: start runlevel arguments (none) do not match sixad Default-Start values (2 3 4 5)
Adding system startup for /etc/init.d/sixad ...
/etc/rc0.d/K10sixad -> ../init.d/sixad
/etc/rc1.d/K10sixad -> ../init.d/sixad
/etc/rc6.d/K10sixad -> ../init.d/sixad
Processing triggers for ureadahead (0.100.0-16) ...
Conecte o controle no pc (usb cable)
bruce@batman:~$ sudo sixpair
Current Bluetooth master: 90:34:fc:f5:84:52
Setting master bd_addr to a4:17:31:fd:80:2c
Tire o cabo e digite o comando abaixo, espere 5 segundos e aperte o botão de ligar o controle
bruce@batman:~$ sixad --start
D-Bus setup failed: Name already in use
sixad-bin[20865]: started
sixad-bin[20865]: sixad started, press the PS button now
sixad-sixaxis[21100]: started
sixad-sixaxis[21100]: Connected 'PLAYSTATION(R)3 Controller (60:38:0E:C5:96:EC)' [Battery 05]