All pastes #779670 Raw Edit

cuci

public text v1 · immutable
·published 2007-11-18 12:29 UTC
rendered paste body
!!################################!!ALSA Information Script v 0.4.34!!################################!!Script ran on: Sun Nov 18 14:28:12 GMT 2007!!Linux Distribution!!------------------Gentoo Base System release 1.12.10!!Kernel Information!!------------------Kernel release:    2.6.21-gentoo-r3Operating System:  GNU/LinuxArchitecture:      x86_64Processor:         AMD Athlon(tm) 64 Processor 3000 SMP Enabled:       No!!ALSA Version!!------------Driver version:     1.0.14rc3Library version:    1.0.15Utilities version:  1.0.15!!Loaded ALSA modules!!-------------------snd_intel8x0!!Soundcards recognised by ALSA!!----------------------------- 0 [CK804          ]: NFORCE - NVidia CK804                      NVidia CK804 with ALC850 at irq 22!!PCI Soundcards installed in the system!!--------------------------------------00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2)!!Advanced information - PCI Vendor/Device/Susbsystem ID's!!--------------------------------------------------------00:04.0 0401: 10de:0059 (rev a2)	Subsystem: 1043:812a!!Loaded sound module options!!--------------------------!!Module: snd_intel8x0ac97_clock : 0ac97_quirk : <NULL>buggy_irq : Ybuggy_semaphore : Nenable : Nid : <NULL>index : -1joystick : 0spdif_aclink : 0xbox : N!!ALSA Device nodes!!-----------------crw-rw---- 1 root audio 116,  0 Nov 15 23:25 /dev/snd/controlC0crw-rw---- 1 root audio 116, 24 Nov 15 23:25 /dev/snd/pcmC0D0ccrw-rw---- 1 root audio 116, 16 Nov 15 23:25 /dev/snd/pcmC0D0pcrw-rw---- 1 root audio 116, 25 Nov 15 23:25 /dev/snd/pcmC0D1ccrw-rw---- 1 root audio 116, 18 Nov 15 23:25 /dev/snd/pcmC0D2pcrw-rw---- 1 root audio 116,  1 Nov 15 23:25 /dev/snd/seqcrw-rw---- 1 root audio 116, 33 Nov 15 23:25 /dev/snd/timer!!ALSA configuration files!!------------------------!!User specific config file (~/.asoundrc)#This asoundrc is for snd_intel8x0 based cards.
#It will allow the following:
#
#       upmix stereo files to 5.1 speakers.
#       playback real 5.1 sounds, on 5.1 speakers,
#       allow the playback of both stere(oupmixed) and surround(5.1) sources at the same time.
#
#
#Please try the following commands, to make sure everything is working as it should.
#
#       To test stereo upmix : speaker-test -c2 -Ddefault -twav
#       To test surround(5.1): speaker-test -c6 -Dplug:dmix6 -twav
#
#
#It may not work out of the box for all cards. If it doesnt work for you, read the comments throughout the file.
#If it still doesnt work with your setup, please speak to me (wishie) in #alsa on irc.freenode.net

#Define the soundcard to use
pcm.snd_card {
     type hw
        card 0
        device 0
}




# 6 channel dmix - output whatever audio, to all 6 speakers
pcm.dmix6 {
     type dmix
        ipc_key 1024
        ipc_key_add_uid false
        ipc_perm 0660
        slave {
                pcm "snd_card"
                rate 48000
                channels 6
                period_time 0
                period_size 1024
                buffer_time 0
                buffer_size 4096
        }

# Some cards, like the "nforce" variants require the following to be uncommented. It routes the audio to the correct speakers.
       bindings {
               0 0
               1 1
               2 4
               3 5
               4 2
               5 3
       }

     }

# upmixing - duplicate stereo data to all 6 channels
pcm.ch51dup {
        type route
        slave.pcm dmix6
        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.0.5 0.5
        ttable.1.5 0.5
   }


# 'full-duplex' device for use with aoss
pcm.duplex {
     type asym
     playback.pcm "ch51dup"
     capture.pcm "hw:0"
}

# change default device:
pcm.!default {
     type softvol
     slave.pcm "duplex"
        control {
                name "Software Master"
                card 0
        }
}

