El día Thursday, April 18, 2019 a las 07:02:38PM +0200, Matthias Apitz escribió:

> El día Thursday, April 18, 2019 a las 08:05:53AM -0700, Adrian Chadd escribió:
> 
> > that means it SHOULD be ready for normal HCI operation. bcdDevice=1 is what
> > the driver uses to determine if it's only in the boot ROM. Yours either got
> > it in a previous boot, or it has a ROM with the full firmware.
> 
> btw: I switched from ChromeOS in developer mode to boot FreeBSD from USB by
> 'reboot' and not by power-cycle. Maybe that's the reason why the
> firmware is still loaded.

Yes, when I do a power-off boot the result of loading the firmware is:

# ./ath3kfw -D -d ugen0.4 -f ~guru/ath3k/share/firmware/ath3k -I 2>&1 | tee log
ath3kfw: opening dev 0.4
ath3k_is_3012: found AR3012
main: state=0x0e
ath3k_load_fwfile: 
file=/home/guru/ath3k/share/firmware/ath3k/ar3k/AthrBT_0x11020000.dfu, 
size=36828
ath3k_load_fwfile: transferring 4096 bytes, offset 20
ath3k_load_fwfile: transferring 4096 bytes, offset 4116
ath3k_load_fwfile: transferring 4096 bytes, offset 8212
ath3k_load_fwfile: transferring 4096 bytes, offset 12308
ath3k_load_fwfile: transferring 4096 bytes, offset 16404
ath3k_load_fwfile: transferring 4096 bytes, offset 20500
ath3k_load_fwfile: transferring 4096 bytes, offset 24596
ath3k_load_fwfile: transferring 4096 bytes, offset 28692
ath3k_load_fwfile: transferring 4040 bytes, offset 32788
ath3k_load_fwfile: 
file=/home/guru/ath3k/share/firmware/ath3k/ar3k/ramps_0x11020000_40.dfu, 
size=1796
ath3k_load_fwfile: transferring 1776 bytes, offset 20
ROM version: 285343744, build version: 155, ram version: 155, ref clock=1
ath3k_load_patch: file 
/home/guru/ath3k/share/firmware/ath3k/ar3k/AthrBT_0x11020000.dfu: 
rom_ver=285343744, build_ver=370
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
ath3k_load_syscfg: syscfg file = 
/home/guru/ath3k/share/firmware/ath3k/ar3k/ramps_0x11020000_40.dfu
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTIONath3k_set_normal_mode: firmware is already in normal mode
ath3k_switch_pid: libusb_control_transfer() failed: code=-4
: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave

ugen0.4: <vendor 0x0489 product 0xe056> at usbus0 (disconnected)                
                                                                                
          
ath3k_switch_pid: libusb_control_transfer() failed: code=-4                     
                                                                                
          
ugen0.4: <vendor 0x0489 product 0xe056> at usbus0                               
                                                                                
        
ubt0 on uhub0                                                                   
                                                                                
          
ubt0: <vendor 0x0489 product 0xe056, class 224/1, rev 1.10/0.02, addr 4> on 
usbus0                                                                          
              
WARNING: attempt to domain_add(bluetooth) after domainfinalize()                
                 

The rest of BT remains the same: nothing works.

        matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
70 years of NATO - 70 years of wars (Jugoslavia, Afghanistan, Syria, ...) and 
70 years
of war preparation against Russia.  -- PEACE instead of NATO !
_______________________________________________
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to