Skip to contentSkip to conversation

ISSC USB Dongle does not work with current bluez?

Bluez-users Andreas Krause 4 participants 12 messages Jul 22, 2004 – Jul 31, 2004 3 messages not in the archive Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hello,

I would appreciate if someone could help me with the following problem.

I've got a Bluetooth USB Dongle, Vendor ID 0x1131 (ISSC, Integrated System Solution Corp.), Product ID 0x1001, Revision 3.115. All drivers load well and seamless, device is recognized correctly. hcid and sdpd also load well and don't complain. Kernel log is almost silent, no special lines there. However, no inqiry and no device scan is possible ("Connection timed out", see below). Same hardware _does_ find my bluetooth enabled mobile phone when used under Win2k. Any help or any clue?

Thanks in advance!

Here's my config:

Distribution: Gentoo Linux
Kernel gentoo-dev-sources-2.6.7-r11

		with patch-2.6.7-mh2

Packages:
sweethome root # epm -qa | grep blue
bluez-utils-2.5
bluez-libs-2.7
bluez-sdp-1.5
bluez-bluefw-1.0
kdebluetooth-20040416
bluez-pan-1.1
bluez-hcidump-1.9
bluez-hciemu-1.0

(bluez-utils-2.7 does not compile:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -c ciptool.c
sdptool.c: In function `add_handsfree':
sdptool.c:1129: error: `HANDSFREE_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:1129: error: (Each undeclared identifier is reported only once sdptool.c:1129: error: for each function it appears in.) sdptool.c:1135: error: `HANDSFREE_PROFILE_ID' undeclared (first use in this function)
sdptool.c:1151: error: `SDP_SUPPORTED_FEATURES' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:1578: error: `HANDSFREE_SVCLASS_ID' undeclared here (not in a function)
)

sweethome root # lsmod | grep [rfcomm,l2cap,hci_usb,bluetooth]
rfcomm                 39196  0
l2cap                  25412  3 rfcomm
hci_usb                13760  1
bluetooth              49028  3 rfcomm,l2cap,hci_usb

sweethome root # hciconfig -a
hci0: Type: USB
BD Address: 00:11:67:00:0B:9E ACL MTU: 678:12 SCO MTU: 48:5 UP RUNNING PSCAN ISCAN INQUIRY
RX bytes:384 acl:0 sco:0 events:17 errors:0
TX bytes:317 acl:0 sco:0 commands:17 errors:0
Features: 0xff 0xff 0x0d 0x00 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: 0x172 LMP Ver: 1.1 (0x1) LMP Subver: 0x172
Manufacturer: Integrated System Solution Corp. (57)

sweethome root # hcitool dev
Devices:

        hci0    00:11:67:00:0B:9E

sweethome root # hcitool inq
Inquiring ...
Inquiry failed.: Connection timed out
sweethome root # hcitool scan
Scanning ...
Inquiry failed: Connection timed out

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Andreas,

Quoted 7 lines

I've got a Bluetooth USB Dongle, Vendor ID 0x1131 (ISSC, Integrated System Solution Corp.), Product ID 0x1001, Revision 3.115. All drivers load well and seamless, device is recognized correctly. hcid and sdpd also load well and don't complain. Kernel log is almost silent, no special lines there. However, no inqiry and no device scan is possible ("Connection timed out", see below). Same hardware _does_ find my bluetooth enabled mobile phone when used under Win2k. Any help or any clue?

where do you got these dongle?

Quoted 5 lines

Here's my config:

Distribution: Gentoo Linux
Kernel gentoo-dev-sources-2.6.7-r11

		with patch-2.6.7-mh2
Quoted 10 lines

Packages:
sweethome root # epm -qa | grep blue
bluez-utils-2.5
bluez-libs-2.7
bluez-sdp-1.5
bluez-bluefw-1.0
kdebluetooth-20040416
bluez-pan-1.1
bluez-hcidump-1.9
bluez-hciemu-1.0

you only need bluez-libs-2.8, bluez-utils-2.8 and bluez-hcidump-1.9. The rest of the BlueZ packages are deprecated and you will run into trouble installing them.

Quoted 7 lines

(bluez-utils-2.7 does not compile:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -c ciptool.c
sdptool.c: In function `add_handsfree':
sdptool.c:1129: error: `HANDSFREE_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:1129: error: (Each undeclared identifier is reported only once sdptool.c:1129: error: for each function it appears in.)

Quoted 8 lines

sdptool.c:1135: error: `HANDSFREE_PROFILE_ID' undeclared (first use in this function)
sdptool.c:1151: error: `SDP_SUPPORTED_FEATURES' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:1578: error: `HANDSFREE_SVCLASS_ID' undeclared here (not in a function)
)

