Recalbox 4.1 x64 stable on PC : is there a way to see if the onboard bluetooth is supported ?
-
@substring said in Recalbox 4.1 x64 stable on PC : is there a way to see if the onboard bluetooth is supported ?:
hciconfig
Wow fastest answer ever !
I got this :
/boot$ hciconfig
hci0: Type: BR/EDR Bus: USB
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:86 acl:0 sco:0 events:4 errors:0
TX bytes:12 acl:0 sco:0 commands:4 errors:0Edit : so I guess it's not supported ?
-
(Since there's no address right ?)
-
@maldorhan could be a simple firmware problem. Do you know the BT chipset ? if not can you find it in
dmesg
? or, with your pi plugged, go to http://recalbox/help and generate a support archive -
Here's what I found in dmesg : (if I read the right part ?)
[ 1.786196] e1000e 0000:00:1f.6 0000:00:1f.6 (uninitialized): registered PHC clock
[ 1.837669] usb 1-8: New USB device found, idVendor=8087, idProduct=0a2b
[ 1.837671] usb 1-8: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.844536] usbcore: registered new interface driver btusb
[ 1.845402] Bluetooth: hci0: Bootloader revision 0.0 build 26 week 38 2015
[ 1.846407] Bluetooth: hci0: Device revision is 16
[ 1.846408] Bluetooth: hci0: Secure boot is enabled
[ 1.846409] Bluetooth: hci0: OTP lock is enabled
[ 1.846409] Bluetooth: hci0: API lock is enabled
[ 1.846410] Bluetooth: hci0: Debug lock is disabled
[ 1.846411] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 1.846755] bluetooth hci0: Direct firmware load for intel/ibt-12-16.sfi failed with error -2
[ 1.846761] Bluetooth: hci0: Failed to load Intel firmware file (-2)
[ 1.847516] Bluetooth: hci0: Bootloader revision 0.0 build 26 week 38 2015
[ 1.848220] usbcore: registered new interface driver usbhid
[ 1.848222] usbhid: USB HID core driver
[ 1.848433] Bluetooth: hci0: Device revision is 16
[ 1.848434] Bluetooth: hci0: Secure boot is enabled
[ 1.848434] Bluetooth: hci0: OTP lock is enabled
[ 1.848435] Bluetooth: hci0: API lock is enabled
[ 1.848435] Bluetooth: hci0: Debug lock is disabled
[ 1.848436] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 1.848443] bluetooth hci0: Direct firmware load for intel/ibt-12-16.sfi failed with error -2
[ 1.848444] Bluetooth: hci0: Failed to load Intel firmware file (-2)
[ 1.870989] e1000e 0000:00:1f.6 eth0: (PCI Express:2.5GT/s:Width x1) f4:4d:30:6c:89:9c
[ 1.870991] e1000e 0000:00:1f.6 eth0: Intel(R) PRO/1000 Network Connection -
@maldorhan Bull's eye ! looks like we're missing that driver for now
-
@substring Well, I'll just wait for it to be integrated (maybe?) in future releases and go buy a random generic bluetooth dongle for now I guess Thanks a lot for your help anyway !
-
the file is available at https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/intel
No idea yet where to drop it ... /lib/firmware/intel ? or /etc/firmware/intel ? No recalbox at hand for now.
But i think we can make it available by default in a later release
-
@substring Oh wow thanks ! I answered before I saw your second answer, i'm gonna check if I can add it manually (I have no clue about that yet), and else wait for an update, thanks A LOT for considering it and again for your help !
-
@maldorhan Once I get back home i'll have a quick look where the file is suppoed to be. I don't know if you're familiar with linux, but it may not be a funny moment for you to drop the file where it is expected. I'll give you the step-by-step if necessary
-
I have honestly no idea where to put it yet even if I know a bit of Linux but I'll make sure to look hard for it and if needed follow your (very much appreciated) advices when you get home
-
Seems to be /lib/firmware/intel doesn't work for now though
-
I get that after adding the files
Bluetooth: hci0: Found device firmware: intel/ibt-12-16.sfi
[ 1.858988] Bluetooth: hci0: Failed to send firmware signature (-38)Edit : this the the new message I get in dmesg, no idea how to bypass? the signature check or add one
-
@maldorhan I'm still looking for, but anyway, keep checking with
hciconfig
because the firmware upload happens wuite early in the boot process, might need bluez to be started too -
@Substring hciconfig still the same for now, dmesg fails because of this "fail to send firmware signature" error now so it finds the firmware but doesnt load it up for some reason, I have no idea what's this signature sending error is about, still googling it with no results yet, I'll try to reboot and wait a bit more
-
/lib/firmware/intel$ dmesg | grep Bluetooth
[ 1.476560] Bluetooth: Core ver 2.21
[ 1.476569] Bluetooth: HCI device and connection manager initialized
[ 1.476572] Bluetooth: HCI socket layer initialized
[ 1.476574] Bluetooth: L2CAP socket layer initialized
[ 1.476585] Bluetooth: SCO socket layer initialized
[ 1.493970] Bluetooth: HCI UART driver ver 2.3
[ 1.493972] Bluetooth: HCI UART protocol H4 registered
[ 1.493972] Bluetooth: HCI UART protocol BCSP registered
[ 1.493973] Bluetooth: HCI UART protocol LL registered
[ 1.493974] Bluetooth: HCI UART protocol ATH3K registered
[ 1.493975] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 1.493999] Bluetooth: HCI UART protocol Intel registered
[ 1.494011] Bluetooth: HCI UART protocol BCM registered
[ 1.494012] Bluetooth: HCI UART protocol QCA registered
[ 1.846754] Bluetooth: hci0: Bootloader revision 0.0 build 26 week 38 2015
[ 1.847769] Bluetooth: hci0: Device revision is 16
[ 1.847770] Bluetooth: hci0: Secure boot is enabled
[ 1.847770] Bluetooth: hci0: OTP lock is enabled
[ 1.847771] Bluetooth: hci0: API lock is enabled
[ 1.847771] Bluetooth: hci0: Debug lock is disabled
[ 1.847772] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 1.857202] Bluetooth: hci0: Found device firmware: intel/ibt-12-16.sfi
[ 1.858988] Bluetooth: hci0: Failed to send firmware signature (-38)
[ 3.877037] Bluetooth: hci0: Reading Intel version information failed (-110)
[ 3.877039] Bluetooth: hci0 command 0xfc05 tx timeout
[ 17.272526] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 17.272528] Bluetooth: BNEP filters: protocol multicast
[ 17.272531] Bluetooth: BNEP socket layer initialized -
@maldorhan try running
modprobe -r btusb ; modprobe btusb
and report back. If the first command fails, tryrmmod btusb ; modprobe btusb
-
@substring rebooting gave me another error, that is really weird : (without to change anything since last signature error)
/sbin$ dmesg | grep Bluetooth
[ 1.449567] Bluetooth: Core ver 2.21
[ 1.449577] Bluetooth: HCI device and connection manager initialized
[ 1.449580] Bluetooth: HCI socket layer initialized
[ 1.449583] Bluetooth: L2CAP socket layer initialized
[ 1.449591] Bluetooth: SCO socket layer initialized
[ 1.463656] Bluetooth: HCI UART driver ver 2.3
[ 1.463658] Bluetooth: HCI UART protocol H4 registered
[ 1.463659] Bluetooth: HCI UART protocol BCSP registered
[ 1.463659] Bluetooth: HCI UART protocol LL registered
[ 1.463660] Bluetooth: HCI UART protocol ATH3K registered
[ 1.463661] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 1.463685] Bluetooth: HCI UART protocol Intel registered
[ 1.463696] Bluetooth: HCI UART protocol BCM registered
[ 1.463696] Bluetooth: HCI UART protocol QCA registered
[ 3.941418] Bluetooth: hci0 command 0xfc05 tx timeout
[ 3.941450] Bluetooth: hci0: Reading Intel version information failed (-110)
[ 5.957541] Bluetooth: hci0 command 0xfc05 tx timeout
[ 5.957547] Bluetooth: hci0: Reading Intel version information failed (-110)
[ 23.468044] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 23.468046] Bluetooth: BNEP filters: protocol multicast
[ 23.468050] Bluetooth: BNEP socket layer initialized -
@substring said in Recalbox 4.1 x64 stable on PC : is there a way to see if the onboard bluetooth is supported ?:
modprobe -r btusb
I can't seem to be able to run the modprobe command (command not found) (that's where my small Linux knowledge stops I guess)
-
@maldorhan run rmmod instead of modprobe -r
-
@substring both say "command not found" through SCP and nothing seem to happen through SSH :
SSH :
modprobe -r btusb ; modprobe btusb
modprobe -r btusb
modprobe btusb
rmmod btusb ; modprobe btusb
hciconfig
hci0: Type: BR/EDR Bus: USB
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:81 acl:0 sco:0 events:8 errors:0
TX bytes:661 acl:0 sco:0 commands:7 errors:0SCP :
/sbin$ modprobe -r btusb
-sh: line 94: modprobe: command not found
/sbin$ modprobe -r btusb ; modprobe btusb
-sh: line 96: modprobe: command not found
-sh: line 96: modprobe: command not found
/sbin$ rmmod btusb ; modprobe btusb
-sh: line 98: rmmod: command not found
-sh: line 98: modprobe: command not foundSorry if I mess up something... long time I didnt use all of this I might do something stupid