Re: No sound in some programs after installing ALSA
From: Thomas Hood <jdthood@yahoo.co.uk>
> On Fri, 04 Mar 2005 10:30:19 +0100, xerces8 wrote:
> > Now, there is sound in totem player, but xmms, alsaplayer and "play" all report errors.
>
>
> What is the actual error message?
>
> Send the output of:
>
> dpkg -l alsa\*
> uname -a
> /etc/init.d/alsa start
> ls -l /dev/snd
> lsmod
> cat /proc/asound/version
> cat /proc/asound/cards
First, it seems the default ALSA device was set wrong. Where can I fix that ?
See for your self :
The error messages :
XMMS : ** WARNING **: alsa_setup(): Failed to open pcm device (default): No such file or directory
alsaplayer : Failed to load output plugin "alsa". Trying defaults.
play : sox: Can't open output file '/dev/dsp': No such device
aplay : aplay: main:508: audio open error: No such file or directory
Requested data :
$ dpkg -l alsa\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==================-==================-====================================================
un alsa <none> (no description available)
ii alsa-base 1.0.8-5 ALSA driver configuration files
un alsa-base-0.4 <none> (no description available)
un alsa-modules <none> (no description available)
ii alsa-oss 1.0.8-1 ALSA wrapper for OSS applications
ii alsa-utils 1.0.8-2 ALSA utilities
un alsa-utils-0.5 <none> (no description available)
un alsa-xmms <none> (no description available)
un alsaconf <none> (no description available)
un alsaconf-0.4 <none> (no description available)
un alsalib <none> (no description available)
un alsalib0.1.3 <none> (no description available)
un alsalib0.3.0 <none> (no description available)
un alsalib0.3.2 <none> (no description available)
ii alsaplayer 0.99.76-0.3 PCM player designed for ALSA
un alsaplayer-alsa <none> (no description available)
ii alsaplayer-common 0.99.76-0.3 PCM player designed for ALSA (common files)
un alsaplayer-esd <none> (no description available)
ii alsaplayer-gtk 0.99.76-0.3 PCM player designed for ALSA (GTK version)
un alsaplayer-interfa <none> (no description available)
ii alsaplayer-oss 0.99.76-0.3 PCM player designed for ALSA (OSS output module)
un alsaplayer-output <none> (no description available)
un alsaplayer-text <none> (no description available)
un alsautils <none> (no description available)
$ uname -a
Linux kostanj 2.6.8-2-686-smp #1 SMP Mon Jan 24 02:32:52 EST 2005 i686 GNU/Linux
$ /etc/init.d/alsa start
Setting up ALSA...done.
$ ls -l /dev/snd
total 0
crw-rw---- 1 root audio 116, 0 2005-03-06 21:41 controlC0
crw-rw---- 1 root audio 116, 32 2005-03-06 21:41 controlC1
crw-rw---- 1 root audio 116, 24 2005-03-06 21:41 pcmC0D0c
crw-rw---- 1 root audio 116, 25 2005-03-06 21:41 pcmC0D1c
crw-rw---- 1 root audio 116, 56 2005-03-06 21:41 pcmC1D0c
crw-rw---- 1 root audio 116, 48 2005-03-06 21:41 pcmC1D0p
crw-rw---- 1 root audio 116, 57 2005-03-06 21:41 pcmC1D1c
crw-rw---- 1 root audio 116, 49 2005-03-06 21:41 pcmC1D1p
crw-rw---- 1 root audio 116, 33 2005-03-06 21:41 timer
:~$ lsmod
Module Size Used by
nls_iso8859_1 4256 1
nls_cp437 5920 1
vfat 15456 1
fat 47904 1 vfat
radeon 134388 2
ipv6 281700 8
8139cp 22208 0
snd_via82xx 30628 2
snd_ac97_codec 70884 1 snd_via82xx
gameport 5120 1 snd_via82xx
snd_mpu401_uart 8640 1 snd_via82xx
snd_rawmidi 26084 1 snd_mpu401_uart
snd_seq_device 8456 1 snd_rawmidi
snd_bt87x 14760 3
snd_pcm_oss 55912 0
snd_mixer_oss 20384 4 snd_pcm_oss
snd_pcm 102948 3 snd_via82xx,snd_bt87x,snd_pcm_oss
snd_timer 27428 1 snd_pcm
snd 59620 14
snd_via82xx,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_bt87x,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc 12008 3 snd_via82xx,snd_bt87x,snd_pcm
tuner 20368 0
tvaudio 22732 0
msp3400 24468 0
bttv 157356 0
video_buf 22788 1 bttv
i2c_algo_bit 10056 1 bttv
v4l2_common 6368 1 bttv
btcx_risc 5032 1 bttv
i2c_core 24576 5 tuner,tvaudio,msp3400,bttv,i2c_algo_bit
videodev 10304 1 bttv
soundcore 10880 5 snd,bttv
pci_hotplug 35708 0
via_agp 9280 1
agpgart 35436 2 via_agp
parport_pc 37796 0
parport 43272 1 parport_pc
floppy 62608 1
pcspkr 3884 0
rtc 14184 0
tsdev 7616 0
mousedev 10736 1
joydev 10240 0
ehci_hcd 33188 0
evdev 9824 0
usbhid 32768 0
eth1394 22664 0
uhci_hcd 34096 0
usbcore 122148 5 ehci_hcd,usbhid,uhci_hcd
8139too 27552 0
mii 5344 2 8139cp,8139too
ohci1394 36804 0
via_ircc 27120 0
irda 210016 1 via_ircc
crc_ccitt 2368 1 irda
capability 4744 0
commoncap 7552 1 capability
sr_mod 17764 0
sbp2 24968 0
scsi_mod 127972 2 sr_mod,sbp2
ieee1394 113784 3 eth1394,ohci1394,sbp2
ide_cd 43232 0
cdrom 41148 2 sr_mod,ide_cd
ext3 129704 1
jbd 70520 1 ext3
mbcache 10340 1 ext3
ide_generic 1632 0
via82cxxx 14556 1
ide_disk 19648 3
pdc202xx_new 11260 1
ide_core 142556 5 ide_cd,ide_generic,via82cxxx,ide_disk,pdc202xx_new
unix 31156 408
font 8544 0
vesafb 6880 0
cfbcopyarea 4096 1 vesafb
cfbimgblt 3264 1 vesafb
cfbfillrect 4000 1 vesafb
$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.4 (Mon May 17 14:31:44 2004 UTC).
Compiled on Jan 24 2005 for kernel 2.6.8-2-686-smp (SMP).
$ cat /proc/asound/cards
0 [Bt878 ]: Bt87x - Brooktree Bt878
Brooktree Bt878 at 0xe3815000, irq 169
1 [V8235 ]: VIA8233 - VIA 8235
VIA 8235 at 0xd800, irq 201
Reply to: