We use cookies to provide our visitors with an optimal site experience. View our privacy notice and cookie notice to learn more about how we use cookies and how to manage your settings. By proceeding on our website you consent to the use of cookies.
I met this problem on Beagleboneblack wireless and error log as below.
Could you help provide instructions on how to debug such problems?
Thanks in advance.
root@arm:~# connmanctl
connmanctl> enable wifi
Error wifi: Method “SetProperty” with signature “sv” on interface “net.connman.Technology” doesn’t exist
connmanctl> scan wifi
Error /net/connman/technology/wifi: Method “Scan” with signature “” on interface “net.connman.Technology” doesn’t exist
connmanctl> services
connmanctl> agent on
Agent registered
connmanctl> quit
root@arm:~# uname -a
Linux arm 4.19.19-bone-rt-r21 #1 PREEMPT RT Mon Feb 11 15:17:49 CST 2019 armv7l GNU/Linux
root@arm:~# cat /etc/issue
Debian GNU/Linux 9 \n \l
Additionally, I attach the kernel config for your reference in case I missed some driver during build kernel. config-4.19.19-bone-rt-r21.txt (125.3 KB)
Nov 04 04:09:38 arm systemd[1]: bb-wl18xx-wlan0.service: Unit entered fa
iled state.
Nov 04 04:09:38 arm systemd[1]: bb-wl18xx-wlan0.service: Failed with res
ult ‘timeout’.
root@arm:~# /usr/bin/bb-wl18xx-wlan0
wlan_0_mac=[00:00:00:00:00:00], this forces internal wl18xx mac address…
/lib/firmware/ti-connectivity/wl1271-nvs.bin=[00:00:00:00:00:00]
wl18xx:tether waiting for /sys/class/net/wlan0
wl18xx:tether waiting for /sys/class/net/wlan0
wl18xx:tether waiting for /sys/class/net/wlan0
wl18xx:tether waiting for /sys/class/net/wlan0
wl18xx:tether waiting for /sys/class/net/wlan0
wl18xx:tether waiting for /sys/class/net/wlan0
wl18xx:tether waiting for /sys/class/net/wlan0
wl18xx:tether waiting for /sys/class/net/wlan0
wl18xx:tether waiting for /sys/class/net/wlan0
wl18xx:tether waiting for /sys/class/net/wlan0
wl18xx:tether waiting for /sys/class/net/wlan0
wl18xx:tether waiting for /sys/class/net/wlan0
wl18xx:tether waiting for /sys/class/net/wlan0
wl18xx:tether waiting for /sys/class/net/wlan0
wl18xx:tether waiting for /sys/class/net/wlan0
wl18xx:tether waiting for /sys/class/net/wlan0
wl18xx:tether waiting for /sys/class/net/wlan0
wl18xx:tether waiting for /sys/class/net/wlan0
Thanks much.
I just update the image and wifi works well.
How about the bluetooth failure? Did I miss something else?
root@arm:~# hciconfig -a
hci0: Type: Primary Bus: UART
BD Address: 18:62:E4:07:A5:4E ACL MTU: 1021:6 SCO MTU: 180:4
DOWN
RX bytes:3065 acl:0 sco:0 events:378 errors:0
TX bytes:73898 acl:0 sco:0 commands:379 errors:0
Features: 0xff 0xfe 0x2d 0xfe 0xdb 0xff 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF
Link mode: SLAVE ACCEPT
root@arm:~# sdptool browse local
Failed to connect to SDP server on FF:FF:FF:00:00:00: No such file or directory
root@arm:~# hcitool scan
Device is not available: No such device
root@arm:~# hciconfig hci0 iscan
Can’t set scan mode on hci0: Network is down (100)
root@arm:~# systemctl status bb-wl18xx-bluetooth.service
● bb-wl18xx-bluetooth.service - BB WL18xx Bluetooth Service
Loaded: loaded (/lib/systemd/system/bb-wl18xx-bluetooth.service; enabled; vendor preset: en
abled)
Active: inactive (dead) since Mon 2019-02-11 00:00:09 CST; 3min 55s ago
Process: 607 ExecStart=/usr/bin/bb-wl18xx-bluetooth (code=exited, status=0/SUCCESS)
Feb 11 00:00:06 arm systemd[1]: Starting BB WL18xx Bluetooth Service…
Feb 11 00:00:09 arm bb-wl18xx-bluetooth[607]: Can’t open serial port: No such file or director
y
Feb 11 00:00:09 arm bb-wl18xx-bluetooth[607]: Can’t initialize device: No such file or directo
ry
Feb 11 00:00:09 arm systemd[1]: Started BB WL18xx Bluetooth Service.
Hello,
I follw the below procudure to make totall new image without any cutting.
It seems there missed some bluetooth protocol support and I am not clear whether need to enable some config during building kernel or need apt install some extra pkg.
Thanks for your support.
root@arm:/boot# systemctl status bb-wl18xx-bluetooth.service
● bb-wl18xx-bluetooth.service - BB WL18xx Bluetooth Service
Loaded: loaded (/lib/systemd/system/bb-wl18xx-bluetooth.service; enabled; vendor prese
t: enabled)
Active: inactive (dead) since Mon 2019-04-15 15:17:18 CST; 27min ago
Process: 678 ExecStart=/usr/bin/bb-wl18xx-bluetooth (code=exited, status=0/SUCCESS)
Apr 15 15:17:17 arm systemd[1]: Starting BB WL18xx Bluetooth Service…
Apr 15 15:17:17 arm bb-wl18xx-bluetooth[678]: Found a Texas Instruments’ chip!
Apr 15 15:17:17 arm bb-wl18xx-bluetooth[678]: Firmware file : /lib/firmware/ti-connectivi
ty/TIInit_11.8.32.bts
Apr 15 15:17:17 arm bb-wl18xx-bluetooth[678]: Loaded BTS script version 1
Apr 15 15:17:17 arm bb-wl18xx-bluetooth[678]: texas: changing baud rate to 3000000, flow
control to 1
Apr 15 15:17:18 arm bb-wl18xx-bluetooth[678]: Can’t set device: Protocol not supported
Apr 15 15:17:18 arm bb-wl18xx-bluetooth[678]: Can’t initialize device: Protocol not suppo
rted
Apr 15 15:17:18 arm systemd[1]: Started BB WL18xx Bluetooth Service.
root@arm:/boot#
Sorry. Let me make it more clear.
My goal is to make minimal RTLinux image with booting time as short as possible.
I had built two versions of 4.19.19-bone-rt-r21, 4.14.79-ti-rt-r86 with some cutting before as the below procedure for beagleboneblack Rev C. https://www.digikey.com/eewiki/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Setuname_rin/boot/uEnv.txt
For now, I change to beagleboneblack wireless and I try to use previous image but failed to enable bluetooth.
So as your instructions, I just rebuild the image of 4.14.93-bone-rt-r17 without any cutting and show issues above.
Could you tell me how to go ahead at this point?
1, apt install linux-image-4.19.19-bone-rt-r21 on top of 4.14.93-bone-rt-r17
2, rebuild new image of linux-image-4.19.19-bone-rt-r21?
3, any other fix?
For your reference.
I apt install linux-image-4.19.19-bone-rt-r21 on top of 4.14.93-bone-rt-r17 but happen another error.
Finally I find the below solution
change value from 1 to 0 in this file /var/lib/systemd/rfkill/platform-481a6000.serial:bluetooth.
root@arm:/var/lib/systemd/rfkill# systemctl status bb-wl18xx-bluetooth.service
● bb-wl18xx-bluetooth.service - BB WL18xx Bluetooth Service
Loaded: loaded (/lib/systemd/system/bb-wl18xx-bluetooth.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Fri 2016-11-04 01:18:42 CST; 3min 36s ago
Process: 1071 ExecStart=/usr/bin/bb-wl18xx-bluetooth (code=exited, status=0/SUCCESS)
Nov 04 01:18:39 arm systemd[1]: Starting BB WL18xx Bluetooth Service...
Nov 04 01:18:40 arm bb-wl18xx-bluetooth[1071]: Found a Texas Instruments chip!
Nov 04 01:18:40 arm bb-wl18xx-bluetooth[1071]: Firmware file : /lib/firmware/ti-connectivity/TIInit_11.8.32.bts
Nov 04 01:18:40 arm bb-wl18xx-bluetooth[1071]: Loaded BTS script version 1
Nov 04 01:18:40 arm bb-wl18xx-bluetooth[1071]: texas: changing baud rate to 3000000, flow control to 1
Nov 04 01:18:42 arm bb-wl18xx-bluetooth[1071]: Can't init device hci0: Operationnot possible due to RF-kill (132)Can't initialize device: Operation not possible due to RF-kill
Nov 04 01:18:42 arm systemd[1]: Started BB WL18xx Bluetooth Service.