I will need at least bluez-libs-2.7 as written in the ChangeLog.

Quoted 8 lines

sweethome root # hciconfig -a
hci0: Type: USB
BD Address: 00:11:67:00:0B:9E ACL MTU: 678:12 SCO MTU: 48:5 UP RUNNING PSCAN ISCAN INQUIRY
RX bytes:384 acl:0 sco:0 events:17 errors:0
TX bytes:317 acl:0 sco:0 commands:17 errors:0
Features: 0xff 0xff 0x0d 0x00 0x00 0x00 0x00 0x00 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3

Quoted 8 lines

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: 0x172 LMP Ver: 1.1 (0x1) LMP Subver: 0x172
Manufacturer: Integrated System Solution Corp. (57)

Never seen a device from ISSC, but you already run an inquiry. Looks a little bit weird.

Quoted 6 lines

sweethome root # hcitool inq
Inquiring ...
Inquiry failed.: Connection timed out
sweethome root # hcitool scan
Scanning ...
Inquiry failed: Connection timed out

Run "hcidump -x" and show it to us while executing these commands.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw
Quoted 3 lines
Quoted 2 lines

I've got a Bluetooth USB Dongle, Vendor ID 0x1131 (ISSC, Integrated System Solution Corp.), Product ID 0x1001, Revision 3.115.

where do you got these dongle?

http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItem&item=5709740304

Quoted 3 lines

you only need bluez-libs-2.8, bluez-utils-2.8 and bluez-hcidump-1.9. The rest of the BlueZ packages are deprecated and you will run into trouble installing them.

OK, unmerged all ebuilds and just installed these three from tarball.

hciconfig -a says the same as in my original posting.

Quoted 1 line

Run "hcidump -x" and show it to us while executing these commands.

The following dump is the output of 'hcidump -x' while running 'hciconfig -a'. Running 'hcitool inq' or 'hcitool scan' does not trigger any output from 'hcidump -x'!

sweethome root # hcidump -x
HCIDump - HCI packet analyzer ver 1.9
device: hci0 snap_len: 1028 filter: 0xffffffff < HCI Command: Read Local Name (0x03|0x0014) plen 0

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 252

01 14 0C 00 42 6C 75 65 5A 20 28 30 29 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
< HCI Command: Read Class of Device (0x03|0x0023) plen 0

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 7

01 23 0C 00 00 01 00
< HCI Command: Read Local Version Information (0x04|0x0001) plen 0

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 12

01 01 10 00 01 72 01 01 39 00 72 01

CU - nak

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#3 lore raw

Hi Andreas,

Quoted 5 lines
Quoted 3 lines
Quoted 2 lines

I've got a Bluetooth USB Dongle, Vendor ID 0x1131 (ISSC, Integrated System Solution Corp.), Product ID 0x1001, Revision 3.115.

where do you got these dongle?

http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItem&item=5709740304

is there anyone who will donate one of these?

Quoted 7 lines

hciconfig -a says the same as in my original posting.

Quoted 1 line

Run "hcidump -x" and show it to us while executing these commands.

The following dump is the output of 'hcidump -x' while running 'hciconfig -a'. Running 'hcitool inq' or 'hcitool scan' does not trigger any output from 'hcidump -x'!

That is the problem here, because the kernel thinks that the dongle is already in inquiry mode and won't start another one. Please stop hcid and sdpd. Unplug your dongle and replug it. Run "hcidump -x" and then call "hciconfig hci0 up".

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#4 lore raw
Quoted 9 lines · On Fri, 23 Jul 2004 10:14:39 +0200 Marcel Holtmann <[email protected]> wrote:

Hi Andreas,

Quoted 5 lines
Quoted 3 lines
Quoted 3 lines

I've got a Bluetooth USB Dongle, Vendor ID 0x1131 (ISSC, Integrated System Solution Corp.), Product ID 0x1001, Revision 3.115. where do you got these dongle?

http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItem&item=5709740304

is there anyone who will donate one of these?

Hi Marcel,

We will buy one, same adress the sun went to ?

Greetings

Andreas Gaufer

maintainer
#5 lore raw

Hi Andreas,

Quoted 9 lines
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines

I've got a Bluetooth USB Dongle, Vendor ID 0x1131 (ISSC, Integrated System Solution Corp.), Product ID 0x1001, Revision 3.115. where do you got these dongle?

http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItem&item=5709740304

is there anyone who will donate one of these?

We will buy one, same adress the sun went to ?

yes. Many thanks.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

Hi Andreas,

Quoted 41 lines
Quoted 4 lines

