This seems definitely more a Bluez bug than a kernel bug. (But of course the 
kernel could be held responsible for the Bluez problems :-)
lsusb | grep tooth
Bus 001 Device 004: ID 2001:f111 D-Link Corp. [hex] DBT-122 Bluetooth adapter
uname -r
2.6.28-8-generic
dpkg -l blue*
ii  bluetooth      4.30-0ubuntu1  Bluetooth support
ii  bluez          4.30-0ubuntu1  Bluetooth tools and daemons
ii  bluez-alsa     4.30-0ubuntu1  Bluetooth audio support
ii  bluez-cups     4.30-0ubuntu1  Bluetooth printer driver for CUPS
ii  bluez-gnome    1.8-0ubuntu2   Bluetooth utilities for GNOME
ii  bluez-gstreame 4.30-0ubuntu1  Bluetooth gstreamer support
ii  bluez-utils    4.30-0ubuntu1  Transitional package
dpkg -l libblue*
ii  libbluetooth3  4.30-0ubuntu3  Library to use the BlueZ Linux Bluetooth sta

+++++++++++++++++++++++++++++++++++++++++++++++
Without Bluez, the dongle functions with btusb.
With bluetoothd started, things are broken.
+++++++++++++++++++++++++++++++++++++++++++++++

I stop everything:
sudo /etc/init.d/bluetooth stop
sudo hciconfig hci0 down
sudo rmmod btusb
sudo hciconfig hci0
Can't get device info: No such device

I start btusb and hci0:
sudo modprobe btusb
sudo hciconfig hci0
hci0:   Type: USB
        BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
        DOWN 
        RX bytes:0 acl:0 sco:0 events:0 errors:0
        TX bytes:0 acl:0 sco:0 commands:0 errors:0
sudo hciconfig hci0 up
sudo hciconfig
hci0:   Type: USB
        BD Address: 00:13:46:00:55:A0 ACL MTU: 377:10 SCO MTU: 16:0
        UP RUNNING 
        RX bytes:342 acl:0 sco:0 events:10 errors:0
        TX bytes:35 acl:0 sco:0 commands:10 errors:0
sudo hciconfig -a
hci0:   Type: USB
        BD Address: 00:13:46:00:55:A0 ACL MTU: 377:10 SCO MTU: 16:0
        UP RUNNING 
        RX bytes:342 acl:0 sco:0 events:10 errors:0
        TX bytes:35 acl:0 sco:0 commands:10 errors:0
        Features: 0xff 0xfe 0x0d 0x38 0x08 0x08 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        Link policy: 
        Link mode: SLAVE ACCEPT 
        Name: 'Broadcom BCM2035'
        Class: 0x000000
        Service Classes: Unspecified
        Device Class: Miscellaneous, 
        HCI Ver: 1.2 (0x2) HCI Rev: 0x0 LMP Ver: 1.2 (0x2) LMP Subver: 0x309
        Manufacturer: Broadcom Corporation (15)
sudo hcitool scan
Scanning ...
        00:13:70:0E:8A:77       Nokia 6021
sudo hcitool info 00:13:70:0E:8A:77
Requesting information ...
        BD Address:  00:13:70:0E:8A:77
        Device Name: Nokia 6021
        LMP Version: 1.2 (0x2) LMP Subversion: 0x4db
        Manufacturer: Cambridge Silicon Radio (10)
        Features: 0xbf 0xee 0x0f 0x40 0x18 0x18 0x00 0x00
                <3-slot packets> <5-slot packets> <encryption> <slot offset> 
                <timing accuracy> <role switch> <sniff mode> <RSSI> 
                <channel quality> <SCO link> <HV3 packets> <u-law log> 
                <A-law log> <CVSD> <paging scheme> <power control> 
                <transparent SCO> <inquiry with RSSI> <AFH cap. slave> 
                <AFH class. slave> <AFH cap. master> <AFH class. master>
sudo l2ping 00:13:70:0E:8A:77
Ping: 00:13:70:0E:8A:77 from 00:13:46:00:55:A0 (data size 44) ...
0 bytes from 00:13:70:0E:8A:77 id 0 time 11.87ms
0 bytes from 00:13:70:0E:8A:77 id 1 time 32.88ms
0 bytes from 00:13:70:0E:8A:77 id 2 time 12.89ms
0 bytes from 00:13:70:0E:8A:77 id 3 time 12.91ms
0 bytes from 00:13:70:0E:8A:77 id 4 time 11.90ms
0 bytes from 00:13:70:0E:8A:77 id 5 time 10.91ms
^C6 sent, 6 received, 0% loss

Looks like the dongle is functioning OK. It sees my phone and pings it.

I start bluetootd: sudo /etc/init.d/bluetooth start
 * Starting bluetooth

Now things are broken:
sudo hciconfig -a
hci0:   Type: USB
        BD Address: 00:13:46:00:55:A0 ACL MTU: 377:10 SCO MTU: 16:0
        UP RUNNING 
        RX bytes:1600 acl:6 sco:0 events:58 errors:0
        TX bytes:1056 acl:6 sco:0 commands:43 errors:0
        Features: 0xff 0xfe 0x0d 0x38 0x08 0x08 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        Link policy: 
        Link mode: SLAVE ACCEPT 
Can't read local name on hci0: Connection timed out (110)
sudo hcitool info 00:13:70:0E:8A:77
Requesting information ...
Can't create connection: Connection timed out
sudo l2ping 00:13:70:0E:8A:77
Can't connect: Connection timed out

Stays broken even when stopping the daemon:
sudo /etc/init.d/bluetooth stop
 * Stopping bluetooth                                                    [ OK ] 
sudo hciconfig -a
hci0:   Type: USB
        BD Address: 00:13:46:00:55:A0 ACL MTU: 377:10 SCO MTU: 16:0
        UP RUNNING 
        RX bytes:1613 acl:6 sco:0 events:59 errors:0
        TX bytes:1097 acl:6 sco:0 commands:48 errors:0
        Features: 0xff 0xfe 0x0d 0x38 0x08 0x08 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        Link policy: 
        Link mode: SLAVE ACCEPT 
Can't read local name on hci0: Connection timed out (110)

-- 
Bluetooth/Bluez 4.xx unable to use some adapters
https://bugs.launchpad.net/bugs/329828
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to