From owner-freebsd-bluetooth@FreeBSD.ORG Sun Aug 5 18:10:10 2007 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51B4016A418 for ; Sun, 5 Aug 2007 18:10:10 +0000 (UTC) (envelope-from mihai@duras.ro) Received: from mail.duras.ro (mail.duras.ro [86.105.56.133]) by mx1.freebsd.org (Postfix) with ESMTP id DBA5013C457 for ; Sun, 5 Aug 2007 18:10:09 +0000 (UTC) (envelope-from mihai@duras.ro) Received: from localhost (localhost [127.0.0.1]) by mail.duras.ro (Postfix) with ESMTP id B9A1C35753; Sun, 5 Aug 2007 21:10:11 +0300 (EEST) Received: from mail.duras.ro ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06523-04; Sun, 5 Aug 2007 21:10:07 +0300 (EEST) Received: from [86.105.56.194] (ma.plimb.cu.barca.prin.padure.ro [86.105.56.194]) by mail.duras.ro (Postfix) with ESMTP id 1D06D2FA5; Sun, 5 Aug 2007 21:10:07 +0300 (EEST) Message-ID: <46B61286.4080807@duras.ro> Date: Sun, 05 Aug 2007 21:10:14 +0300 From: Mihai Tanasescu User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: Maksim Yevmenkin References: <46B07278.4000908@duras.ro> <63857.86.105.56.142.1186040704.squirrel@www.duras.ro> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (RedHat) at duras.ro Cc: freebsd-bluetooth@freebsd.org Subject: Re: Bluesoleil bluetooth problems X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2007 18:10:10 -0000 Maksim Yevmenkin wrote: > On 8/2/07, mihai@duras.ro wrote: > [...] > >> I disabled USB 2.0 from Bios. >> >> I've recompiled the kernel without device ehci. >> >> I commented out the reset in /etc/rc.d/bluetooth >> >> I've read about the NetBSD ehci problems and from what I saw their patch >> was made after one that was already included in FreeBSD. >> >> I've even upgraded the world to the latest RELENG_6_2. >> >> Now I'm getting: >> >> ubt0: vendor 0x1131 ISSCBTA, rev 1.10/3.73, addr 2 >> 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 >> ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command >> OGF=0x4, OCF=0x9. Timeout >> ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15) >> ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15) >> ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command >> OGF=0x4, OCF=0x5. Timeout >> >> The only notable difference I see between my current system and the VMWare >> one under which the dongle was working is that: >> - this system has: >> >> uhci0: port 0xd400-0xd41f irq 21 at device >> 16.0 on pci0 >> usb0: on uhci0 >> >> - the vmware one had emulated an Intel USB controller >> >> but on the other hand I tried the dongle yesterday on a system with: >> and the same problems appeared >> >> Is there anything else I might be missing... ? >> >> >> > > could you please provide the output of > > 1) uname -a > > 2) usbdevs -dv > > 3) dmesg output - better if system was booted with -v > > it would be nice if you can provide the outputs for both cases, i.e. > when freebsd runs inside vmware and on real hardware. > > just from the look of it - its not a bluetooth problem. for whatever > reason, the system can not communicate with your bluetooth dongle. > > thanks, > max > FreeBSD machine: 1. uname -a: FreeBSD 6.2-RELEASE-p6 FreeBSD 6.2-RELEASE-p6 #5: Thu Aug 2 08:21:31 EEST 2007 /usr/obj/usr/src/sys/NEW i386 2. usbdevs -dv (freezes for about 1-2 seconds while displaying the first device): Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 uhub0 port 1 addr 2: full speed, self powered, config 1, ISSCBTA(0x1001), vendor 0x1131(0x1131), rev 3.73 ubt0 port 2 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(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), VIA(0x0000), rev 1.00 uhub2 port 1 powered port 2 powered 3. dmesg with verbose enabled: http://pastebin.com/m1d00e5c9 VMWare Windows machine + FreeBSD: 1. uname -a FreeBSD test 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 2. usbdevs -dv (still the same freeze here as the FreeBSD machine) [root@test ~]# 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 addr 2: full speed, self powered, config 1, product 0x1001(0x1001), vendor 0x1131(0x1131), rev 3.73 ubt0 port 2 addr 3: full speed, self powered, config 1, VMware Virtual USB Hub(0x0002), vendor 0x0e0f(0x0e0f), rev 1.00 uhub1 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered port 7 powered 3. dmesg with verbose enabled: http://pastebin.com/m789b6c58