2005-01-23 10:10:50

by Embedded System

[permalink] [raw]
Subject: [Bluez-users] Can't init device hci0 (all information included), help! Thanx a lot!!!

hi, everyone

when I call "hciconfig hci0 up", it prints:
Can't init device hci0: Connection timed out (110)

Working environment is as follows:
1, Vmware workstation 5.0 + Redhat 9.0, with kernel 2.6.8.1, bluez 2.14
2, Bluetooth subsystem enabled
3, Billionton BlueTooth Dongle Class I USBBTC1A
4, "/etc/rc.d/init.d/bluetooth start" already run

Outputs (lspci, lsmod, /proc/bus/usb/devices/,hciconfig, dmesg)
1, output from lspci
00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB

2, output from lsmod
Module Size Used by
ehci_hcd 42688 0
hci_usb 13184 0
rfcomm 38712 0
l2cap 24128 3 rfcomm
autofs 15520 0
ohci1394 34912 0
ieee1394 110384 1 ohci1394
parport_pc 25696 0
parport 40672 1 parport_pc
bluetooth 48292 3 hci_usb,rfcomm,l2cap
usbhid 24800 0
uhci_hcd 33160 0
usbcore 127540 6 ehci_hcd,hci_usb,usbhid,uhci_hcd

3, output from /proc/bus/usb/devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.8.1 uhci_hcd
S: Product=Intel Corp. 82371AB/EB/MB PIIX4 USB
S: SerialNumber=0000:00:07.2
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0a12 ProdID=0001 Rev= 4.87
C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
I: If#= 2 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)

4, output from hciconfig
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
Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Packet type: DM1 DH1 HV1
Link policy:
Link mode: SLAVE ACCEPT

