Lines Matching +full:re +full:- +full:initialization
2 Guide to using M-Audio Audiophile USB with ALSA and Jack
9 This document is a guide to using the M-Audio Audiophile USB (tm) device with
15 * v1.4 - Thibault Le Meur (2007-07-11)
17 - Added Low Endianness nature of 16bits-modes
19 - Modifying document structure
21 * v1.5 - Thibault Le Meur (2007-07-12)
22 - Added AC3/DTS passthru info
35 - This port supports 2 pairs of line-level audio inputs (1/4" TS and RCA)
36 - When the 1/4" TS (jack) connectors are connected, the RCA connectors
57 * 16-bit/48kHz ==> 4 channels in + 4 channels out
59 - Ai+Ao+Di+Do
61 * 24-bit/48kHz ==> 4 channels in + 2 channels out,
64 - Ai+Ao+Do or Ai+Di+Ao or Ai+Di+Do or Di+Ao+Do
66 * 24-bit/96kHz ==> 2 channels in _or_ 2 channels out (half duplex only)
68 - Ai or Ao or Di or Do
71 --------------------------------------------
73 * The Do port additionally supports surround-encoded AC-3 and DTS passthrough,
76 - Note that in this setup only the Do interface can be enabled
81 - As a consequence, the Di port must be enable only if an active Digital
83 - Enabling Di when no digital source is connected can result in a
93 * snd-usb-audio
94 * snd-seq-midi
102 Audio functions of the Audiophile USB device are handled by the snd-usb-audio
103 module. This module can work in a default mode (without any device-specific
104 parameter), or in an "advanced" mode with the device-specific parameter called
108 ------------------------
110 The default behavior of the snd-usb-audio driver is to list the device
113 24bit-depth-mode and immediately after wants to switch to a 16bit-depth mode,
114 the snd-usb-audio module will reconfigure the device on the fly.
119 work: under windows applications must be closed before using the m-audio control
131 In this mode, the device uses Big Endian byte-encoding so that
132 supported audio format are S16_BE for 16-bit depth modes and S24_3BE for
133 24-bits depth mode.
144 % aplay -D hw:1,0 -c2 -t raw -r48000 -fS24_3BE test.raw
148 % arecord -D hw:1,1 -c2 -t raw -r48000 -fS24_3BE test.raw
152 % aplay -D hw:1,1 -c2 -t raw -r48000 -fS16_BE test.raw
156 % aplay -D hw:1,2 --channels=6 ac3_S16_BE_encoded_file.raw
158 If you're happy with the default Alsa driver mode and don't experience any
162 ---------------------
164 Due to the hardware constraints described above, the device initialization made
170 For people having this problem, the snd-usb-audio module has a new module
184 When initialized with ``device_setup=0x00``, the snd-usb-audio module has
190 16-bit modes
197 - 16bits 48kHz mode with Di disabled
198 - Ai,Ao,Do can be used at the same time
199 - hw:1,0 is not available in capture mode
200 - hw:1,2 is not available
204 - 16bits 48kHz mode with Di enabled
205 - Ai,Ao,Di,Do can be used at the same time
206 - hw:1,0 is available in capture mode
207 - hw:1,2 is not available
209 In this modes the device operates only at 16bits-modes. Before kernel 2.6.23,
210 the devices where reported to be Big-Endian when in fact they were Little-Endian
214 % aplay -D hw:1,1 -c2 -t raw -r48000 -fS16_BE test_S16_LE.raw
216 where "test_S16_LE.raw" was in fact a little-endian sample file.
218 Thanks to Hakan Lennestal (who discovered the Little-Endiannes of the device in
220 Alsa now reports Little-Endian interfaces. Thus playing a file now is as simple as
224 % aplay -D hw:1,1 -c2 -t raw -r48000 -fS16_LE test_S16_LE.raw
227 24-bit modes
234 - 24bits 48kHz mode with Di disabled
235 - Ai,Ao,Do can be used at the same time
236 - hw:1,0 is not available in capture mode
237 - hw:1,2 is not available
241 - 24bits 48kHz mode with Di enabled
242 - 3 ports from {Ai,Ao,Di,Do} can be used at the same time
243 - hw:1,0 is available in capture mode and an active digital source must be
245 - hw:1,2 is not available
249 - 24bits 96kHz mode
250 - Di is enabled by default for this mode but does not need to be connected
252 - Only 1 port from {Ai,Ao,Di,Do} can be used at the same time
253 - hw:1,0 is available in captured mode
254 - hw:1,2 is not available
256 In these modes the device is only Big-Endian compliant (see "Default Alsa driver
266 - 16bits 48kHz mode with only the Do port enabled
267 - AC3 with DTS passthru
268 - Caution with this setup the Do port is mapped to the pcm device hw:1,0
270 The command line used to playback the AC3/DTS encoded .wav-files in this mode:
273 % aplay -D hw:1,0 --channels=6 ac3_S16_LE_encoded_file.raw
282 # modprobe -r snd-usb-audio
283 # modprobe snd-usb-audio index=1 device_setup=0x09
288 alias snd-card-1 snd-usb-audio
289 options snd-usb-audio index=1 device_setup=0x09
292 -------------------------------------
294 * Correct initialization on the device requires that device_setup is given to
296 method described above, take care to power-on the device AFTER this initialization.
299 turn off the device, unprobe the snd-usb-audio module, then probe it again with
303 to another mode (possibly with another sample-depth), please use also the following
306 - first turn off the device
307 - de-register the snd-usb-audio module (modprobe -r)
308 - change the device_setup parameter by changing the device_setup
310 - turn on the device
313 be enough to ensure the 'stability' of the device initialization.
316 -----------------------------
331 +---+---+---+---+---+---+---+---+
333 +---+---+---+---+---+---+---+---+
335 +---+---+---+---+---+---+---+---+
341 - it MUST be set if device_setup is initialized
345 - it is set only for Digital output with DTS/AC3
346 - this setup is not tested
350 - When set to ``1`` the rate range is 48.1-96kHz
351 - Otherwise the sample rate range is 8-48kHz
355 - When set to ``1`` samples are 24bits long
356 - Otherwise they are 16bits long
357 - Note that b2 implies b3 as the 96kHz mode is only supported for 24 bits
362 - When set to ``1`` the device assumes that an active digital source is
364 - You shouldn't enable Di if no source is seen on the port (this leads to
366 - b4 is implied by b2 (since only one port is enabled at a time no synch
371 - might become Ao, Do, Ai, for b7, b6, b4 respectively
377 - for instance choosing 0x05 (16bits 96kHz) will fail back to 0x09 since
382 - choosing b2 will prepare all interfaces for 24bits/96kHz but you'll
388 You may safely skip this section if you're not interested in driver
392 data I got by usb-snooping the windows and Linux drivers.
394 The M-Audio Audiophile USB has 7 USB Interfaces:
400 - Audio Control function
404 - Analog Output
408 - Digital Output
412 - Analog Input
416 - Digital Input
420 - MIDI interface compliant with the MIDIMAN quirk
431 - 24-bit depth, 48.1-96kHz sample mode
432 - Adaptive playback (Ao and Do), Synch capture (Ai), or Asynch capture (Di)
436 - 24-bit depth, 8-48kHz sample mode
437 - Asynch capture and playback (Ao,Ai,Do,Di)
441 - 24-bit depth, 8-48kHz sample mode
442 - Synch capture (Ai) and Adaptive playback (Ao,Do)
446 - 16-bit depth, 8-48kHz sample mode
447 - Asynch capture and playback (Ao,Ai,Do,Di)
451 - 16-bit depth, 8-48kHz sample mode
452 - Synch capture (Ai) and Adaptive playback (Ao,Do)
456 - 16-bit depth, 8-48kHz sample mode
457 - Synch playback (Do), audio format type III IEC1937_AC-3
459 In order to ensure a correct initialization of the device, the driver
472 When device_setup is given as a parameter to the snd-usb-audio module, the
484 * support for Big-Endian devices in 24-bit modes
485 * support for 4-in / 4-out channels
488 -----------------------
491 Andreas Steinmetz for his first big-endian patch). I can't remember
494 16bits Big-Endian devices, but since you've read carefully the above
495 paragraphs, you're now using kernel >= 2.6.23 and your 16bits devices
496 are now Little Endians ;-) ).
502 % jackd -R -dalsa -Phw:1,0 -r48000 -p128 -n2 -D -Chw:1,1
505 -----------------
514 % jackd -R -dalsa -dplughw:1 -r48000 -p256 -n2 -D -Cplughw:1,1
522 ------------------------------------------------
537 this page: http://www.sound-man.co.uk/linuxaudio/ice1712multi.html
544 * (maybe) patching the alsa-lib/src/pcm/pcm_multi.c file (see the ice1712 page)