Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 2008 21:00:55 +0200
From:      "Rodion Turlac" <vasilicht@gmail.com>
To:        freebsd-bluetooth@freebsd.org
Subject:   bluesoleil dongle and "ubt0 - Control request failed"
Message-ID:  <23295d220811181100y46748247l4572300c101087d7@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello.
I have tried to setup bluesoleil dongle on freebsd 7.1-pre.
I incresed some variables that reduced error outputs:
sysctl net.bluetooth.hci.command_timeout=30
sysctl net.bluetooth.hci.sockets.raw.ioctl_timeout=30

But I still got error messages like that ubt_request_complete2: ubt0 -
Control request failed. TIMEOUT (15) and ask for help.
I have include outputs of diagnostic commands.

rad-home-60# ngctl types
There are 7 total types:
      Type name   Number of living nodes
      ---------   ----------------------
         socket       1
     btsock_l2c       1
 btsock_l2c_raw       1
 btsock_hci_raw       1
          l2cap       1
            hci       1
            ubt       1

rad-home-60# ngctl li
There are 7 total nodes:
  Name: btsock_l2c_raw  Type: btsock_l2c_raw  ID: 00000003   Num hooks: 1
  Name: ubt0hci         Type: hci             ID: 00000006   Num hooks: 3
  Name: btsock_hci_raw  Type: btsock_hci_raw  ID: 00000002   Num hooks: 1
  Name: ubt0l2cap       Type: l2cap           ID: 0000000a   Num hooks: 3
  Name: ngctl1049       Type: socket          ID: 00000011   Num hooks: 0
  Name: btsock_l2c      Type: btsock_l2c      ID: 00000004   Num hooks: 1
  Name: ubt0            Type: ubt             ID: 00000001   Num hooks: 1

rad-home-60# ngctl status ubt0:
Status for "ubt0:":
Hook: hook
Flags: 0x30
Debug: 3
CMD queue: [have:0,max:12]
ACL queue: [have:0,max:12]
SCO queue: [have:0,max:12]

rad-home-60# ngctl status ubt0hci:
Status for "ubt0hci:":
bdaddr 11:11:11:11:11:11
Hooks  drv acl  raw
State  0x3
Queue  cmd:0
Buffer cmd:1,acl:8,8,678,sco:10,10,48

During start command /etc/rc.d/bluetooth start ubt0 there is no
output, I made dump with hcidump.

rad-home-60# hcidump -tx
HCIDump - HCI packet analyzer ver 1.5
device: any snap_len: 65535 filter: 0xffffffff
1227033020.314621 < HCI Command: Read BD ADDR(0x04|0x0009) plen 0
1227033020.317276 > HCI Event: Command Complete(0x0e) plen 10
  01 09 10 00 11 11 11 11 11 11
1227033020.319685 < HCI Command: Read Local Supported
Features(0x04|0x0003) plen 0
1227033025.319434 > HCI Event: Command Complete(0x0e) plen 12
  01 03 10 00 BF FE 8D 78 08 18 00 00
1227033025.321803 < HCI Command: Read Buffer Size(0x04|0x0005) plen 0
1227033030.322611 > HCI Event: Command Complete(0x0e) plen 11
  01 05 10 00 A6 02 30 08 00 0A 00
1227033030.353647 < HCI Command: Write Scan Enable(0x03|0x001a) plen 1
  03
1227033035.325771 > HCI Event: Command Complete(0x0e) plen 4
  01 1A 0C 00
1227033035.328136 < HCI Command: Write Class of Device(0x03|0x0024) plen 3
  0C 01 FF
1227033040.327931 > HCI Event: Command Complete(0x0e) plen 4
  01 24 0C 00
1227033040.330280 < HCI Command: Write Authentication Enable(0x03|0x0020) plen 1
  00
1227033045.331097 > HCI Event: Command Complete(0x0e) plen 4
  01 20 0C 00
1227033045.333341 < HCI Command: Write Encryption Mode(0x03|0x0022) plen 1
  00
1227033050.334260 > HCI Event: Command Complete(0x0e) plen 4
  01 22 0C 00
1227033050.338587 < HCI Command: Change Local Name(0x03|0x0013) plen 248
  72 61 64 2D 68 6F 6D 65 2D 36 30 2E 72 61 64 2E 63 6F 6D 20
  28 75 62 74 30 29 00 28 00 64 08 28 84 EB BF BF D3 C7 05 28
  74 EB BF BF 68 EB BF BF 01 00 00 00 00 60 08 28 AC 9A B0 07
  32 87 04 08 00 64 08 28 20 EB BF BF 03 00 00 00 03 00 00 00
  00 64 08 28 14 F7 07 28 20 A0 08 28 00 60 08 28 C4 EB BF BF
  D3 C7 05 28 B4 EB BF BF 20 A0 08 28 01 00 00 00 FF EB 05 28
  00 00 00 00 E4 84 04 08 32 87 04 08 38 EA 05 28 80 A0 08 28
  14 F7 07 28 C4 EB BF BF 76 EC 05 28 80 A0 08 28 14 F7 07 28
  04 EC BF BF E8 C8 05 28 24 3D 08 28 01 00 00 00 F4 EB BF BF
  01 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 28 EC BF BF
  DF 7F 0C 28 14 EC BF BF 00 64 08 28 D4 EC BF BF 7D 85 16 28
  B0 EC BF BF 04 00 00 00 24 87 05 08 D4 EC BF BF 00 00 00 00
  00 00 00 00 B0 EC BF BF
