Public bug reported:

Binary package hint: alsa-base

Alsa does not seem to work after upgrading to karmic from jaunty:

killing pulseaudio and and starting with -vvvv gives the following
...
D: cli-command.c: Checking for existance of 
'/usr/lib/pulse-0.9.19/modules/module-udev-detect.so': success                  
                                                   
D: module-udev-detect.c: /dev/snd/controlC0 is accessible: yes                  
                                                                                
               
D: module-udev-detect.c: /devices/pci0000:00/0000:00:1e.2/sound/card0 is busy: 
no                                                                              
                
D: module-udev-detect.c: Loading module-alsa-card with arguments 'device_id="0" 
name="pci-0000_00_1e.2" card_name="alsa_card.pci-0000_00_1e.2" tsched=yes 
ignore_dB=no card_properties="module-udev-detect.discovered=1"'                 
                                                                                
                                    
D: dbus-util.c: Successfully connected to D-Bus session bus 
f59443f266c9b7238f5ccb054aed4fcd as :1.82                                       
                                   
D: reserve-wrap.c: Successfully acquired reservation lock on device 'Audio0'    
                                                                                
               
D: alsa-mixer.c: Looking at profile output:analog-mono                          
                                                                                
               
D: alsa-mixer.c: Checking for playback on Analog Mono (analog-mono)             
                                                                                
               
D: alsa-util.c: Trying hw:0 with SND_PCM_NO_AUTO_FORMAT ...                     
                                                                                
               
I: (alsa-lib)pcm_hw.c: open /dev/snd/pcmC0D0p failed                            
                                                                                
               
I: alsa-util.c: Error opening PCM device hw:0: No such file or directory        
                                                                                
               
D: alsa-mixer.c: Looking at profile output:analog-mono+input:analog-mono        
                                                                                
               
D: alsa-mixer.c: Checking for playback on Analog Mono (analog-mono)             
                                                                                
               
....
D: alsa-util.c: Trying hw:0 with SND_PCM_NO_AUTO_FORMAT ...                     
                                                                                
               
I: (alsa-lib)pcm_hw.c: open /dev/snd/pcmC0D0c failed                            
                                                                                
               
I: alsa-util.c: Error opening PCM device hw:0: No such file or directory        
                                                                                
               
D: alsa-mixer.c: Looking at profile input:iec958-stereo                         
                                                                                
               
D: alsa-mixer.c: Checking for recording on Digital Stereo (IEC958) 
(iec958-stereo)                                                                 
                            
D: alsa-util.c: Trying iec958:0 with SND_PCM_NO_AUTO_FORMAT ...                 
                                                                                
               
I: (alsa-lib)pcm_hw.c: open /dev/snd/pcmC0D4c failed                            
                                                                                
               
I: alsa-util.c: Error opening PCM device iec958:0: No such file or directory    
                                                                                
               
D: alsa-mixer.c: Looking at profile input:iec958-surround-40                    
                                                                                
               
D: alsa-mixer.c: Checking for recording on Digital Surround 4.0 (IEC958) 
(iec958-surround-40)                                                            
                      
D: alsa-util.c: Trying iec958:0 with SND_PCM_NO_AUTO_FORMAT ...                 
                                                                                
               
I: (alsa-lib)pcm_hw.c: open /dev/snd/pcmC0D4c failed                            
                                                                                
               
I: alsa-util.c: Error opening PCM device iec958:0: No such file or directory    
                                                                                
               
E: module-alsa-card.c: Failed to find a working profile.                        
                                                                                
               
E: module.c: Failed to load  module "module-alsa-card" (argument: 
"device_id="0" name="pci-0000_00_1e.2" card_name="alsa_card.pci-0000_00_1e.2" 
tsched=yes ignore_dB=no card_properties="module-udev-detect.discovered=1""): 
initialization failed.                                                          
                                                 
I: module-udev-detect.c: Card /devices/pci0000:00/0000:00:1e.2/sound/card0 
(alsa_card.pci-0000_00_1e.2) failed to load module.                             
                    
I: module-udev-detect.c: Found 1 cards.                                         
                                                                                
               
I: module.c: Loaded "module-udev-detect" (index: #4; argument: ""). 

Editing /etc/pulse/default.pa
and commentig out load-module module-udev-detect so that the following module 
is used causes pulse to work
load-module module-detect

This seems to be because module-detect falls back from alsa to oss which 
worksI: (alsa-lib)pcm_hw.c: Invalid value for card                              
                                                                                
                    
I: alsa-util.c: Error opening PCM device hw:0: No such file or directory        
                                                                                
               
D: alsa-util.c: Trying hw:0 as last resort...                                   
                                                                                
               
D: alsa-util.c: Trying hw:0 with SND_PCM_NO_AUTO_FORMAT ...                     
                                                                                
               
I: (alsa-lib)pcm_hw.c: Invalid value for card                                   
                                                                                
               
I: alsa-util.c: Error opening PCM device hw:0: No such file or directory        
                                                                                
               
E: module.c: Failed to load  module "module-alsa-source" (argument: 
"device_id=0"): initialization failed.                                          
                           
W: module.c: module-oss is deprecated: Please use module-alsa-card instead of 
module-oss!                                                                     
                 
D: oss-util.c: capabilities: DUPLEX MMAP REALTIME TRIGGER                       
                                                                                
               
I: module-oss.c: Device opened in O_RDWR mode.                                  
                                                                                
               
D: oss-util.c: Asking for 8 fragments of size 1024 (requested 1764)             
                                                                                
               
I: module-oss.c: Input -- 8 fragments of size 1024.                             
                                                                                
               
I: module-oss.c: Output -- 8 fragments of size 1024.                            
                                                                                
               
D: module-oss.c: Successfully mmap()ed input buffer.                            
                                                                                
               
I: source.c: Created source 0 "oss_input.dsp" with sample spec s16le 2ch 
44100Hz and channel map front-left,front-right  

$ ls -lR /dev/snd
/dev/snd:
total 0
drwxr-xr-x 2 root root 60 2009-11-01 09:11 by-path

/dev/snd/by-path:
total 0
lrwxrwxrwx 1 root root 15 2009-11-01 09:11 pci-0000:00:1e.2 -> ../../controlC0

I can probably live with pulse working via oss, but would prefer to find
out what is going wrong with alsa and why it doesnt work

It is possible this is a pulse bug, but without the above pulse changes
alsa does not work with mplayer (forcing vi -ao), but does work with
oss. After the above changes -ao alsa does work with mplayer which I
suspect is pulse offering an alsa input

** Affects: alsa-driver (Ubuntu)
     Importance: Undecided
         Status: New

-- 
alsa broken after upgrade from jaunty to karmic
https://bugs.launchpad.net/bugs/468248
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to