Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Mar 2015 15:19:49 -0800
From:      Maksim Yevmenkin <maksim.yevmenkin@gmail.com>
To:        Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no>
Cc:        "freebsd-bluetooth@freebsd.org" <freebsd-bluetooth@freebsd.org>
Subject:   Re: Belkin F8T065 doesn't register properly (BCM20702A0)
Message-ID:  <CAFPOs6rrpSSbbXf%2BbZa-kDR=qFa1_6CaWCi4Lnx0zKwuY2yMig@mail.gmail.com>
In-Reply-To: <20150305234319.89f5e1bf9baf7c36f9f6c75b@getmail.no>
References:  <20150228220307.b0ab42716d574a9bcfd83094@getmail.no> <20150303223312.c7b12845ae652cfc315c1b61@getmail.no> <CAFPOs6o1UYeUS45Pbdu_xEswf1cH6=m1ynQ%2BNpeyOi64ip8v-A@mail.gmail.com> <20150304225917.56bb81d3e6da2773a0deb5fa@getmail.no> <CC570AED-5D2F-429C-A070-31A1FA8C8545@gmail.com> <alpine.NEB.2.11.1503050714091.7322@galant.ogmig.net> <CAFPOs6pHZQyjroVh8=7J_-T7JcaY%2Bs_kriXjPXVDNb5YKQmOkg@mail.gmail.com> <20150305234319.89f5e1bf9baf7c36f9f6c75b@getmail.no>

index | next in thread | previous in thread | raw e-mail

On Thu, Mar 5, 2015 at 2:43 PM, Torfinn Ingolfsen
<torfinn.ingolfsen@getmail.no> wrote:
> On Thu, 5 Mar 2015 08:02:57 -0800
> Maksim Yevmenkin <maksim.yevmenkin@gmail.com> wrote:
>
>> On Wed, Mar 4, 2015 at 11:19 PM, Iain Hibbert <plunky@ogmig.net> wrote:
>> > On Wed, 4 Mar 2015, maksim yevmenkin wrote:
>> >
>> >> >> looking for. of course, like i mentioned before, you need to hack
>> >> >> something to load firmware. older Broadcom chips can be loaded with
>> >> >> bcmfw(8). so its a good place to start.
>> >> >
>> >> > If I understand this correctly, bcmfw(8) needs ubtbcmfw(4) to be able to download firmware?
>> >>
>> >> You might be able to use ugen.
>
> Ok, I didn't think of that.
> A quick hack on a copy of bcmfw, and I have this:
> removed the check for '-m':
> tingo@kg-core1$ ~/work/bcmfw/bcmfw -n ugen3.3 -f ./Win32/BCM20702A1_001.002.014.0889.0927.hex
> bcmfw[45566]: Unsupported device, VendorID=0x50d, ProductID=0x65a

can you please tell which copy is it? netbsd or freebsd one?


> that is as should be - cool.
> Next, I add the correct VendorID and ProductID, and comment out the mini-driver download part.
> Now I get this:
> tingo@kg-core1$ ~/work/bcmfw/bcmfw -n ugen3.3 -f ./Win32/BCM20702A1_001.002.014.0889.0927.hex
> bcmfw[45611]: Could not open(/dev/ugen3.3.1). No such file or directory (2)
> Hmm, change BCMFW_INTR_EP to 0 (zero) then.

...hmm....

> tingo@kg-core1$ ~/work/bcmfw/bcmfw -n ugen3.3 -f ./Win32/BCM20702A1_001.002.014.0889.0927.hex
> bcmfw[45673]: Could not open(/dev/ugen3.3.0). No such file or directory (2)

yes, that's not going to work, i think...

> Ok, I'm doing things I don't know here, but dump current description says (in part)
> root@kg-core1# usbconfig -d ugen3.3 dump_curr_config_desc
> ugen3.3: <BCM20702A0 Broadcom Corp> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)

...

i think you need to use libusb. here some linux python code that might
be of some help

https://github.com/Dolnor/DELL-SCT-Support/blob/master/Clover/OEM/Wireless/SLE/BTFirmwareUploader.kext/Contents/Resources/bcmfwup.py

thanks,
max


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFPOs6rrpSSbbXf%2BbZa-kDR=qFa1_6CaWCi4Lnx0zKwuY2yMig>