blino's website

Free software developer and more

Our udev rules modprobing usblp are outdated, they are leftovers from the hotplug migration, when the required aliases where not in the kernel yet.

This is probably the same for a lot of modules in /etc/udev/rules.d/70-hotplug_map.rules.

$ grep printer /etc/udev/rules.d/70-hotplug_map.rules
SUBSYSTEM=="usb", SYSFS{bDeviceSubClass}=="01", SYSFS{bDeviceClass}=="07", SYSFS{bDeviceProtocol}=="01", RUN+="/sbin/modprobe printer"
SUBSYSTEM=="usb", SYSFS{bDeviceSubClass}=="01", SYSFS{bDeviceClass}=="07", SYSFS{bDeviceProtocol}=="02", RUN+="/sbin/modprobe printer"
SUBSYSTEM=="usb", SYSFS{bDeviceSubClass}=="01", SYSFS{bDeviceClass}=="07", SYSFS{bDeviceProtocol}=="03", RUN+="/sbin/modprobe printer"
SUBSYSTEM=="usb", SYSFS{bInterfaceSubClass}=="01", SYSFS{bInterfaceProtocol}=="01", SYSFS{bInterfaceClass}=="07", RUN+="/sbin/modprobe printer"
SUBSYSTEM=="usb", SYSFS{bInterfaceSubClass}=="01", SYSFS{bInterfaceProtocol}=="02", SYSFS{bInterfaceClass}=="07", RUN+="/sbin/modprobe printer"
SUBSYSTEM=="usb", SYSFS{bInterfaceSubClass}=="01", SYSFS{bInterfaceProtocol}=="03", SYSFS{bInterfaceClass}=="07", RUN+="/sbin/modprobe printer"

$ /sbin/modprobe -c | grep printer
install printer          /sbin/modprobe usblp

$ /sbin/modinfo -F alias usblp
usb:v04B8p0202d*dc*dsc*dp*ic*isc*ip*
usb:v*p*d*dc*dsc*dp*ic07isc01ip03*
usb:v*p*d*dc*dsc*dp*ic07isc01ip02*
usb:v*p*d*dc*dsc*dp*ic07isc01ip01*
usb:v*p*d*dc07dsc01dp03ic*isc*ip*
usb:v*p*d*dc07dsc01dp02ic*isc*ip*
usb:v*p*d*dc07dsc01dp01ic*isc*ip*


Comments are closed for this story.

Trackbacks are closed for this story.

blosxom Optimised for standards.
Olivier Blin (2005)