Skip to contentSkip to conversation

can't establish a connection

Bluez-users ben4fun 4 participants 16 messages Aug 5, 2004 – Aug 18, 2004 4 messages not in the archive Bluetooth drivers

lore
Share & tools
lore

ben4fun

author
#0 lore raw

Good evening,

I have a bluetooth dongle (broadcom) which is recognised when I plugged it. I think so because kdebluetooth says that an adaptor was found. But I can't pair it to my mobile phone (SE T610). The dongle doesn't recognise any incoming connection.

I found on the mailing list archive the following command: " hciconfig -a" this is what I obtained. I hope it could help.

"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:3 acl:0 sco:0 commands:1 errors:0
Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Packet type: DM1 DH1 HV1
Link policy:
Link mode: SLAVE ACCEPT"

I maybe should say that I have a mandrake 10.0 and the kernel 2.6.3.

Regards,

Ben.

maintainer
#1 lore raw

Hi Ben,

Quoted 18 lines

I have a bluetooth dongle (broadcom) which is recognised when I plugged it. I think so because kdebluetooth says that an adaptor was found. But I can't pair it to my mobile phone (SE T610). The dongle doesn't recognise any incoming connection.

I found on the mailing list archive the following command: " hciconfig -a" this is what I obtained. I hope it could help.

"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:3 acl:0 sco:0 commands:1 errors:0
Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Packet type: DM1 DH1 HV1
Link policy:
Link mode: SLAVE ACCEPT"

Quoted 1 line

I maybe should say that I have a mandrake 10.0 and the kernel 2.6.3.

go on with "hciconfig hci0 up" and have fun with your dongle.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#3 lore raw
In reply to a message not in the archive

Hi Ben,

Quoted 2 lines

Unfortunately it gives me "Can't init device hci0. Connection timed out(110)" Too bad.

show us the content of the /proc/bus/usb/devices file.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#5 lore raw
In reply to a message not in the archive

Hi Ben,

Quoted 3 lines
Quoted 1 line

show us the content of the /proc/bus/usb/devices file.

The file is absolutely empty, there is not a line.

activate the USB device filesystem in your kernel and mount it. Look at the USB howto for more details.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#6 lore raw
In reply to Marcel Holtmann

add=20

none /proc/bus/usb usbdevfs faults 0 0

into /etc/fstab

then write

mount -a=20

and try again

M.
Dne p=E1 6. srpna 2004 01:22 Marcel Holtmann napsal(a):

Quoted 14 lines

Hi Ben,

Quoted 2 lines

Unfortunately it gives me "Can't init device hci0. Connection timed out(110)" Too bad.

show us the content of the /proc/bus/usb/devices file.

Regards

Marcel

Quoted 9 lines

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#8 lore raw
In reply to a message not in the archive

Then add into your kernel config
CONFIG_USB_DEVICEFS=3Dy
and recompile

And pls, write into mailing list!

M.

Dne p=E1 6. srpna 2004 18:21 jste napsal(a):

Quoted 5 lines

Hi,

Quoted 3 lines

add

none /proc/bus/usb usbdevfs faults 0 =

0

Quoted 22 lines
Quoted 5 lines

into /etc/fstab

then write
mount -a

It's done.
After a reboot, I did "mount -t usbdevfs none /proc/bus/usb" from the USB-howto . It confirmed me it was already mounted. But it is strange that /proc/bus/usb/device file is still empty.

Then I did "hciconfig hci0 up"
and I still have "Can't init device hci0. Connection timed out(110)"

But the hciconfig message changed. It is now:

"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:6 acl:0 sco:0 commands:2 errors:0"
Quoted 5 lines

No idea why I have so much difficulties with this dongle.

Regards,

Ben

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#9 lore raw
In reply to Bc. Michal Semler

Hi,

Quoted 8 lines

add

none /proc/bus/usb usbdevfs faults 0 0

into /etc/fstab

then write
mount -a

It's done.
After a reboot, I did "mount -t usbdevfs none /proc/bus/usb" from the USB-howto . It confirmed me it was already mounted. But it is strange that /proc/bus/usb/device file is still empty.

Then I did "hciconfig hci0 up"
and I still have "Can't init device hci0. Connection timed out(110)"

But the hciconfig message changed. It is now:

"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:6 acl:0 sco:0 commands:2 errors:0"

No idea why I have so much difficulties with this dongle.

Regards,

Ben

#10 lore raw
Quoted 7 lines · On 0, ben4fun <[email protected]> wrote:

It's done.
After a reboot, I did "mount -t usbdevfs none /proc/bus/usb" from the USB-howto . It confirmed me it was already mounted. But it is strange that /proc/bus/usb/device file is still empty.

Then I did "hciconfig hci0 up"
and I still have "Can't init device hci0. Connection timed out(110)"

Check if hcid is running. If it is, try a more recent kernel.

nicholas

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#11 lore raw
In reply to ben4fun

Hi,

I still cannot use my broadcom bluetooth dongle. It doesn't seem to be a usb relevant problem. (as far as I know, cause I'm a newbie).

This is what I get when I plug my dongle.

tail -f /var/log/messages | grep usb

Aug 16 11:17:25 localhost kernel: usb 1-1: new full speed USB device
using address 10
Aug 16 11:17:27 localhost kernel: usb 1-1.1: new full speed USB device
using address 11
Aug 16 11:17:28 localhost kernel: hci_usb_isoc_rx_submit: hci0 isoc rx
submit failed urb c1cb1014 err -90
Aug 16 11:17:28 localhost kernel: hci_usb_isoc_rx_submit: hci0 isoc rx
submit failed urb c1cb1014 err -90
Aug 16 11:17:30 localhost kernel: usb 1-1.2: new full speed USB device
using address 12
Aug 16 11:17:31 localhost kernel: input: USB HID v1.11 Keyboard
[0a5c:3502] on usb-0000:00:07.2-1.2
Aug 16 11:17:32 localhost kernel: usb 1-1.3: new full speed USB device
using address 13
Aug 16 11:17:33 localhost kernel: input: USB HID v1.11 Mouse [0a5c:3503]

on usb-0000:00:07.2-1.3

lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 013: ID 0a5c:3503 Broadcom Corp.
Bus 001 Device 012: ID 0a5c:3502 Broadcom Corp.
Bus 001 Device 011: ID 0a5c:200a Broadcom Corp.
Bus 001 Device 010: ID 0a5c:3535 Broadcom Corp.
Bus 001 Device 001: ID 0000:0000

I read your article Marcel Broadcom devices with bluetooth support but the command HCI_Reset, returned an error. Do you have a clue?

Regards,

Ben

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#12 lore raw

Hi Ben,

Quoted 33 lines

I still cannot use my broadcom bluetooth dongle. It doesn't seem to be a usb relevant problem. (as far as I know, cause I'm a newbie).

This is what I get when I plug my dongle.

tail -f /var/log/messages | grep usb

Aug 16 11:17:25 localhost kernel: usb 1-1: new full speed USB device
using address 10
Aug 16 11:17:27 localhost kernel: usb 1-1.1: new full speed USB device
using address 11
Aug 16 11:17:28 localhost kernel: hci_usb_isoc_rx_submit: hci0 isoc rx
submit failed urb c1cb1014 err -90
Aug 16 11:17:28 localhost kernel: hci_usb_isoc_rx_submit: hci0 isoc rx
submit failed urb c1cb1014 err -90
Aug 16 11:17:30 localhost kernel: usb 1-1.2: new full speed USB device
using address 12
Aug 16 11:17:31 localhost kernel: input: USB HID v1.11 Keyboard
[0a5c:3502] on usb-0000:00:07.2-1.2
Aug 16 11:17:32 localhost kernel: usb 1-1.3: new full speed USB device
using address 13
Aug 16 11:17:33 localhost kernel: input: USB HID v1.11 Mouse [0a5c:3503]

