LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Thinkpad Lenovo T61 (https://www.linuxquestions.org/questions/slackware-14/thinkpad-lenovo-t61-564079/)

jzxu 07-04-2007 11:54 AM

Actually you can get sound working pretty easily. Just download the source for the latest alsa driver (1.0.14) and then apply these 5 patches, as mentioned on the thinkwiki page for the AD1984 driver, in order:

http://hg.alsa-project.org/alsa-kern...patch_analog.c
http://hg.alsa-project.org/alsa-kern...patch_analog.c
http://hg.alsa-project.org/alsa-kern...patch_analog.c
http://hg.alsa-project.org/alsa-kern...patch_analog.c
http://hg.alsa-project.org/alsa-kern...patch_analog.c

If you don't know how to apply patches, you can just copy and paste these commands into a console in the working directory alsa-kernel/ under the alsa driver source directory:

Code:

wget -O - http://hg.alsa-project.org/alsa-kernel/raw-diff/ed48e4edc677/pci/hda/patch_analog.c | patch -p1
wget -O - http://hg.alsa-project.org/alsa-kernel/raw-diff/45179b325c8e/pci/hda/patch_analog.c | patch -p1
wget -O - http://hg.alsa-project.org/alsa-kernel/raw-diff/958b39f3e8dd/pci/hda/patch_analog.c | patch -p1
wget -O - http://hg.alsa-project.org/alsa-kernel/raw-diff/47ca87407c84/pci/hda/patch_analog.c | patch -p1
wget -O - http://hg.alsa-project.org/alsa-kernel/raw-diff/ca37aeeeb0ea/pci/hda/patch_analog.c | patch -p1

then

./configure --with-cards=hda-intel; make; make install

and you've got yourself a working snd_hda_intel module.

caryb 07-04-2007 10:30 PM

Excuse my ignorance but where is the directory for patching
Quote:

f you don't know how to apply patches, you can just copy and paste these commands into a console in the working directory alsa-kernel/ under the alsa driver source directory:
I have spent 30 mins looking and am about to give up! BTW I'm using Kubuntu Gutsy


Cheers Cary

jzxu 07-05-2007 12:28 AM

Quote:

Originally Posted by caryb
Excuse my ignorance but where is the directory for patching

I have spent 30 mins looking and am about to give up! BTW I'm using Kubuntu Gutsy


Cheers Cary

You have to download the alsa driver source from their website and extract it. Here's a direct link:

ftp://ftp.alsa-project.org/pub/drive...1.0.14.tar.bz2

Then you'll see that there's an alsa-kernel subdirectory in the extracted code, where you have to run those commands from.

By the way, I realized that what I downloaded was the 1.0.14rc4 version of the driver, whereas they've now release 1.0.14. I only know the process I described above to work with 1.0.14rc4. I tried the newer driver, but for some reason with that module whenever I tried to access the audio device the process would freeze.

caryb 07-05-2007 06:11 AM

I tried it but no go:cry: One thing that is starting to get on my goat is whenever I do a upgrade or kernel patch it hoses my nvidia driver & I have to reconpiled:scratch:


Cary


All times are GMT -5. The time now is 02:45 PM.