udev

udev (userspace /dev) is a device manager for the Linux kernel. As the successor of devfsd and hotplug, udev primarily manages device nodes in the /dev directory.
Source: https://en.wikipedia.org/wiki/Udev

[Top][Home]


IC7300 Radio

run usbview to obtain the following information:



[Top][Home]

Monitor udev events



[Top][Home]

Rules for udev

Add custom udev rules so devices can be identified after unpluging and re-pluging, This way USB devices will always get the same meaningful device name.

You can see that the build-in USB port of the Icom 705 and 7600 both uses the same chip, hence idVendor and idProduct are the same. We can however made the distinction based on the serial number.




For example, if there are three devices that frequently plug into USB an Icom 7300, an Icom 705, and custom GPS receiver, then add:

Add the symbolic name of our interface in 99-persistent-usb.rules.



After a reboot, the system will create a symbolic link:

Or what ever order the serial devices have been allocated.

[Top][Home]


IC7300

References


https://linuxconfig.org/tutorial-on-how-to-write-basic-udev-rules-in-linux


https://www.thegeekdiary.com/beginners-guide-to-udev-in-linux/

Fixed tty device assignments in Linux using udev:
https://www.silabs.com/community/interface/knowledge-base.entry.html/2016/06/06/fixed_tty_deviceass-XzTf

[Top][Home]
Glenn Lyons VK4PK
glenn@LyonsComputer.com.au
Ver:gnl20200414 - pre published v0.9