# for aoss
pcm.dsp "duplex"

pcm.dsp1 "duplex"
!!System wide config file (/etc/asound.conf) pcm.51to40        {          type route          slave.pcm surround51          slave.channels 6          # Front and rear, at 75% of original signal strength          ttable.0.0 0.75          ttable.1.1 0.75          ttable.2.2 0.75          ttable.3.3 0.75          # Center channel routing (routed to front-left and front-right),          # 6dB gaindrop (gain half of main channels) per channel          ttable.4.0 0.375          ttable.4.1 0.375          # LFE channel routing (routed to front-left and front-right),          # 6dB gaindrop (gain half of main channels) per channel          ttable.5.0 0.375          ttable.5.1 0.375        }!!Aplay/Arecord output!!------------APLAY**** List of PLAYBACK Hardware Devices ****card 0: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804]  Subdevices: 0/1  Subdevice #0: subdevice #0card 0: CK804 [NVidia CK804], device 2: Intel ICH - IEC958 [NVidia CK804 - IEC958]  Subdevices: 1/1  Subdevice #0: subdevice #0ARECORD**** List of CAPTURE Hardware Devices ****card 0: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804]  Subdevices: 1/1  Subdevice #0: subdevice #0card 0: CK804 [NVidia CK804], device 1: Intel ICH - MIC ADC [NVidia CK804 - MIC ADC]  Subdevices: 1/1  Subdevice #0: subdevice #0!!Amixer output!!-------------!!-------Mixer controls for card 0 [CK804]Simple mixer control 'Master',0  Capabilities: pvolume pswitch pswitch-joined  Playback channels: Front Left - Front Right  Limits: Playback 0 - 31  Mono:  Front Left: Playback 27 [87%] [-6.00dB] [on]  Front Right: Playback 27 [87%] [-6.00dB] [on]Simple mixer control 'Master Mono',0  Capabilities: pvolume pvolume-joined pswitch pswitch-joined  Playback channels: Mono  Limits: Playback 0 - 31  Mono: Playback 30 [97%] [-1.50dB] [on]Simple mixer control 'PCM',0  Capabilities: pvolume pswitch pswitch-joined  Playback channels: Front Left - Front Right  Limits: Playback 0 - 31  Mono:  Front Left: Playback 31 [100%] [12.00dB] [on]  Front Right: Playback 31 [100%] [12.00dB] [on]Simple mixer control 'Surround',0  Capabilities: pvolume pswitch  Playback channels: Front Left - Front Right  Limits: Playback 0 - 31  Mono:  Front Left: Playback 31 [100%] [0.00dB] [on]  Front Right: Playback 31 [100%] [0.00dB] [on]Simple mixer control 'Surround Jack Mode',0  Capabilities: enum  Items: 'Shared' 'Independent'  Item0: 'Shared'Simple mixer control 'Center',0  Capabilities: pvolume pvolume-joined pswitch pswitch-joined  Playback channels: Mono  Limits: Playback 0 - 31  Mono: Playback 31 [100%] [0.00dB] [on]Simple mixer control 'LFE',0  Capabilities: pvolume pvolume-joined pswitch pswitch-joined  Playback channels: Mono  Limits: Playback 0 - 31  Mono: Playback 31 [100%] [0.00dB] [on]Simple mixer control 'Line',0  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive  Capture exclusive group: 0  Playback channels: Front Left - Front Right  Capture channels: Front Left - Front Right  Limits: Playback 0 - 31  Front Left: Playback 31 [100%] [12.00dB] [on] Capture [off]  Front Right: Playback 31 [100%] [12.00dB] [on] Capture [off]Simple mixer control 'CD',0  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive  Capture exclusive group: 0  Playback channels: Front Left - Front Right  Capture channels: Front Left - Front Right  Limits: Playback 0 - 31  Front Left: Playback 0 [0%] [-34.50dB] [off] Capture [off]  Front Right: Playback 0 [0%] [-34.50dB] [off] Capture [off]Simple mixer control 'Mic',0  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-exclusive  Capture exclusive group: 0  Playback channels: Mono  Capture channels: Front Left - Front Right  Limits: Playback 0 - 31  Mono: Playback 31 [100%] [12.00dB] [off]  Front Left: Capture [on]  Front Right: Capture [on]Simple mixer control 'Mic Boost ( 20dB)',0  Capabilities: pswitch pswitch-joined  Playback channels: Mono  Mono: Playback [off]Simple mixer control 'Mic Front Input',0  Capabilities: pswitch pswitch-joined  Playback channels: Mono  Mono: Playback [off]Simple mixer control 'Mic Select',0  Capabilities: enum  Items: 'Mic1' 'Mic2'  Item0: 'Mic1'Simple mixer control 'Video',0  Capabilities: cswitch cswitch-exclusive  Capture exclusive group: 0  Capture channels: Front Left - Front Right  Front Left: Capture [off]  Front Right: Capture [off]Simple mixer control 'Phone',0  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-exclusive  Capture exclusive group: 0  Playback channels: Mono  Capture channels: Front Left - Front Right  Limits: Playback 0 - 31  Mono: Playback 31 [100%] [12.00dB] [on]  Front Left: Capture [off]  Front Right: Capture [off]Simple mixer control 'IEC958',0  Capabilities: pswitch pswitch-joined cswitch cswitch-joined  Playback channels: Mono  Capture channels: Mono  Mono: Playback [on] Capture [off]Simple mixer control 'IEC958 Playback AC97-SPSA',0  Capabilities: volume volume-joined  Playback channels: Mono  Capture channels: Mono  Limits: 0 - 3  Mono: 3 [100%]Simple mixer control 'IEC958 Playback Source',0  Capabilities: enum  Items: 'PCM' 'Analog In' 'IEC958 In'  Item0: 'Analog In'Simple mixer control 'PC Speaker',0  Capabilities: pvolume pvolume-joined pswitch pswitch-joined  Playback channels: Mono  Limits: Playback 0 - 15  Mono: Playback 15 [100%] [0.00dB] [on]Simple mixer control 'Aux',0  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive  Capture exclusive group: 0  Playback channels: Front Left - Front Right  Capture channels: Front Left - Front Right  Limits: Playback 0 - 31  Front Left: Playback 31 [100%] [12.00dB] [on] Capture [off]  Front Right: Playback 31 [100%] [12.00dB] [on] Capture [off]Simple mixer control 'Mono Output Select',0  Capabilities: enum  Items: 'Mix' 'Mic'  Item0: 'Mix'Simple mixer control 'Capture',0  Capabilities: cvolume cswitch cswitch-joined  Capture channels: Front Left - Front Right  Limits: Capture 0 - 15  Front Left: Capture 0 [0%] [0.00dB] [on]  Front Right: Capture 0 [0%] [0.00dB] [on]Simple mixer control 'Mix',0  Capabilities: cswitch cswitch-exclusive  Capture exclusive group: 0  Capture channels: Front Left - Front Right  Front Left: Capture [off]  Front Right: Capture [off]Simple mixer control 'Mix Mono',0  Capabilities: cswitch cswitch-exclusive  Capture exclusive group: 0  Capture channels: Front Left - Front Right  Front Left: Capture [off]  Front Right: Capture [off]Simple mixer control 'Channel Mode',0  Capabilities: enum  Items: '2ch' '4ch' '6ch'  Item0: '6ch'Simple mixer control 'Duplicate Front',0  Capabilities: pswitch pswitch-joined  Playback channels: Mono  Mono: Playback [on]Simple mixer control 'External Amplifier',0  Capabilities: pswitch pswitch-joined  Playback channels: Mono  Mono: Playback [on]Simple mixer control 'Software Master',0  Capabilities: volume  Playback channels: Front Left - Front Right  Capture channels: Front Left - Front Right  Limits: 0 - 255  Front Left: 225 [88%]  Front Right: 225 [88%]!!All Loaded Modules!!------------------Modulesnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_mixer_osssnd_intel8x0snd_ac97_codecsnd_pcmsnd_timersndsnd_page_allocipv6ipt_LOGipt_MASQUERADEiptable_natip_natbinfmt_miscnvidiaac97_busforcedethi2c_nforce2k8tempi2c_core