You are not logged in.

#1 2008-08-12 12:21:59

blauknox
Member
Registered: 2006-06-24
Posts: 10

Alsaconf fails

Hello,

When I run alsaconf as root, I receive the following...

Loading driver...
:: Saving ALSA Levels                                                                         [BUSY]
/usr/sbin/alsactl: get_control:259: Cannot read control '2,0,0,PCM Playback Switch,0': Invalid argument               
                                                                                                                [FAIL]
:: Restoring ALSA Levels                                                                   [BUSY]
No state is present for card CMI8768                                                                                   
No state is present for card L2000                                                                                     
                                                                                                                [DONE]

Sound works correctly at this point, but I can not store the settings. When I run 'alsactl store' as root, I get the same error...

alsactl: get_control:259: Cannot read control '2,0,0,PCM Playback Switch,0': Invalid argument

So, after restarting I have no sound and need to run alsaconf again.  My asound.state file is below.  Any advice would be greatly appreciated.                                               


state.CMI8738MC8 {                                                                           
        control.1 {                                                                          
                comment.access 'read write'                                                  
                comment.type INTEGER                                                         
                comment.count 2                                                              
                comment.range '0 - 31'                                                       
                iface MIXER                                                                  
                name 'Master Playback Volume'                                                
                value.0 31                                                                   
                value.1 31                                                                   
        }                                                                                    
        control.2 {                                                                          
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 1                                                              
                iface MIXER                                                                  
                name '3D Control - Switch'                                                   
                value false                                                                  
        }                                                                                    
        control.3 {                                                                          
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 1                                                              
                iface MIXER                                                                  
                name 'PCM Playback Switch'                                                   
                value true                                                                   
        }                                                                                    
        control.4 {                                                                          
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 2                                                              
                iface MIXER                                                                  
                name 'PCM Capture Switch'                                                    
                value.0 false                                                                
                value.1 false                                                                
        }                                                                                    
        control.5 {                                                                          
                comment.access 'read write'                                                  
                comment.type INTEGER                                                         
                comment.count 2                                                              
                comment.range '0 - 31'                                                       
                iface MIXER                                                                  
                name 'Synth Playback Volume'                                                 
                value.0 31                                                                   
                value.1 31                                                                   
        }                                                                                    
        control.6 {                                                                          
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 1                                                              
                iface MIXER                                                                  
                name 'Synth Playback Switch'                                                 
                value true                                                                   
        }                                                                                    
        control.7 {                                                                          
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 4                                                              
                iface MIXER                                                                  
                name 'Synth Capture Route'                                                   
                value.0 false                                                                
                value.1 false                                                                
                value.2 false                                                                
                value.3 false                                                                
        }                                                                                    
        control.8 {                                                                          
                comment.access 'read write'                                                  
                comment.type INTEGER                                                         
                comment.count 2                                                              
                comment.range '0 - 31'                                                       
                iface MIXER                                                                  
                name 'CD Playback Volume'                                                    
                value.0 0                                                                    
                value.1 0                                                                    
        }                                                                                    
        control.9 {                                                                          
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 2                                                              
                iface MIXER                                                                  
                name 'CD Playback Switch'                                                    
                value.0 false                                                                
                value.1 false                                                                
        }                                                                                    
        control.10 {                                                                         
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 4                                                              
                iface MIXER                                                                  
                name 'CD Capture Route'                                                      
                value.0 false                                                                
                value.1 false                                                                
                value.2 false                                                                
                value.3 false                                                                
        }                                                                                    
        control.11 {                                                                         
                comment.access 'read write'                                                  
                comment.type INTEGER                                                         
                comment.count 2                                                              
                comment.range '0 - 31'                                                       
                iface MIXER                                                                  
                name 'Line Playback Volume'                                                  
                value.0 31                                                                   
                value.1 31                                                                   
        }                                                                                    
        control.12 {                                                                         
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 2                                                              
                iface MIXER                                                                  
                name 'Line Playback Switch'                                                  
                value.0 false                                                                
                value.1 false                                                                
        }                                                                                    
        control.13 {                                                                         
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 4                                                              
                iface MIXER                                                                  
                name 'Line Capture Route'                                                    
                value.0 false                                                                
                value.1 false                                                                
                value.2 false                                                                
                value.3 false                                                                
        }                                                                                    
        control.14 {                                                                         
                comment.access 'read write'                                                  
                comment.type INTEGER                                                         
                comment.count 1                                                              
                comment.range '0 - 31'                                                       
                iface MIXER                                                                  
                name 'Mic Playback Volume'                                                   
                value 31                                                                     
        }                                                                                    
        control.15 {                                                                         
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 1                                                              
                iface MIXER                                                                  
                name 'Mic Playback Switch'                                                   
                value false                                                                  
        }                                                                                    
        control.16 {                                                                         
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 1                                                              
                iface MIXER                                                                  
                name 'Mic Capture Switch'                                                    
                value false                                                                  
        }                                                                                    
        control.17 {                                                                         
                comment.access 'read write'                                                  
                comment.type INTEGER                                                         
                comment.count 1                                                              
                comment.range '0 - 3'                                                        
                iface MIXER                                                                  
                name 'PC Speaker Playback Volume'                                            
                value 2                                                                      
        }                                                                                    
        control.18 {                                                                         
                comment.access 'read write'                                                  
                comment.type INTEGER                                                         
                comment.count 2                                                              
                comment.range '0 - 15'                                                       
                iface MIXER                                                                  
                name 'Aux Playback Volume'                                                   
                value.0 0                                                                    
                value.1 0                                                                    
        }                                                                                    
        control.19 {                                                                         
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 2                                                              
                iface MIXER                                                                  
                name 'Aux Playback Switch'                                                   
                value.0 false                                                                
                value.1 false                                                                
        }                                                                                    
        control.20 {                                                                         
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 2                                                              
                iface MIXER                                                                  
                name 'Aux Capture Switch'                                                    
                value.0 false                                                                
                value.1 false                                                                
        }                                                                                    
        control.21 {                                                                         
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 1                                                              
                iface MIXER                                                                  
                name 'Mic Boost Playback Switch'                                             
                value true                                                                   
        }                                                                                    
        control.22 {                                                                         
                comment.access 'read write'                                                  
                comment.type INTEGER                                                         
                comment.count 1                                                              
                comment.range '0 - 7'                                                        
                iface MIXER                                                                  
                name 'Mic Capture Volume'                                                    
                value 2                                                                      
        }                                                                                    
        control.23 {                                                                         
                comment.access 'read write'                                                  
                comment.type INTEGER                                                         
                comment.count 1                                                              
                comment.range '0 - 7'                                                        
                iface MIXER                                                                  
                name 'Phone Playback Volume'                                                 
                value 0                                                                      
        }                                                                                    
        control.24 {                                                                         
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 1                                                              
                iface MIXER                                                                  
                name 'Phone Playback Switch'                                                 
                value false                                                                  
        }                                                                                    
        control.25 {                                                                         
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 1                                                              
                iface MIXER                                                                  
                name 'PC Speaker Playback Switch'                                            
                value true                                                                   
        }                                                                                    
        control.26 {                                                                         
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 1                                                              
                iface MIXER                                                                  
                name 'Mic Boost Capture Switch'                                              
                value false                                                                  
        }                                                                                    
        control.27 {                                                                         
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 1                                                              
                iface MIXER                                                                  
                name 'Four Channel Mode'                                                     
                value true                                                                   
        }                                                                                    
        control.28 {                                                                         
                comment.access 'read write'                                                  
                comment.type ENUMERATED                                                      
                comment.count 1                                                              
                comment.item.0 Line-In                                                       
                comment.item.1 'Rear Output'                                                 
                comment.item.2 'Bass Output'                                                 
                iface MIXER                                                                  
                name 'Line-In Mode'                                                          
                value Line-In                                                                
        }                                                                                    
        control.29 {                                                                         
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 1                                                              
                iface MIXER                                                                  
                name 'IEC958 Output Switch'                                                  
                value false                                                                  
        }                                                                                    
        control.30 {                                                                         
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 1                                                              
                iface MIXER                                                                  
                name 'IEC958 In Valid'                                                       
                value false                                                                  
        }                                                                                    
        control.31 {                                                                         
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 1                                                              
                iface MIXER                                                                  
                name 'IEC958 Copyright'                                                      
                value false                                                                  
        }                                                                                    
        control.32 {                                                                         
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 1                                                              
                iface MIXER                                                                  
                name 'IEC958 5V'                                                             
                value true                                                                   
        }                                                                                    
        control.33 {                                                                         
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 1                                                              
                iface MIXER                                                                  
                name 'IEC958 Loop'                                                           
                value false                                                                  
        }                                                                                    
        control.34 {                                                                         
                comment.access 'read write'                                                  
                comment.type BOOLEAN                                                         
                comment.count 1                                                              
                iface MIXER                                                                  
                name 'IEC958 In Monitor'                                                     
                value false                                                                  
        }                                                                                    
        control.35 {                                                                         
                comment.access 'read write'                                                  
                comment.type IEC958                                                          
                comment.count 1                                                              
                iface PCM                                                                    
                device 2                                                                     
                name 'IEC958 Playback Default'                                               
                value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'                                                                                                    
        }                                                                                                              
        control.36 {                                                                                                   
                comment.access read                                                                                    
                comment.type IEC958                                                                                    
                comment.count 1                                                                                        
                iface PCM                                                                                              
                device 2                                                                                               
                name 'IEC958 Playback Con Mask'                                                                        
                value ffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000                                                                                                      
        }                                                                                                              
        control.37 {                                                                                                   
                comment.access 'read write inactive'                                                                   
                comment.type IEC958                                                                                    
                comment.count 1                                                                                        
                iface PCM                                                                                              
                device 2                                                                                               
                name 'IEC958 Playback PCM Stream'                                                                      
                value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'                                                                                                    
        }                                                                                                              
        control.38 {                                                                                                   
                comment.access 'read write'                                                                            
                comment.type BOOLEAN                                                                                   
                comment.count 1                                                                                        
                iface MIXER                                                                                            
                name 'IEC958 In Select'                                                                                
                value false                                                                                            
        }                                                                                                              
        control.39 {                                                                                                   
                comment.access 'read write'                                                                            
                comment.type BOOLEAN                                                                                   
                comment.count 1                                                                                        
                iface MIXER                                                                                            
                name 'IEC958 In Phase Inverse'
                value false
        }
        control.40 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 Mic-In
                comment.item.1 'Center/LFE Output'
                iface MIXER
                name 'Mic-In Mode'
                value Mic-In
        }
        control.41 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 1
                iface CARD
                name Modem
                value false
        }
        control.42 {
                comment.access 'read write user'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 255'
                comment.tlv '0000000100000008ffffec1400000014'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 179
                value.1 179
        }
}

Offline

#2 2008-08-12 14:05:59

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Alsaconf fails

First thing I'd try is upgrading to alsa 1.0.17

Offline

#3 2008-08-12 15:36:21

blauknox
Member
Registered: 2006-06-24
Posts: 10

Re: Alsaconf fails

Thanks for the help brebs.  I upgraded to 1.0.17 and alsaconf completes without any errors.  However, I get a similar error when running alsactl store as root...

alsactl: get_control:262: Cannot read control '2,0,0,PCM Playback Switch,0': Invalid argument

Offline

#4 2008-08-12 16:54:31

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Alsaconf fails

Go to the #alsa channel on FreeNode in irc (Internet Chat). Run this script: http://www.alsa-project.org/alsa-info.sh and throw the output into http://pastebin.ca/ and show the link to it.

Speak to gnubien or wishie in that channel - they are experts wink

Last edited by brebs (2008-08-12 16:57:32)

Offline

Board footer

Powered by FluxBB