[mythtv-users] Upgraded ALSA, lost all capture ability, help

Chris Germano netslayer at hotmail.com
Fri Apr 9 04:50:19 EDT 2004


I just upgraded to ALSA 1.0.3 from 0.9.8 using gentoo emerge. I emerged all
the stuff: alsa-lib, alsa-utils, alsa-oss and alsa-driver for EMU10k1. They
all built and installed fine, and they worked perfectly before. As of right
now playback works perfectly but all of my capture stuff is gone! I can't
capture anything, I go into alsamixer and nothing has a capture capability.
What should I do to get it back? I can't do any recording until this is
fixed, please I need to get this fixed!

Amixer for my line in has now changed, losing the capture capability:
Simple mixer control 'Line',0  Capabilities: pvolume pswitch pswitch-joined
Simple mixer control 'Line',0  Capabilities: pvolume pswitch pswitch-joined
cswitch cswitch-joined cswitch-ex

When I copy back backed up asound.state to /etc/asound.state and restart
ALSA:
root at server root # /etc/init.d/alsasound start
 * Loading ALSA drivers...
 * Using ALSA OSS emulation
 * Loading: snd-seq-oss
 * Loading: snd-pcm-oss
 * Running card-dependent scripts
 * Restoring Mixer Levels
/usr/sbin/alsactl: set_control:805: warning: name mismatch (Wave Capture
Volume/PCM Capture Volume) for control #7
/usr/sbin/alsactl: set_control:805: warning: name mismatch (AC97 Playback
Volume/Mic Playback Volume) for control #9
/usr/sbin/alsactl: set_control:805: warning: name mismatch (AC97 Capture
Volume/Mic Capture Volume) for control #10
/usr/sbin/alsactl: set_control:805: warning: name mismatch (IEC958 Coaxial
Playback Volume/Analog Mix Playback Volume) for control #17
/usr/sbin/alsactl: set_control:805: warning: name mismatch (IEC958 Coaxial
Capture Volume/Analog Mix Capture Volume) for control #18
/usr/sbin/alsactl: set_control:784: failed to obtain info for control #39
(No such file or directory)


diff /home/chris/asound.state2 /etc/asound.state
62c62
<               name 'Wave Capture Volume'
---
>               name 'PCM Capture Volume'
80c80
<               name 'AC97 Playback Volume'
---
>               name 'Mic Playback Volume'
89c89
<               name 'AC97 Capture Volume'
---
>               name 'Mic Capture Volume'
152c152
<               name 'IEC958 Coaxial Playback Volume'
---
>               name 'Analog Mix Playback Volume'
161c161
<               name 'IEC958 Coaxial Capture Volume'
---
>               name 'Analog Mix Capture Volume'
360,374d359
<       control.39 {
<               comment.access 'read write'
<               comment.type BOOLEAN
<               iface MIXER
<               name 'Mic Playback Switch'
<               value false
<       }
<       control.40 {
<               comment.access 'read write'
<               comment.type INTEGER
<               comment.range '0 - 31'
<               iface MIXER
<               name 'Mic Playback Volume'
<               value 0
<       }
414,429d398
<       control.46 {
<               comment.access 'read write'
<               comment.type BOOLEAN
<               iface MIXER
<               name 'Video Playback Switch'
<               value false
<       }
<       control.47 {
<               comment.access 'read write'
<               comment.type INTEGER
<               comment.range '0 - 31'
<               iface MIXER
<               name 'Video Playback Volume'
<               value.0 0
<               value.1 0
<       }
435c404
<               value true
---
>               value false
446,495d414
<       control.52 {
<               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 Line
<               value.1 Line
<       }
<       control.53 {
<               comment.access 'read write'
<               comment.type BOOLEAN
<               iface MIXER
<               name 'Capture Switch'
<               value true
<       }
<       control.54 {
<               comment.access 'read write'
<               comment.type INTEGER
<               comment.range '0 - 15'
<               iface MIXER
<               name 'Capture Volume'
<               value.0 11
<               value.1 11
<       }
<       control.56 {
<               comment.access 'read write'
<               comment.type ENUMERATED
<               comment.item.0 Mix
<               comment.item.1 Mic
<               iface MIXER
<               name 'Mono Output Select'
<               value Mix
<       }
<       control.57 {
<               comment.access 'read write'
<               comment.type ENUMERATED
<               comment.item.0 Mic1
<               comment.item.1 Mic2
<               iface MIXER
<               name 'Mic Select'
<               value Mic1
<       }
2936c2855
<               value
'008200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000'
---
>               value
'049210020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000'
2967c2886
<               value true
---
>               value false


More information about the mythtv-users mailing list