ALSA and realtime kernel

Asked by Peter Kapus

Sorry about the misplaced question. I tried marcobra's answer to alecjcook's question and got as far as cd alsa-lib-1.0.19. No such file or directory. What did i do wrong? And why does it have to be so difficult? I had not yet planned to install the reltime kernel yet (though I suppose it is not a bad idea to have it), I just want the sound to work (at present headphones but no speakers). And thanks for reading solved questions and finding mine!

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

For the other users that will answer to your question
This question was asked at the end of this thread https://answers.launchpad.net/ubuntu/+source/alsa-driver/+question/58989

Hope this helps

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2

Open a terminal and type:
sudo -i
give your user password, you don't see nothing when type it, then press enter

apt-get update
apt-get install wget build-essential ncurses-dev libncurses5-dev xmlto gettext linux-headers-$(uname -r)
mkdir /usr/src/alsa-source
cd /usr/src/alsa-source
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.19.tar.bz2
wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.19.tar.bz2
wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.19.tar.bz2
tar xjf alsa-driver-1.0.19.tar.bz2
tar xjf alsa-lib-1.0.19.tar.bz2
tar xjf alsa-utils-1.0.19.tar.bz2

cd alsa-driver-1.0.19
./configure --with-cards=hda-intel
make
make install

cd alsa-lib-1.0.19
./configure
make
make install

cd alsa-utils-1.0.19
./configure
make
make install

Then if you need special options open the file
nano /etc/modprobe.d/alsa-base

and change the model options for example (find it on reference pages below):
options snd-hda-intel model=acer

Reboot your pc

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

Above the commands to compile latest alsa-driver from sources with the xmlto added to requested packages.

Please tell when, after which commands do you get "No such file or directory"

BTW i think this might not solve your sound issue.

Thank you

Revision history for this message
Peter Kapus (colpanic-deactivatedaccount) said :
#4

i got the "No such file or directory" ms after cd /alsa-lib-1.0.19. Am presently logged in from the Mac partition, firefox in ubuntu still not working (if the password problem is a firefox problem. Probably is, I get the same problem w/ logging in to my webmail page). Can I type the whole shebang again after having gotten halfway w/o killing everything? I seem to have the driver installed. Can I just type sudo apt-get install xmlto and then cd alsa-lib-10.0.19, resuming where I left off? I am not too lazy to do everything over, just want to make sure. Or is it safe to just abort, with the half-compiled kernel on board? Like I said, I do not actually need the realtime kernel at this point.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

please type:

cd alsa-lib-1.0.19

without the "/"

Hth

Can you help with this problem?

Provide an answer of your own, or ask Peter Kapus for more information if necessary.

To post a message you must log in.