Config: via82xx (vt8235), microphone plugged on "mic in", sound playing is working, using alsa 0.9.1 with 2.4.20 kernel.

/etc/asound.state:


state.8235 {
control.1 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Master Playback Switch'
value true
}
control.2 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Master Playback Volume'
value.0 22
value.1 22
}
control.3 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Center Playback Switch'
value true
}
control.4 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Center Playback Volume'
value 24
}
control.5 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'LFE Playback Switch'
value true
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'LFE Playback Volume'
value 25
}
control.7 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Surround Playback Switch'
value.0 true
value.1 true
}
control.8 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Surround Playback Volume'
value.0 23
value.1 23
}
control.9 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Master Mono Playback Switch'
value true
}
control.10 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Master Mono Playback Volume'
value 24
}
control.11 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'PC Speaker Playback Switch'
value true
}
control.12 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 15'
iface MIXER
name 'PC Speaker Playback Volume'
value 15
}
control.13 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Phone Playback Switch'
value true
}
control.14 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Phone Playback Volume'
value 22
}
control.15 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Mic Playback Switch'
value true
}
control.16 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Mic Playback Volume'
value 22
}
control.17 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Mic Boost (+20dB)'
value true
}
control.18 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Line Playback Switch'
value true
}
control.19 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Line Playback Volume'
value.0 25
value.1 25
}
control.20 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'CD Playback Switch'
value true
}
control.21 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'CD Playback Volume'
value.0 22
value.1 22
}
control.22 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Video Playback Switch'
value true
}
control.23 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Video Playback Volume'
value.0 22
value.1 22
}
control.24 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Aux Playback Switch'
value true
}
control.25 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Aux Playback Volume'
value.0 22
value.1 22
}
control.26 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'PCM Playback Switch'
value true
}
control.27 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'PCM Playback Volume'
value.0 22
value.1 22
}
control.28 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 Mic
comment.item.1 CD
comment.item.2 Video
comment.item.3 Aux
comment.item.4 Line
comment.item.5 Mix
comment.item.6 'Mix Mono'
comment.item.7 Phone
iface MIXER
name 'Capture Source'
value.0 Mic
value.1 Mic
}
control.29 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Capture Switch'
value true
}
control.30 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 15'
iface MIXER
name 'Capture Volume'
value.0 10
value.1 10
}
control.31 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name '3D Control - Switch'
value false
}
control.32 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 Mix
comment.item.1 Mic
iface MIXER
name 'Mono Output Select'
value Mix
}
control.33 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 Mic1
comment.item.1 Mic2
iface MIXER
name 'Mic Select'
value Mic1
}
control.34 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 15'
iface MIXER
name '3D Control - Center'
value 9
}
control.35 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 15'
iface MIXER
name '3D Control - Depth'
value 11
}
control.36 {
comment.access read
comment.type IEC958
iface MIXER
name 'IEC958 Playback Con Mask'
value '0fff000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.37 {
comment.access read
comment.type IEC958
iface MIXER
name 'IEC958 Playback Pro Mask'
value cf00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
}
control.38 {
comment.access 'read write'
comment.type IEC958
iface MIXER
name 'IEC958 Playback Default'
value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.39 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 Playback Switch'
value true
}
control.40 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 3'
iface MIXER
name 'IEC958 Playback AC97-SPSA'
value 2
}
control.41 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Duplicate Front'
value false
}
control.42 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Surround Down Mix'
value true
}
control.43 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Center/LFE Down Mix'
value true
}
control.44 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Exchange Center/LFE'
value false
}
control.45 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Line-In As Surround'
value false
}
control.46 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Mic As Center/LFE'
value true
}
control.47 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Swap Surround Slot'
value false
}
control.48 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 Capture Switch'
value false
}
control.49 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Analog to IEC958 Output'
value false
}
control.50 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 Input Monitor'
value false
}
control.51 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'External Amplifier Power Down'
value false
}
control.52 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 Line
comment.item.1 Mic
iface MIXER
name 'Input Source Select'
value Line
}
control.53 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 Line
comment.item.1 Mic
iface MIXER
name 'Input Source Select'
index 1
value Line
}
control.54 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 Output Switch'
value false
}
control.55 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 255'
iface MIXER
name 'VIA DXS Playback Volume'
value.0 250
value.1 250
}
}





-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to