汎用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

しかし、この特定のケースでは、ケーブルを物理的にBluetoothチップ

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チップには必要なファームウェアがロードされています。

カーネルがデバイスにロードされたドライバを検出する方法とそれを実行する方法の観点から、これは合理的な計画ですか?

ベストアンサー1

おすすめ記事