Linux bluetooth development
 help / color / mirror / Atom feed
* [Bluez-devel] Broadcom adapter
@ 2006-06-04 22:14 Eduardo Margallo
  2006-06-05  4:41 ` Brad Midgley
  0 siblings, 1 reply; 7+ messages in thread
From: Eduardo Margallo @ 2006-06-04 22:14 UTC (permalink / raw)
  To: BlueZ development

Hi there,

I just bought a sweex USB BT adapter featuring a BCM2035. Everything
works fine (pand/dund), except for the SCO links to my Jabra BT205.
The symptoms are the same ones that have already been reported in this
list a couple of times: volume control works fine, but no audio comes
from/to the headset. Some white noise is audible while the channel is
open, but no bytes are transfered over SCO. I applied the patch for
the Broadcom MTU problem, but it made no difference.

I have been investigating a bit around the code. I am not familiar
with bluez and my knowledge of BT is limited. However, I found that
I'm getting -ERESTARTSYS (-512) errors in snd_card_bt_sco_thread
coming from bt_sock_recvmsg. It looks like quite an exotic error code
to me. Further I have difficulty tracking where it comes from. Is this
code normal?

I have attached a typical log with extended debug info for one of
these failed SCO connection attempts. Do you have any ideas what might
be wrong? Perhaps some pointers or suggestions to track the problem
down?

Regards,

Eduardo

sco_connect_cfm: hcon c1bb0120 bdaddr D3:73:7C:17:13:00 status 0
sco_conn_ready: conn c07985c0
sco_sock_clear_timer: sock c124ea00 state 5
sco_sock_getsockopt: sk c124ea00
sco_sock_getsockopt: sk c124ea00
sco_sock_getsockopt: mtu 64
bt_sock_poll: sock c1ce80c0, sk c1d6ca00
** Waiting for read
bt_sock_recvmsg: sock c1ce8540 sk c124ea00 len 256
** bt_sock_recvmsg: sk->sk_err = 0 before calling skb
** bt_sock_recvmsg: Error fffffe00 reading datagram from socket c124ea00
** read len -512 bytes from socket c1ce8540
** read negative length from socket c1ce8540!!!
hci_usb_rx_complete: hci0 urb c1a3a354 type 4 status 0 count 7 flags 0
__recv_frame: hci0 type 4 data c178bcc0 count 7
__recv_frame: new packet len 7
hci_usb_rx_complete: hci0 urb c1a3a354 type 4 resubmit status 0
** Waiting for read
bt_sock_recvmsg: sock c1ce8540 sk c124ea00 len 256
** bt_sock_recvmsg: sk->sk_err = 0 before calling skb
hci_usb_rx_complete: hci0 urb c1a3af54 type 2 status 0 count 21 flags 0
__recv_frame: hci0 type 2 data c1b9f800 count 21
__recv_frame: new packet len 21
hci_usb_rx_complete: hci0 urb c1a3af54 type 2 resubmit status 0
hci_usb_rx_complete: hci0 urb c1a3af54 type 2 status 0 count 6 flags 0
__recv_frame: hci0 type 2 data c1b9f800 count 6
__recv_frame: new packet len 6
hci_usb_rx_complete: hci0 urb c1a3af54 type 2 resubmit status 0
bt_sock_poll: sock c1ce80c0, sk c1d6ca00
hci_usb_send_frame: hci0 type 2 len 18
hci_usb_tx_process: hci0
hci_usb_send_bulk: hci0 skb c1d0a460 len 18
__tx_submit: hci0 urb c1a3a554 type 2
hci_usb_tx_complete: hci0 urb c1a3a554 status 0 flags 0
hci_usb_tx_process: hci0
bt_sock_poll: sock c1ce80c0, sk c1d6ca00
hci_usb_rx_complete: hci0 urb c1a3a354 type 4 status 0 count 7 flags 0
__recv_frame: hci0 type 4 data c178bcc0 count 7
__recv_frame: new packet len 7
hci_usb_rx_complete: hci0 urb c1a3a354 type 4 resubmit status 0
snd-bt-sco: playback_trigger 0
snd-bt-sco: setting playback to NULL
bt_sock_poll: sock c1ce80c0, sk c1d6ca00
snd-bt-sco: Disposing of previous socket count 3
** bt_sock_recvmsg: Error fffffe00 reading datagram from socket c124ea00
** read len -512 bytes from socket c1ce8540


_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-06-17 22:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-04 22:14 [Bluez-devel] Broadcom adapter Eduardo Margallo
2006-06-05  4:41 ` Brad Midgley
2006-06-05 10:54   ` [Bluez-devel] Belkin Eric Boon
2006-06-05 11:53     ` Eric Boon
2006-06-05 13:26       ` Eric Boon
2006-06-12 20:19   ` [Bluez-devel] Broadcom adapter Eduardo Margallo
2006-06-17 22:00     ` Eduardo Margallo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox