public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Michal Semler <cijoml@volny.cz>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Can't init device hci0 (all information included), help! Thanx a lot!!!
Date: Mon, 24 Jan 2005 09:19:33 +0100	[thread overview]
Message-ID: <200501240919.33974.cijoml@volny.cz> (raw)
In-Reply-To: <c93f2a2905012319541a6c820f@mail.gmail.com>

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 <marcel@holtmann.org> 
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
> > Bluez-users@lists.sourceforge.net
> > 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
> Bluez-users@lists.sourceforge.net
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2005-01-24  8:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-23 10:10 [Bluez-users] Can't init device hci0 (all information included), help! Thanx a lot!!! Embedded System
2005-01-23 17:14 ` Marcel Holtmann
2005-01-24  3:54   ` Embedded System
2005-01-24  8:19     ` Michal Semler [this message]
2005-01-24 10:05       ` Embedded System
2005-01-24 12:22         ` Marcel Holtmann
2005-01-25 15:23           ` Embedded System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200501240919.33974.cijoml@volny.cz \
    --to=cijoml@volny.cz \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox