Posts Tagged ‘drivers’

Installing newer ALSA driver on an Asus Eee Pc 1000H

Saturday, March 28th, 2009

I have Debian testing on my Asus Eee Pc 1000H with Linux 2.6.26.  The ALSA driver therein doesn’t fully support the Eee Pc 1000H (and  therefore neither the 901).Sound playback is fine, but the microphone doesn’t work.

Installing Linux 2.6.28 was a no-go as the drivers for the wireless isn’t available there, so I decided to install ALSA 1.0.19 to that.

The explation is from the Debian Eee Pc wiki.

First make sure you have module-assistant and friends installed and setup

aptitude -r install module-assistant
module-assistant prepare

The ‘prepare’ command will download additional packages needed to compile modules for the running kernel.

Now download the latest ALSA sources, which I got from Experimental

aptitude -t experimental install alsa-source

To build the driver all you need to do is

module-assistant build alsa

and wait for the compile to finish.

Afterwards you’ll have a .deb file in /usr/src ready for installing.  I used dpkg directly, but

module-assisstant install alsa

will do it for you too.

I simply rebooted to make sure all old modules were removed and the new ones loaded. It can be done without a reboot.

Most mixer inputs and outputs change name with the new driver, so the ACPI hotkey scripts need a bit of updating. Its a bit nitty-gritty where you need to edit several scripts by hand, and its all described in the wiki.

Now I just need to get Ekiga to do video calls to Gizmo on my  wife’s macbook.

Checking Debian hardware compatibility

Sunday, February 26th, 2006

This site is absolutely great for finding the right drivers and checking hardware compatibility:

http://kmuto.jp/debian/hcl/index.cgi

Just paste the output of lspci -n into the form and it’ll tell what is supported and by which drivers. It couldn’t be easier.

Getting a Debian kernel source tree for driver compilation

Sunday, August 15th, 2004

I have stumbled into this a few times, so I’d better write it down. Here is how you get a kernel source tree setup for compilation of drivers under Debian, assuming you’re using a Debian provided kernel package.

The information is shamelessly stolen from Martin List-Petersen:

Lets assume you’ve installed kernel-image-2.x.y-z-arch. It could be kernel-image-2.4.25-1-386 in which case x=4, y=25, z=1, arch=386. These numbers are need in the following.

The procedure is this:

Download the kernel source package:

apt-get install kernel-source-2.x.y

Unpack it:

cd /usr/src
tar -xjvf kernel-source-2.x.y.tar.bz2

Install the correct config-file:

cd kernel-source-2.x.y
cp /boot/config-2.x.y-z-arch .config

Generate dependencies and Makefiles:

make-kpkg --append-to-version "-z-arch" --revision 2.x.y-z --config old configure

Check build link:

rm -f /lib/modules/2.x.y-z-arch/build
ln -s /usr/src/kernel-source-2.x.y /lib/modules/2.x.y-z-arch/build

Most drivers will use the build link to find the correct kernel source tree for include files and Makefiles.

With this in place many drivers can be installed with a simple “make install”.