Kernel Module

 

 


modules.alias

 

/lib/modules/`uname -r`/modules.alias

modinfo usb-storage

...
alias:          usb:v0AF0pD157d0000dc*dsc*dp*ic*isc*ip*in*
...
  • v        the vendor id and
  • p        the Product id
  • d        DEV_CLASS
  • dsc        DEV_SUBCLASS

自定 alias

lsusb -v -d 174c:55aa

/etc/modprobe.d/usbdisk.conf

alias usb:v174cp55aad*dc*dsc*dp*ic*isc*ip*in* usb_storage