Joined: 14 Jun 2004
|Posted: Sun Sep 24, 2006 3:10 pm Post subject: [HOWTO] remote for Sound Blaster Live! 24 External USB
|I had a lot of problems figuring out how to get the remote to work that came bundled with Creatives SB Live! 24-bit External USB.
Here is what I did.
Lirc uses alsa_usb to handle this remote. So you have to have ALSA installed.
Support for this soundcard got added to alsa 1.0.12.
You have to use alsa-driver until alsa 1.0.12 is in the kernel. Read the Gentoo Linux ALSA guide how to do this.
It is not marked stable yet, so you probably have to unmask it.
When you have alsa-driver working, you can do this:
|$ cat /proc/asound/hwdep |
You should see a line like this:
|03-00: SB Live! 24-bit External remote control |
It means that you have support for the remote in ALSA. The numbers (03-00 in the example) might be different on your system.
To handle the remote you need Lirc.
Add this line to your /etc/make.conf to get support for alsa_usb in Lirc:
Also, make sure that you have the enabled the lirc USE flag in /etc/make.conf
Then emerge Lirc:
The remote is not recognized by Lirc. So you have to define your own /etc/lircd.conf.
You can use a tool called irrecord to do this, or just copy the example below.
|# Please make this file available to others
# by sending it to <email@example.com>
# this config file was automatically generated
# using lirc-0.8.0(userspace) on Sun May 28 21:37:05 2006
# contributed by
# brand: RM-1500
# model no. of remote control:
# devices being controlled by this remote: Sound Blaster Live! 24-Bit External USB
one 0 0
zero 0 0
Add these two lines to your /etc/conf.d/lircd
Start Lirc and you are pretty much done!
|/etc/init.d/lircd start |
If you now start the tool called irw and press a button on your remote, you should see which button you just pressed. Looks something like this:
Here you can see that I pressed up, right and the on/off button.
0000000000000084 00 UP RM-1500
000000000000008a 00 RIGHT RM-1500
000000000000009e 00 ONOFF RM-1500
The only thing you need now is to make the applications understand your remote.
You need to create a file named .lircrc in your home directory. This file configures which button does what in which application.
Read more about the configuration and Lirc in general in the HOWTO LIRC