On Thu, Mar 5, 2015 at 2:43 PM, Torfinn Ingolfsen <[email protected]> wrote: > On Thu, 5 Mar 2015 08:02:57 -0800 > Maksim Yevmenkin <[email protected]> wrote: > >> On Wed, Mar 4, 2015 at 11:19 PM, Iain Hibbert <[email protected]> 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 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth To unsubscribe, send any mail to "[email protected]"
