Hi
I would like to communicate with a microchip RN42 Bluetooth module with the hidapi by Signal11. Unfortunately when I plug in the Bluetooth Dongle there is no hidraw file.
To use the hidapi (
https://github.com/signal11/hidapi) I installed:
- libudev-dev
- libusb-1.0-0-dev
- libbluetooth3
- bluez
lsusb:
Code:
Bus 001 Device 004: ID 0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0
Bus 001 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
udevadm monitor when I plug in the Bluetooth Dongle:
Code:
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[172.625430] add /devices/pci0000:00/0000:00:06.0/usb1/1-3 (usb)
KERNEL[172.627430] add /devices/pci0000:00/0000:00:06.0/usb1/1-3/1-3:1.0 (usb)
KERNEL[172.627798] add /devices/pci0000:00/0000:00:06.0/usb1/1-3/1-3:1.0/bluetooth/hci0 (bluetooth)
KERNEL[172.627820] add /devices/pci0000:00/0000:00:06.0/usb1/1-3/1-3:1.0/bluetooth/hci0/rfkill1 (rfkill)
KERNEL[172.627839] add /devices/pci0000:00/0000:00:06.0/usb1/1-3/1-3:1.1 (usb)
KERNEL[172.627895] add /devices/pci0000:00/0000:00:06.0/usb1/1-3/1-3:1.2 (usb)
KERNEL[172.627913] add /devices/pci0000:00/0000:00:06.0/usb1/1-3/1-3:1.3 (usb)
KERNEL[172.627930] add /devices/pci0000:00/0000:00:06.0/usb1/1-3/firmware/fw-0a5c_21e8.hcd (firmware)
KERNEL[172.627948] change /devices/pci0000:00/0000:00:06.0/usb1/1-3/1-3:1.0/bluetooth/hci0/rfkill1 (rfkill)
KERNEL[172.629813] remove /devices/pci0000:00/0000:00:06.0/usb1/1-3/firmware/fw-0a5c_21e8.hcd (firmware)
UDEV [172.629998] add /devices/pci0000:00/0000:00:06.0/usb1/1-3/firmware/fw-0a5c_21e8.hcd (firmware)
UDEV [172.631344] remove /devices/pci0000:00/0000:00:06.0/usb1/1-3/firmware/fw-0a5c_21e8.hcd (firmware)
UDEV [172.641253] add /devices/pci0000:00/0000:00:06.0/usb1/1-3 (usb)
UDEV [172.648264] add /devices/pci0000:00/0000:00:06.0/usb1/1-3/1-3:1.1 (usb)
UDEV [172.651699] add /devices/pci0000:00/0000:00:06.0/usb1/1-3/1-3:1.3 (usb)
UDEV [172.656242] add /devices/pci0000:00/0000:00:06.0/usb1/1-3/1-3:1.0 (usb)
UDEV [172.657315] add /devices/pci0000:00/0000:00:06.0/usb1/1-3/1-3:1.0/bluetooth/hci0 (bluetooth)
UDEV [172.658602] add /devices/pci0000:00/0000:00:06.0/usb1/1-3/1-3:1.0/bluetooth/hci0/rfkill1 (rfkill)
UDEV [172.659660] change /devices/pci0000:00/0000:00:06.0/usb1/1-3/1-3:1.0/bluetooth/hci0/rfkill1 (rfkill)
UDEV [172.665920] add /devices/pci0000:00/0000:00:06.0/usb1/1-3/1-3:1.2 (usb)
When I paired the Dongle with the RN42 via blueman he creates a hidraw1 file for the RN42 module.
I work in a virtual box, but same occurs when I use my laptop without a virtual machine.
I already postet it in stackoverflow without success.
Any help will be highly appreciated.
Regards, mayyer