범용 TTL-232R->USB 케이블에 Bluetooth 드라이버 로드

범용 TTL-232R->USB 케이블에 Bluetooth 드라이버 로드

나 이거 하나 갖고 있어TTL-232R->USB저는 보통 임베디드 보드의 터미널에서 케이블에 접근하는 데 사용합니다. 일반적으로 다음과 같이 감지됩니다.

[89702.948822] usb 2-3.7: new full-speed USB device number 38 using xhci_hcd
[89703.053567] usb 2-3.7: New USB device found, idVendor=067b, idProduct=2303
[89703.053570] usb 2-3.7: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[89703.053573] usb 2-3.7: Product: USB-Serial Controller
[89703.053575] usb 2-3.7: Manufacturer: Prolific Technology Inc.
[89703.054082] pl2303 2-3.7:1.0: pl2303 converter detected
[89703.055093] usb 2-3.7: pl2303 converter now attached to ttyUSB1

하지만 이 특정한 경우에는 케이블을 물리적으로블루투스 칩.

dmesg다음은 전용 USB Bluetooth 어댑터를 연결하는 경우의 예입니다.

[   68.042031] usb 3-1: new full-speed USB device number 2 using ohci-platform
[   68.308106] usb 3-1: New USB device found, idVendor=0a12, idProduct=0001
[   68.308130] usb 3-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[   68.308141] usb 3-1: Product: CSR8510 A10
[   68.405627] Bluetooth: Core ver 2.21
[   68.405833] NET: Registered protocol family 31
[   68.405846] Bluetooth: HCI device and connection manager initialized
[   68.405883] Bluetooth: HCI socket layer initialized
[   68.405903] Bluetooth: L2CAP socket layer initialized
[   68.405974] Bluetooth: SCO socket layer initialized
[   68.438517] usbcore: registered new interface driver btusb
[   68.901221] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   68.901243] Bluetooth: BNEP filters: protocol multicast
[   68.901281] Bluetooth: BNEP socket layer initialized

적절한 드라이버는 Bluetooth 장치를 HCI 장치로 노출합니다.

내 목표는 TTL-232R을 Bluetooth 칩의 UART 핀에 직접 연결하여 HCI 장치로 감지할 수 있도록 하는 것입니다. Bluetooth 칩에는 필요한 펌웨어가 로드되어 있습니다.

커널이 장치에 로드된 드라이버를 감지하는 방법과 이를 실행하는 방법의 관점에서 볼 때 이것이 합리적인 계획입니까?

관련 정보