I am trying to set up a Logitech USB H530 headset as my audio device on my R_pi , hoping to do VOIP using Ekiga or Twinkle or Puppy's Psip softphone.
I have found several reports of this headset working out-of-the-box on Debian and Ubuntu on x86 devices, so I thought the headset might work with R_pi.
I plug the Logitech H530 into a D-Link 7-port powered USB 2.0 hub, which is plugged into the R_pi. lsusb and lsmod both see the Logitech H530.
I have made the Logitech H530 my primary device, and my aplay -l is:
Code: Select all
Card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
(ALSA subdevices list)
Card 1: Headset [Logitech USB Headset], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
and my /etc/asound.conf is
Code: Select all
pcm.! default{
type hw
card1
}
ctl! default {
type hw
card 1
}
I can use something like "arecord -f S16_LE test.wave" to record, and "aplay test.wav" to play my recording. and can use gnome-mplayer to play commercially prepared wma music files.
I really would like to use VOIP on my R_pi. I have Twinkle version 1.4.2 running on my R_pi system (I have the same version of Twinkle running "normally" on an x86 netbook for comparison).
On my R_pi, when I dial a number, it will fail to connect, or often connect but then I receive a disconnect after 2-3 seconds. For example, SIP providers often provide an "echo chamber" to test one's send and receive capability. When I try this with R_pi/Twinkle, I get a voice explaing how to use the service but typically after 1 sentence the voice disappears. Twinkle is still there and apparently stable and responsive (there is a timer to record the duration of the call, and it is still ticking away). I manually have to terminate the call. The active twinkle window says "far end answered call", but the Twinkle log says "SIP/2.0 404 not found".
R_pi's dmesg says "usb 1-1.2.2 reset full-speed usb device number 6 using dwc-otg", and of course device number 6 is the Logitech USB headset. Often dmesg also contains a line such as "retire_capture_urb: 45 callbacks supressed".
I am using Raspbian 3.2.27+ #96 PREEMPT with sdhci-bcm2708.enable_llm=1 and dwc_otg.microframe_schedule=1 added.
Twinkle (with the same configuration as on the R_pi) works as expected on the x86 netbook under Puppy Linux.
How can I improve on this situation?