1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256 | kendall@Desecheo:~$ sudo apt-get install pyqt4-dev-tools git
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version.
git set to manually installed.
The following packages were automatically installed and are no longer required:
linux-headers-4.2.0-19 linux-headers-4.2.0-19-generic linux-headers-4.2.0-22
linux-headers-4.2.0-22-generic linux-image-4.2.0-19-generic
linux-image-4.2.0-22-generic linux-image-extra-4.2.0-19-generic
linux-image-extra-4.2.0-22-generic
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
pyqt4-dev-tools
0 to upgrade, 1 to newly install, 0 to remove and 1 not to upgrade.
Need to get 90.0 kB of archives.
After this operation, 281 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://au.archive.ubuntu.com/ubuntu/ wily/main pyqt4-dev-tools i386 4.11.4+dfsg-1build3 [90.0 kB]
Fetched 90.0 kB in 2s (32.4 kB/s)
Selecting previously unselected package pyqt4-dev-tools.
(Reading database ... 334586 files and directories currently installed.)
Preparing to unpack .../pyqt4-dev-tools_4.11.4+dfsg-1build3_i386.deb ...
Unpacking pyqt4-dev-tools (4.11.4+dfsg-1build3) ...
Processing triggers for man-db (2.7.4-1) ...
Setting up pyqt4-dev-tools (4.11.4+dfsg-1build3) ...
kendall@Desecheo:~$ sudo apt-get install libusb-dev libjac-dev libbluetooth-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libjac-dev
kendall@Desecheo:~$ sudo apt-get install libusb-dev libjack-dev libbluetooth-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libusb-dev is already the newest version.
The following packages were automatically installed and are no longer required:
libaubio4 libcwiid1 liblilv-0-0 libltc11 librubberband2v5 libserd-0-0
libsord-0-0 libsratom-0-0 libsuil-0-0 linux-headers-4.2.0-19
linux-headers-4.2.0-19-generic linux-headers-4.2.0-22
linux-headers-4.2.0-22-generic linux-image-4.2.0-19-generic
linux-image-4.2.0-22-generic linux-image-extra-4.2.0-19-generic
linux-image-extra-4.2.0-22-generic python-fpconst
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
jackd1 jackd1-firewire libjack0 libzita-alsa-pcmi0 libzita-resampler1
uuid-dev
Suggested packages:
jack-tools meterbridge
The following packages will be REMOVED:
ardour3 azr3-jack jack-mixer jackd jackd2 jackd2-firewire jmeters
libjack-jackd2-0 qjackctl
The following NEW packages will be installed:
jackd1 jackd1-firewire libbluetooth-dev libjack-dev libjack0
libzita-alsa-pcmi0 libzita-resampler1 uuid-dev
0 to upgrade, 8 to newly install, 9 to remove and 1 not to upgrade.
Need to get 717 kB of archives.
After this operation, 34.3 MB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://au.archive.ubuntu.com/ubuntu/ wily/main libjack0 i386 1:0.124.1+20140122git5013bed0-3build2 [47.2 kB]
Get:2 http://au.archive.ubuntu.com/ubuntu/ wily/main libzita-alsa-pcmi0 i386 0.2.0-2 [13.6 kB]
Get:3 http://au.archive.ubuntu.com/ubuntu/ wily/main libzita-resampler1 i386 1.3.0-2 [10.2 kB]
Get:4 http://au.archive.ubuntu.com/ubuntu/ wily/universe jackd1 i386 1:0.124.1+20140122git5013bed0-3build2 [259 kB]
Get:5 http://au.archive.ubuntu.com/ubuntu/ wily/universe jackd1-firewire i386 1:0.124.1+20140122git5013bed0-3build2 [11.2 kB]
Get:6 http://au.archive.ubuntu.com/ubuntu/ wily/main uuid-dev i386 2.26.2-6ubuntu3 [26.9 kB]
Get:7 http://au.archive.ubuntu.com/ubuntu/ wily/main libjack-dev i386 1:0.124.1+20140122git5013bed0-3build2 [204 kB]
Get:8 http://au.archive.ubuntu.com/ubuntu/ wily/main libbluetooth-dev i386 5.35-0ubuntu2 [145 kB]
Fetched 717 kB in 9s (74.6 kB/s)
Preconfiguring packages ...
(Reading database ... 334595 files and directories currently installed.)
Removing ardour3 (4.1~dfsg-1build2) ...
Removing azr3-jack (1.2.3-2build2) ...
Removing jack-mixer (10-1build1) ...
Removing qjackctl (0.3.13-1build1) ...
Removing jmeters (0.4.1-3build1) ...
Removing jackd (5) ...
Removing jackd2-firewire (1.9.10+20140719git3eb0ae6a~dfsg-3ubuntu1) ...
Removing jackd2 (1.9.10+20140719git3eb0ae6a~dfsg-3ubuntu1) ...
dpkg: libjack-jackd2-0:i386: dependency problems, but removing anyway as you requested:
libfluidsynth1:i386 depends on libjack-jackd2-0 (>= 1.9.5~dfsg-14) | libjack-0.116; however:
Package libjack-jackd2-0:i386 is to be removed.
Package libjack-0.116 is not installed.
Package libjack-jackd2-0:i386 which provides libjack-0.116 is to be removed.
timidity depends on libjack-jackd2-0 (>= 1.9.5~dfsg-14) | libjack-0.116; however:
Package libjack-jackd2-0:i386 is to be removed.
Package libjack-0.116 is not installed.
Package libjack-jackd2-0:i386 which provides libjack-0.116 is to be removed.
gstreamer1.0-plugins-good:i386 depends on libjack-jackd2-0 (>= 1.9.5~dfsg-14) | libjack-0.116; however:
Package libjack-jackd2-0:i386 is to be removed.
Package libjack-0.116 is not installed.
Package libjack-jackd2-0:i386 which provides libjack-0.116 is to be removed.
dssi-vst depends on libjack-jackd2-0 (>= 1.9.5~dfsg-14) | libjack-0.116; however:
Package libjack-jackd2-0:i386 is to be removed.
Package lib
Removing libjack-jackd2-0:i386 (1.9.10+20140719git3eb0ae6a~dfsg-3ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu1) ...
Processing triggers for bamfdaemon (0.5.2~bzr0+15.10.20150627.1-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Processing triggers for mime-support (3.58ubuntu1) ...
Processing triggers for man-db (2.7.4-1) ...
Processing triggers for shared-mime-info (1.3-1) ...
Processing triggers for libc-bin (2.21-0ubuntu4) ...
Processing triggers for gconf2 (3.2.6-3ubuntu5) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Selecting previously unselected package libjack0:i386.
(Reading database ... 333916 files and directories currently installed.)
Preparing to unpack .../libjack0_1%3a0.124.1+20140122git5013bed0-3build2_i386.deb ...
Unpacking libjack0:i386 (1:0.124.1+20140122git5013bed0-3build2) ...
Selecting previously unselected package libzita-alsa-pcmi0:i386.
Preparing to unpack .../libzita-alsa-pcmi0_0.2.0-2_i386.deb ...
Unpacking libzita-alsa-pcmi0:i386 (0.2.0-2) ...
Selecting previously unselected package libzita-resampler1:i386.
Preparing to unpack .../libzita-resampler1_1.3.0-2_i386.deb ...
Unpacking libzita-resampler1:i386 (1.3.0-2) ...
Selecting previously unselected package jackd1.
Preparing to unpack .../jackd1_1%3a0.124.1+20140122git5013bed0-3build2_i386.deb ...
Unpacking jackd1 (1:0.124.1+20140122git5013bed0-3build2) ...
Selecting previously unselected package jackd1-firewire.
Preparing to unpack .../jackd1-firewire_1%3a0.124.1+20140122git5013bed0-3build2_i386.deb ...
Unpacking jackd1-firewire (1:0.124.1+20140122git5013bed0-3build2) ...
Selecting previously unselected package uuid-dev:i386.
Preparing to unpack .../uuid-dev_2.26.2-6ubuntu3_i386.deb ...
Unpacking uuid-dev:i386 (2.26.2-6ubuntu3) ...
Selecting previously unselected package libjack-dev.
Preparing to unpack .../libjack-dev_1%3a0.124.1+20140122git5013bed0-3build2_i386.deb ...
Unpacking libjack-dev (1:0.124.1+20140122git5013bed0-3build2) ...
Selecting previously unselected package libbluetooth-dev.
Preparing to unpack .../libbluetooth-dev_5.35-0ubuntu2_i386.deb ...
Unpacking libbluetooth-dev (5.35-0ubuntu2) ...
Processing triggers for man-db (2.7.4-1) ...
Processing triggers for doc-base (0.10.6) ...
Processing 3 added doc-base files...
Error while merging /usr/share/doc-base/kino-en with /usr/share/doc-base/kino-fr: format html already defined.
Setting up libjack0:i386 (1:0.124.1+20140122git5013bed0-3build2) ...
Setting up libzita-alsa-pcmi0:i386 (0.2.0-2) ...
Setting up libzita-resampler1:i386 (1.3.0-2) ...
Setting up jackd1 (1:0.124.1+20140122git5013bed0-3build2) ...
Setting up jackd1-firewire (1:0.124.1+20140122git5013bed0-3build2) ...
Setting up uuid-dev:i386 (2.26.2-6ubuntu3) ...
Setting up libjack-dev (1:0.124.1+20140122git5013bed0-3build2) ...
Setting up libbluetooth-dev (5.35-0ubuntu2) ...
Processing triggers for libc-bin (2.21-0ubuntu4) ...
kendall@Desecheo:~$ cd Downloads
kendall@Desecheo:~/Downloads$ git clone http://github.com/falkTX/qtsixa.git
Cloning into 'qtsixa'...
remote: Counting objects: 719, done.
remote: Total 719 (delta 0), reused 0 (delta 0), pack-reused 719
Receiving objects: 100% (719/719), 1.71 MiB | 115.00 KiB/s, done.
Resolving deltas: 100% (376/376), done.
Checking connectivity... done.
kendall@Desecheo:~/Downloads$ cd qtsixa
kendall@Desecheo:~/Downloads/qtsixa$ make
make -C qtsixa
make[1]: Entering directory '/home/kendall/Downloads/qtsixa/qtsixa'
pyuic4 -o ./gui/ui_qtsixa_mainw.py ./gui/ui/qtsixa_mainw.ui
pyuic4 -o ./gui/ui_qtsixa_aboutw.py ./gui/ui/qtsixa_aboutw.ui
pyuic4 -o ./gui/ui_qtsixa_managew.py ./gui/ui/qtsixa_managew.ui
pyuic4 -o ./gui/ui_qtsixa_newdevw.py ./gui/ui/qtsixa_newdevw.ui
pyuic4 -o ./gui/ui_qtsixa_newprofilew.py ./gui/ui/qtsixa_newprofilew.ui
pyuic4 -o ./gui/ui_qtsixa_preferencesw.py ./gui/ui/qtsixa_preferencesw.ui
pyuic4 -o ./gui/ui_qtsixa_referencew.py ./gui/ui/qtsixa_referencew.ui
pyuic4 -o ./gui/ui_qtsixa_sixpairw.py ./gui/ui/qtsixa_sixpairw.ui
pyrcc4 -o ./gui/qtsixa_rc.py ./icons/qtsixa.qrc
make[1]: Leaving directory '/home/kendall/Downloads/qtsixa/qtsixa'
make -C utils
make[1]: Entering directory '/home/kendall/Downloads/qtsixa/utils'
mkdir -p bins
cc -O2 -Wall -Wl,-Bsymbolic-functions hidraw-dump.c -o bins/hidraw-dump
cc -O2 -Wall -Wl,-Bsymbolic-functions sixpair.c -o bins/sixpair `pkg-config --cflags --libs libusb`
cc -O2 -Wall -Wl,-Bsymbolic-functions sixpair_kbd.c -o bins/sixpair-kbd `pkg-config --cflags --libs libusb`
cc -O2 -Wall -Wl,-Bsymbolic-functions sixad-jack.c -o bins/sixad-jack `pkg-config --cflags --libs jack` -lm
make[1]: Leaving directory '/home/kendall/Downloads/qtsixa/utils'
make -C sixad
make[1]: Entering directory '/home/kendall/Downloads/qtsixa/sixad'
mkdir -p bins
g++ -O2 -Wall -Wl,-Bsymbolic-functions sixad-bin.cpp bluetooth.cpp shared.cpp textfile.cpp -o bins/sixad-bin `pkg-config --cflags --libs bluez` -lpthread -fpermissive
g++ -O2 -Wall -Wl,-Bsymbolic-functions sixad-sixaxis.cpp sixaxis.cpp shared.cpp uinput.cpp textfile.cpp -o bins/sixad-sixaxis -lpthread -lrt
sixad-sixaxis.cpp: In function ‘int main(int, char**)’:
sixad-sixaxis.cpp:370:16: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
system(cmd);
^
g++ -O2 -Wall -Wl,-Bsymbolic-functions sixad-remote.cpp remote.cpp shared.cpp uinput.cpp textfile.cpp -o bins/sixad-remote -lrt
g++ -O2 -Wall -Wl,-Bsymbolic-functions sixad-raw.cpp sixaxis.cpp shared.cpp uinput.cpp textfile.cpp -o bins/sixad-raw
g++ -O2 -Wall -Wl,-Bsymbolic-functions sixad-3in1.cpp sixaxis.cpp shared.cpp uinput.cpp textfile.cpp -o bins/sixad-3in1
make[1]: Leaving directory '/home/kendall/Downloads/qtsixa/sixad'
kendall@Desecheo:~/Downloads/qtsixa$ sudo make install
make install -C qtsixa
make[1]: Entering directory '/home/kendall/Downloads/qtsixa/qtsixa'
#Make directories
install -d /usr/bin/
install -d /usr/share/applications/
install -d /usr/share/pixmaps/
install -d /usr/share/qtsixa/
install -d /usr/share/qtsixa/game-profiles/
install -d /usr/share/qtsixa/gui/
install -d /usr/share/qtsixa/icons/
install -d /usr/share/qtsixa/pics/
install -d /usr/share/qtsixa/profiles/
#Install files
install -m 655 qtsixa /usr/bin/
install -m 655 sixad-lq /usr/bin/
install -m 655 sixad-notify /usr/bin/
install -m 644 game-profiles/* /usr/share/qtsixa/game-profiles/
install -m 644 gui/*.py /usr/share/qtsixa/gui/
install -m 644 icons/* /usr/share/qtsixa/icons/
install -m 644 pics/* /usr/share/qtsixa/pics/
install -m 644 profiles/* /usr/share/qtsixa/profiles/
install -m 644 sixad-notify.desktop /usr/share/qtsixa/
install -m 644 qtsixa.desktop /usr/share/applications/
install -m 644 qtsixa.xpm /usr/share/pixmaps/
make[1]: Leaving directory '/home/kendall/Downloads/qtsixa/qtsixa'
make install -C utils
make[1]: Entering directory '/home/kendall/Downloads/qtsixa/utils'
install -d /usr/bin/
install -d /usr/sbin/
install -m 755 bins/sixpair /usr/sbin/
install -m 755 bins/sixpair-kbd /usr/sbin/
install -m 755 bins/hidraw-dump /usr/sbin/
install -m 755 bins/sixad-jack /usr/bin/
make[1]: Leaving directory '/home/kendall/Downloads/qtsixa/utils'
make install -C sixad
make[1]: Entering directory '/home/kendall/Downloads/qtsixa/sixad'
install -d /etc/default/
install -d /etc/init.d/
install -d /etc/logrotate.d/
install -d /usr/bin/
install -d /usr/sbin/
install -d /var/lib/sixad/
install -d /var/lib/sixad/profiles/
install -m 644 sixad.default /etc/default/sixad
install -m 755 sixad.init /etc/init.d/sixad
install -m 644 sixad.log /etc/logrotate.d/sixad
install -m 755 sixad /usr/bin/
install -m 755 bins/sixad-bin /usr/sbin/
install -m 755 bins/sixad-sixaxis /usr/sbin/
install -m 755 bins/sixad-remote /usr/sbin/
install -m 755 bins/sixad-3in1 /usr/sbin/
install -m 755 bins/sixad-raw /usr/sbin/
Installation is Complete!
make[1]: Leaving directory '/home/kendall/Downloads/qtsixa/sixad'
kendall@Desecheo:~/Downloads/qtsixa$ sudo sixpair
Current Bluetooth master: 00:21:86:ba:3f:f4
Setting master bd_addr to 00:1a:7d:da:71:13
kendall@Desecheo:~/Downloads/qtsixa$ sixad --start
Can't read version info hci0: Network is down (100)
[ ok ] Starting bluetooth (via systemctl): bluetooth.service.
sixad-bin[10614]: started
sixad-bin[10614]: sixad started, press the PS button now
sixad-bin[10614]: unable to connect to sdp session
sixad-bin[10614]: HID create error 107 (Transport endpoint is not connected)
sixad-bin[10614]: unable to connect to sdp session
sixad-bin[10614]: HID create error 107 (Transport endpoint is not connected)
sixad-bin[10614]: unable to connect to sdp session
sixad-bin[10614]: unable to connect to sdp session
sixad-bin[10614]: HID create error 110 (Connection timed out)
|