[SOLVED] Slack-14.0/x86_64, Xfce4, Sony Vaio: No Sound
SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I've been fighting this ever since upgrading the Sony Vaio to 14.0 from 13.37. Sound worked just fine on the earlier versions but fails to work on the latest. Alsamixer is properly configured. The Xfce4 mixer icon has the volume at maximum.
lspci reports the audio chip is Intel Corp. 6 Series/C200 Series chipset family high definition audio controller(rev 04).
lsmod shows oss modules loaded; I don't know if _all_ required modules are loaded.
Here are the messages when I try to play an mp3 file with mpg123:
[oss.c:172] error: Can't open default sound device!
[audio.c:630] error: failed to open audio device
[audio.c:180] error: Unable to find a working output module in this list: alsa,oss
[audio.c:532] error: Failed to open audio output module
[mpg123.c:897] error: Failed to initialize output, goodbye.
Please suggest how I can get the system to open the audio device. If more information is needed, ask and ye shall be answered.
Sorry for the week's delay but it's been an overly-busy week for me. To answer your first question: it's a Sony Vaio PCG-1A14L. Reading the URL you sent, adding a snd-hda-intel.conf in /etc/modprobe.d/ made no difference. Following their suggestion to search the Web I found a ubuntu page with additional solutions, but they did not work on this Sony, either.
The two Codecs found with 'cat /proc/asound/card*/codec* | grep Codec' are Conextant CX20590 and Intel CougarPoint HDMI. Neither is found in /usr/src/linux/Documentation/sound/alsa/HD-Audio-Models.txt.
No, that is not likely the problem. I've been upgrading slackware distributions on all the hosts here since 8.0 (2003). This issue is related to the laptop, soundchip, or driver and would not be resolved with a clean install.
Thanks for the URL <http://docs.slackware.com/howtos:hardware:sound_problems_on_slackware>. I had run aplay -l yesterday but had no idea what to do with the results. Following that page's suggestion I tried to run atest but there is no such file on the system and I don't find one in the 14.0/x86_64 file list. A Web search did not find a tool named atest, either.
Another factor that may relate to the lack of sound is that a user cannot invoke alsamixer, only root can. Yet the permissions on /usr/bin/alsamixer are 755, the same as on my server/workstation and I can invoke alsamixer on this host. Might this permission issue be what needs to be resolved? Because /usr/ and /usr/bin/ have 755 perms I am puzzled why a user cannot invoke alsamixer. Any thoughts on this?
Sorry for the long delay but I've been overly busy this past couple of months.
The sound now works! Allend's pointer in post #7 above showed me how to find the problem and fix it. I have not before done more with alsamixer other than to adjust volumnes. Using the F6 key, I changed the driver from the 'default' to the Intel chip, saved the settings and tried a test .mp3. It does work now.
I learned more about both system sound and alsamixer thanks to all of you.