[SOLVED] Slack-14.0/x86_64, Xfce4, Sony Vaio: No Sound
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
What is the model of your Sony Vaio?
Does this help? http://docs.slackware.com/howtos:har..._snd-hda-intel
As this is an upgrade, is it possible that you have an old configuration file in /etc/modprobe.d/ that is causing a problem?
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.
What sound manager are you using and have you tried others? Pulseaudio, for example is (to be exceedingly kind) a "work in progress",and it sounds as if Alsa is being preempted..
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.