on usb-0000:00:07.2-1.3

lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 013: ID 0a5c:3503 Broadcom Corp.
Bus 001 Device 012: ID 0a5c:3502 Broadcom Corp.
Bus 001 Device 011: ID 0a5c:200a Broadcom Corp.
Bus 001 Device 010: ID 0a5c:3535 Broadcom Corp.
Bus 001 Device 001: ID 0000:0000

Quoted 2 lines

I read your article Marcel Broadcom devices with bluetooth support but the command HCI_Reset, returned an error. Do you have a clue?

install a kernel where this problem is fixed.

Regards

Marcel

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#13 lore raw

Hi Marcel,

better way is to buy a better dongle (CSR based) ;-)

M.

Dne =FAt 17. srpna 2004 09:36 Marcel Holtmann napsal(a):

Quoted 47 lines

Hi Ben,

Quoted 33 lines

I still cannot use my broadcom bluetooth dongle. It doesn't seem to be a usb relevant problem. (as far as I know, cause I'm a newbie).

This is what I get when I plug my dongle.

tail -f /var/log/messages | grep usb

Aug 16 11:17:25 localhost kernel: usb 1-1: new full speed USB device
using address 10
Aug 16 11:17:27 localhost kernel: usb 1-1.1: new full speed USB device
using address 11
Aug 16 11:17:28 localhost kernel: hci_usb_isoc_rx_submit: hci0 isoc rx
submit failed urb c1cb1014 err -90
Aug 16 11:17:28 localhost kernel: hci_usb_isoc_rx_submit: hci0 isoc rx
submit failed urb c1cb1014 err -90
Aug 16 11:17:30 localhost kernel: usb 1-1.2: new full speed USB device
using address 12
Aug 16 11:17:31 localhost kernel: input: USB HID v1.11 Keyboard
[0a5c:3502] on usb-0000:00:07.2-1.2
Aug 16 11:17:32 localhost kernel: usb 1-1.3: new full speed USB device
using address 13
Aug 16 11:17:33 localhost kernel: input: USB HID v1.11 Mouse [0a5c:3503]

on usb-0000:00:07.2-1.3

lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 013: ID 0a5c:3503 Broadcom Corp.
Bus 001 Device 012: ID 0a5c:3502 Broadcom Corp.
Bus 001 Device 011: ID 0a5c:200a Broadcom Corp.
Bus 001 Device 010: ID 0a5c:3535 Broadcom Corp.
Bus 001 Device 001: ID 0000:0000

Quoted 2 lines

I read your article Marcel Broadcom devices with bluetooth support but the command HCI_Reset, returned an error. Do you have a clue?

install a kernel where this problem is fixed.

Regards

Marcel

Quoted 9 lines

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#19 lore raw
In reply to a message not in the archive

Hi Ben,

Quoted 4 lines
Quoted 2 lines

install a kernel where this problem is fixed.

Thanks marcel for your quick answer as usual. I have the 2.6.8-0rc2.1mdk kernel, what kernel would be the good?

that kernel may work, but it is not a vanilla kernel, so I can't tell you if all patches are included or not. However you can also try to compile a kernel without CONFIG_BT_HCIUSB_SCO option set. May this helps.

Regards

Marcel

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#14 lore raw
In reply to Bc. Michal Semler
Quoted 6 lines · Bc. Michal Semler

Hi Marcel,

better way is to buy a better dongle (CSR based) ;-)

M.

But the cheapest way was to follow the advice of Marcel. It's almost done.
With the new kernel from kernel.org, i can now send data from my mobile phone to my pc.
But it doesn't work in the other way. It seems I have some problems to pair the mobile phone with the pc.

But I am happy that it works in one way.

this is the results of my new hciconfig -a

