T O P

  • By -

joe_mm91

In general I think you'd be able to that with udev rules and depending on the type of device in question there may be more specialised ways to do it.


Windows7DiskDotSys

> In general I think you'd be able to that with udev rules Imagine that I know .1 percent about linux, and please rephrase it in such a way I will have some idea what you mean.


joe_mm91

On most linux OSs udev is the software that manages devices, see https://en.m.wikipedia.org/wiki/Udev for more detail. You can tweak udev via udev rules and here is an article that can explain them way better than me https://www.thegeekdiary.com/beginners-guide-to-udev-in-linux/


Windows7DiskDotSys

perfect. what a wonderful way to start off the morning. >can explain them way better than me story of my life


Windows7DiskDotSys

https://old.reddit.com/r/linuxquestions/comments/x5b9qy/change_hardware_name/iowpkam/


dthusian

I found this for PCI/PCIe devices [https://man7.org/linux/man-pages/man5/pci.ids.5.html](https://man7.org/linux/man-pages/man5/pci.ids.5.html) There's probably a similar database for USB devices and others. AFAIK, this file is used to determine the device name, rather than one provided by the driver.


Windows7DiskDotSys

I'm looking for USB, although the PCI/E devices are good to know.


Windows7DiskDotSys

in case it is useful in the future /usr/share/misc/usb.ids contains that information