Posts Tagged ‘ALSA’

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.

Bluetooth Audio Headset

Wednesday, February 11th, 2009

I have a Philips SHB6100 bluetooth headset which I have only used with my mobile phone.  A long time ago I tried getting it to work with Debian, but it was too much work for too little.

Today I tried again, and things has changed quite a bit. I had it working in less than five minutes.

The explanations are here: http://wiki.bluez.org/wiki/HOWTO/AudioDevices.

First I put the headset in pairing mode, which is done by pressing the “on” button continuously until the led blinks red/green alternately.

Then the command “hcitool scan” will reveal the BT address of the headset. It looks like a MAC address.

Add this to your ~/.asoundrc:

pcm.bluetooth {
   type bluetooth
   device 00:11:22:33:44:55
}

Replace the address with what “hcitool scan” showed for the headset.

This is it.

Play an song with

mplayer -ao alsa:device=bluetooth yoursong.mp3

and the Gnome bluetooth applet should prompt you for a pairing code for the headset, which is “0000” for the Philips headset.

I use Banshee for my music, and to get Banshee to use the headset, first close it down, then run this command:

gconftool -t string -s /system/gstreamer/0.10/default/musicaudiosink "alsasink device=bluetooth"

and restart Banshee. It will now play to your headset.

The only thing missing now is an easy GUI way for those who don’t want to edit configuration files. In my Gnome setup I have a “System | Preferences | Multimedia Systems Selector” but it doesn’t handle the music player setup or anything bluetooth at all.

Sound on Zepto Znote 3215W almost there

Thursday, January 31st, 2008

Today a Linux 2.6.24 kernel appeared in Debian unstable, so I immediately gave it a try, to see if it did anything to the sound issues on my Zepto Znote 3214W laptop.

First thing, the 2.6.24 kernel has ALSA 1.0.15 which is needed. The Realtek ALC268 doesn’t work with earlier versions of ALSA.

Still the sound didn’t work. I then tried setting different values of model= for the snd-hda-intel module in /etc/modprobe.d/sound, and the setting model=acer did the job.

The whole line is

options snd-hda-intel index=0 model=acer

There is one remaining problem: when I plug in headphones the speakers aren’t turned off automatically. For now I’ll just have to do that manually, but I believe it is fixed in a later version of ALSA.