A thousand pardons! I was not at a Linux machine when I typed that. On Ubuntu (which is based on Debian) there is indeed not a /etc/modprobe.conf. (Although perhaps one could be created and it would work???) But the files in /etc/modprobe.d are treated as if they were part of modprobe.conf.
As an example, when I needed to alter the behavior when the
em28xx module was loaded, following directions I found on the Internet, I created the file /etc/modprobe/dvbstick:
Code:
$ cat /etc/modprobe.d/dvbstick
install em28xx /sbin/modprobe --ignore-install em28xx; /bin/sleep 2; /sbin/modprobe em2880-dvb
Now this installs an additional module
after the specified module rather than before, as you want, but the basic method is the same.
In your case, I don't know what is loading
usbhid, but as I understand it, if whatever it is is using
modprobe to do so, the behavior can be altered with a file in /etc/modeprobe.d.