linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-users] Re: Bluetooth headset


From: Dragos D
Subject: Re: [Linphone-users] Re: Bluetooth headset
Date: Sat, 15 May 2010 07:54:58 -0400

If it is a sample rate issue you may try different audio codecs for different sample rates. Enable just one codec that uses the rate you are currently testing...
Dragos

On Sat, May 15, 2010 at 5:56 AM, Alastair Johnson <address@hidden> wrote:
On Saturday 15 May 2010, Grant wrote:
> >> >> My bluetooth headset works in twinkle and aplay, and I've been trying
> >> >> all day to get it to work in linphone with no luck.
> >> >>
> >> >> I've added this to /etc/asound.conf:
> >> >>
> >> >> pcm.bluetooth {
> >> >>        type bluetooth
> >> >>        device 00:11:22:33:44:55
> >> >> }
> >> >>
> >> >> and this to .linphonerc:
> >> >>
> >> >> alsadev=pcm.bluetooth
> >> >>
> >> >> I can select "pcm.bluetooth" in linphone but it doesn't produce or
> >> >> capture any sound.  Does anyone have any suggestions?
> >> >>
> >> >> - Grant
> >> >
> >> > I should also mention that I get errors like these in dmesg:
> >> >
> >> > hci_scodata_packet: hci0 SCO packet for unknown connection handle 0
> >> > btusb_isoc_complete: hci0 corrupted SCO packet
> >> > btusb_bulk_complete: hci0 urb failed to resubmit (19)
> >> > btusb_send_frame: hci0 urb submission failed
> >> >
> >> > - Grant
> >>
> >> No ideas on this at all?  Is anyone using linphone with a bluetooth
> >>  headset?
> >
> > The little experience I have with bluetooth headsets is on Openmoko, and
> > that has unusual bluetooth audio routing. I have 'profile "auto"' after
> > the 'device' line in asound.conf but I don't know if it's necessary. I
> > haven't tried it with linphone yet.
> >
> > The errors look like driver errors. I don't know what linphone might be
> > doing to provoke them though.
>
> The bluetooth headset works perfectly in skype so it's definitely a
> linphone issue.  Any other ideas on this?

You're assuming they have identical access patterns. Say the driver advertises
two sample rates, but only supports one of them. Skype requests the working
one, and linphone requests the broken one. Skype works, linphone doesn't, but
the bug is in the driver. I'm not saying that's what's happening here, but the
messages you report are at the driver level. We don't have evidence yet to
show whether linphone is causing this by behaving incorrectly, or whether it
is doing everything as it should but in an unusual way that provokes a bug in
the driver.

_______________________________________________
Linphone-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/linphone-users


reply via email to

[Prev in Thread] Current Thread [Next in Thread]