自己编译的longan_sdk固件,
按照4.3.6 小节测试蓝牙时,执行绑定串口时报错如下:
#hciattach -n ttyS1 xradio
Unknown device type or id
执行 ls /dev/ 时,下面是有 ttyS1 的。
能请问一下怎么解决吗?
自己编译的longan_sdk固件,
按照4.3.6 小节测试蓝牙时,执行绑定串口时报错如下:
#hciattach -n ttyS1 xradio
Unknown device type or id
执行 ls /dev/ 时,下面是有 ttyS1 的。
能请问一下怎么解决吗?
longan的系统组件支持不是很全,他们的这个bluez tools并未支持 xradio下载功能,请使用我们提供的 buildroot sdk 或者 tina sdk
好的!非常感谢!
100ASK T113开发板 XR829 蓝牙启动失败。照TINA 指南操作的。root@TinaLinux:/# bt_test -p a2dp-sink
[1]+ Done(1) hciattach -n /dev/ttyS1 xradio
root@TinaLinux:/# 1675663415.786316: BTMG[bt_manager_enable:407]: bt manager version:Version:3.0.1.202110291544,builed time:Oct 29 2021-09:14:39
1675663415.786417: BTMG[bt_test_status_cb:82]: bt is turnning on.
hcidump_xr start
Bluetooth init has been completed!!
/etc/bluetooth/bt_init.sh: line 92: hcidump_xr: not found
ln: /var/lib/bluetooth: No such file or directory
bluetoothd[502]: Bluetooth daemon 5.54
D-Bus setup failed: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
bluetoothd[502]: Unable to get on D-Bus
bluealsa: Couldn’t initialize controller thread: Bad file descriptor
1675663417.067631: BTMG[bt_profile_global_init:355]: start bluealsa :1 times
1675663417.068530: [a2dp_sink_thread_process:270]: BlueALSA connection failed: No such file or directory
1675663417.073417: BTMG[bt_routine:68]: Couldn’t obtain D-Bus connection: Could not connect: No such file or directory
1675663417.569506: BTMG[bt_manager_enable:449]: init connection to bluez failed!
nothing to do.
1675663417.576276: BTMG[bt_test_status_cb:65]: BT is off