All pastes #1063471 Raw Edit

bobby

public text v1 · immutable
#1063471 ·published 2008-07-06 04:09 UTC
rendered paste body
!!################################!!ALSA Information Script v 0.4.48!!################################!!Script ran on: Sun Jul  6 00:09:36 EDT 2008!!Linux Distribution!!------------------Arch Linux (Core Dump) \r (\n) (\l)!!Kernel Information!!------------------Kernel release:    2.6.25-ARCHOperating System:  GNU/LinuxArchitecture:      i686Processor:         Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHzSMP Enabled:       Yes!!ALSA Version!!------------Driver version:     1.0.17rc3Library version:    1.0.17rc2Utilities version:  1.0.17rc2!!Loaded ALSA modules!!-------------------snd_ice1724!!Soundcards recognised by ALSA!!----------------------------- 0 [Revolution71   ]: ICE1724 - M Audio Revolution-7.1                      M Audio Revolution-7.1 at 0xec00, irq 17!!PCI Soundcards installed in the system!!--------------------------------------05:01.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01)!!Advanced information - PCI Vendor/Device/Susbsystem ID's!!--------------------------------------------------------05:01.0 0401: 1412:1724 (rev 01)	Subsystem: 1412:3630!!Loaded sound module options!!--------------------------!!Module: snd_ice1724enable : Y,Y,Y,Y,Y,Y,Y,Yid : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>index : -1,-1,-1,-1,-1,-1,-1,-1model : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>!!ALSA Device nodes!!-----------------crw-rw---- 1 root audio 116,  0 2008-07-05 21:29 /dev/snd/controlC0crw-rw---- 1 root audio 116, 24 2008-07-05 21:29 /dev/snd/pcmC0D0ccrw-rw---- 1 root audio 116, 16 2008-07-06 00:06 /dev/snd/pcmC0D0pcrw-rw---- 1 root audio 116, 17 2008-07-05 21:29 /dev/snd/pcmC0D1pcrw-rw---- 1 root audio 116, 18 2008-07-05 21:29 /dev/snd/pcmC0D2pcrw-rw---- 1 root audio 116,  1 2008-07-05 21:29 /dev/snd/seqcrw-rw---- 1 root audio 116, 33 2008-07-05 21:29 /dev/snd/timer!!ALSA configuration files!!------------------------!!User specific config file (~/.asoundrc)# <wishie[out]> that is where i force ALSA to use my "default" device, not its own internally defined one.# <wishie[out]> type "plug" means its going through the "plug" plugin, which does sample rate/format conversion# <wishie[out]> slave.pcm "duplex"# <wishie[out]> means to pass the audio stream to the pcm.duplex device..# <wishie[out]> type asym  <-- makes a 'full duplex' (input/output) device.# <wishie[out]> so for output (playback) pass the audio on to "ch51dup"# <wishie[out]> and for input (capture) use hw:0# <wishie[out]> hw:0 just means your first soundcard.# <wishie[out]> now to the tricky stuff...# <wishie[out]> pcm.ch51dup# <wishie[out]> type route  <-- means we want to route audio to other speakers/channels# <wishie[out]> the interesting parts here, are the ttable lines# <wishie[out]> front left/right are channels "0" and "1"# <wishie[out]> so, we are doing the following# <wishie[out]> ttable.0.0 1   <-- copying channel 0 to speaker 0 with gain (volume) of 1# <wishie[out]> ttable.1.1 1   <-- copying channel 1 to speaker 1 with gain (volume) of 1# <wishie[out]> ttable.0.2 1  <-- copying channel 0 (front left) to speaker 2 (rear left) with volume 1# <wishie[out]> now, for the center.. we have 2 entries..# <wishie[out]> ttable.0.4 0.5 # <wishie[out]> ttable.1.4 0.5# <wishie[out]> first one says copy front left to the center speaker# <wishie[out]> second one says copy the front right to the center speaker# <wishie[out]> therefore, you are actually getting front left AND right signals from the center speaker# <wishie[out]> same for the LFE (sub channel) which is speaker 5# <wishie[out]> now, for the center and sub, you see i have the volume (gain) at 0.5# <wishie[out]> since i found that using "1" was too over powering# <wishie[out]> moving on..# <wishie[out]> you will see it has slave.channels 6# <wishie[out]> since we "upmixed" the 2 channel mp3 to 6 channels.# <wishie[out]> and the "slave.pcm dmix6" tells alsa to pass the audio onto the device pcm.dmix6# <wishie[out]> now, dmix6 basically takes 6 channels input, and passes it to its slave (which is hw:0,0)# <wishie[out]> but, multiple programs can access dmix6 at the one time.# <wishie[out]> where as only 1 program can access hw:0,0 at any time.# <wishie[out]> so ALSA takes all the input via dmix6, mixes the streams together, THEN sends them to hw:0,0 (which is your soundcard)# <wishie[out]> so, as far as your sound card is concerned, it is only getting accessed once.# <wishie[out]> ALSA it taking care of the multiple sound streams, and making them all into one.## speaker-test -c6 -Dplug:dmix6 -twav# 6 channel dmix:pcm.dmix6 {     type dmix        ipc_key 1024        ipc_key_add_uid false        ipc_perm 0660        slave {                pcm "hw:0,0"                rate 48000                format "S32_LE"		channels 6                period_time 0                period_size 1024                buffer_time 0                buffer_size 8192        }     }# upmixing: pcm.ch51dup {        type route        slave.pcm dmix6        slave.channels 6        ttable.0.0 1        ttable.1.1 1        ttable.0.2 0.6        ttable.1.3 0.6        ttable.0.4 0.5        ttable.1.4 0.5        ttable.0.5 0.5        ttable.1.5 0.5   }pcm.duplex {     type asym     playback.pcm "ch51dup" # upmix first     capture.pcm "hw:0"}# change default device:pcm.!default {     type plug      slave {	pcm "duplex"	}}# for aosspcm.dsp "duplex"pcm.dsp1 "duplex"pcm.10to20 {	type route	slave.pcm default	slave.channels 2	ttable.0.0 1	ttable.0.1 1}pcm.pulse {    type pulse}ctl.pulse {    type pulse}#------------------------end of working file!!Aplay/Arecord output!!------------APLAY**** List of PLAYBACK Hardware Devices ****card 0: Revolution71 [M Audio Revolution-7.1], device 0: ICE1724 [ICE1724]  Subdevices: 1/1  Subdevice #0: subdevice #0card 0: Revolution71 [M Audio Revolution-7.1], device 1: IEC1724 IEC958 [IEC1724 IEC958]  Subdevices: 1/1  Subdevice #0: subdevice #0card 0: Revolution71 [M Audio Revolution-7.1], device 2: ICE1724 Surrounds [ICE1724 Surround PCM]  Subdevices: 3/3  Subdevice #0: subdevice #0  Subdevice #1: subdevice #1  Subdevice #2: subdevice #2ARECORD**** List of CAPTURE Hardware Devices ****card 0: Revolution71 [M Audio Revolution-7.1], device 0: ICE1724 [ICE1724]  Subdevices: 1/1  Subdevice #0: subdevice #0!!Amixer output!!-------------!!-------Mixer controls for card 0 [Revolution71]Simple mixer control 'PCM',0  Capabilities: pvolume pswitch pswitch-joined  Playback channels: Front Left - Front Right  Limits: Playback 0 - 255  Mono:  Front Left: Playback 255 [100%] [0.00dB] [on]  Front Right: Playback 255 [100%] [0.00dB] [on]Simple mixer control 'PCM Center',0  Capabilities: pvolume pvolume-joined  Playback channels: Mono  Limits: Playback 0 - 255  Mono: Playback 255 [100%] [0.00dB]Simple mixer control 'PCM LFE',0  Capabilities: pvolume pvolume-joined  Playback channels: Mono  Limits: Playback 0 - 255  Mono: Playback 255 [100%] [0.00dB]Simple mixer control 'PCM Rear',0  Capabilities: pvolume  Playback channels: Front Left - Front Right  Limits: Playback 0 - 255  Mono:  Front Left: Playback 255 [100%] [0.00dB]  Front Right: Playback 255 [100%] [0.00dB]Simple mixer control 'PCM Side',0  Capabilities: pvolume  Playback channels: Front Left - Front Right  Limits: Playback 0 - 255  Mono:  Front Left: Playback 255 [100%] [0.00dB]  Front Right: Playback 255 [100%] [0.00dB]Simple mixer control 'IEC958',0  Capabilities: penum  Items: 'PCM Out' 'H/W In 0' 'H/W In 1' 'IEC958 In L' 'IEC958 In R'  Item0: 'PCM Out'Simple mixer control 'IEC958 Output',0  Capabilities: pswitch pswitch-joined  Playback channels: Mono  Mono: Playback [on]Simple mixer control 'IEC958',1  Capabilities: penum  Items: 'PCM Out' 'H/W In 0' 'H/W In 1' 'IEC958 In L' 'IEC958 In R'  Item0: 'PCM Out'Simple mixer control 'Deemphasis',0  Capabilities: enum  Items: '44.1kHz' 'Off' '48kHz' '32kHz'  Item0: 'Off'Simple mixer control 'Deemphasis',1  Capabilities: enum  Items: '44.1kHz' 'Off' '48kHz' '32kHz'  Item0: 'Off'Simple mixer control 'H/W',0  Capabilities: penum  Items: 'PCM Out' 'H/W In 0' 'H/W In 1' 'IEC958 In L' 'IEC958 In R'  Item0: 'PCM Out'Simple mixer control 'H/W',1  Capabilities: penum  Items: 'PCM Out' 'H/W In 0' 'H/W In 1' 'IEC958 In L' 'IEC958 In R'  Item0: 'PCM Out'Simple mixer control 'H/W',2  Capabilities: penum  Items: 'PCM Out' 'H/W In 0' 'H/W In 1' 'IEC958 In L' 'IEC958 In R'  Item0: 'PCM Out'Simple mixer control 'H/W',3  Capabilities: penum  Items: 'PCM Out' 'H/W In 0' 'H/W In 1' 'IEC958 In L' 'IEC958 In R'  Item0: 'PCM Out'Simple mixer control 'H/W',4  Capabilities: penum  Items: 'PCM Out' 'H/W In 0' 'H/W In 1' 'IEC958 In L' 'IEC958 In R'  Item0: 'PCM Out'Simple mixer control 'H/W',5  Capabilities: penum  Items: 'PCM Out' 'H/W In 0' 'H/W In 1' 'IEC958 In L' 'IEC958 In R'  Item0: 'PCM Out'Simple mixer control 'H/W',6  Capabilities: penum  Items: 'PCM Out' 'H/W In 0' 'H/W In 1' 'IEC958 In L' 'IEC958 In R'  Item0: 'PCM Out'Simple mixer control 'H/W',7  Capabilities: penum  Items: 'PCM Out' 'H/W In 0' 'H/W In 1' 'IEC958 In L' 'IEC958 In R'  Item0: 'PCM Out'Simple mixer control 'Multi Track Internal Clock',0  Capabilities: enum  Items: '8000' '9600' '11025' '12000' '16000' '22050' '24000' '32000' '44100' '48000' '64000' '88200' '96000' '176400' '192000' 'IEC958 Input'  Item0: '44100'Simple mixer control 'Multi Track Peak',0  Capabilities: volume  Playback channels: Front Left - Front Right - Rear Left - Rear Right - Front Center - Woofer - Side Left - Side Right - Rear Center - ? - ? - ? - ? - ? - ? - ? - ? - ? - ? - ? - ? - ?  Capture channels: Front Left - Front Right - Rear Left - Rear Right - Front Center - Woofer - Side Left - Side Right - Rear Center - ? - ? - ? - ? - ? - ? - ? - ? - ? - ? - ? - ? - ?  Limits: 0 - 255  Front Left: 255 [100%]  Front Right: 255 [100%]  Rear Left: 127 [50%]  Rear Right: 121 [47%]  Front Center: 120 [47%]  Woofer: 67 [26%]  Side Left: 0 [0%]  Side Right: 0 [0%]  Rear Center: 0 [0%]  ?: 0 [0%]  ?: 2 [1%]  ?: 2 [1%]  ?: 0 [0%]  ?: 0 [0%]  ?: 0 [0%]  ?: 0 [0%]  ?: 0 [0%]  ?: 0 [0%]  ?: 0 [0%]  ?: 0 [0%]  ?: 0 [0%]  ?: 0 [0%]Simple mixer control 'Multi Track Rate Locking',0  Capabilities: pswitch pswitch-joined  Playback channels: Mono  Mono: Playback [off]Simple mixer control 'Multi Track Rate Reset',0  Capabilities: pswitch pswitch-joined  Playback channels: Mono  Mono: Playback [on]!!Alsactl output!!---------------startcollapse--state.Revolution71 {	control.1 {		comment.access read		comment.type BYTES		comment.count 52		iface CARD		name 'ICE1724 EEPROM'		value '3630141213024380f8c1fa004085ffbf72000000000000000000000000000000000000000000000085ffbf0072000000fa004000'	}	control.2 {		comment.access 'read write'		comment.type ENUMERATED		comment.count 1		comment.item.0 '8000'		comment.item.1 '9600'		comment.item.2 '11025'		comment.item.3 '12000'		comment.item.4 '16000'		comment.item.5 '22050'		comment.item.6 '24000'		comment.item.7 '32000'		comment.item.8 '44100'		comment.item.9 '48000'		comment.item.10 '64000'		comment.item.11 '88200'		comment.item.12 '96000'		comment.item.13 '176400'		comment.item.14 '192000'		comment.item.15 'IEC958 Input'		iface MIXER		name 'Multi Track Internal Clock'		value '44100'	}	control.3 {		comment.access 'read write'		comment.type BOOLEAN		comment.count 1		iface MIXER		name 'Multi Track Rate Locking'		value false	}	control.4 {		comment.access 'read write'		comment.type BOOLEAN		comment.count 1		iface MIXER		name 'Multi Track Rate Reset'		value true	}	control.5 {		comment.access 'read write'		comment.type ENUMERATED		comment.count 1		comment.item.0 'PCM Out'		comment.item.1 'H/W In 0'		comment.item.2 'H/W In 1'		comment.item.3 'IEC958 In L'		comment.item.4 'IEC958 In R'		iface MIXER		name 'H/W Playback Route'		value 'PCM Out'	}	control.6 {		comment.access 'read write'		comment.type ENUMERATED		comment.count 1		comment.item.0 'PCM Out'		comment.item.1 'H/W In 0'		comment.item.2 'H/W In 1'		comment.item.3 'IEC958 In L'		comment.item.4 'IEC958 In R'		iface MIXER		name 'H/W Playback Route'		index 1		value 'PCM Out'	}	control.7 {		comment.access 'read write'		comment.type ENUMERATED		comment.count 1		comment.item.0 'PCM Out'		comment.item.1 'H/W In 0'		comment.item.2 'H/W In 1'		comment.item.3 'IEC958 In L'		comment.item.4 'IEC958 In R'		iface MIXER		name 'H/W Playback Route'		index 2		value 'PCM Out'	}	control.8 {		comment.access 'read write'		comment.type ENUMERATED		comment.count 1		comment.item.0 'PCM Out'		comment.item.1 'H/W In 0'		comment.item.2 'H/W In 1'		comment.item.3 'IEC958 In L'		comment.item.4 'IEC958 In R'		iface MIXER		name 'H/W Playback Route'		index 3		value 'PCM Out'	}	control.9 {		comment.access 'read write'		comment.type ENUMERATED		comment.count 1		comment.item.0 'PCM Out'		comment.item.1 'H/W In 0'		comment.item.2 'H/W In 1'		comment.item.3 'IEC958 In L'		comment.item.4 'IEC958 In R'		iface MIXER		name 'H/W Playback Route'		index 4		value 'PCM Out'	}	control.10 {		comment.access 'read write'		comment.type ENUMERATED		comment.count 1		comment.item.0 'PCM Out'		comment.item.1 'H/W In 0'		comment.item.2 'H/W In 1'		comment.item.3 'IEC958 In L'		comment.item.4 'IEC958 In R'		iface MIXER		name 'H/W Playback Route'		index 5		value 'PCM Out'	}	control.11 {		comment.access 'read write'		comment.type ENUMERATED		comment.count 1		comment.item.0 'PCM Out'		comment.item.1 'H/W In 0'		comment.item.2 'H/W In 1'		comment.item.3 'IEC958 In L'		comment.item.4 'IEC958 In R'		iface MIXER		name 'H/W Playback Route'		index 6		value 'PCM Out'	}	control.12 {		comment.access 'read write'		comment.type ENUMERATED		comment.count 1		comment.item.0 'PCM Out'		comment.item.1 'H/W In 0'		comment.item.2 'H/W In 1'		comment.item.3 'IEC958 In L'		comment.item.4 'IEC958 In R'		iface MIXER		name 'H/W Playback Route'		index 7		value 'PCM Out'	}	control.13 {		comment.access read		comment.type INTEGER		comment.count 22		comment.range '0 - 255'		iface MIXER		name 'Multi Track Peak'		value.0 0		value.1 0		value.2 0		value.3 0		value.4 0		value.5 0		value.6 0		value.7 0		value.8 0		value.9 0		value.10 0		value.11 0		value.12 0		value.13 0		value.14 0		value.15 0		value.16 0		value.17 0		value.18 0		value.19 0		value.20 0		value.21 0	}	control.14 {		comment.access 'read write'		comment.type ENUMERATED		comment.count 1		comment.item.0 'PCM Out'		comment.item.1 'H/W In 0'		comment.item.2 'H/W In 1'		comment.item.3 'IEC958 In L'		comment.item.4 'IEC958 In R'		iface MIXER		name 'IEC958 Playback Route'		value 'PCM Out'	}	control.15 {		comment.access 'read write'		comment.type ENUMERATED		comment.count 1		comment.item.0 'PCM Out'		comment.item.1 'H/W In 0'		comment.item.2 'H/W In 1'		comment.item.3 'IEC958 In L'		comment.item.4 'IEC958 In R'		iface MIXER		name 'IEC958 Playback Route'		index 1		value 'PCM Out'	}	control.16 {		comment.access 'read write'		comment.type BOOLEAN		comment.count 1		iface MIXER		name 'IEC958 Output Switch'		value true	}	control.17 {		comment.access 'read write'		comment.type IEC958		comment.count 1		iface PCM		device 1		name 'IEC958 Playback Default'		value '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'	}	control.18 {		comment.access read		comment.type IEC958		comment.count 1		iface PCM		device 1		name 'IEC958 Playback Con Mask'		value '3fff000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'	}	control.19 {		comment.access read		comment.type IEC958		comment.count 1		iface PCM		device 1		name 'IEC958 Playback Pro Mask'		value df00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000	}	control.20 {		comment.access 'read write'		comment.type BOOLEAN		comment.count 1		iface MIXER		name 'PCM Playback Switch'		value true	}	control.21 {		comment.access 'read write'		comment.type INTEGER		comment.count 2		comment.range '0 - 255'		comment.dbmin -9999999		comment.dbmax 0		iface MIXER		name 'PCM Playback Volume'		value.0 255		value.1 255	}	control.22 {		comment.access 'read write'		comment.type ENUMERATED		comment.count 1		comment.item.0 '44.1kHz'		comment.item.1 Off		comment.item.2 '48kHz'		comment.item.3 '32kHz'		iface MIXER		name Deemphasis		value Off	}	control.23 {		comment.access 'read write'		comment.type INTEGER		comment.count 1		comment.range '0 - 255'		comment.dbmin -12750		comment.dbmax 0		iface MIXER		name 'PCM Center Playback Volume'		value 255	}	control.24 {		comment.access 'read write'		comment.type INTEGER		comment.count 1		comment.range '0 - 255'		comment.dbmin -12750		comment.dbmax 0		iface MIXER		name 'PCM LFE Playback Volume'		value 255	}	control.25 {		comment.access 'read write'		comment.type INTEGER		comment.count 2		comment.range '0 - 255'		comment.dbmin -12750		comment.dbmax 0		iface MIXER		name 'PCM Side Playback Volume'		value.0 255		value.1 255	}	control.26 {		comment.access 'read write'		comment.type INTEGER		comment.count 2		comment.range '0 - 255'		comment.dbmin -12750		comment.dbmax 0		iface MIXER		name 'PCM Rear Playback Volume'		value.0 255		value.1 255	}	control.27 {		comment.access 'read write'		comment.type ENUMERATED		comment.count 1		comment.item.0 '44.1kHz'		comment.item.1 Off		comment.item.2 '48kHz'		comment.item.3 '32kHz'		iface MIXER		name Deemphasis		index 1		value Off	}}--endcollapse--!!All Loaded Modules!!------------------Moduleudfloopnfslockdnfs_aclsunrpccifsipv6coretempw83627ehfhwmon_vidohci1394ieee1394firewire_ohcifirewire_corei2c_i801ppp_genericnvidiaintel_agpusb_storagecrc_itu_tpcspkragpgarti2c_coresgthermalprocessorevdevfanbuttonbatteryacusbhidhidff_memlesssnd_ice1724snd_ice17xx_ak4xxxsnd_ac97_codecsnd_pt2258snd_i2csnd_ak4xxx_addasnd_ak4114snd_mpu401_uartsnd_rawmidisnd_seq_dummysnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_pcmsnd_timersnd_page_allocsnd_mixer_osssndsoundcoreac97_busslhcsky2rtc_cmosrtc_corertc_libext3jbdmbcachesr_modcdromsd_modehci_hcduhci_hcdusbcoreata_piixahciata_genericpata_jmicronpata_acpilibatascsi_moddock