[Pkg-bluetooth-maintainers] Bug#628454: Bug#628454: Cambridge Silicon Radio - HCI Timeout following bluez upgrade
Nobuhiro Iwamatsu
iwamatsu at nigauri.org
Tue May 31 09:26:01 UTC 2011
Hi,
I am tested on Cambridge Silicon Radio. Work fine.
I attached env and infomation of my USB dongle.
$ uname -a
Linux xps-iwamatsu 2.6.38-2-amd64 #1 SMP Sun May 8 13:51:57 UTC 2011
x86_64 GNU/Linux
$ dpkg -l | grep bluez
ii bluez 4.93-1
Bluetooth tools and daemons
ii bluez-alsa 4.93-1
Bluetooth ALSA support
ii bluez-audio 4.93-1
Transitional package
ii bluez-compat 4.93-1
BlueZ 3.x compatibility binaries
ii bluez-cups 4.93-1
Bluetooth printer driver for CUPS
ii bluez-gstreamer 4.93-1
Bluetooth GStreamer support
ii bluez-pcmcia-support 4.91-1
PCMCIA support files for BlueZ 2.0 Bluetooth tools
ii bluez-utils 4.93-1
Transitional package
$ hciconfig -a
hci0: Type: BR/EDR Bus: USB
BD Address: XX:XX:XX:XX:XX:XX ACL MTU: 1017:7 SCO MTU: 64:1
UP RUNNING PSCAN ISCAN
RX bytes:17791 acl:49 sco:0 events:751 errors:0
TX bytes:3424 acl:47 sco:0 commands:207 errors:0
Features: 0xff 0xfe 0x8d 0xfe 0x9b 0xf9 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF
Link mode: SLAVE ACCEPT
Name: 'test-0'
Class: 0x4a0104
Service Classes: Networking, Capturing, Telephony
Device Class: Computer, Desktop workstation
HCI Version: 2.0 (0x3) Revision: 0x214c
LMP Version: 2.0 (0x3) Subversion: 0x41f4
Manufacturer: Broadcom Corporation (15)
hci1: Type: BR/EDR Bus: USB
BD Address: XX:XX:XX:XX:XX:XX ACL MTU: 384:8 SCO MTU: 64:8
UP RUNNING PSCAN
RX bytes:938 acl:0 sco:0 events:24 errors:0
TX bytes:349 acl:0 sco:0 commands:24 errors:0
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'test-1'
Class: 0x4a0100
Service Classes: Networking, Capturing, Telephony
Device Class: Computer, Uncategorized
HCI Version: 2.0 (0x3) Revision: 0x7a6
LMP Version: 2.0 (0x3) Subversion: 0x7a6
Manufacturer: Cambridge Silicon Radio (10)
$ sudo lsusb -v
<snip>
Bus 004 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd
Bluetooth Dongle (HCI mode)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 224 Wireless
bDeviceSubClass 1 Radio Frequency
bDeviceProtocol 1 Bluetooth
bMaxPacketSize0 64
idVendor 0x0a12 Cambridge Silicon Radio, Ltd
idProduct 0x0001 Bluetooth Dongle (HCI mode)
bcdDevice 19.58
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 177
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0009 1x 9 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0009 1x 9 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0011 1x 17 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0011 1x 17 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0019 1x 25 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0019 1x 25 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 4
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0021 1x 33 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0021 1x 33 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 5
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0031 1x 49 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0031 1x 49 bytes
bInterval 1
Device Status: 0x0001
Self Powered
2011/5/29 Mark Hobley <markhobley at yahoo.co.uk>:
> Package: bluez
> Version: 4.93-1
> Severity: normal
> Tags: sid
>
> There has been a long term problem (approx 3 years) using bluetooth, due to a
> timeout error occuring when an attempt is made to initialize the bluetooth
> device. (Debian #525220)
>
> However, I recently upgraded the kernel to 2.6.39-1 from experimental and
> rebooted the system. Initially, after typing hcitool inq, the system showed
> that my mobile phone was present, so it appeared as though bluetooth was at
> least momentarily partially working. However, from the mobile phone, the
> computer was not listed, and it appeared as though the computer was somehow
> hidden from view.
>
> I upgraded bluez to version 4.93-1 from Debian experimental, in the hope that
> this might fix the visibility problem.
>
> Following a reboot of the system, bluetooth now appears to be broken again:
>
> hciconfig -a
>
> hci0: Type: BR/EDR Bus: USB BD Address: 00:1F:81:00:01:1C ACL MTU: 1021:4 SCO MTU: 180:1 DOWN RX bytes:59 acl:0 sco:0 events:5 errors:0 TX bytes:15 acl:0 sco:0 commands:36 errors:31 Features: 0xff 0x3e 0x09 0x76 0x80 0x01 0x00 0x80 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: Link mode: SLAVE ACCEPT
>
> I now try to bring the interface into operational mode, and the timeout error reoccurs:
>
> hciconfig hci0 up Can't init device hci0: Connection timed out (110)
>
> dmesg shows squillions of errors as follows:
>
> [nnnn.nnnnnn] hci_cmd_timer: hci0 command tx timeout
>
> It looks to me that this problem is now occuring as a result of the upgrade of
> bluez.
>
> Mark.
>
> -- System Information:
> Debian Release: 6.0.1
> APT prefers stable
> APT policy: (990, 'stable'), (50, 'unstable'), (1, 'experimental')
> Architecture: i386 (i386)
>
> Kernel: Linux 2.6.39-1-486
> Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages bluez depends on:
> ii dbus 1.2.24-4 simple interprocess messaging syst
> ii libbluetooth3 4.93-1 Library to use the BlueZ Linux Blu
> ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
> ii libcap-ng0 0.6.4-1 An alternate posix capabilities li
> ii libdbus-1-3 1.2.24-4 simple interprocess messaging syst
> ii libglib2.0-0 2.28.6-2 GLib library of C routines
> ii libusb-0.1-4 2:0.1.12-16 userspace USB programming library
> ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
> ii makedev 2.3.1-89 creates device files in /dev
> ii module-init-tools 3.12-1 tools for managing Linux kernel mo
> ii python-dbus 0.83.1-1 simple interprocess messaging syst
> ii python-gobject 2.21.4+is.2.21.3-1 Python bindings for the GObject li
> ii udev 164-3 /dev/ and hotplug management daemo
>
> bluez recommends no packages.
>
> bluez suggests no packages.
>
> -- no debconf information
>
>
>
> _______________________________________________
> Pkg-bluetooth-maintainers mailing list
> Pkg-bluetooth-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-bluetooth-maintainers
>
--
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6
More information about the Pkg-bluetooth-maintainers
mailing list