################################ALSA Information Script v 0.4.24################################Linux Distribution------------------Ubuntu 7.04 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 7.04"Kernel Information------------------Kernel release: 2.6.20-15-genericOperating System: GNU/LinuxArchitecture: i686Processor: unknownSMP Enabled: YesALSA Version------------Driver version: 1.0.14rc1Library version: Utilities version: 1.0.13Loaded ALSA modules-------------------snd_cmipciSoundcards recognised by ALSA----------------------------- 0 [CMI8738MC6 ]: CMI8738-MC6 - C-Media PCI CMI8738-MC6 C-Media PCI CMI8738-MC6 (model 55) at 0x3400, irq 17PCI Soundcards installed in the system--------------------------------------02:09.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)Advanced information - PCI Vendor/Device/Susbsystem ID's--------------------------------------------------------02:09.0 0401: 13f6:0111 (rev 10) Subsystem: 153b:1144HDA-Intel Codec information---------------------------ALSA Device nodes-----------------crw-rw---- 1 root audio 116, 11 2007-05-31 07:44 /dev/snd/controlC0crw-rw---- 1 root audio 116, 10 2007-05-31 07:44 /dev/snd/hwC0D0crw-rw---- 1 root audio 116, 4 2007-05-31 07:44 /dev/snd/midiC0D0crw-rw---- 1 root audio 116, 9 2007-05-31 07:44 /dev/snd/pcmC0D0ccrw-rw---- 1 root audio 116, 8 2007-05-31 07:44 /dev/snd/pcmC0D0pcrw-rw---- 1 root audio 116, 7 2007-05-31 07:44 /dev/snd/pcmC0D1pcrw-rw---- 1 root audio 116, 6 2007-05-31 07:44 /dev/snd/pcmC0D2ccrw-rw---- 1 root audio 116, 5 2007-05-31 07:44 /dev/snd/pcmC0D2pcrw-rw---- 1 root audio 116, 3 2007-05-31 07:44 /dev/snd/seqcrw-rw---- 1 root audio 116, 2 2007-05-31 07:44 /dev/snd/timerALSA configuration files------------------------System wide config file (/etc/asound.conf)################################################################################ Standard setting for Soundcardpcm.cmipci { type hw card 0}ctl.cmipci { type hw card 0}pcm.20to51 { type route slave.pcm surround51 slave.channels 6 ttable.0.0 1 ttable.1.1 1 ttable.0.2 1 ttable.1.3 1# ttable.0.4 0.5# ttable.1.4 0.5# ttable.1.5 0.5# ttable.0.5 0.5 ttable.0.4 1 ttable.1.5 1}################################################################################ from http://www.mythtv.org/wiki/index.php/Configuring_Digital_Sound# ~/.asoundrc or /etc/asound.conf# ALSA configuration file##### USAGE ###### Save this file as "~/.asoundrc" (for user-specific sound configuration) or# "/etc/asound.conf" (for system-wide sound configuration) and specify ALSA# device names ad described in the next section.##### DEVICE NAMES ###### This configuration file defines four devices for use by the user. Those# devices are "analog", "mixed-analog", "digital", and "mixed-digital". The# user may also re-define "default" to be identical to one of the above-named# devices (i.e. to send all sound output to the digital output unless otherwise# specified). Use the device names as described below:# - "analog" outputs to the analog output directly and (at least on software# sound cards) blocks other audio output. After playback completes, "queued"# sounds are output in sequence.# - "mixed-analog" mixes audio output from multiple programs into the analog# output (so you can hear beeps, alerts, and other noises while playing back# an audio stream).# - "digital" outputs to the digital output directly. Since most (all?)# digital outputs expect 48kHz PCM audio, this may not work for some playback# (i.e. CD's--which are 44.1kHz PCM audio--or 32kHz audio streams from TV# recordings, etc.).# - "mixed-digital"# All other devices created within this file are used only by the configuration# file itself and should /not/ be used directly. In other words, do not use# the devices "analog-hw", "dmix-analog", "digital-hw", or "dmix-digital".##### IMPORTANT ###### To make this ALSA configuration file work with your sound card, you will need# to define the appropriate card and device information for the "analog-hw" and# "digital-hw" devices below. You can find the card and device information# using "aplay -l".##### Configuration File ###### Override the default output used by ALSA. If you do not override the# default, your default device is identical to the (unmixed) "analog" device# shown below. If you prefer mixed and/or digital output, uncomment the# appropriate four lines below (only one slave.pcm line).## Note, also, that as of ALSA 1.0.9, "software" sound cards have been modified# such that their default "default" device is identical to the "mixed-analog"# device. Whether using an ALSA version before or after 1.0.9, it does no harm# and has no affect on performance to redefine the device (even if the# redefinition does not change anything). Also, by using this ALSA# configuration file, you once again have access to unmixed analog output using# the "analog" device.#pcm.!default {pcm.test { type plug## Uncomment the following to use (unmixed) "analog" by default# slave.pcm "analog-hw"## Uncomment the following to use "mixed-analog" by default slave.pcm "dmix-analog"## Uncomment the following to use (unmixed) "digital" by default# slave.pcm "digital-hw"## Uncomment the following to use "mixed-digital" by default# slave.pcm "dmix-digital"}# Control device (mixer, etc.) for the card#ctl.!default {ctl.test { type hw card 0}# Alias for (converted) analog output on the card# - This is identical to the device named "default"--which always exists and# refers to hw:0,0 (unless overridden)# - Therefore, we can specify "hw:0,0", "default", or "analog" to access analog# output on the card# - Note that as of ALSA 1.0.9, "software" sound card definitions redefine# "default" to do mixing, meaning this device is different from "default" and# allows playback while blocking other sound sources (until playback# completes).pcm.analog { type plug slave.pcm "analog-hw"}# Control device (mixer, etc.) for the cardctl.analog { type hw card 0}# Alias for (converted) mixed analog output on the card# - This will accept audio input--regardless of rate--and convert to the rate# required for the dmix plugin (in this case 48000Hz)# - Note that as of ALSA 1.0.9, "software" sound card definitions redefine# "default" to do mixing, meaning this device is identical to "default" for# "software" sound cards.pcm.mixed-analog { type plug slave.pcm "dmix-analog"}# Control device (mixer, etc.) for the cardctl.mixed-analog { type hw card 0}# Alias for (converted) digital (S/PDIF) output on the card# - This will accept audio input--regardless of rate--and convert to the rate# required for the S/PDIF hardware (in this case 48000Hz)pcm.digital { type plug slave.pcm "digital-hw"}# Control device (mixer, etc.) for the cardctl.digital { type hw card 0}# Alias for mixed (converted) digital (S/PDIF) output on the card# - This will accept audio input--regardless of rate--and convert to the rate# required for the S/PDIF hardware (in this case 48000Hz)pcm.mixed-digital { type plug slave.pcm "dmix-digital"}# Control device (mixer, etc.) for the cardctl.mixed-digital { type hw card 0}# The following devices are not useful by themselves. They require specific# rates, channels, and formats. Therefore, you probably do not want to use# them directly. Instead use of of the devices defined above.# Alias for analog output on the card# Do not use this directly--it requires specific rate, channels, and formatpcm.analog-hw { type hw card 0 # The default value for device is 0, so no need to specify# - Uncomment one of the below or create a new "device N" line as appropriate# for your sound card or # device 1# device 4}# Control device (mixer, etc.) for the cardctl.analog-hw { type hw card 0}# Alias for digital (S/PDIF) output on the card# Do not use this directly--it requires specific rate, channels, and formatpcm.digital-hw { type hw card 0 device 1# - Comment out "device 1" above and uncomment one of the below or create a# new "device N" line as appropriate for your sound card or # device 2# device 4}# Control device (mixer, etc.) for the cardctl.digital-hw { type hw card 0}# Direct software mixing plugin for analog output on the card# Do not use this directly--it requires specific rate, channels, and formatpcm.dmix-analog { type dmix ipc_key 1234 slave { pcm "analog-hw"# pcm "surround51" period_time 0 period_size 1024 buffer_size 4096 rate 48000 } }# Control device (mixer, etc.) for the cardctl.dmix-analog { type hw card 0}# Direct software mixing plugin for digital (S/PDIF) output on the card# Do not use this directly--it requires specific rate, channels, and formatpcm.dmix-digital { type dmix ipc_key 1235 slave { pcm "digital-hw" period_time 0 period_size 1024 buffer_size 4096 rate 48000 } }# Control device (mixer, etc.) for the cardctl.dmix-digital { type hw card 0}######################################################Aplay output------------**** Liste von PLAYBACK Geräten ****Karte 0: CMI8738MC6 [C-Media PCI CMI8738-MC6], Gerät 0: CMI8738-MC6 [C-Media PCI DAC/ADC] Untergeordnete Geräte: 1/1 Untergeordnetes Gerät '0: subdevice #0Karte 0: CMI8738MC6 [C-Media PCI CMI8738-MC6], Gerät 1: CMI8738-MC6 [C-Media PCI 2nd DAC] Untergeordnete Geräte: 1/1 Untergeordnetes Gerät '0: subdevice #0Karte 0: CMI8738MC6 [C-Media PCI CMI8738-MC6], Gerät 2: CMI8738-MC6 [C-Media PCI IEC958] Untergeordnete Geräte: 1/1 Untergeordnetes Gerät '0: subdevice #0Amixer output--------------------Mixer controls for card 0 [CMI8738MC6]Simple mixer control 'Master',0 Capabilities: pvolume Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 23 [74%] Front Right: Playback 23 [74%]Simple mixer control '3D Control - Switch',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off]Simple mixer control 'PCM',0 Capabilities: pvolume pswitch pswitch-joined cswitch Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: Playback 0 - 31 Front Left: Playback 23 [74%] [on] Capture [off] Front Right: Playback 23 [74%] [on] Capture [off]Simple mixer control 'Synth',0 Capabilities: pvolume pswitch pswitch-joined cswitch Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: Playback 0 - 31 Front Left: Playback 26 [84%] [on] Capture [off] Front Right: Playback 26 [84%] [on] Capture [off]Simple mixer control 'Line',0 Capabilities: pvolume pswitch cswitch Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: Playback 0 - 31 Front Left: Playback 0 [0%] [on] Capture [off] Front Right: Playback 0 [0%] [on] Capture [off]Simple mixer control 'Line-In Mode',0 Capabilities: enum Items: 'Line-In' 'Rear Output' 'Bass Output' Item0: 'Rear Output'Simple mixer control 'CD',0 Capabilities: pvolume pswitch cswitch Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: Playback 0 - 31 Front Left: Playback 25 [81%] [on] Capture [off] Front Right: Playback 25 [81%] [on] Capture [off]Simple mixer control 'Mic',0 Capabilities: pvolume pvolume-joined cvolume pswitch pswitch-joined cswitch cswitch-joined Playback channels: Mono Capture channels: Mono Limits: Playback 0 - 31 Capture 0 - 7 Mono: Playback 0 [0%] [off] Capture 0 [0%] [off]Simple mixer control 'Mic Boost',0 Capabilities: pswitch pswitch-joined cswitch cswitch-joined Playback channels: Mono Capture channels: Mono Mono: Playback [on] Capture [off]Simple mixer control 'Mic-In Mode',0 Capabilities: enum Items: 'Mic-In' 'Center/LFE Output' Item0: 'Center/LFE Output'Simple mixer control 'Phone',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 7 Mono: Playback 0 [0%] [off]Simple mixer control 'IEC958 5V',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on]Simple mixer control 'IEC958 Copyright',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off]Simple mixer control 'IEC958 In Monitor',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off]Simple mixer control 'IEC958 In Phase Inverse',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off]Simple mixer control 'IEC958 In Select',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off]Simple mixer control 'IEC958 In Valid',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off]Simple mixer control 'IEC958 Loop',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off]Simple mixer control 'IEC958 Output',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off]Simple mixer control 'PC Speaker',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 3 Mono: Playback 2 [67%] [on]Simple mixer control 'Aux',0 Capabilities: pvolume pswitch cswitch Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: Playback 0 - 15 Front Left: Playback 0 [0%] [off] Capture [off] Front Right: Playback 0 [0%] [off] Capture [off]Simple mixer control 'Four Channel Mode',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off]All Loaded Modules------------------Modulelirc_seriallirc_devpcc_acpisony_acpitc1100_wmidev_acpiacbatterybuttonsbsdocki2c_eccontainervideoasus_acpibacklightipv6nfslockdsunrpclpsnd_cmipcigameportsnd_pcm_osssnd_mixer_osssnd_pcmsnd_page_allocsnd_opl3_libsnd_hwdepsnd_mpu401_uartsnd_seq_dummysnd_seq_osssnd_seq_midisnd_rawmidisnd_seq_midi_eventnvidiasnd_seqsnd_timersnd_seq_devicesndsoundcorepcspkrparport_pcparporti2c_corepsmouseserio_rawintel_agpagpgartiTCO_wdtiTCO_vendor_supportshpchppci_hotplugaf_packettsdevevdevext3jbdmbcachesgsr_modcdromsd_modgenericata_genericfloppye100miiata_piixlibatascsi_modehci_hcduhci_hcdusbcorethermalprocessorfanfbcontileblitfontbitblitsoftcursorvesafbcapabilitycommoncap