1227033055.344425 > HCI Event: Command Complete(0x0e) plen 4
  01 13 0C 00

rad-home-60# uname -a
FreeBSD rad-home-60.rad.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #4:
Sat Nov 15 20:40:18 EET 2008
root@rad-home-60.rad.com:/usr/obj/usr/src/sys/KERNEL  i386

rad-home-60# usbdevs -dv
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
Intel(0x0000), rev 1.00
  uhub0
 port 1 powered
 port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
Intel(0x0000), rev 1.00
  uhub1
 port 1 powered
 port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
Intel(0x0000), rev 1.00
  uhub2
 port 1 powered
 port 2 powered
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
Intel(0x0000), rev 1.00
  uhub3
 port 1 addr 2: full speed, self powered, config 1, ISSCBTA(0x1001),
vendor 0x1131(0x1131), rev 3.73
   ubt0
 port 2 powered
Controller /dev/usb4:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000),
Intel(0x0000), rev 1.00
  uhub4
 port 1 powered
 port 2 powered
 port 3 powered
 port 4 powered
 port 5 powered
 port 6 powered
 port 7 powered
 port 8 powered

rad-home-60# dmesg
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.1-PRERELEASE #4: Sat Nov 15 20:40:18 EET 2008
    root@rad-home-60.rad.com:/usr/obj/usr/src/sys/KERNEL
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) CPU 2.80GHz (2793.19-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf49  Stepping = 9
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x441d<SSE3,DTES64,MON,DS_CPL,CNXT-ID,xTPR>
real memory  = 1609756672 (1535 MB)
avail memory = 1559703552 (1487 MB)
ACPI APIC Table: <INTEL  D865GBF >
ioapic0 <Version 2.0> irqs 0-23 on motherboard
acpi0: <INTEL D865GBF> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 5ff00000 (3) failed
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> mem
0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xfc000000-0xfcffffff irq
16 at device 0.0 on pci1
nvidia0: <Unknown> on vgapci0
vgapci0: child nvidia0 requested pci_enable_busmaster
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
nvidia0: [GIANT-LOCKED]
nvidia0: [ITHREAD]
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xe000-0xe01f
irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xe400-0xe41f
irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0xe800-0xe81f
irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xec00-0xec1f
irq 16 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
uhub3: 2 ports with 2 removable, self powered
ehci0: <Intel 82801EB/R (ICH5) USB 2.0 controller> mem
0xfebffc00-0xfebfffff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb4: waiting for BIOS to give up control
usb4: timed out waiting for BIOS
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <Intel 82801EB/R (ICH5) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb4
uhub4: 8 ports with 8 removable, self powered
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
rl0: <RealTek 8139 10/100BaseTX> port 0xc800-0xc8ff mem
0xfeaffc00-0xfeaffcff irq 19 at device 3.0 on pci2
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> PHY 0 on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:e0:4c:39:10:b2
rl0: [ITHREAD]
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on
pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
ichsmb0: <Intel 82801EB (ICH5) SMBus controller> port 0xdc00-0xdc1f
irq 17 at device 31.3 on pci0
ichsmb0: [GIANT-LOCKED]
ichsmb0: [ITHREAD]
smbus0: <System Management Bus> on ichsmb0
pcm0: <Intel ICH5 (82801EB)> mem
0xfebff800-0xfebff9ff,0xfebff400-0xfebff4ff irq 17 at device 31.5 on
pci0
pcm0: [ITHREAD]
pcm0: primary codec not ready!
pcm0: <Analog Devices AD1985 AC97 Codec>
acpi_button0: <Sleep Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse, device ID 3
fdc0: <floppy drive controller> port
0x3f0-0x3f1,0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ubt0: <vendor 0x1131 ISSCBTA, class 224/1, rev 1.10/3.73, addr 2> on uhub3
ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2
ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83,
isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294
Timecounter "TSC" frequency 2793193168 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 152627MB <WDC WD1600AAJB-22PVA0 00.07H00> at ata0-master UDMA100
ad1: 114473MB <Seagate ST3120814A 3.AAH> at ata0-slave UDMA100
acd0: CDRW <ASUS CB-5216A/1.06> at ata1-master UDMA100
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
cd0 at ata1 bus 0 target 0 lun 0
cd0: <ASUS CB-5216A 1.06> Removable CD-ROM SCSI-0 device
cd0: 100.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not
present - tray closed
GEOM_LABEL: Label for provider ad0s1 is msdosfs/DOS.
GEOM_LABEL: Label for provider ad0s5 is ntfs/W2K.
GEOM_LABEL: Label for provider ad0s6 is ntfs/DATA.
GEOM_LABEL: Label for provider ad0s7 is ntfs/VIDEO.
GEOM_LABEL: Label for provider ad1s5 is ntfs/GAMES.
GEOM_LABEL: Label for provider ad1s6 is ntfs/RADIK.
GEOM_JOURNAL: Journal 761889422: ad1s3f contains data.
GEOM_JOURNAL: Journal 761889422: ad1s3f contains journal.
GEOM_JOURNAL: Journal ad1s3f clean.
Trying to mount root from ufs:/dev/ad1s3a
WARNING: attempt to net_add_domain(bluetooth) after domainfinalize()
WARNING: attempt to net_add_domain(netgraph) after domainfinalize()
ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15)
ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15)
ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15)
ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15)
ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15)
ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15)
ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15)
ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15)
ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15)
ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15)
ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15)
ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15)
ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15)
ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15)
ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15)
ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23295d220811181100y46748247l4572300c101087d7>