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

bluetooth headset no longer working



Hi,

Running fairly uptodate Sid.  In the past (most recently, several
months ago?) I've successfully used a bluetooth headset; it no longer
works.  The headset connects (it shows as connected in the Gnome
bluetooth applet, and I hear the various tones / beeps from the headset
that it uses to signal a connection), but the audio process trying to
send it sound just hangs, and no sound comes from the headset.  It
remains connected until I kill the process.

Details and logs:

The headset is a Plantronics Voyager 510, and the bluetooth adapter
uses a Broadcom chip, supported by the kernel.  From lsusb:

Bus 002 Device 002: ID 0a5c:2121 Broadcom Corp. BCM2210 Bluetooth

My .asoundrc:

pcm.bluetooth {
        type bluetooth
        device 00:19:7F:40:06:2D
        profile auto
}

[I've tried both with and without the 'profile auto' line, and I've also
tried a plug / slave configuration, with the same results.]

I try (and abort with ^C after some twenty seconds):

~$ aplay -D bluetooth /usr/share/sounds/alsa/Noise.wav 
Playing WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Warning: rate is not accurate (requested = 48000Hz, got = 8000Hz)
         please, try the plug plugin (-Dplug:bluetooth)
^CAborted by signal Interrupt...

>From syslog:

Apr 12 18:44:18 lizzie hcid[4656]: Audio API: received BT_GETCAPABILITIES_REQ
Apr 12 18:44:18 lizzie hcid[4656]: Audio API: sending BT_GETCAPABILITIES_RSP
Apr 12 18:44:18 lizzie hcid[4656]: Audio API: received BT_SETCONFIGURATION_REQ
Apr 12 18:44:18 lizzie hcid[4656]: config sco - device = 00:19:7F:40:06:2D access_mode = 2
Apr 12 18:44:21 lizzie hcid[4656]: link_key_request (sba=00:19:86:00:2C:40, dba=00:19:7F:40:06:2D)
Apr 12 18:44:26 lizzie hcid[4656]: SCO fd=18
Apr 12 18:44:26 lizzie hcid[4656]: Audio API: sending BT_SETCONFIGURATION_RSP
Apr 12 18:44:26 lizzie hcid[4656]: Audio API: received BT_STREAMSTART_REQ
Apr 12 18:44:26 lizzie hcid[4656]: Audio API: sending BT_STREAMSTART_RSP
Apr 12 18:44:26 lizzie hcid[4656]: Audio API: sending BT_STREAMFD_IND
Apr 12 18:44:26 lizzie kernel: [ 2974.186568] btusb_isoc_complete: hci0 corrupted SCO packet
Apr 12 18:44:26 lizzie kernel: [ 2974.186599] hci_scodata_packet: hci0 SCO packet for unknown connection handle 0
Apr 12 18:44:26 lizzie kernel: [ 2974.186603] hci_scodata_packet: hci0 SCO packet for unknown connection handle 0
Apr 12 18:44:26 lizzie kernel: [ 2974.186607] hci_scodata_packet: hci0 SCO packet for unknown connection handle 0
Apr 12 18:44:26 lizzie kernel: [ 2974.186610] hci_scodata_packet: hci0 SCO packet for unknown connection handle 0
Apr 12 18:44:26 lizzie kernel: [ 2974.186614] hci_scodata_packet: hci0 SCO packet for unknown connection handle 0

I simultaneously run 'hcidump > hcidump'.

~# wc hcidump 
  7908  71201 317137 hcidump

hcidump contains:

HCI sniffer - Bluetooth packet analyzer ver 1.42
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Link Key Request (0x17) plen 6
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
> HCI Event: Command Complete (0x0e) plen 10
> HCI Event: Connect Complete (0x03) plen 11
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Read Remote Supported Features (0x0b) plen 11
< ACL data: handle 11 flags 0x02 dlen 10
    L2CAP(s): Info req: type 2
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Remote Name Req Complete (0x07) plen 255
< ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 3 scid 0x0040
> ACL data: handle 11 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0041 scid 0x0040 result 0 status 0
      Connection successful
< ACL data: handle 11 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 4
      MTU 1013 
> ACL data: handle 11 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
      Success
> ACL data: handle 11 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
      MTU 1013 
< ACL data: handle 11 flags 0x02 dlen 18
    L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 4
      MTU 1013 
< ACL data: handle 11 flags 0x02 dlen 8
    L2CAP(d): cid 0x0041 len 4 [psm 3]
      RFCOMM(s): SABM: cr 1 dlci 0 pf 1 ilen 0 fcs 0x1c 
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 11 flags 0x02 dlen 8
    L2CAP(d): cid 0x0040 len 4 [psm 3]
      RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7 
< ACL data: handle 11 flags 0x02 dlen 18
    L2CAP(d): cid 0x0041 len 14 [psm 3]
      RFCOMM(s): PN CMD: cr 1 dlci 0 pf 0 ilen 10 fcs 0x70 mcc_len 8
      dlci 2 frame_type 0 credit_flow 15 pri 7 ack_timer 0
      frame_size 1008 max_retrans 0 credits 7
> ACL data: handle 11 flags 0x02 dlen 18
    L2CAP(d): cid 0x0040 len 14 [psm 3]
      RFCOMM(s): PN RSP: cr 0 dlci 0 pf 0 ilen 10 fcs 0xaa mcc_len 8
      dlci 2 frame_type 0 credit_flow 14 pri 7 ack_timer 0
      frame_size 127 max_retrans 0 credits 0
< ACL data: handle 11 flags 0x02 dlen 8
    L2CAP(d): cid 0x0041 len 4 [psm 3]
      RFCOMM(s): SABM: cr 1 dlci 2 pf 1 ilen 0 fcs 0x59 
> ACL data: handle 11 flags 0x02 dlen 8
    L2CAP(d): cid 0x0040 len 4 [psm 3]
      RFCOMM(s): UA: cr 1 dlci 2 pf 1 ilen 0 fcs 0x92 
< ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(d): cid 0x0041 len 8 [psm 3]
      RFCOMM(s): MSC CMD: cr 1 dlci 0 pf 0 ilen 4 fcs 0x70 mcc_len 2
      dlci 2 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 0 b2 0 b3 0 len 0
< HCI Command: Setup Synchronous Connection (0x01|0x0028) plen 17
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Synchronous Connect Complete (0x2c) plen 17
> SCO data: handle 1 flags 0x00 dlen 48
> SCO data: handle 0 flags 0x00 dlen 0
> SCO data: handle 0 flags 0x00 dlen 0
> SCO data: handle 0 flags 0x00 dlen 0
> SCO data: handle 0 flags 0x00 dlen 0
> SCO data: handle 0 flags 0x00 dlen 0
> SCO data: handle 1 flags 0x00 dlen 48
> SCO data: handle 1 flags 0x00 dlen 48
> SCO data: handle 1 flags 0x00 dlen 48
> ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(d): cid 0x0040 len 8 [psm 3]
      RFCOMM(s): MSC CMD: cr 0 dlci 0 pf 0 ilen 4 fcs 0xaa mcc_len 2
      dlci 2 fc 0 rtc 1 rtr 1 ic 0 dv 0 b1 0 b2 0 b3 0 len 0
< ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(d): cid 0x0041 len 8 [psm 3]
      RFCOMM(s): MSC RSP: cr 1 dlci 0 pf 0 ilen 4 fcs 0x70 mcc_len 2
      dlci 2 fc 0 rtc 1 rtr 1 ic 0 dv 0 b1 0 b2 0 b3 0 len 0
> SCO data: handle 1 flags 0x00 dlen 48
> SCO data: handle 1 flags 0x00 dlen 48
> SCO data: handle 1 flags 0x00 dlen 48
> SCO data: handle 1 flags 0x00 dlen 48
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(d): cid 0x0040 len 8 [psm 3]
      RFCOMM(s): MSC RSP: cr 0 dlci 0 pf 0 ilen 4 fcs 0xaa mcc_len 2
      dlci 2 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 0 b2 0 b3 0 len 0
< ACL data: handle 11 flags 0x02 dlen 9
    L2CAP(d): cid 0x0041 len 5 [psm 3]
      RFCOMM(d): UIH: cr 1 dlci 2 pf 1 ilen 0 fcs 0x86 credits 33
> SCO data: handle 1 flags 0x00 dlen 48
> SCO data: handle 1 flags 0x00 dlen 48
> SCO data: handle 1 flags 0x00 dlen 48
> SCO data: handle 1 flags 0x00 dlen 48
> SCO data: handle 1 flags 0x00 dlen 48
> SCO data: handle 1 flags 0x00 dlen 48
> ACL data: handle 11 flags 0x02 dlen 9
    L2CAP(d): cid 0x0040 len 5 [psm 3]
      RFCOMM(d): UIH: cr 0 dlci 2 pf 1 ilen 0 fcs 0x5c credits 15
< ACL data: handle 11 flags 0x02 dlen 18
    L2CAP(d): cid 0x0041 len 14 [psm 3]
      RFCOMM(d): UIH: cr 1 dlci 2 pf 0 ilen 10 fcs 0x9a 
< ACL data: handle 11 flags 0x02 dlen 19
    L2CAP(d): cid 0x0041 len 15 [psm 3]
      RFCOMM(d): UIH: cr 1 dlci 2 pf 0 ilen 11 fcs 0x9a 
 SCO data: handle 1 flags 0x00 dlen 48

*** Snipped about 50 lines identical to the above ***

> HCI Event: Number of Completed Packets (0x13) plen 5
> SCO data: handle 1 flags 0x00 dlen 48

*** Snipped 7800+ lines identical to the above ***

 HCI Command: Disconnect (0x01|0x0006) plen 3
> SCO data: handle 1 flags 0x00 dlen 48
> SCO data: handle 1 flags 0x00 dlen 48
> SCO data: handle 1 flags 0x00 dlen 48
> SCO data: handle 1 flags 0x00 dlen 48
> HCI Event: Command Status (0x0f) plen 4
> SCO data: handle 1 flags 0x00 dlen 48
> SCO data: handle 1 flags 0x00 dlen 48
> SCO data: handle 1 flags 0x00 dlen 48
> HCI Event: Disconn Complete (0x05) plen 4
< ACL data: handle 11 flags 0x02 dlen 8
    L2CAP(d): cid 0x0041 len 4 [psm 3]
      RFCOMM(s): DISC: cr 1 dlci 2 pf 1 ilen 0 fcs 0xb8 
> ACL data: handle 11 flags 0x02 dlen 8
    L2CAP(d): cid 0x0040 len 4 [psm 3]
      RFCOMM(s): UA: cr 1 dlci 2 pf 1 ilen 0 fcs 0x92 
< ACL data: handle 11 flags 0x02 dlen 8
    L2CAP(d): cid 0x0041 len 4 [psm 3]
      RFCOMM(s): DISC: cr 1 dlci 0 pf 1 ilen 0 fcs 0xfd 
< ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0041 scid 0x0040
> ACL data: handle 11 flags 0x02 dlen 8
    L2CAP(d): cid 0x0040 len 4 [psm 3]
      RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7 
> ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0041 scid 0x0040
> HCI Event: Number of Completed Packets (0x13) plen 5
< HCI Command: Disconnect (0x01|0x0006) plen 3
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Disconn Complete (0x05) plen 4

Any ideas?

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


Reply to: