USB Headset

From WikiDoc

With the following command you can check yours sound configuration. If USB Headset is first than is it bad and you have to change it.

$ cat /proc/asound/cards
 0 [Headset        ]: USB-Audio - Logitech USB Headset
                      Logitech Logitech USB Headset at usb-0000:00:07.2-1, full speed
 1 [Solo1          ]: ES1938 - ESS ES1938 (Solo-1)
                      ESS ES1938 (Solo-1) rev 0, irq 5

The command lsmod help you find out the correct sound card module.

$ lsmod | grep "es1938"
snd_es1938             17156  0 
gameport               10376  2 snd_es1938
snd_pcm                59528  3 snd_pcm_oss,snd_es1938,snd_usb_audio
snd_opl3_lib            7680  1 snd_es1938
snd_mpu401_uart         6016  1 snd_es1938
snd                    39200  17 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_es1938,snd_usb_audio,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device

In this case is the sound card module snd_es1938 and now you can insert snd_es1938 and snd_usb_audio in /etc/modprobe.conf

$ su
# gedit /etc/modprobe.conf
snd_es1938
snd_usb_audio

After this you can reboot your computer. Afterwards you can check again. $ cat /proc/asound/cards

0 [Solo1          ]: ES1938 - ESS ES1938 (Solo-1)
                     ESS ES1938 (Solo-1) rev 0, irq 5
1 [Headset        ]: USB-Audio - Logitech USB Headset
                     Logitech Logitech USB Headset at usb-0000:00:07.2-1, full speed

</pre> If USB Headset is in the second position than looking good.

For USB Headset configuration you can use this:

$ alsamixer -c 1

Many USB Headset have additional keys and these can you use:

$ gedit ~/.Xmodmap
!! USB Headset keys. You can check it with xev!
keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume

and then type:

$ xmodmap ~/.Xmodmap

After this you can reboot your computer.

--Xyz 22:09, 23 April 2008 (CEST)