How do I find the device node file for a USB device in Linux?
I've bought an X10 Home Automation USB interface: the CM15.
This is the information lsusb gives:
skerit@KIP-DU-SKER:~$ lsusb
Bus 008 Device 002: ID 0bc7:0001 X10 Wireless Technology, Inc. ActiveHome (ACPI-compliant)
But this tells me nothing about where the device file is! How can I find that, or create one myself?
Device nodes are created by the kernel automatically (or by udev in older distributions). Udev also creates descriptive links under /dev/disk/by-*/
and similar.
If it's a storage device, lsblk -f
or sudo blkid
should list it.
Serial devices are usually ttyUSBnum
or ttyACMnum
.
For everything else, check the system log in dmesg
.