2006-01-14 23:05:25

by Yann E. MORIN

[permalink] [raw]
Subject: [Bluez-users] ISSC dongle not working

Hello all.

I know the subject line is a bit terse, bit here's the full story:

I have this USB/Bluetooth dongle:
| $ lsusb
| Bus 002 Device 025: ID 1131:1001 Integrated System Solution Corp.

The farther I can get with it is do an hciconfig, which answer is:
| $ hciconfig -a
| 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
| $ hciconfig hci0 up
| Can't init device hci0: Input/output error (5)

Looking at lsusb output, I think I'm missing the firmware. Is that true?
A full lsusb of the device is at the end of the mail.

Assuming that this is a firmware problem, I tried to save the (maybe)
existing one:
| $ dfutool archive foo.dfu
| Available devices with DFU support:
|=20
| 1) Bus 002 Device 025: ID 1131:1001 Interface 2
|=20
| Select device (abort with 0): 1
|=20
| Can't get status: Connection timed out (110)

Boom... Uploading the firmware is out of question: I don't have it... :-(
I looked at the accompanying CDROM, but alas, there is nothing about linux
in that [surprising, isn't it? :-)] So I searched harder, and even looked
in the .cab. To no avail...

As a last resort, I looked at bluez-firmware-1.1, but there seem to be only
the Broadcom firmwares.

I couldn't find anything on the net pertaining to that problem... :-/

I looked up in the archive and this device appears a few times, but what is
described in the mails do not work here (or even apply).

Any tip to make it work?

Or did I miss anything? ... :-/

Regards,
Yann E. MORIN.

PS. Full lsusb of the device:
$ lsusb -v -d 1131:1001

Bus 002 Device 025: ID 1131:1001 Integrated System Solution Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 224 Wireless
bDeviceSubClass 1 Radio Frequency
bDeviceProtocol 1 Bluetooth
bMaxPacketSize0 16
idVendor 0x1131 Integrated System Solution Corp.
idProduct 0x1001
bcdDevice 3.73
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 186
bNumInterfaces 3
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
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 254 Application Specific Interface
bInterfaceSubClass 1 Device Firmware Update
bInterfaceProtocol 0
iInterface 0

=2D-=20
=2E-----------------.--------------------.------------------.--------------=
=2D-----.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspira=
cy: |
| +0/33 662376056 | Software Designer | \ / CAMPAIGN | ^ =
|
| --=3D=3D< =B0_=B0 >=3D=3D-- =B0---.----------------: X AGAINST | =
/e\ There is no |
| web: ymorin.free.fr | SETI@home 3808 | / \ HTML MAIL | """ conspirac=
y. |
=B0---------------------=B0----------------=B0------------------=B0--------=
=2D-----------=B0


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2006-01-16 19:13:08

by Yann E. MORIN

[permalink] [raw]
Subject: Re: [Bluez-users] ISSC dongle not working

Hello all!

On Sunday 15 January 2006 000, Yann E. MORIN wrote:
> I have this USB/Bluetooth dongle:
> | $ lsusb
> | Bus 002 Device 025: ID 1131:1001 Integrated System Solution Corp.

I was trying to make it work on my AMD64 dual-core.

Today I tried on an i686 (32bit machine) and it works (to some extents at
least):

| $ hciconfig -a
| hci0: Type: USB
| BD Address: FF:FF:FF:FF:FF:FF ACL MTU: 678:8 SCO MTU: 48:10|
| UP RUNNING PSCAN ISCAN=20
| RX bytes:662 acl:0 sco:0 events:21 errors:0
| TX bytes:331 acl:0 sco:0 commands:21 errors:0
| Features: 0xff 0xff 0x8d 0x78 0x08 0x18 0x00 0x00
| Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3=20
| Link policy: RSWITCH HOLD SNIFF PARK=20
| Link mode: SLAVE ACCEPT=20
| Name: 'lesneven-0'
| Class: 0x3e0100
| Service Classes: Networking, Rendering, Capturing
| Device Class: Computer, Uncategorized
| HCI Ver: (0xff) HCI Rev: 0xffff LMP Ver: (0x8f) LMP Subver: 0x1=
ae
| Manufacturer: Integrated System Solution Corp. (57)

What is strange is the BD Address: All FF's. Is it a problem?...

hcitool scan does scan the network and returns the available devices. Good.
hcitool info xx:XX:yy:YY:zz:ZZ returns info on the device. Good.
sdptool browse xx:XX:yy:YY:zz:ZZ returns the available services on the devi=
ce.
So far so good! :-)

So all is well on ia32.

Why on earth won't it work on x86_64? hcid is running, hidd is running,
sdpd as well. It get recognise (in dmesg):

| [101878.834988] usb 1-2.5: new full speed USB device using ehci_hcd and a=
ddress 15
| [101878.856539] hci_usb_intr_rx_submit: hci0 intr rx submit failed urb ff=
ff81002ac69228 err -28
| [101878.856751] hci_cmd_task: hci0 command tx timeout

Any hint? Oh yes, the bluez is the same version on both machines:
On the x86_64:
| $ hcitool -h
| hcitool - HCI Tool ver 2.24
[--SNIP--]
| $ ls -l /lib*/*blue*.so
| lrwxrwxrwx 1 root root 22 Jan 13 19:11 /lib64/libbluetooth.so -> libblue=
tooth.so.1.0.24

On the i686:
| $ hcitool -h
| hcitool - HCI Tool ver 2.24
[--SNIP--]
| $ ls -l /lib*/*blue*.so
| lrwxrwxrwx 1 root root 22 Jan 16 19:46 /lib/libbluetooth.so -> libblueto=
oth.so.1.0.24

Running linux-2.6.12 on both machines.

If you need something more from here, please tell.

I'm actually gaping, my mouth wide open, at my two screens, when on one I c=
an
see my dongle working, while doing the same on the other gets me nowhere...

=3D=3D=3D
Help me if you can, I'm feeling down
And I do appreciate you being round.
Help me, get my feet back on the ground,
Won't you please, please help me, help me, help me, oh.=20
=3D=3D=3D
:-)

Regards, and thanks for your attention,
Yann E. MORIN.

=2D-=20
=2E-----------------.--------------------.------------------.--------------=
=2D-----.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspira=
cy: |
| +0/33 662376056 | Software Designer | \ / CAMPAIGN | ^ =
|
| --=3D=3D< =B0_=B0 >=3D=3D-- =B0---.----------------: X AGAINST | =
/e\ There is no |
| web: ymorin.free.fr | SETI@home 3808 | / \ HTML MAIL | """ conspirac=
y. |
=B0---------------------=B0----------------=B0------------------=B0--------=
=2D-----------=B0


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users