That is the problem here, because the kernel thinks that the dongle is already in inquiry mode and won't start another one. Please stop hcid and sdpd. Unplug your dongle and replug it. Run "hcidump -x" and then call "hciconfig hci0 up".

OK that worked.
Here's the dum while doing "hciconfig hci0 up":

sweethome root # hcidump -x
HCIDump - HCI packet analyzer ver 1.9
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Read Local Supported Features (0x04|0x0003) plen 0

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 12

01 03 10 00 FF FF 0D 00 00 00 00 00
< HCI Command: Read Buffer Size (0x04|0x0005) plen 0

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 11

01 05 10 00 A6 02 30 0C 00 05 00
< HCI Command: Read BD ADDR (0x04|0x0009) plen 0

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

01 09 10 00 9E 0B 00 67 11 00
< HCI Command: Read Voice Setting (0x03|0x0025) plen 0

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 6

01 25 0C 00 60 00
< HCI Command: Set Event Filter (0x03|0x0005) plen 2
00 00

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

01 05 0C 00
< HCI Command: Write Page Timeout (0x03|0x0018) plen 2
00 80

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

01 18 0C 00
< HCI Command: Write Connection Accept Timeout (0x03|0x0016) plen 2
00 7D

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

01 16 0C 00
< HCI Command: Write Scan Enable (0x03|0x001a) plen 1
03

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 4

01 1A 0C 00

Quoted 6 lines

And here's the dump for "hcitool inq":

< HCI Command: Inquiry (0x01|0x0001) plen 5
33 8B 9E 08 64

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

00 01 01 04

I miss the inquiry complete event.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

Hi Andreas,

Quoted 10 lines
Quoted 7 lines
Quoted 5 lines

And here's the dump for "hcitool inq":
< HCI Command: Inquiry (0x01|0x0001) plen 5
33 8B 9E 08 64

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

00 01 01 04

I miss the inquiry complete event.

There's no other output. 'hcitool scan' terminates with "Inquiry failed:
Connection timed out". No other events shown by hcidump. Sorry.

very nice :(

Another buggy Bluetooth chip with a stupid link manager. Is it really so hard to get a correct HCI implementation before manufacturing end-user products?

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#10 lore raw

Marcel,

everything is about money. And paying programmers costs money :(

Michal

Dne p=E1 23. =E8ervence 2004 12:50 Marcel Holtmann napsal(a):

Quoted 28 lines

Hi Andreas,

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

And here's the dump for "hcitool inq":
< HCI Command: Inquiry (0x01|0x0001) plen 5
33 8B 9E 08 64

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

00 01 01 04

I miss the inquiry complete event.

There's no other output. 'hcitool scan' terminates with "Inquiry failed:
Connection timed out". No other events shown by hcidump. Sorry.

very nice :(

Another buggy Bluetooth chip with a stupid link manager. Is it really so hard to get a correct HCI implementation before manufacturing end-user products?

Regards

Marcel

Quoted 9 lines

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=3D4721&alloc_id=3D10040&op=3Dclick
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

Hi Andreas,

Quoted 6 lines
Quoted 3 lines

Another buggy Bluetooth chip with a stupid link manager. Is it really so hard to get a correct HCI implementation before manufacturing end-user products?

That means? Wait until you got one yourself and write a little hack for this buggy chip? ;-)

it looks like that this device needs the HCI_Reset before it can run an inquiry. Funny is that every other HCI command work without it. Try the attached patch.

Regards

Marcel

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

drivers/bluetooth/hci_usb.c +3 -0
@@ -98,6 +98,9 @@
 	/* Broadcom BCM2035 */
 	{ USB_DEVICE(0x0a5c, 0x200a), .driver_info = HCI_RESET },
 
+	/* ISSC Bluetooth Adapter v3.1 */
+	{ USB_DEVICE(0x1131, 0x1001), .driver_info = HCI_RESET },
+
 	/* Digianswer device */
 	{ USB_DEVICE(0x08fd, 0x0001), .driver_info = HCI_DIGIANSWER },
 
#13 lore raw
Quoted 3 lines

it looks like that this device needs the HCI_Reset before it can run an inquiry. Funny is that every other HCI command work without it. Try the attached patch.

Patch works. Thanks! All works as it should. When will this patch be in the official kernel 2.6 tree?

CU - nak

-------------------------------------------------------
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
#14 lore raw

Hi Andreas,

Quoted 6 lines
Quoted 3 lines

it looks like that this device needs the HCI_Reset before it can run an inquiry. Funny is that every other HCI command work without it. Try the attached patch.

Patch works. Thanks! All works as it should. When will this patch be in the official kernel 2.6 tree?

very soon I hope. In the meantime you can use patch-2.6.7-mh4 which includes this patch and also the BNEP default protocol filters fix.

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