-
Johannes Erdfelt authored
On Thu, Feb 06, 2003, Johannes Erdfelt <johannes@erdfelt.com> wrote: > On Thu, Feb 06, 2003, Boris Duerner <Marc.Duerner@student.shu.ac.uk> wrote: > > I use the usb_get_driver_np() function to get the name of the loaded driver > > for a usb device and I found that for a device using the usbmouse module the > > wrong driver name is returned. It gives me "usb_mouse" instead of usbmouse. > > the driver name is also wrong in /proc/bus/usb/drivers but correct in lsmod > > or /proc/modules resp. > > The driver name in /proc/bus/usb/drivers is given differently than from > /proc/modules. > > I'm not exactly sure why the names are seperate, but it leads to > situations like this where the names won't match for seemingly no good > reason. The usbkbd driver was even worse, giving it's name as "keyboard". And the 2.5 patch.
e9ab2111