You are not logged in.

#1 2011-12-20 09:16:51

Red Pen
Member
Registered: 2011-02-01
Posts: 3

[Solved] Modprobe usbhid options at boot.

Hello.

Following the advice here, I have added the line "options usbhid mousepoll=2" to the file /etc/modprobe.d/modprobe.conf.

However, it seems to have no effect on boot. Running,

cat /sys/module/usbhid/parameters/mousepoll

returns the default value of 0.

Confusingly, manually inserting the module gives the correct rate!

sudo modprobe -r usbhid && sudo modprobe usbhid
cat /sys/module/usbhid/parameters/mousepoll
2

Does anyone know why I cannot get this option to apply automatically on boot?

Cheers.

Last edited by Red Pen (2011-12-20 12:48:49)

Offline

#2 2011-12-20 11:02:35

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [Solved] Modprobe usbhid options at boot.

You probably have usbhid in your initramfs, but not the modprobe.d fragment. Two options:

1) add /etc/modprobe.d/modprobe.conf to FILES in /etc/mkinitcpio.conf and regenerate your image
2) add usbhid.mousepoll=2 to your kernel cmdline

Offline

#3 2011-12-20 12:48:34

Red Pen
Member
Registered: 2011-02-01
Posts: 3

Re: [Solved] Modprobe usbhid options at boot.

Thankyou Falconindy, that worked perfectly. (I went for option number two.)

Offline

Board footer

Powered by FluxBB