[Pkg-alsa-devel] Bug#511949: alsa-base: alsaconf does not work on Sony Vaio PCG-SR1K laptop with YMF-754
Laurenz Wiskott
laurenz.wiskott at rub.de
Thu Jan 15 21:11:27 UTC 2009
Package: alsa-base
Version: 1.0.17.dfsg-4
Severity: normal
Dear alsa team,
I have installed Debian Lenny on a Sony Vaio PCG-SR1K laptop. Everything went fine except the sound.
When I run alsamixer I get the error message
linux> alsamixer
alsamixer: function snd_ctl_open failed for default: No such device
The sound card I have is
linux> lspci
...
00:09.0 Multimedia audio controller: Yamaha Corporation YMF-754 [DS-1E Audio Controller]
...
When I run alsaconfig, two cards get detected
ymfpci Yamaha Corporation YMF-754 [DS-1E Audio Controller]
legacy Probe legacy ISA (non-PnP) chips
the first one is selected and I continue. Everything looks fine except for the error message from amixer.
-----------------------------------------------------------------------------------------------------
linux> alsaconfig
Unloading ALSA sound driver modules: snd-ymfpci snd-ac97-codec snd-pcm-oss snd-mixer-oss snd-pcm
snd-opl3-lib snd-hwdep snd-page-alloc snd-mpu401-uart snd-seq-dummy snd-seq-oss snd-seq-midi snd-rawmidi
snd-seq-midi-event snd-seq snd-timer snd-seq-device.
Building card database...
Loading driver...
Setting default volumes...
amixer: Mixer attach default error: No such device
Saving the mixer setup used for this in /var/lib/alsa/asound.state.
/usr/sbin/alsactl: save_state:1497: No soundcards found...
===============================================================================
Now ALSA is ready to use.
For adjustment of volumes, use your favorite mixer.
Have a lot of fun!
-------------------------------------------------------------------------------------------------------
When I select the second card, it doesn't work either.
The modules loaded look reasonable to me.
------------------------------------------------------------------------------------------------------
linux> lsmod | grep snd
snd_ymfpci 28224 0
gameport 10700 1 snd_ymfpci
firmware_class 6816 1 snd_ymfpci
snd_ac97_codec 88484 1 snd_ymfpci
ac97_bus 1728 1 snd_ac97_codec
snd_pcm_oss 32800 0
snd_mixer_oss 12320 1 snd_pcm_oss
snd_pcm 62596 3 snd_ymfpci,snd_ac97_codec,snd_pcm_oss
snd_opl3_lib 9344 1 snd_ymfpci
snd_hwdep 6212 1 snd_opl3_lib
snd_page_alloc 7816 2 snd_ymfpci,snd_pcm
snd_mpu401_uart 6368 1 snd_ymfpci
snd_seq_dummy 2660 0
snd_seq_oss 24992 0
snd_seq_midi 5728 0
snd_rawmidi 18496 2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event 6432 2 snd_seq_oss,snd_seq_midi
snd_seq 41456 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 17800 4 snd_ymfpci,snd_pcm,snd_opl3_lib,snd_seq
snd_seq_device 6380 6 snd_opl3_lib,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 45604 13
snd_ymfpci,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_opl3_lib,snd_hwdep,snd_mpu401_uart,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 6368 1 snd
---------------------------------------------------------------------------------------------------------
I have searched on the internet for solutions and found
http://web.archive.org/web/20070809230019/http://thomas.sarlandie.free.fr/LinuxSR1K.html
http://lists.debian.org/debian-laptop/2001/04/msg00214.html
http://www.linuxquestions.org/questions/linux-newbie-8/alsamixer-function-sndctlopen-failed-for-default-no-such-file-or-directory-157454/
I did not want to get into recompiling the kernel, but I tried to set the PnP O/S Option in the BIOS to off, and I
ran snddevices in the alsa-base directory. I also installed pulseaudio and made sure oss-compat is installed, but
that didn't help either.
I also checked out the web page on www.alsa-project.org
http://www.alsa-project.org/main/index.php/Matrix:Module-ymfpci
But since snd_ymfpci is loaded ok, I didn't see a reason to recompile anything.
Anything else I could try?
Laurenz.
-- Package-specific info:
--- Begin additional package status ---
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=========================-=========================-==================================================================
ii libasound2 1.0.16-2 ALSA library
--- End additional package status ---
--- Begin /proc/asound/version ---
Advanced Linux Sound Architecture Driver Version 1.0.16.
--- End /proc/asound/version ---
--- Begin /proc/asound/cards ---
--- no soundcards ---
--- End /proc/asound/cards ---
--- Begin /dev/snd/ listing ---
total 0
crw-rw---- 1 root audio 116, 1 2009-01-15 21:43 seq
crw-rw---- 1 root audio 116, 33 2009-01-15 21:43 timer
--- End /dev/snd/ listing ---
-- System Information:
Debian Release: 5.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages alsa-base depends on:
ii linux-sound-base 1.0.17.dfsg-4 base package for ALSA and OSS soun
ii lsof 4.78.dfsg.1-4 List open files
ii module-init-tools 3.4-1 tools for managing Linux kernel mo
Versions of packages alsa-base recommends:
ii alsa-utils 1.0.16-2 ALSA utilities
Versions of packages alsa-base suggests:
pn alsa-oss <none> (no description available)
ii apmd 3.2.2-12 Utilities for Advanced Power Manag
ii oss-compat 0.0.4+nmu2 OSS compatibility package
Versions of packages libasound2 depends on:
ii libc6 2.7-18 GNU C Library: Shared libraries
-- no debconf information
More information about the Pkg-alsa-devel
mailing list