Christoph Burger-Scheidlin wrote: > Hi, > > On Friday 07 April 2006 01:44, Robin Bowes wrote: >> 2 [default ]: USB-Audio - VOIP USB Phone >> Yealink Network Technology Ltd. VOIP USB Phone >> What must I do to get the right modules loaded to get this device working? > > snd-usb-audio does it for me, so I guess you need to put something like alias > snd-card-2 snd-usb-audio in your /etc/modules.conf (I am not running FC so I > don't know how to set up things there).
Yeah, I tried various things involving snd-usb-audio but couldn't get it to work. Then I stumbled on the problem. The mic and speaker on the phone need to be switched on and turned up, either using amixer or alsamixer. Here's what I did: # /etc/modules.conf: alias snd-card-2 snd-usb-audio alias sound-slot-2 snd-card-2 alias sound-service-2-0 snd-mixer-oss alias sound-service-2-3 snd-pcm-oss alias sound-service-2-12 snd-pcm-oss options snd-card-2 index=2 # depmod -a # amixer -c 2 controls numid=1,iface=MIXER,name='PCM Playback Switch' numid=2,iface=MIXER,name='PCM Playback Switch',index=1 numid=3,iface=MIXER,name='PCM Playback Volume' numid=4,iface=MIXER,name='PCM Playback Volume',index=1 numid=5,iface=MIXER,name='Mic Capture Switch' numid=6,iface=MIXER,name='Mic Capture Switch',index=1 numid=7,iface=MIXER,name='Mic Capture Volume' numid=8,iface=MIXER,name='Mic Capture Volume',index=1 # amixer -c 2 cset numid=3 49150 numid=3,iface=MIXER,name='PCM Playback Volume' ; type=INTEGER,access=rw---,values=1,min=0,max=65534,step=0 : values=49150 # amixer -c 2 cset numid=5 on numid=5,iface=MIXER,name='Mic Capture Switch' ; type=BOOLEAN,access=rw---,values=1 : values=on # amixer -c 2 cset numid=7 49150 numid=7,iface=MIXER,name='Mic Capture Volume' ; type=INTEGER,access=rw---,values=1,min=0,max=65534,step=0 : values=49150 # amixer -c 2 Simple mixer control 'PCM',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 65534 Mono: Playback 49150 [75%] [on] Simple mixer control 'PCM',1 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 65534 Mono: Playback 49150 [75%] [on] Simple mixer control 'Mic',0 Capabilities: cvolume cswitch cswitch-joined Capture channels: Mono Limits: Capture 0 - 65534 Mono: Capture 49150 [75%] [on] Simple mixer control 'Mic',1 Capabilities: cvolume cswitch cswitch-joined Capture channels: Mono Limits: Capture 0 - 65534 Mono: Capture 49150 [75%] [on] I now start skype with the following command line: # cd /home/robin/download/skype_dsp_hijacker-0.7/ # HIJACKDSP=/dev/dsp1 MICDEV=/dev/dsp2 SPEAKERDEV=/dev/dsp2 \ LD_PRELOAD=./libskype_dsp_hijacker.so:/lib/libdl.so.2 skype hijacker: skype_dsp_hijacker v0.7 hijacker: - debug level is 1 hijacker: - double open fix is ON hijacker: when Skype opens DSP /dev/dsp1 hijacker: - microphone used: /dev/dsp2 hijacker: - speakers used: /dev/dsp2 hijacker: when Skype opens mixer /dev/mixer hijacker: - mixer used: /dev/mixer1 Skype is configured to use /dev/dsp1 It works! R. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user