hci0: Type: USB

        BD Address: 00:02:72:B3:43:18 ACL MTU: 377:10  SCO MTU: 16:0
        UP RUNNING PSCAN ISCAN
        RX bytes:102019 acl:4770 sco:0 events:292 errors:0
        TX bytes:5159 acl:258 sco:0 commands:48 errors:0
        Features: 0xff 0xff 0x0d 0x38 0x00 0x00 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'BlueZ (0)'
        Class: 0x000100
        Service Classes: Unspecified
        Device Class: Computer, Uncategorized
        HCI Ver: 1.1 (0x1) HCI Rev: 0x3 LMP Ver: 1.1 (0x1) LMP Subver:

0x800
Manufacturer: Broadcom Corporation (15)

Big thanks to you Marcel ans Michal

Regards

Ben

maintainer
#15 lore raw

Hi Ben,

Quoted 2 lines

But the cheapest way was to follow the advice of Marcel. It's almost done.

so adding the broken ISOC quirk would be enough to make this dongle work again. Maybe the last time I tested it, I had the SCO support disabled.

Quoted 16 lines

this is the results of my new hciconfig -a

hci0: Type: USB

        BD Address: 00:02:72:B3:43:18 ACL MTU: 377:10  SCO MTU: 16:0
        UP RUNNING PSCAN ISCAN
        RX bytes:102019 acl:4770 sco:0 events:292 errors:0
        TX bytes:5159 acl:258 sco:0 commands:48 errors:0
        Features: 0xff 0xff 0x0d 0x38 0x00 0x00 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'BlueZ (0)'
        Class: 0x000100
        Service Classes: Unspecified
        Device Class: Computer, Uncategorized
        HCI Ver: 1.1 (0x1) HCI Rev: 0x3 LMP Ver: 1.1 (0x1) LMP Subver:
Quoted 2 lines

0x800
Manufacturer: Broadcom Corporation (15)

What does "hciconfig hci0 revision" say? These versions look a little bit wrong.

Regards

Marcel

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#16 lore raw

Hi Marcel,

Quoted 3 lines

so adding the broken ISOC quirk would be enough to make this dongle work again. Maybe the last time I tested it, I had the SCO support disabled.

Is this something to add in the kernel settings?

Quoted 3 lines

What does "hciconfig hci0 revision" say? These versions look a little bit wrong.

hciconfig hci0 revision
hci0: Type: USB

        BD Address: 00:02:72:B3:43:18 ACL MTU: 377:10  SCO MTU: 16:0
        Unsupported manufacturer

Regards

Ben

maintainer
#17 lore raw

Hi Ben,

Quoted 3 lines
Quoted 2 lines

so adding the broken ISOC quirk would be enough to make this dongle work again. Maybe the last time I tested it, I had the SCO support disabled.

Is this something to add in the kernel settings?

===== drivers/bluetooth/hci_usb.c 1.54 vs edited =====

drivers/bluetooth/hci_usb.c 2004-08-17 23:32:42 +02:00 renamed from drivers/bluetooth/hci_usb.c 2004-07-31 12:57:14 +02:00 +1 -1
@@ -96,7 +96,7 @@
        { USB_DEVICE(0x0a5c, 0x2033), .driver_info = HCI_IGNORE },
 
        /* Broadcom BCM2035 */
-       { USB_DEVICE(0x0a5c, 0x200a), .driver_info = HCI_RESET },
+       { USB_DEVICE(0x0a5c, 0x200a), .driver_info = HCI_RESET | HCI_BROKEN_ISOC },
 
        /* ISSC Bluetooth Adapter v3.1 */
        { USB_DEVICE(0x1131, 0x1001), .driver_info = HCI_RESET },
Quoted 6 lines
Quoted 2 lines

What does "hciconfig hci0 revision" say? These versions look a little bit wrong.

hciconfig hci0 revision
hci0: Type: USB

        BD Address: 00:02:72:B3:43:18 ACL MTU: 377:10  SCO MTU: 16:0
        Unsupported manufacturer

Update your libs and utils. The current version is 2.10.

Regards

Marcel

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users