1 |
FreeBob version 0.0.1 |
---|
2 |
===================== |
---|
3 |
|
---|
4 |
This project aims to provide a free driver implemenation for the BeBoB |
---|
5 |
platform. The BeBob is used in many available IEEE 1394 based break-out |
---|
6 |
boxes. |
---|
7 |
|
---|
8 |
This is the first beta release of libfreebob. Currently it depends |
---|
9 |
still on the old streaming backend driver from the prealpha-release 2.1. |
---|
10 |
In order to use libfreebob you need to download and install it this |
---|
11 |
special version. |
---|
12 |
|
---|
13 |
The device discovering is done completely different to the |
---|
14 |
prealpha-release version of freebob. In the old version |
---|
15 |
it is done using the descriptors. But this version has several sever |
---|
16 |
drawbacks, e.g. not every BeBoB device is supported. This implemention |
---|
17 |
now uses a some extended commands like the extended plug info command. |
---|
18 |
This allows to discover any BeBoB device. Furthermore it provides |
---|
19 |
more information and it is extremly faster... which is of course |
---|
20 |
not very important because it is only device discovering and not |
---|
21 |
streaming :) |
---|
22 |
|
---|
23 |
Dependencies |
---|
24 |
------------ |
---|
25 |
|
---|
26 |
To build libfreebob you need several libraries. For all libraries a version |
---|
27 |
is provided which is a 'known good' version (all tested with a debian testing |
---|
28 |
installation). The first few libraries it seems it is not necessary that |
---|
29 |
the version must match. The chances that it works also with an older versions |
---|
30 |
are good: |
---|
31 |
|
---|
32 |
alsa (>= 1.0.11) |
---|
33 |
libxml2 (>= 2.6.22) |
---|
34 |
libpthread (>= 2.3.5) |
---|
35 |
|
---|
36 |
These libraries here should be at least the version listed: |
---|
37 |
|
---|
38 |
libraw1394 (>= 1.2.0), http://www.linux1394.org |
---|
39 |
libiec61883 (>= 1.1.0), http://www.linux1394.org |
---|
40 |
libavc1394 (>= 0.5.1), http://sourceforge.net/projects/libavc1394 |
---|
41 |
|
---|
42 |
And finally, you need the special jackd version which uses libfreebob. |
---|
43 |
It can be downloaded from sf.net as well. |
---|
44 |
|
---|
45 |
|
---|
46 |
How to build |
---|
47 |
------------ |
---|
48 |
|
---|
49 |
Building the code is straight forward if PKG_CONFIG_PATH, LD_LIBRARY_PATH |
---|
50 |
and INCLUDE_PATH is correctly set up. |
---|
51 |
|
---|
52 |
E.g on my system I have installed libraw1394, libiec61883 and libavc1394 |
---|
53 |
under /usr/local: |
---|
54 |
|
---|
55 |
$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig |
---|
56 |
$ export LD_LIBRARY_PATH=/usr/local/lib |
---|
57 |
|
---|
58 |
If you want to build the release version you can do following (CVS checkout) |
---|
59 |
|
---|
60 |
$ ./autogen.sh |
---|
61 |
$ make install |
---|
62 |
|
---|
63 |
If you have not a CVS checkout you can do following: |
---|
64 |
|
---|
65 |
$ ./configure |
---|
66 |
$ make |
---|
67 |
$ make install |
---|
68 |
|
---|
69 |
If you want some debug information (because something seems not |
---|
70 |
to work correctly) you can try do following (not CVS checkout): |
---|
71 |
|
---|
72 |
$ ./configure --enable-debug |
---|
73 |
$ make |
---|
74 |
$ make install |
---|
75 |
|
---|
76 |
After you have install libfreebob you can start building the |
---|
77 |
special jack version with the iec61883 backend driver which is using |
---|
78 |
libfreebob. |
---|
79 |
|
---|
80 |
|
---|
81 |
Testing |
---|
82 |
------- |
---|
83 |
|
---|
84 |
Under the tests directory there is a test program. You should first |
---|
85 |
try to run this. |
---|
86 |
|
---|
87 |
If you don't have installed libfreebob then you can adapt your |
---|
88 |
LD_LIBRARY_PATH environment variable to |
---|
89 |
|
---|
90 |
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../src/.libs |
---|
91 |
|
---|
92 |
Then you can try running the program without having to install it. |
---|
93 |
|
---|
94 |
With the release version you see something like this (note that you |
---|
95 |
have to provide the correct node id, in this example '-n 0'): |
---|
96 |
|
---|
97 |
wagi@cruxam:~/src/libfreebob/tests$ ./test-freebob -n 0 discover |
---|
98 |
Using freebob library version: libfreebob 0.0.1 |
---|
99 |
|
---|
100 |
Direction: 0 (capture) |
---|
101 |
|
---|
102 |
Connection Info |
---|
103 |
=============== |
---|
104 |
|
---|
105 |
Number of connections: 1 |
---|
106 |
|
---|
107 |
Connection 0 |
---|
108 |
------------- |
---|
109 |
[ 0] Id: 0 |
---|
110 |
[ 0] Port: 0 |
---|
111 |
[ 0] Node: 0 |
---|
112 |
[ 0] Plug: 0 |
---|
113 |
[ 0] Dimension: 7 |
---|
114 |
[ 0] Samplerate: 48000 |
---|
115 |
[ 0] Number of stream infos: 7 |
---|
116 |
|
---|
117 |
StreamId Position Location Format Type DPort Name |
---|
118 |
-------------------------------------------------- |
---|
119 |
[ 0]:[ 0] 0x01 0x01 0x06 0x03 0x00 LineOut 1+2 left |
---|
120 |
[ 0]:[ 1] 0x04 0x02 0x06 0x03 0x00 LineOut 1+2 right |
---|
121 |
[ 0]:[ 2] 0x02 0x01 0x06 0x03 0x00 LineOut 3+4 left |
---|
122 |
[ 0]:[ 3] 0x05 0x02 0x06 0x03 0x00 LineOut 3+4 right |
---|
123 |
[ 0]:[ 4] 0x00 0x01 0x06 0x04 0x00 SpdifOut left |
---|
124 |
[ 0]:[ 5] 0x03 0x02 0x06 0x04 0x00 SpdifOut right |
---|
125 |
[ 0]:[ 6] 0x06 0x01 0x0d 0x0a 0x00 MidiPort_1 |
---|
126 |
|
---|
127 |
|
---|
128 |
Direction: 1 (playback) |
---|
129 |
|
---|
130 |
Connection Info |
---|
131 |
=============== |
---|
132 |
|
---|
133 |
Number of connections: 1 |
---|
134 |
|
---|
135 |
Connection 0 |
---|
136 |
------------- |
---|
137 |
[ 0] Id: 0 |
---|
138 |
[ 0] Port: 0 |
---|
139 |
[ 0] Node: 0 |
---|
140 |
[ 0] Plug: 0 |
---|
141 |
[ 0] Dimension: 7 |
---|
142 |
[ 0] Samplerate: 48000 |
---|
143 |
[ 0] Number of stream infos: 7 |
---|
144 |
|
---|
145 |
StreamId Position Location Format Type DPort Name |
---|
146 |
-------------------------------------------------- |
---|
147 |
[ 0]:[ 0] 0x01 0x01 0x06 0x02 0x00 MicIn1 left |
---|
148 |
[ 0]:[ 1] 0x04 0x02 0x06 0x02 0x00 MicIn1 right |
---|
149 |
[ 0]:[ 2] 0x02 0x01 0x06 0x03 0x00 LineIn 3+4 left |
---|
150 |
[ 0]:[ 3] 0x05 0x02 0x06 0x03 0x00 LineIn 3+4 right |
---|
151 |
[ 0]:[ 4] 0x00 0x01 0x06 0x04 0x00 SpdifIn left |
---|
152 |
[ 0]:[ 5] 0x03 0x02 0x06 0x04 0x00 SpdifIn right |
---|
153 |
[ 0]:[ 6] 0x06 0x01 0x0d 0x0a 0x00 MidiPort_1 |
---|
154 |
|
---|
155 |
|
---|
156 |
To impress friends you need of course to use the debug version |
---|
157 |
which looks like this: |
---|
158 |
|
---|
159 |
wagi@cruxam:~/src/libfreebob/tests$ ./test-freebob -n 0 discover |
---|
160 |
Using freebob library version: libfreebob 0.0.1 |
---|
161 |
|
---|
162 |
Debug (avdevice.cpp)[47] AvDevice: Found AvDevice (NodeID 0) |
---|
163 |
Debug (avdevice.cpp)[1262] enumerateSubUnits: subunit_id = 0, subunit_type = 1 (Audio), max_subunit_ID = 0 |
---|
164 |
Debug (avdevice.cpp)[1262] enumerateSubUnits: subunit_id = 0, subunit_type = 12 (Music), max_subunit_ID = 0 |
---|
165 |
Debug (avdevice.cpp)[169] discoverStep1: number of iso input plugs = 2, number of iso output plugs = 2 |
---|
166 |
Debug (avdevice.cpp)[214] discoverStep2: number of output plugs is 1 for iso input plug 0 |
---|
167 |
Debug (avdevice.cpp)[251] discoverStep2: output plug 0 is owned by subunit_type 12, subunit_id = 0 |
---|
168 |
Debug (avdevice.cpp)[1203] discoverPlugConnection: IsoStreamInput plug 0 has a valid connection to plug 0 of MusicSubunit subunit 0 |
---|
169 |
Debug (avdevice.cpp)[214] discoverStep2: number of output plugs is 0 for iso input plug 1 |
---|
170 |
Debug (avdevice.cpp)[339] discoverStep3: output plug 0 is owned by subunit_type 12, subunit_id 0 |
---|
171 |
Debug (avdevice.cpp)[1203] discoverPlugConnection: IsoStreamOutput plug 0 has a valid connection to plug 0 of MusicSubunit subunit 0 |
---|
172 |
Debug (avdevice.cpp)[339] discoverStep3: output plug 5 is owned by subunit_type 12, subunit_id 0 |
---|
173 |
Debug (avdevice.cpp)[1203] discoverPlugConnection: IsoStreamOutput plug 1 has a valid connection to plug 5 of MusicSubunit subunit 0 |
---|
174 |
Debug (avdevice.cpp)[416] discoverStep4: iso input plug 0 is of type 0 (IsoStream) |
---|
175 |
Debug (avdevice.cpp)[383] discoverStep4: iso input plug 1 has no valid connecton -> skip |
---|
176 |
Debug (avdevice.cpp)[465] discoverStep4: iso output plug 0 is of type 0 (IsoStream) |
---|
177 |
Debug (avdevice.cpp)[465] discoverStep4: iso output plug 1 is of type 3 (Sync) |
---|
178 |
Debug (avdevice.cpp)[524] discoverStep5: iso input plug 0 has 7 channels |
---|
179 |
Debug (avdevice.cpp)[491] discoverStep5: iso input plug 1 has no valid connecton -> skip |
---|
180 |
Debug (avdevice.cpp)[573] discoverStep5: iso output plug 0 has 7 channels |
---|
181 |
Debug (avdevice.cpp)[573] discoverStep5: iso output plug 1 has 2 channels |
---|
182 |
Debug (avdevice.cpp)[636] discoverStep6: iso input plug 0: channel position information retrieved |
---|
183 |
Debug (avplug.cpp)[105] debugOutputClusterInfos: number of channels: 2 |
---|
184 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 2 |
---|
185 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 1 |
---|
186 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 5 |
---|
187 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 2 |
---|
188 |
Debug (avplug.cpp)[105] debugOutputClusterInfos: number of channels: 2 |
---|
189 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 3 |
---|
190 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 1 |
---|
191 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 6 |
---|
192 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 2 |
---|
193 |
Debug (avplug.cpp)[105] debugOutputClusterInfos: number of channels: 2 |
---|
194 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 1 |
---|
195 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 1 |
---|
196 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 4 |
---|
197 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 2 |
---|
198 |
Debug (avplug.cpp)[105] debugOutputClusterInfos: number of channels: 1 |
---|
199 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 7 |
---|
200 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 1 |
---|
201 |
Debug (avdevice.cpp)[598] discoverStep6: iso input plug 1 has no valid connecton -> skip |
---|
202 |
Debug (avdevice.cpp)[690] discoverStep6: iso output plug 0: channel position information retrieved |
---|
203 |
Debug (avplug.cpp)[105] debugOutputClusterInfos: number of channels: 2 |
---|
204 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 2 |
---|
205 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 1 |
---|
206 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 5 |
---|
207 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 2 |
---|
208 |
Debug (avplug.cpp)[105] debugOutputClusterInfos: number of channels: 2 |
---|
209 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 3 |
---|
210 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 1 |
---|
211 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 6 |
---|
212 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 2 |
---|
213 |
Debug (avplug.cpp)[105] debugOutputClusterInfos: number of channels: 2 |
---|
214 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 1 |
---|
215 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 1 |
---|
216 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 4 |
---|
217 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 2 |
---|
218 |
Debug (avplug.cpp)[105] debugOutputClusterInfos: number of channels: 1 |
---|
219 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 7 |
---|
220 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 1 |
---|
221 |
Debug (avdevice.cpp)[690] discoverStep6: iso output plug 1: channel position information retrieved |
---|
222 |
Debug (avplug.cpp)[105] debugOutputClusterInfos: number of channels: 2 |
---|
223 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 1 |
---|
224 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 1 |
---|
225 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 2 |
---|
226 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 2 |
---|
227 |
Debug (avdevice.cpp)[767] discoverStep7: iso input plug 0 stream position 2: channel name = LineOut 1+2 left |
---|
228 |
Debug (avdevice.cpp)[767] discoverStep7: iso input plug 0 stream position 5: channel name = LineOut 1+2 right |
---|
229 |
Debug (avdevice.cpp)[767] discoverStep7: iso input plug 0 stream position 3: channel name = LineOut 3+4 left |
---|
230 |
Debug (avdevice.cpp)[767] discoverStep7: iso input plug 0 stream position 6: channel name = LineOut 3+4 right |
---|
231 |
Debug (avdevice.cpp)[767] discoverStep7: iso input plug 0 stream position 1: channel name = SpdifOut left |
---|
232 |
Debug (avdevice.cpp)[767] discoverStep7: iso input plug 0 stream position 4: channel name = SpdifOut right |
---|
233 |
Debug (avdevice.cpp)[767] discoverStep7: iso input plug 0 stream position 7: channel name = MidiPort_1 |
---|
234 |
Debug (avdevice.cpp)[716] discoverStep7: iso input plug 1 has no valid connecton -> skip |
---|
235 |
Debug (avdevice.cpp)[838] discoverStep7: iso output plug 0 stream position 2: channel name = MicIn1 left |
---|
236 |
Debug (avdevice.cpp)[838] discoverStep7: iso output plug 0 stream position 5: channel name = MicIn1 right |
---|
237 |
Debug (avdevice.cpp)[838] discoverStep7: iso output plug 0 stream position 3: channel name = LineIn 3+4 left |
---|
238 |
Debug (avdevice.cpp)[838] discoverStep7: iso output plug 0 stream position 6: channel name = LineIn 3+4 right |
---|
239 |
Debug (avdevice.cpp)[838] discoverStep7: iso output plug 0 stream position 1: channel name = SpdifIn left |
---|
240 |
Debug (avdevice.cpp)[838] discoverStep7: iso output plug 0 stream position 4: channel name = SpdifIn right |
---|
241 |
Debug (avdevice.cpp)[838] discoverStep7: iso output plug 0 stream position 7: channel name = MidiPort_1 |
---|
242 |
Debug (avdevice.cpp)[838] discoverStep7: iso output plug 1 stream position 1: channel name = SynchChannel1 |
---|
243 |
Debug (avdevice.cpp)[838] discoverStep7: iso output plug 1 stream position 2: channel name = SynchChannel2 |
---|
244 |
Debug (avdevice.cpp)[910] discoverStep8: iso input plug 0: cluster index = 1, portType Line, cluster name = LineOut 1+2 |
---|
245 |
Debug (avdevice.cpp)[910] discoverStep8: iso input plug 0: cluster index = 2, portType Line, cluster name = LineOut 3+4 |
---|
246 |
Debug (avdevice.cpp)[910] discoverStep8: iso input plug 0: cluster index = 3, portType SPDIF, cluster name = SpdifOut |
---|
247 |
Debug (avdevice.cpp)[910] discoverStep8: iso input plug 0: cluster index = 4, portType MIDI, cluster name = MidiSection.0 |
---|
248 |
Debug (avdevice.cpp)[866] discoverStep8: iso input plug 1 has no valid connecton -> skip |
---|
249 |
Debug (avdevice.cpp)[980] discoverStep8: iso output plug 0: cluster index = 1, portType Microphone, cluster name = MicIn1 |
---|
250 |
Debug (avdevice.cpp)[980] discoverStep8: iso output plug 0: cluster index = 2, portType Line, cluster name = LineIn 3+4 |
---|
251 |
Debug (avdevice.cpp)[980] discoverStep8: iso output plug 0: cluster index = 3, portType SPDIF, cluster name = SpdifIn |
---|
252 |
Debug (avdevice.cpp)[980] discoverStep8: iso output plug 0: cluster index = 4, portType MIDI, cluster name = MidiSection.0 |
---|
253 |
Warning (avdevice.cpp)[936] discoverStep8: Skipping plugs with id > 0. Further investigation needed |
---|
254 |
Debug (avdevice.cpp)[1040] discoverStep9: discoverStep9: iso input plug 0 uses sampling frequency 4 |
---|
255 |
Debug (avdevice.cpp)[1070] discoverStep9: iso input plug 0 cluster info 1: stream format 6 |
---|
256 |
Debug (avdevice.cpp)[1070] discoverStep9: iso input plug 0 cluster info 2: stream format 6 |
---|
257 |
Debug (avdevice.cpp)[1070] discoverStep9: iso input plug 0 cluster info 3: stream format 6 |
---|
258 |
Debug (avdevice.cpp)[1070] discoverStep9: iso input plug 0 cluster info 4: stream format 13 |
---|
259 |
Debug (avdevice.cpp)[1008] discoverStep9: iso input plug 1 has no valid connecton -> skip |
---|
260 |
Debug (avdevice.cpp)[1134] discoverStep9: discoverStep9: iso output plug 0 uses sampling frequency 4 |
---|
261 |
Debug (avdevice.cpp)[1164] discoverStep9: iso output plug 0 cluster info 1: stream format 6 |
---|
262 |
Debug (avdevice.cpp)[1164] discoverStep9: iso output plug 0 cluster info 2: stream format 6 |
---|
263 |
Debug (avdevice.cpp)[1164] discoverStep9: iso output plug 0 cluster info 3: stream format 6 |
---|
264 |
Debug (avdevice.cpp)[1164] discoverStep9: iso output plug 0 cluster info 4: stream format 13 |
---|
265 |
Debug (avdevice.cpp)[1177] discoverStep9: iso output plug 1 is sync stream with sampling frequency 4 |
---|
266 |
Direction: 0 (capture) |
---|
267 |
|
---|
268 |
Connection Info |
---|
269 |
=============== |
---|
270 |
|
---|
271 |
Number of connections: 1 |
---|
272 |
|
---|
273 |
Connection 0 |
---|
274 |
------------- |
---|
275 |
[ 0] Id: 0 |
---|
276 |
[ 0] Port: 0 |
---|
277 |
[ 0] Node: 0 |
---|
278 |
[ 0] Plug: 0 |
---|
279 |
[ 0] Dimension: 7 |
---|
280 |
[ 0] Samplerate: 48000 |
---|
281 |
[ 0] Number of stream infos: 7 |
---|
282 |
|
---|
283 |
StreamId Position Location Format Type DPort Name |
---|
284 |
-------------------------------------------------- |
---|
285 |
[ 0]:[ 0] 0x01 0x01 0x06 0x03 0x00 LineOut 1+2 left |
---|
286 |
[ 0]:[ 1] 0x04 0x02 0x06 0x03 0x00 LineOut 1+2 right |
---|
287 |
[ 0]:[ 2] 0x02 0x01 0x06 0x03 0x00 LineOut 3+4 left |
---|
288 |
[ 0]:[ 3] 0x05 0x02 0x06 0x03 0x00 LineOut 3+4 right |
---|
289 |
[ 0]:[ 4] 0x00 0x01 0x06 0x04 0x00 SpdifOut left |
---|
290 |
[ 0]:[ 5] 0x03 0x02 0x06 0x04 0x00 SpdifOut right |
---|
291 |
[ 0]:[ 6] 0x06 0x01 0x0d 0x0a 0x00 MidiPort_1 |
---|
292 |
|
---|
293 |
|
---|
294 |
Direction: 1 (playback) |
---|
295 |
|
---|
296 |
Connection Info |
---|
297 |
=============== |
---|
298 |
|
---|
299 |
Number of connections: 1 |
---|
300 |
|
---|
301 |
Connection 0 |
---|
302 |
------------- |
---|
303 |
[ 0] Id: 0 |
---|
304 |
[ 0] Port: 0 |
---|
305 |
[ 0] Node: 0 |
---|
306 |
[ 0] Plug: 0 |
---|
307 |
[ 0] Dimension: 7 |
---|
308 |
[ 0] Samplerate: 48000 |
---|
309 |
[ 0] Number of stream infos: 7 |
---|
310 |
|
---|
311 |
StreamId Position Location Format Type DPort Name |
---|
312 |
-------------------------------------------------- |
---|
313 |
[ 0]:[ 0] 0x01 0x01 0x06 0x02 0x00 MicIn1 left |
---|
314 |
[ 0]:[ 1] 0x04 0x02 0x06 0x02 0x00 MicIn1 right |
---|
315 |
[ 0]:[ 2] 0x02 0x01 0x06 0x03 0x00 LineIn 3+4 left |
---|
316 |
[ 0]:[ 3] 0x05 0x02 0x06 0x03 0x00 LineIn 3+4 right |
---|
317 |
[ 0]:[ 4] 0x00 0x01 0x06 0x04 0x00 SpdifIn left |
---|
318 |
[ 0]:[ 5] 0x03 0x02 0x06 0x04 0x00 SpdifIn right |
---|
319 |
[ 0]:[ 6] 0x06 0x01 0x0d 0x0a 0x00 MidiPort_1 |
---|
320 |
|
---|
321 |
|
---|
322 |
Running jackd |
---|
323 |
------------- |
---|
324 |
|
---|
325 |
In order to get it running you need to provide some arguments to |
---|
326 |
jackd, e.g. |
---|
327 |
|
---|
328 |
$ jackd -d iec61883 -n 1 -d 0 -p 512 -b 1000 -b 1000 -i 20 -r 8192 |
---|
329 |
|
---|
330 |
Note that '-n' most be addapted to your local 1394 bus configuraiton. |
---|
331 |
This is the node number of the device. |
---|
332 |
|
---|
333 |
On my screen I get: |
---|
334 |
|
---|
335 |
wagi@cruxam:~/src/jack-audio-connection-kit+freebob-0.100.0$ jackd -d iec61883 -n 1 -d 0 -p 512 -b 1000 -b 1000 -i 20 -r 8192 |
---|
336 |
jackd 0.100.0 |
---|
337 |
Copyright 2001-2005 Paul Davis and others. |
---|
338 |
jackd comes with ABSOLUTELY NO WARRANTY |
---|
339 |
This is free software, and you are welcome to redistribute it |
---|
340 |
under certain conditions; see the file COPYING for details |
---|
341 |
|
---|
342 |
JACK compiled with System V SHM support. |
---|
343 |
loading driver .. |
---|
344 |
IEC61883: Using libfreebob version libfreebob 0.0.1 |
---|
345 |
Debug (avdevice.cpp)[47] AvDevice: Found AvDevice (NodeID 1) |
---|
346 |
Debug (avdevice.cpp)[1262] enumerateSubUnits: subunit_id = 0, subunit_type = 1 (Audio), max_subunit_ID = 0 |
---|
347 |
Debug (avdevice.cpp)[1262] enumerateSubUnits: subunit_id = 0, subunit_type = 12 (Music), max_subunit_ID = 0 |
---|
348 |
Debug (avdevice.cpp)[169] discoverStep1: number of iso input plugs = 2, number of iso output plugs = 2 |
---|
349 |
Debug (avdevice.cpp)[214] discoverStep2: number of output plugs is 1 for iso input plug 0 |
---|
350 |
Debug (avdevice.cpp)[251] discoverStep2: output plug 0 is owned by subunit_type 12, subunit_id = 0 |
---|
351 |
Debug (avdevice.cpp)[1203] discoverPlugConnection: IsoStreamInput plug 0 has a valid connection to plug 0 of MusicSubunit subunit 0 |
---|
352 |
Debug (avdevice.cpp)[214] discoverStep2: number of output plugs is 0 for iso input plug 1 |
---|
353 |
Debug (avdevice.cpp)[339] discoverStep3: output plug 0 is owned by subunit_type 12, subunit_id 0 |
---|
354 |
Debug (avdevice.cpp)[1203] discoverPlugConnection: IsoStreamOutput plug 0 has a valid connection to plug 0 of MusicSubunit subunit 0 |
---|
355 |
Debug (avdevice.cpp)[339] discoverStep3: output plug 5 is owned by subunit_type 12, subunit_id 0 |
---|
356 |
Debug (avdevice.cpp)[1203] discoverPlugConnection: IsoStreamOutput plug 1 has a valid connection to plug 5 of MusicSubunit subunit 0 |
---|
357 |
Debug (avdevice.cpp)[416] discoverStep4: iso input plug 0 is of type 0 (IsoStream) |
---|
358 |
Debug (avdevice.cpp)[383] discoverStep4: iso input plug 1 has no valid connecton -> skip |
---|
359 |
Debug (avdevice.cpp)[465] discoverStep4: iso output plug 0 is of type 0 (IsoStream) |
---|
360 |
Debug (avdevice.cpp)[465] discoverStep4: iso output plug 1 is of type 3 (Sync) |
---|
361 |
Debug (avdevice.cpp)[524] discoverStep5: iso input plug 0 has 7 channels |
---|
362 |
Debug (avdevice.cpp)[491] discoverStep5: iso input plug 1 has no valid connecton -> skip |
---|
363 |
Debug (avdevice.cpp)[573] discoverStep5: iso output plug 0 has 7 channels |
---|
364 |
Debug (avdevice.cpp)[573] discoverStep5: iso output plug 1 has 2 channels |
---|
365 |
Debug (avdevice.cpp)[636] discoverStep6: iso input plug 0: channel position information retrieved |
---|
366 |
Debug (avplug.cpp)[105] debugOutputClusterInfos: number of channels: 2 |
---|
367 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 2 |
---|
368 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 1 |
---|
369 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 5 |
---|
370 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 2 |
---|
371 |
Debug (avplug.cpp)[105] debugOutputClusterInfos: number of channels: 2 |
---|
372 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 3 |
---|
373 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 1 |
---|
374 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 6 |
---|
375 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 2 |
---|
376 |
Debug (avplug.cpp)[105] debugOutputClusterInfos: number of channels: 2 |
---|
377 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 1 |
---|
378 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 1 |
---|
379 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 4 |
---|
380 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 2 |
---|
381 |
Debug (avplug.cpp)[105] debugOutputClusterInfos: number of channels: 1 |
---|
382 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 7 |
---|
383 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 1 |
---|
384 |
Debug (avdevice.cpp)[598] discoverStep6: iso input plug 1 has no valid connecton -> skip |
---|
385 |
Debug (avdevice.cpp)[690] discoverStep6: iso output plug 0: channel position information retrieved |
---|
386 |
Debug (avplug.cpp)[105] debugOutputClusterInfos: number of channels: 2 |
---|
387 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 2 |
---|
388 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 1 |
---|
389 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 5 |
---|
390 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 2 |
---|
391 |
Debug (avplug.cpp)[105] debugOutputClusterInfos: number of channels: 2 |
---|
392 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 3 |
---|
393 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 1 |
---|
394 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 6 |
---|
395 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 2 |
---|
396 |
Debug (avplug.cpp)[105] debugOutputClusterInfos: number of channels: 2 |
---|
397 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 1 |
---|
398 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 1 |
---|
399 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 4 |
---|
400 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 2 |
---|
401 |
Debug (avplug.cpp)[105] debugOutputClusterInfos: number of channels: 1 |
---|
402 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 7 |
---|
403 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 1 |
---|
404 |
Debug (avdevice.cpp)[690] discoverStep6: iso output plug 1: channel position information retrieved |
---|
405 |
Debug (avplug.cpp)[105] debugOutputClusterInfos: number of channels: 2 |
---|
406 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 1 |
---|
407 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 1 |
---|
408 |
Debug (avplug.cpp)[115] debugOutputClusterInfos: stream position: 2 |
---|
409 |
Debug (avplug.cpp)[118] debugOutputClusterInfos: location: 2 |
---|
410 |
Debug (avdevice.cpp)[767] discoverStep7: iso input plug 0 stream position 2: channel name = LineOut 1+2 left |
---|
411 |
Debug (avdevice.cpp)[767] discoverStep7: iso input plug 0 stream position 5: channel name = LineOut 1+2 right |
---|
412 |
Debug (avdevice.cpp)[767] discoverStep7: iso input plug 0 stream position 3: channel name = LineOut 3+4 left |
---|
413 |
Debug (avdevice.cpp)[767] discoverStep7: iso input plug 0 stream position 6: channel name = LineOut 3+4 right |
---|
414 |
Debug (avdevice.cpp)[767] discoverStep7: iso input plug 0 stream position 1: channel name = SpdifOut left |
---|
415 |
Debug (avdevice.cpp)[767] discoverStep7: iso input plug 0 stream position 4: channel name = SpdifOut right |
---|
416 |
Debug (avdevice.cpp)[767] discoverStep7: iso input plug 0 stream position 7: channel name = MidiPort_1 |
---|
417 |
Debug (avdevice.cpp)[716] discoverStep7: iso input plug 1 has no valid connecton -> skip |
---|
418 |
Debug (avdevice.cpp)[838] discoverStep7: iso output plug 0 stream position 2: channel name = MicIn1 left |
---|
419 |
Debug (avdevice.cpp)[838] discoverStep7: iso output plug 0 stream position 5: channel name = MicIn1 right |
---|
420 |
Debug (avdevice.cpp)[838] discoverStep7: iso output plug 0 stream position 3: channel name = LineIn 3+4 left |
---|
421 |
Debug (avdevice.cpp)[838] discoverStep7: iso output plug 0 stream position 6: channel name = LineIn 3+4 right |
---|
422 |
Debug (avdevice.cpp)[838] discoverStep7: iso output plug 0 stream position 1: channel name = SpdifIn left |
---|
423 |
Debug (avdevice.cpp)[838] discoverStep7: iso output plug 0 stream position 4: channel name = SpdifIn right |
---|
424 |
Debug (avdevice.cpp)[838] discoverStep7: iso output plug 0 stream position 7: channel name = MidiPort_1 |
---|
425 |
Debug (avdevice.cpp)[838] discoverStep7: iso output plug 1 stream position 1: channel name = SynchChannel1 |
---|
426 |
Debug (avdevice.cpp)[838] discoverStep7: iso output plug 1 stream position 2: channel name = SynchChannel2 |
---|
427 |
Debug (avdevice.cpp)[910] discoverStep8: iso input plug 0: cluster index = 1, portType Line, cluster name = LineOut 1+2 |
---|
428 |
Debug (avdevice.cpp)[910] discoverStep8: iso input plug 0: cluster index = 2, portType Line, cluster name = LineOut 3+4 |
---|
429 |
Debug (avdevice.cpp)[910] discoverStep8: iso input plug 0: cluster index = 3, portType SPDIF, cluster name = SpdifOut |
---|
430 |
Debug (avdevice.cpp)[910] discoverStep8: iso input plug 0: cluster index = 4, portType MIDI, cluster name = MidiSection.0 |
---|
431 |
Debug (avdevice.cpp)[866] discoverStep8: iso input plug 1 has no valid connecton -> skip |
---|
432 |
Debug (avdevice.cpp)[980] discoverStep8: iso output plug 0: cluster index = 1, portType Microphone, cluster name = MicIn1 |
---|
433 |
Debug (avdevice.cpp)[980] discoverStep8: iso output plug 0: cluster index = 2, portType Line, cluster name = LineIn 3+4 |
---|
434 |
Debug (avdevice.cpp)[980] discoverStep8: iso output plug 0: cluster index = 3, portType SPDIF, cluster name = SpdifIn |
---|
435 |
Debug (avdevice.cpp)[980] discoverStep8: iso output plug 0: cluster index = 4, portType MIDI, cluster name = MidiSection.0 |
---|
436 |
Warning (avdevice.cpp)[936] discoverStep8: Skipping plugs with id > 0. Further investigation needed |
---|
437 |
Debug (avdevice.cpp)[1040] discoverStep9: discoverStep9: iso input plug 0 uses sampling frequency 4 |
---|
438 |
Debug (avdevice.cpp)[1070] discoverStep9: iso input plug 0 cluster info 1: stream format 6 |
---|
439 |
Debug (avdevice.cpp)[1070] discoverStep9: iso input plug 0 cluster info 2: stream format 6 |
---|
440 |
Debug (avdevice.cpp)[1070] discoverStep9: iso input plug 0 cluster info 3: stream format 6 |
---|
441 |
Debug (avdevice.cpp)[1070] discoverStep9: iso input plug 0 cluster info 4: stream format 13 |
---|
442 |
Debug (avdevice.cpp)[1008] discoverStep9: iso input plug 1 has no valid connecton -> skip |
---|
443 |
Debug (avdevice.cpp)[1134] discoverStep9: discoverStep9: iso output plug 0 uses sampling frequency 4 |
---|
444 |
Debug (avdevice.cpp)[1164] discoverStep9: iso output plug 0 cluster info 1: stream format 6 |
---|
445 |
Debug (avdevice.cpp)[1164] discoverStep9: iso output plug 0 cluster info 2: stream format 6 |
---|
446 |
Debug (avdevice.cpp)[1164] discoverStep9: iso output plug 0 cluster info 3: stream format 6 |
---|
447 |
Debug (avdevice.cpp)[1164] discoverStep9: iso output plug 0 cluster info 4: stream format 13 |
---|
448 |
Debug (avdevice.cpp)[1177] discoverStep9: iso output plug 1 is sync stream with sampling frequency 4 |
---|
449 |
IEC61883: Adding 1 capture connection(s)... |
---|
450 |
IEC61883: capture connection 0: 0 streams, dim 1 from (0,7,7) |
---|
451 |
IEC61883: adding stream 0: (1,1) 0x06 0x03 -> 0 (LineOut 1+2 left) |
---|
452 |
IEC61883: adding stream 1: (4,2) 0x06 0x03 -> 0 (LineOut 1+2 right) |
---|
453 |
IEC61883: adding stream 2: (2,1) 0x06 0x03 -> 0 (LineOut 3+4 left) |
---|
454 |
IEC61883: adding stream 3: (5,2) 0x06 0x03 -> 0 (LineOut 3+4 right) |
---|
455 |
IEC61883: adding stream 4: (0,1) 0x06 0x04 -> 0 (SpdifOut left) |
---|
456 |
IEC61883: adding stream 5: (3,2) 0x06 0x04 -> 0 (SpdifOut right) |
---|
457 |
IEC61883: adding stream 6: (6,1) 0x0D 0x0A -> 0 (MidiPort_1) |
---|
458 |
IEC61883: Adding 1 playback connection(s)... |
---|
459 |
IEC61883: playback connection 0: 0 streams, dim 1 to (0,7,7) |
---|
460 |
IEC61883: adding stream 0: (1,1) 0x06 0x02 -> 0 (MicIn1 left) |
---|
461 |
IEC61883: adding stream 1: (4,2) 0x06 0x02 -> 0 (MicIn1 right) |
---|
462 |
IEC61883: adding stream 2: (2,1) 0x06 0x03 -> 0 (LineIn 3+4 left) |
---|
463 |
IEC61883: adding stream 3: (5,2) 0x06 0x03 -> 0 (LineIn 3+4 right) |
---|
464 |
IEC61883: adding stream 4: (0,1) 0x06 0x04 -> 0 (SpdifIn left) |
---|
465 |
IEC61883: adding stream 5: (3,2) 0x06 0x04 -> 0 (SpdifIn right) |
---|
466 |
IEC61883: adding stream 6: (6,1) 0x0D 0x0A -> 0 (MidiPort_1) |
---|
467 |
IEC61883D: Creating driver (period_size=512, ringbuffer_size=8192) |
---|
468 |
Creating IEC61883 client... 512/8192/48000 |
---|
469 |
poll timeout = 10 ms |
---|
470 |
Creating 7 buffers of 8192 quadlets... |
---|
471 |
IEC61883C: Creating playback connection from node 65473, plug 0 |
---|
472 |
prebuffers=0, buffers=1000, irq_interval=20 |
---|
473 |
Creating 7 buffers of 8192 quadlets... |
---|
474 |
IEC61883 Client created... |
---|
475 |
IEC61883CM: registered jack port cap_0_1_0_LineOut 1+2 left |
---|
476 |
IEC61883CM: registered jack port cap_0_1_0_LineOut 1+2 right |
---|
477 |
IEC61883CM: registered jack port cap_0_1_0_LineOut 3+4 left |
---|
478 |
IEC61883CM: registered jack port cap_0_1_0_LineOut 3+4 right |
---|
479 |
IEC61883CM: registered jack port cap_0_1_0_SpdifOut left |
---|
480 |
IEC61883CM: registered jack port cap_0_1_0_SpdifOut right |
---|
481 |
IEC61883CM: registered midi port MidiIn_0_1_0_MidiPort_1_1 as 128:0 |
---|
482 |
IEC61883CM: registered jack port pbk_0_1_0_MicIn1 left |
---|
483 |
IEC61883CM: registered jack port pbk_0_1_0_MicIn1 right |
---|
484 |
IEC61883CM: registered jack port pbk_0_1_0_LineIn 3+4 left |
---|
485 |
IEC61883CM: registered jack port pbk_0_1_0_LineIn 3+4 right |
---|
486 |
IEC61883CM: registered jack port pbk_0_1_0_SpdifIn left |
---|
487 |
IEC61883CM: registered jack port pbk_0_1_0_SpdifIn right |
---|
488 |
IEC61883CM: registered midi port MidiOut_0_1_0_MidiPort_1_1 as 128:1 |
---|
489 |
Client start... |
---|
490 |
creating capture connections... |
---|
491 |
libiec61883 warning: Established connection on channel 0. |
---|
492 |
You may need to manually set the channel on the receiving node. |
---|
493 |
Init ISO master receive handler on channel 0... |
---|
494 |
(BUFFER=1000,PACKET_MAX=2048,IRQ=20)... |
---|
495 |
Start ISO master receive... |
---|
496 |
creating playback connections... |
---|
497 |
libiec61883 warning: Established connection on channel 1. |
---|
498 |
You may need to manually set the channel on the transmitting node. |
---|
499 |
Init ISO slave transmit handler on channel 1... |
---|
500 |
other mode (BUFFER=1000,PACKET_MAX=2048,IRQ=20)... |
---|
501 |
Start ISO slave transmit... PREBUFFER=0 |
---|
502 |
-> 2618k Packets, Bufferfill (I: 512, O: 0), Packets dropped (I: 0, O: 11), XRUNS ( 0)(1, 8/0) |
---|
503 |
|
---|