UbuntuThis forum is for the discussion of Ubuntu 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 looked through tons of threads onm this forum (none helped), searched google, asked on many message boards, and none of them could help me. i have kubuntu hoary 5.04 installed on my desktop (in my sig), and i cannot for the life of my get my onboard sound working. no command i know of (alsaconf , sndconfig, etc) works. when i got to run > alsamixer, nothing hapens. when i type alsamixer into konsole it gives me
Code:
alsamixer: function snd_ctl_open failed for default: No such file or directory
PLEASE HELP ME, i'm desperate. i have a few other problems that i may ask later, but this is my main one.
Also, what kernel version are you running? (uname -r)
Only the latest kernels have ALSA drivers which can handle your particular sound device:
Quote:
In particular the ICH5 and ICH6 versions of the Intel sound chips is supported only by ALSA versions 1.0.5 or later. In particular, the Linux 2.6 kernels up to version 2.6.8.1 inclusive don't support them because they only have ALSA versions up to 1.0.4; note also that there are very many variants of the ICH6 chipset (check include/linux/pci_ids.h in recent kernel sources), and up to 1.0.8 only the one with device id 8086:266e is recognized.
i did those modprobes, but sound still doesn't work. i put in an audio cd, and when i press 'play' on the cd player, the play button's graphic switches to 'pause' like it's playing, but then reverts back to the 'play' graphic almost immediately. also, i tried playing some songs from my windows partition with amarok, and when i pressed play nothing would happen.
You could try downloading the latest ALSA kernel modules from the ALSA site, or you could wait for the in-kernel ALSA version to catch up. It appears the intel8x0 module doesn't recognise your sound card as one it should handle. From what I've read, this is fixed in ALSA v.1.0.8
To the person with the Intel chipset, I know you're a newbie like me...
Using ALSA version 1.0.8 as Dave has suggested.
Try compiling ALSA against your sound card using the QUICK INSTALL method on their site, its suprisingly easily... Just make sure to run the commands as root "su -" as you know.
Make a directory to store the alsa source code in.
cd /usr/src
mkdir alsa
cd /usr/src/alsa
(copy your file you downloaded "alsa-driver-1.0.8.tar.bz2" to the directory /usr/src/alsa)
Now unzip and install the alsa-driver package
bunzip2 alsa-driver-1.0.8.tar.bz2
tar -xf alsa-driver-1.0.8.tar (or whatever it renames to after unzip)
cd alsa-driver-1.0.8 (or whatever directory it makes after un-tarring)
./configure --with-cards=intel8x0 --with-sequencer=yes;make;make install
Now unzip and install the alsa-lib package
cd ..
bunzip2 alsa-lib-xxx
tar -xf alsa-lib-xxx
cd alsa-lib-xxx
./configure;make;make install
Now unzip and install the alsa-utils package
cd ..
bunzip2 alsa-utils-xxx
tar -xf alsa-utils-xxx
cd alsa-utils-xxx
./configure;make;make install
never mind about my above question, i install the libs and utils and everything it said to, but when i did the ./configure thing it said to do, it stopped midway and gave me this error message:
Code:
configure: error: this packages requires a curses library
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
i did everything the way it told me to. i did the modprobe like you said and when i went to try alsamixer, it still gave me the same error message i got before (in the first post).
Install libcurses4, and reinstall libcurses5 (this one should be installed by default).
Then run ./configure;make;make install.
I had the same error.
Now you actually have the "alsaconf" command which comes with alsa-utils, which although ubuntu/kubuntu has a default package is not included for some reason.
i did that, installed libcurses4 and reinstalled libcurses5, and i still have the same problem. also, alsaconf doesn't work, it says 'command not found'
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.