8, output from dmesg
uhci_hcd 0000:00:07.2: suspend_hc
uhci_hcd 0000:00:07.2: wakeup_hc
uhci_hcd 0000:00:07.2: port 1 portsc 0083
hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
usb 1-1: new full speed USB device using address 3
usb 1-1: skipped 1 descriptor after interface
usb 1-1: new device strings: Mfr=0, Product=0, SerialNumber=0
usb 1-1: hotplug
usb 1-1: adding 1-1:1.0 (config #1, interface 0)
usb 1-1:1.0: hotplug
hci_usb 1-1:1.0: usb_probe_interface
hci_usb 1-1:1.0: usb_probe_interface - got id
usb 1-1: adding 1-1:1.1 (config #1, interface 1)
usb 1-1:1.1: hotplug
usb 1-1: adding 1-1:1.2 (config #1, interface 2)
usb 1-1:1.2: hotplug
hci_usb 1-1:1.2: usb_probe_interface
hci_usb 1-1:1.2: usb_probe_interface - got id


I really appreciate your kindly help and your time! if you need any
further information
please let me know, thanx again!

Is it a kernel problem? Bluez bug? Configuration Problem? Vmware
Restrictions? or what else?

-andy


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2005-01-25 15:23:55

by Embedded System

[permalink] [raw]
Subject: Re: [Bluez-users] Can't init device hci0 (all information included), help! Thanx a lot!!!

hi, Marcel

All the following bluez & patches (I only tried these) testings are
ok. Here with my results:

*1, 2.4.20-8 redhat 9 bluez-libs-2.3-3 / bluez-utils-2.2-3 (from
redhat 9.0)
*2, 2.4.22-mh7 redhat 9 bluez-libs-2.3-3 / bluez-utils-2.2-3 (from redhat 9.0)
*3, 2.4.28-mh7 redhat 9 bluez-libs-2.3-3 / bluez-utils-2.2-3 (from redhat 9.0)
*4, 2.4.28-mh7 redhat 9 bluez-libs-2.8.1 / bluez-utils-2.8.1 (from bluez.org )
*5, 2.4.28-mh7 redhat 9 bluez-libs-2.14 / bluez-utils-2.14 (from bluez.org )

It seems Vmware 5.0 beta is the problem.

All the best,
Guangkun
On Mon, 24 Jan 2005 13:22:09 +0100, Marcel Holtmann <[email protected]> wrote:
> Hi Andy,
>
> > I have reinstalled Vmware (change from 5.0 beta to 4.5.2) and Red Hat
> > 9 (use default bluez-lib-2.3-3 and bluez-util-2.2-3) just now, it
> > WORKS now, at least everything looks fine so far, I can l2ping the
> > device (Nokia 7650) properly.
> >
> > Below is the hciconfig -a output of my usb doggle, you can check it
> > whether it's supported by lastest bluez package.
> >
> > hci0: Type: USB
> > BD Address: 00:10:60:A3:83:0E ACL MTU: 192:8 SCO MTU: 64:8
> > UP RUNNING PSCAN ISCAN
> > RX bytes:1132 acl:2 sco:0 events:44 errors:0
> > TX bytes:423 acl:2 sco:0 commands:26 errors:0
> > Features: 0xff 0xff 0x0f 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: 0x1e7 LMP Ver: 1.1 (0x1) LMP Subver: 0x1e7
> > Manufacturer: Cambridge Silicon Radio (10)
> >
> > I will try new kernel later, and tell you the outcome. Btw, I noticed
> > that many people talked 'ep0in timed out' problem, maybe it's
> > something wrong with latest usb subsystem?
>
> the bluez-{libs|utils} can't be the problem here. It is the VMware or
> maybe the USB subsystem. Keep testing and try to find the wrong part in
> your puzzle.
>
> Regards
>
> Marcel
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-01-24 12:22:09

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Can't init device hci0 (all information included), help! Thanx a lot!!!

Hi Andy,

> I have reinstalled Vmware (change from 5.0 beta to 4.5.2) and Red Hat
> 9 (use default bluez-lib-2.3-3 and bluez-util-2.2-3) just now, it
> WORKS now, at least everything looks fine so far, I can l2ping the
> device (Nokia 7650) properly.
>
> Below is the hciconfig -a output of my usb doggle, you can check it
> whether it's supported by lastest bluez package.
>
> hci0: Type: USB
> BD Address: 00:10:60:A3:83:0E ACL MTU: 192:8 SCO MTU: 64:8
> UP RUNNING PSCAN ISCAN
> RX bytes:1132 acl:2 sco:0 events:44 errors:0
> TX bytes:423 acl:2 sco:0 commands:26 errors:0
> Features: 0xff 0xff 0x0f 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: 0x1e7 LMP Ver: 1.1 (0x1) LMP Subver: 0x1e7
> Manufacturer: Cambridge Silicon Radio (10)
>
> I will try new kernel later, and tell you the outcome. Btw, I noticed
> that many people talked 'ep0in timed out' problem, maybe it's
> something wrong with latest usb subsystem?

the bluez-{libs|utils} can't be the problem here. It is the VMware or
maybe the USB subsystem. Keep testing and try to find the wrong part in
your puzzle.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-01-24 10:05:23

by Embedded System

[permalink] [raw]
Subject: Re: [Bluez-users] Can't init device hci0 (all information included), help! Thanx a lot!!!

hi, Michal & Marcel

This doggle is based on CSR chip.

I have reinstalled Vmware (change from 5.0 beta to 4.5.2) and Red Hat
9 (use default bluez-lib-2.3-3 and bluez-util-2.2-3) just now, it
WORKS now, at least everything looks fine so far, I can l2ping the
device (Nokia 7650) properly.

Below is the hciconfig -a output of my usb doggle, you can check it
whether it's supported by lastest bluez package.

hci0: Type: USB
BD Address: 00:10:60:A3:83:0E ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:1132 acl:2 sco:0 events:44 errors:0
TX bytes:423 acl:2 sco:0 commands:26 errors:0
Features: 0xff 0xff 0x0f 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: 0x1e7 LMP Ver: 1.1 (0x1) LMP Subver: 0x1e7
Manufacturer: Cambridge Silicon Radio (10)

I will try new kernel later, and tell you the outcome. Btw, I noticed
that many people talked 'ep0in timed out' problem, maybe it's
something wrong with latest usb subsystem?

All the best,
Andy


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-01-24 08:19:33

by CIJOML

[permalink] [raw]
Subject: Re: [Bluez-users] Can't init device hci0 (all information included), help! Thanx a lot!!!

Maybe you should think about buying CSR based dongle which is known to work
excellently.

Michal

Dne po 24. ledna 2005 04:54 Embedded System napsal(a):
> hi, Marcel
>
> Thanks for the info, but it still doesn't work
>
> I have updated my kernel to 2.6.10-mh2, and with "modprobe hci_usb
> isoc=0", but when I plug the usb doggle the first time, screen prints
> out :
> usb 1-1 : can't set config #1, error -32
> usb 1-1 : khubd timed out on ep0in
>
> and I pull out and plug it again, it prints out only the second line as:
> usb 1-1 : khubd timed out on ep0in
>
> and the outputs(/proc/bus/usb/devices, lsusb ) as follows:
>
> 1, output from /proc/bus/usb/devices
>
> T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
> B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
> D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=0000 ProdID=0000 Rev= 2.06
> S: Manufacturer=Linux 2.6.10-mh2 uhci_hcd
> S: Product=Intel Corp. 82371AB/EB/MB PIIX4 USB
> S: SerialNumber=0000:00:07.2
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
> I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
> E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
>
> T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 5 Spd=12 MxCh= 0
> D: Ver= 1.10 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
> P: Vendor=0a12 ProdID=0001 Rev= 4.87
> C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr= 0mA
> I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01
> Driver=hci_usb E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
> E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
> E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
> I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms
> E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
> I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms
> E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
> I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms
> E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
> I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms
> E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
> I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
> E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
> E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
> I: If#= 2 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)
>
> 2, lsusb output
> ......
> Bus 001 Device 005: ID 0a12:0001 Cambridge Silicon Radio Ltd.
> usb 1-1: lsusb timed out on ep0in
> usb 1-1: lsusb timed out on ep0in
> ....
> Device Descriptor:
> bLength 18
> bDescriptorType 1
> bcdUSB 1.10
> bDeviceClass 224
> bDeviceSubClass 1
> bDeviceProtocol 1
> bMaxPacketSize0 64
> idVendor 0x0a12 Cambridge Silicon Radio Ltd.
> idProduct 0x0001
> bcdDevice 4.87
> iManufacturer 0
> iProduct 0
> iSerial 0
> bNumConfigurations 1
> Configuration Descriptor:
> bLength 9
> bDescriptorType 2
> wTotalLength 193
> 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
> bInterfaceSubClass 1
> bInterfaceProtocol 1
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x81 EP 1 IN
> bmAttributes 3
> Transfer Type Interrupt
> Synch Type none
> wMaxPacketSize 16
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x02 EP 2 OUT
> bmAttributes 2
> Transfer Type Bulk
> Synch Type none
> wMaxPacketSize 64
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82 EP 2 IN
> bmAttributes 2
> Transfer Type Bulk
> Synch Type none
> wMaxPacketSize 64
> bInterval 1
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 1
> bAlternateSetting 0
> bNumEndpoints 2
> bInterfaceClass 224
> bInterfaceSubClass 1
> bInterfaceProtocol 1
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x03 EP 3 OUT
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type none
> wMaxPacketSize 0
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type none
> wMaxPacketSize 0
> bInterval 1
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 1
> bAlternateSetting 1
> bNumEndpoints 2
> bInterfaceClass 224
> bInterfaceSubClass 1
> bInterfaceProtocol 1
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x03 EP 3 OUT
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type none
> wMaxPacketSize 9
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type none
> wMaxPacketSize 9
> bInterval 1
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 1
> bAlternateSetting 2
> bNumEndpoints 2
> bInterfaceClass 224
> bInterfaceSubClass 1
> bInterfaceProtocol 1
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x03 EP 3 OUT
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type none
> wMaxPacketSize 17
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type none
> wMaxPacketSize 17
> bInterval 1
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 1
> bAlternateSetting 3
> bNumEndpoints 2
> bInterfaceClass 224
> bInterfaceSubClass 1
> bInterfaceProtocol 1
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x03 EP 3 OUT
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type none
> wMaxPacketSize 25
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type none
> wMaxPacketSize 25
> bInterval 1
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 1
> bAlternateSetting 4
> bNumEndpoints 2
> bInterfaceClass 224
> bInterfaceSubClass 1
> bInterfaceProtocol 1
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x03 EP 3 OUT
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type none
> wMaxPacketSize 33
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type none
> wMaxPacketSize 33
> bInterval 1
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 1
> bAlternateSetting 5
> bNumEndpoints 2
> bInterfaceClass 224
> bInterfaceSubClass 1
> bInterfaceProtocol 1
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x03 EP 3 OUT
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type none
> wMaxPacketSize 49
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type none
> wMaxPacketSize 49
> bInterval 1
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 2
> bAlternateSetting 0
> bNumEndpoints 0
> bInterfaceClass 254
> bInterfaceSubClass 1
> bInterfaceProtocol 0
> iInterface 0
> unknown descriptor type: 07 21 07 88 13 ff 03
> Language IDs: none (cannot get min. string descriptor; got len=-1,
> error=110:Connection timed out)
>
> Best Rgds,
> Andy
>
> On Sun, 23 Jan 2005 18:14:42 +0100, Marcel Holtmann <[email protected]>
wrote:
> > Hi Andy,
> >
> > there is no need to post this twice ;)
> >
> > > when I call "hciconfig hci0 up", it prints:
> > > Can't init device hci0: Connection timed out (110)
> > >
> > > Working environment is as follows:
> > > 1, Vmware workstation 5.0 + Redhat 9.0, with kernel 2.6.8.1, bluez 2.14
> > > 2, Bluetooth subsystem enabled
> > > 3, Billionton BlueTooth Dongle Class I USBBTC1A
> > > 4, "/etc/rc.d/init.d/bluetooth start" already run
> > >
> > > Outputs (lspci, lsmod, /proc/bus/usb/devices/,hciconfig, dmesg)
> > > 1, output from lspci
> > > 00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB
> > >
> > > 2, output from lsmod
> > > Module Size Used by
> > > ehci_hcd 42688 0
> > > hci_usb 13184 0
> > > rfcomm 38712 0
> > > l2cap 24128 3 rfcomm
> > > autofs 15520 0
> > > ohci1394 34912 0
> > > ieee1394 110384 1 ohci1394
> > > parport_pc 25696 0
> > > parport 40672 1 parport_pc
> > > bluetooth 48292 3 hci_usb,rfcomm,l2cap
> > > usbhid 24800 0
> > > uhci_hcd 33160 0
> > > usbcore 127540 6 ehci_hcd,hci_usb,usbhid,uhci_hcd
> > >
> > > 3, output from /proc/bus/usb/devices
> > >
> > > T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
> > > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
> > > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> > > P: Vendor=0000 ProdID=0000 Rev= 2.06
> > > S: Manufacturer=Linux 2.6.8.1 uhci_hcd
> > > S: Product=Intel Corp. 82371AB/EB/MB PIIX4 USB
> > > S: SerialNumber=0000:00:07.2
> > > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
> > > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
> > > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
> > >
> > > T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
> > > D: Ver= 1.10 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
> > > P: Vendor=0a12 ProdID=0001 Rev= 4.87
> > > C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr= 0mA
> > > I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01
> > > Driver=hci_usb E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
> > > E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> > > E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> > > I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01
> > > Driver=hci_usb E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
> > > E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
> > > I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01
> > > Driver=hci_usb E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms
> > > E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
> > > I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01
> > > Driver=hci_usb E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms
> > > E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
> > > I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01
> > > Driver=hci_usb E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms
> > > E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
> > > I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01
> > > Driver=hci_usb E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms
> > > E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
> > > I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01
> > > Driver=hci_usb E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
> > > E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
> > > I: If#= 2 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00
> > > Driver=(none)
> > >
> > > 4, output from hciconfig
> > > 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
> > > Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
> > > Packet type: DM1 DH1 HV1
> > > Link policy:
> > > Link mode: SLAVE ACCEPT
> > >
> > > 8, output from dmesg
> > > uhci_hcd 0000:00:07.2: suspend_hc
> > > uhci_hcd 0000:00:07.2: wakeup_hc
> > > uhci_hcd 0000:00:07.2: port 1 portsc 0083
> > > hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
> > > hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status
> > > 0x101 usb 1-1: new full speed USB device using address 3
> > > usb 1-1: skipped 1 descriptor after interface
> > > usb 1-1: new device strings: Mfr=0, Product=0, SerialNumber=0
> > > usb 1-1: hotplug
> > > usb 1-1: adding 1-1:1.0 (config #1, interface 0)
> > > usb 1-1:1.0: hotplug
> > > hci_usb 1-1:1.0: usb_probe_interface
> > > hci_usb 1-1:1.0: usb_probe_interface - got id
> > > usb 1-1: adding 1-1:1.1 (config #1, interface 1)
> > > usb 1-1:1.1: hotplug
> > > usb 1-1: adding 1-1:1.2 (config #1, interface 2)
> > > usb 1-1:1.2: hotplug
> > > hci_usb 1-1:1.2: usb_probe_interface
> > > hci_usb 1-1:1.2: usb_probe_interface - got id
> > >
> > >
> > > I really appreciate your kindly help and your time! if you need any
> > > further information
> > > please let me know, thanx again!
> > >
> > > Is it a kernel problem? Bluez bug? Configuration Problem? Vmware
> > > Restrictions? or what else?
> >
> > maybe the ISOC transfers are not working perfect within VMware. You can
> > disable them with isoc=0 when loading hci_usb. And you should try a
> > newer kernel. Check out 2.6.10-mh2 or 2.6.11-rc2.
> >
> > Regards
> >
> > Marcel
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> > Tool for open source databases. Create drag-&-drop reports. Save time
> > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> > Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> > _______________________________________________
> > Bluez-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/bluez-users
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users

--
S pozdravem

Michal Semler


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-01-24 03:54:23

by Embedded System

[permalink] [raw]
Subject: Re: [Bluez-users] Can't init device hci0 (all information included), help! Thanx a lot!!!

hi, Marcel

Thanks for the info, but it still doesn't work

I have updated my kernel to 2.6.10-mh2, and with "modprobe hci_usb
isoc=0", but when I plug the usb doggle the first time, screen prints
out :
usb 1-1 : can't set config #1, error -32
usb 1-1 : khubd timed out on ep0in

and I pull out and plug it again, it prints out only the second line as:
usb 1-1 : khubd timed out on ep0in

and the outputs(/proc/bus/usb/devices, lsusb ) as follows:

1, output from /proc/bus/usb/devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.10-mh2 uhci_hcd
S: Product=Intel Corp. 82371AB/EB/MB PIIX4 USB
S: SerialNumber=0000:00:07.2
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 5 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0a12 ProdID=0001 Rev= 4.87
C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none)
E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
I: If#= 2 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)

2, lsusb output
......
Bus 001 Device 005: ID 0a12:0001 Cambridge Silicon Radio Ltd.
usb 1-1: lsusb timed out on ep0in
usb 1-1: lsusb timed out on ep0in
....
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 224
bDeviceSubClass 1
bDeviceProtocol 1
bMaxPacketSize0 64
idVendor 0x0a12 Cambridge Silicon Radio Ltd.
idProduct 0x0001
bcdDevice 4.87
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 193
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
bInterfaceSubClass 1
bInterfaceProtocol 1
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 16
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 224
bInterfaceSubClass 1
bInterfaceProtocol 1
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type none
wMaxPacketSize 0
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type none
wMaxPacketSize 0
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 224
bInterfaceSubClass 1
bInterfaceProtocol 1
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type none
wMaxPacketSize 9
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type none
wMaxPacketSize 9
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 2
bInterfaceClass 224
bInterfaceSubClass 1
bInterfaceProtocol 1
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type none
wMaxPacketSize 17
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type none
wMaxPacketSize 17
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 2
bInterfaceClass 224
bInterfaceSubClass 1
bInterfaceProtocol 1
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type none
wMaxPacketSize 25
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type none
wMaxPacketSize 25
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 4
bNumEndpoints 2
bInterfaceClass 224
bInterfaceSubClass 1
bInterfaceProtocol 1
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type none
wMaxPacketSize 33
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type none
wMaxPacketSize 33
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 5
bNumEndpoints 2
bInterfaceClass 224
bInterfaceSubClass 1
bInterfaceProtocol 1
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type none
wMaxPacketSize 49
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type none
wMaxPacketSize 49
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 254
bInterfaceSubClass 1
bInterfaceProtocol 0
iInterface 0
unknown descriptor type: 07 21 07 88 13 ff 03
Language IDs: none (cannot get min. string descriptor; got len=-1,
error=110:Connection timed out)

Best Rgds,
Andy

On Sun, 23 Jan 2005 18:14:42 +0100, Marcel Holtmann <[email protected]> wrote:
> Hi Andy,
>
> there is no need to post this twice ;)
>
> > when I call "hciconfig hci0 up", it prints:
> > Can't init device hci0: Connection timed out (110)
> >
> > Working environment is as follows:
> > 1, Vmware workstation 5.0 + Redhat 9.0, with kernel 2.6.8.1, bluez 2.14
> > 2, Bluetooth subsystem enabled
> > 3, Billionton BlueTooth Dongle Class I USBBTC1A
> > 4, "/etc/rc.d/init.d/bluetooth start" already run
> >
> > Outputs (lspci, lsmod, /proc/bus/usb/devices/,hciconfig, dmesg)
> > 1, output from lspci
> > 00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB
> >
> > 2, output from lsmod
> > Module Size Used by
> > ehci_hcd 42688 0
> > hci_usb 13184 0
> > rfcomm 38712 0
> > l2cap 24128 3 rfcomm
> > autofs 15520 0
> > ohci1394 34912 0
> > ieee1394 110384 1 ohci1394
> > parport_pc 25696 0
> > parport 40672 1 parport_pc
> > bluetooth 48292 3 hci_usb,rfcomm,l2cap
> > usbhid 24800 0
> > uhci_hcd 33160 0
> > usbcore 127540 6 ehci_hcd,hci_usb,usbhid,uhci_hcd
> >
> > 3, output from /proc/bus/usb/devices
> >
> > T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
> > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
> > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> > P: Vendor=0000 ProdID=0000 Rev= 2.06
> > S: Manufacturer=Linux 2.6.8.1 uhci_hcd
> > S: Product=Intel Corp. 82371AB/EB/MB PIIX4 USB
> > S: SerialNumber=0000:00:07.2
> > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
> > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
> > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
> >
> > T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
> > D: Ver= 1.10 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
> > P: Vendor=0a12 ProdID=0001 Rev= 4.87
> > C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr= 0mA
> > I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
> > E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
> > E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> > E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> > I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
> > E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
> > E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
> > I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
> > E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms
> > E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
> > I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
> > E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms
> > E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
> > I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
> > E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms
> > E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
> > I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
> > E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms
> > E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
> > I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
> > E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
> > E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
> > I: If#= 2 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)
> >
> > 4, output from hciconfig
> > 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
> > Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
> > Packet type: DM1 DH1 HV1
> > Link policy:
> > Link mode: SLAVE ACCEPT
> >
> > 8, output from dmesg
> > uhci_hcd 0000:00:07.2: suspend_hc
> > uhci_hcd 0000:00:07.2: wakeup_hc
> > uhci_hcd 0000:00:07.2: port 1 portsc 0083
> > hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
> > hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
> > usb 1-1: new full speed USB device using address 3
> > usb 1-1: skipped 1 descriptor after interface
> > usb 1-1: new device strings: Mfr=0, Product=0, SerialNumber=0
> > usb 1-1: hotplug
> > usb 1-1: adding 1-1:1.0 (config #1, interface 0)
> > usb 1-1:1.0: hotplug
> > hci_usb 1-1:1.0: usb_probe_interface
> > hci_usb 1-1:1.0: usb_probe_interface - got id
> > usb 1-1: adding 1-1:1.1 (config #1, interface 1)
> > usb 1-1:1.1: hotplug
> > usb 1-1: adding 1-1:1.2 (config #1, interface 2)
> > usb 1-1:1.2: hotplug
> > hci_usb 1-1:1.2: usb_probe_interface
> > hci_usb 1-1:1.2: usb_probe_interface - got id
> >
> >
> > I really appreciate your kindly help and your time! if you need any
> > further information
> > please let me know, thanx again!
> >
> > Is it a kernel problem? Bluez bug? Configuration Problem? Vmware
> > Restrictions? or what else?
>
> maybe the ISOC transfers are not working perfect within VMware. You can
> disable them with isoc=0 when loading hci_usb. And you should try a
> newer kernel. Check out 2.6.10-mh2 or 2.6.11-rc2.
>
> Regards
>
> Marcel
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-01-23 17:14:42

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Can't init device hci0 (all information included), help! Thanx a lot!!!

Hi Andy,

there is no need to post this twice ;)

> when I call "hciconfig hci0 up", it prints:
> Can't init device hci0: Connection timed out (110)
>
> Working environment is as follows:
> 1, Vmware workstation 5.0 + Redhat 9.0, with kernel 2.6.8.1, bluez 2.14
> 2, Bluetooth subsystem enabled
> 3, Billionton BlueTooth Dongle Class I USBBTC1A
> 4, "/etc/rc.d/init.d/bluetooth start" already run
>
> Outputs (lspci, lsmod, /proc/bus/usb/devices/,hciconfig, dmesg)
> 1, output from lspci
> 00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB
>
> 2, output from lsmod
> Module Size Used by
> ehci_hcd 42688 0
> hci_usb 13184 0
> rfcomm 38712 0
> l2cap 24128 3 rfcomm
> autofs 15520 0
> ohci1394 34912 0
> ieee1394 110384 1 ohci1394
> parport_pc 25696 0
> parport 40672 1 parport_pc
> bluetooth 48292 3 hci_usb,rfcomm,l2cap
> usbhid 24800 0
> uhci_hcd 33160 0
> usbcore 127540 6 ehci_hcd,hci_usb,usbhid,uhci_hcd
>
> 3, output from /proc/bus/usb/devices
>
> T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
> B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
> D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=0000 ProdID=0000 Rev= 2.06
> S: Manufacturer=Linux 2.6.8.1 uhci_hcd
> S: Product=Intel Corp. 82371AB/EB/MB PIIX4 USB
> S: SerialNumber=0000:00:07.2
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
> I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
> E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
>
> T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
> D: Ver= 1.10 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
> P: Vendor=0a12 ProdID=0001 Rev= 4.87
> C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr= 0mA
> I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
> E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
> E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
> E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
> E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
> I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
> E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms
> E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
> I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
> E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms
> E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
> I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
> E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms
> E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
> I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
> E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms
> E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms
> I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
> E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms
> E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms
> I: If#= 2 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)
>
> 4, output from hciconfig
> 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
> Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
> Packet type: DM1 DH1 HV1
> Link policy:
> Link mode: SLAVE ACCEPT
>
> 8, output from dmesg
> uhci_hcd 0000:00:07.2: suspend_hc
> uhci_hcd 0000:00:07.2: wakeup_hc
> uhci_hcd 0000:00:07.2: port 1 portsc 0083
> hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
> hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
> usb 1-1: new full speed USB device using address 3
> usb 1-1: skipped 1 descriptor after interface
> usb 1-1: new device strings: Mfr=0, Product=0, SerialNumber=0
> usb 1-1: hotplug
> usb 1-1: adding 1-1:1.0 (config #1, interface 0)
> usb 1-1:1.0: hotplug
> hci_usb 1-1:1.0: usb_probe_interface
> hci_usb 1-1:1.0: usb_probe_interface - got id
> usb 1-1: adding 1-1:1.1 (config #1, interface 1)
> usb 1-1:1.1: hotplug
> usb 1-1: adding 1-1:1.2 (config #1, interface 2)
> usb 1-1:1.2: hotplug
> hci_usb 1-1:1.2: usb_probe_interface
> hci_usb 1-1:1.2: usb_probe_interface - got id
>
>
> I really appreciate your kindly help and your time! if you need any
> further information
> please let me know, thanx again!
>
> Is it a kernel problem? Bluez bug? Configuration Problem? Vmware
> Restrictions? or what else?

maybe the ISOC transfers are not working perfect within VMware. You can
disable them with isoc=0 when loading hci_usb. And you should try a
newer kernel. Check out 2.6.10-mh2 or 2.6.11-rc2.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users