Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Apr 2003 23:07:58 +0900
From:      miniyan <miniyan@kt.rim.or.jp>
To:        Maksim Yevmenkin <myevmenk@exodus.net>
Cc:        current@FreeBSD.ORG
Subject:   Re: bluetooth BW-BH02U reset failure
Message-ID:  <20030401222211.257C.MINIYAN@kt.rim.or.jp>
In-Reply-To: <3E775939.3070907@exodus.net>
References:  <20030318235120.2559.MINIYAN@kt.rim.or.jp> <3E775939.3070907@exodus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Maksim,

It's slow response

[...]
> 
> 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.
I understand it.  It's my further target.

[...]
> 
> 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've no special error on it.

[...]
> >>3) is it uhci or ohci USB controller?
> > 
[...]

I have another PC, which is Crusoe LAPTOP CASIO FIVA 206.  This PC has
OHCI root hub AcerLab M5237 (Aladdin-V) USB controller. I tried to
connect mitsumi's dongle and rc.bluetooth.
So this pc shows error. If you have any well-known problem with OHCI,
please let me know or point information.

# usbdevs -d -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), AcerLabs(0x0000), rev 1.00
  uhub0
 port 1 addr 2: full speed, power 200 mA, config 1, product 0x641f(0x641f), Mitsumi(0x03ee), rev 1.14
   ubt0
 port 2 powered

# /etc/rc.bluetooth start ubt0
BD_ADDR: 00:a0:96:1f:d6:d6
Features: 0xff 0xff 0x5 00 00 00 00 00 
<3-Slot> <5-Slot> <Encryption> <Slot offset>
<Timing accuracy> <Switch> <Hold mode> <Sniff mode>
<Park mode> <RSSI> <Channel quality> <SCO link>
<HV2 packets> <HV3 packets> <u-law log> <A-law log> <CVSD>
<Power control> 
Max. ACL packet size: 128 bytes
Number of ACL packets: 8
Max. SCO packet size: 64 bytes
Number of SCO packets: 8
Could not execute command "initialize". Invalid argument
#
but console shows(sorry detailed value does not recognized. I just take picture
and read text from it) ....
Bad mbuf alloc flags: 1
Stack backtrace:
backtrace(...
mb_alloc(...
m_get(1,8,...
ng_btsocket_hcl_raw_send(
send+0xd8
sosend(
sendit(
sendto(
syscall(
XInt0x80_syscall() at ...
--- syscall (133),elp = ...

> BTW you might want to check Pav Lucistnik's (pav@oook.cz) Bluetooth
> on FreeBSD page.
> 
> http://www.oook.cz/bsd/bluetooth.html
> 
It's very good information.  It's big helps for me.  I trying to connect
with this document.  Unfortunately,  I just finished hccontrol.  h2ping
looks strange.  I just summarize it and send further mail.

Thanks,
Takahiko

-- 
miniyan <miniyan@kt.rim.or.jp>



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