大家好,请教一个问题,我用imx6ull的开发板通过usb转串口线外接了一个ti cc2640的蓝牙模块,插入usb2后提示:
现象1:
usb 1-1: new full-speed USB device number 3 using ci_hdrc
hid-generic 0003:0451:BEF3.0002: device has no listeners, quitting
现象2:
lsusb命令显示有这个设备:
[root@ck ~]# lsusb
Bus 001 Device 003: ID 0451:bef3
Bus 001 Device 001: ID 1d6b:0002
现象3:
hciconfig -a看不到蓝牙模块的信息
我现在想确认开发板和蓝牙模块的通信是否正常,请问有没有比较好的方法?
1)hid-generic 0003:0451:BEF3.0002: device has no listeners, quitting
这句打印是正常的吗?hciconfig -a看不到蓝牙模块的信息是正常的吗?
2)host2插入usb设备后对应的/dev/下的设备文件具体是哪个?如何查看?
3)我想用系统自带的mircocom发at指令给蓝牙模块判断uart是否是通的,请问可行吗?有没有其他好的方法?
初次接触开发,多谢大神们解答!
Hi Chen,
Even if you use USB to UART for your BT, for your system, your BT is still UART device , not USB device. USB to UART chip will be driven as a UART device , such as ttyUSB0 ect.
So for your BT, actually it is connected to a UART, ttyUSB0.
---------------------------------
即使你使用了USB 转串口,但是对于你的蓝牙来说,仍然接的是UART接口,你的USB TO UART芯片,在linux系统中,会被驱动为一个tty串口,可能是ttyUSB0,但是名字你需要自己确认一下。
所以,你的蓝牙,必须要按照串口的连接方法来移植。因为你用的不是USB接口的蓝牙。
------------------------------------
Have a nice day!
weidong sun