Takashi Iwai | 3d8e818 | 2016-11-10 16:56:09 +0100 | [diff] [blame] | 1 | ============================================================== |
| 2 | Alsa driver for Digigram miXart8 and miXart8AES/EBU soundcards |
| 3 | ============================================================== |
| 4 | |
| 5 | Digigram <alsa@digigram.com> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | |
| 7 | |
| 8 | GENERAL |
| 9 | ======= |
| 10 | |
| 11 | The miXart8 is a multichannel audio processing and mixing soundcard |
| 12 | that has 4 stereo audio inputs and 4 stereo audio outputs. |
| 13 | The miXart8AES/EBU is the same with a add-on card that offers further |
| 14 | 4 digital stereo audio inputs and outputs. |
| 15 | Furthermore the add-on card offers external clock synchronisation |
| 16 | (AES/EBU, Word Clock, Time Code and Video Synchro) |
| 17 | |
| 18 | The mainboard has a PowerPC that offers onboard mpeg encoding and |
| 19 | decoding, samplerate conversions and various effects. |
| 20 | |
| 21 | The driver don't work properly at all until the certain firmwares |
| 22 | are loaded, i.e. no PCM nor mixer devices will appear. |
| 23 | Use the mixartloader that can be found in the alsa-tools package. |
| 24 | |
| 25 | |
| 26 | VERSION 0.1.0 |
| 27 | ============= |
| 28 | |
| 29 | One miXart8 board will be represented as 4 alsa cards, each with 1 |
| 30 | stereo analog capture 'pcm0c' and 1 stereo analog playback 'pcm0p' device. |
| 31 | With a miXart8AES/EBU there is in addition 1 stereo digital input |
| 32 | 'pcm1c' and 1 stereo digital output 'pcm1p' per card. |
| 33 | |
| 34 | Formats |
| 35 | ------- |
| 36 | U8, S16_LE, S16_BE, S24_3LE, S24_3BE, FLOAT_LE, FLOAT_BE |
Matt LaPlante | 6c28f2c | 2006-10-03 22:46:31 +0200 | [diff] [blame] | 37 | Sample rates : 8000 - 48000 Hz continuously |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 38 | |
| 39 | Playback |
| 40 | -------- |
| 41 | For instance the playback devices are configured to have max. 4 |
| 42 | substreams performing hardware mixing. This could be changed to a |
| 43 | maximum of 24 substreams if wished. |
| 44 | Mono files will be played on the left and right channel. Each channel |
Matt LaPlante | 53cb472 | 2006-10-03 22:55:17 +0200 | [diff] [blame] | 45 | can be muted for each stream to use 8 analog/digital outputs separately. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 46 | |
| 47 | Capture |
| 48 | ------- |
| 49 | There is one substream per capture device. For instance only stereo |
| 50 | formats are supported. |
| 51 | |
| 52 | Mixer |
| 53 | ----- |
Takashi Iwai | 3d8e818 | 2016-11-10 16:56:09 +0100 | [diff] [blame] | 54 | <Master> and <Master Capture> |
| 55 | analog volume control of playback and capture PCM. |
| 56 | <PCM 0-3> and <PCM Capture> |
| 57 | digital volume control of each analog substream. |
| 58 | <AES 0-3> and <AES Capture> |
| 59 | digital volume control of each AES/EBU substream. |
| 60 | <Monitoring> |
| 61 | Loopback from 'pcm0c' to 'pcm0p' with digital volume |
| 62 | and mute control. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 63 | |
| 64 | Rem : for best audio quality try to keep a 0 attenuation on the PCM |
| 65 | and AES volume controls which is set by 219 in the range from 0 to 255 |
| 66 | (about 86% with alsamixer) |
| 67 | |
| 68 | |
| 69 | NOT YET IMPLEMENTED |
| 70 | =================== |
| 71 | |
| 72 | - external clock support (AES/EBU, Word Clock, Time Code, Video Sync) |
| 73 | - MPEG audio formats |
| 74 | - mono record |
| 75 | - on-board effects and samplerate conversions |
| 76 | - linked streams |
| 77 | |
| 78 | |
| 79 | FIRMWARE |
| 80 | ======== |
| 81 | |
| 82 | [As of 2.6.11, the firmware can be loaded automatically with hotplug |
| 83 | when CONFIG_FW_LOADER is set. The mixartloader is necessary only |
| 84 | for older versions or when you build the driver into kernel.] |
| 85 | |
Lucas De Marchi | 970e248 | 2012-03-30 13:37:16 -0700 | [diff] [blame] | 86 | For loading the firmware automatically after the module is loaded, use a |
| 87 | install command. For example, add the following entry to |
| 88 | /etc/modprobe.d/mixart.conf for miXart driver: |
Takashi Iwai | 3d8e818 | 2016-11-10 16:56:09 +0100 | [diff] [blame] | 89 | :: |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 90 | |
| 91 | install snd-mixart /sbin/modprobe --first-time -i snd-mixart && \ |
| 92 | /usr/bin/mixartloader |
Takashi Iwai | 3d8e818 | 2016-11-10 16:56:09 +0100 | [diff] [blame] | 93 | |
| 94 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 95 | (for 2.2/2.4 kernels, add "post-install snd-mixart /usr/bin/vxloader" to |
Takashi Iwai | 3d8e818 | 2016-11-10 16:56:09 +0100 | [diff] [blame] | 96 | /etc/modules.conf, instead.) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 97 | |
| 98 | The firmware binaries are installed on /usr/share/alsa/firmware |
| 99 | (or /usr/local/share/alsa/firmware, depending to the prefix option of |
| 100 | configure). There will be a miXart.conf file, which define the dsp image |
| 101 | files. |
| 102 | |
| 103 | The firmware files are copyright by Digigram SA |
| 104 | |
| 105 | |
| 106 | COPYRIGHT |
| 107 | ========= |
| 108 | |
| 109 | Copyright (c) 2003 Digigram SA <alsa@digigram.com> |
Matt LaPlante | fff9289 | 2006-10-03 22:47:42 +0200 | [diff] [blame] | 110 | Distributable under GPL. |