From owner-freebsd-current Tue Mar 18 9:40:17 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1192C37B404 for ; Tue, 18 Mar 2003 09:40:14 -0800 (PST) Received: from scl8owa02.int.exodus.net (scl8out02.exodus.net [66.35.230.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id D966743FCB for ; Tue, 18 Mar 2003 09:40:07 -0800 (PST) (envelope-from Maksim.Yevmenkin@cw.com) Received: from scl8owa01.int.exodus.net ([66.35.230.241]) by scl8owa02.int.exodus.net with Microsoft SMTPSVC(5.0.2195.5329); Tue, 18 Mar 2003 09:40:07 -0800 Received: from exodus.net ([165.193.27.35]) by scl8owa01.int.exodus.net over TLS secured channel with Microsoft SMTPSVC(5.0.2195.5329); Tue, 18 Mar 2003 09:40:07 -0800 Message-ID: <3E775939.3070907@exodus.net> Date: Tue, 18 Mar 2003 09:36:57 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021126 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: miniyan Cc: current@FreeBSD.ORG Subject: Re: bluetooth BW-BH02U reset failure References: <790A8B1F40ACA848939EBD247AE490302794F8@scl8ex04.int.exodus.net> <20030318235120.2559.MINIYAN@kt.rim.or.jp> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Mar 2003 17:40:07.0273 (UTC) FILETIME=[6A73DD90:01C2ED75] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello Takahiko, [...] >>well, i did some research on that. it turns out Broadcom Bluetooth >>chip based devices require firmware download. in particular the >>device you have (Vendor ID 0x0a5c/Product ID 0x2033) uses special >>procedure to download firmware file, i.e. you have to download >>mini-driver first and then firmware itself. you can find both mini-driver >>and firmware images on the net. also Linux BlueZ stack has bluefw >>utility that can download firmware into this device. i will need >>to port this on FreeBSD. however i'm not sure about copyright issues. >> >>bottom line: i removed this device from the list of supported devices >>for now. i will add support for firmware download in the next version >>of ng_ubt(4) driver. > > I just understand about this information. I cannot found firmware for > DBT120, BW120M and GWBH02H. Of course, you know, this problem is > effects every BroadCom(Vendor ID 0x0a5c/Product ID 0x2033) devices. > I checked BlueZ bluefw already. what you need is Linux bluez-bluefw-0.9 package. in firmware/ directory you will find two files: BCM2033-MD.hex (mini-driver) and BCM2033-FW.bin (firmware). the loader itself is implemented in bcm_usb.c file. [...] >>>ubt_bulk_in_complete: ubt0 - Bulk-in xfer failed. IOERROR (13) >>>ubt0: at uhub0 port 2 (addr 2) disconnected >>>ubt_bulk_in_complete: ubt0 - Bulk-in xfer failed. IOERROR (13) >>>----- 19 times repeat last line ---- >>>ubt0: detached >> >>1) do these errors happen only when you disconnect the device? > > I checked my action, I've my action fault. > I was doing following actions... > a. connect USB BT device > b. run rc.bluetooth start > c. disconnect USB BT device > d. run rc.bluetooth stop right. you *will* get these errors if you disconnect the device while stack is running (i.e. USB transfer is pending). i'm still looking into USB code to find why i'm getting lots of IOERRORs before CANCELLED. > I works with following actions to do not happen that errors. > a. connect USB BT device > b. run rc.bluetooth start > c. run rc.bluetooth stop > d. disconnect USB BT device yes. you should not get any errors if you stop the stack first. once you stop the stack all pending USB transfers are removed. >>2) do you see these errors during the normal activity, i.e. when >> device is active and you try to send/receive data? > > Device already removed. > >>3) is it uhci or ohci USB controller? > > boot message and usbdevs asked controller is uhci. Do I has to check on > board? > ------- messages > Mar 14 09:38:52 xxxx kernel: uhci0: controller> port 0x9000-0x901f irq 10 at device 7.2 on pci0 > Mar 14 09:38:52 xxxx kernel: usb0: controller> on uchi0 > ------- usbdevs > Controller /dev/usb0: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 > port 1 powered > port 2 addr 2: full speed, power 200 mA, config 1, product 0x641f(0x641f), Mitsumi(0x03ee), rev 1.14 no. that is good enough. BTW you might want to check Pav Lucistnik's (pav@oook.cz) Bluetooth on FreeBSD page. http://www.oook.cz/bsd/bluetooth.html this page has some useful information. please let me know about your progress. thank you, max To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message