Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-08-2014, 06:32 AM   #1
LQ Newbie
Registered: Nov 2014
Posts: 2

Rep: Reputation: Disabled
linux kernel don't create /dev/hidraw file when plugging in bluetooth dongle


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 ( I installed:
  • libudev-dev
  • libusb-1.0-0-dev
  • libbluetooth3
  • bluez

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:
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
Old 11-08-2014, 10:17 AM   #2
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,813

Rep: Reputation: 749Reputation: 749Reputation: 749Reputation: 749Reputation: 749Reputation: 749Reputation: 749
Did you add the udev rule in 99-hid.rules to your udev directory?
Old 11-08-2014, 11:09 AM   #3
LQ Newbie
Registered: Nov 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Yes I did.

When I pair the RN42 module it creates a hidraw1 file.
But I need the dongle to create a hidraw file, not the bluetooth module.

ls- l /dev/ | grep hidraw:
crw-rw-rw-  1 root root    251,   0 Nov  8 14:05 hidraw0
crw-rw-rw-  1 root root    251,   1 Nov  8 17:42 hidraw1


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for a Bluetooth Dongle for an embedded Linux platform meenakshi.k Linux - Embedded & Single-board computer 1 02-10-2012 11:17 AM
[SOLVED] Which USB device uses which /dev/hidraw file jrosco Linux - Hardware 1 08-05-2011 12:24 AM
[SOLVED] Which USB device uses which /dev/hidraw file [MOVED] jrosco Linux - Software 1 08-04-2011 06:41 AM
Best USB Bluetooth dongle for Linux? trilogybill Linux - Hardware 1 07-27-2011 03:53 PM
devfs and devfsd don't create /dev/dsp or /dev/sound/dsp ? behmjose Linux - Hardware 2 10-02-2006 12:27 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration