KDE mouse polling rate

Hi,
Look configuring my mouse polling rate seems stupid since there’s no evhz tool for my KDE Tumbleweed_64 bit system.
Do you think it’s just for GNOME!?>:(

You don’t really need the evhz utility.

Use this

systool -m usbhid -A mousepoll

Alternatively, what is reported by the following?

usb-devices

Just report back with the output block pertaining to your USB mouse. In particular, your looking for the ‘Ivl=’ value

Reference:
https://wiki.archlinux.org/index.php/Mouse_polling_rate

Just to clarify further, the commands given previously are used to get the current polling rate. The archwiki page describes how to configure the usnhid module so that the polling rate is set as desired. For example, to set a polling rate of 250Hz, create a custom file /etc/modprobe.d/usbhid.conf containing

options usbhid mousepoll=4

It should take effect next boot.

# systool -m usbhid -a mousepoll
If 'systool' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf systool
# usb-devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 2
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=04.09
S:  Manufacturer=Linux 4.9.0-rc6-1.g5f5c2ad-default xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:00:10.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 2
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev=04.09
S:  Manufacturer=Linux 4.9.0-rc6-1.g5f5c2ad-default xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:00:10.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 5
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=04.09
S:  Manufacturer=Linux 4.9.0-rc6-1.g5f5c2ad-default ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:12.2
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 5
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=04.09
S:  Manufacturer=Linux 4.9.0-rc6-1.g5f5c2ad-default ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:13.2
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 5
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev=04.09
S:  Manufacturer=Linux 4.9.0-rc6-1.g5f5c2ad-default ohci_hcd
S:  Product=OHCI PCI host controller
S:  SerialNumber=0000:00:12.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=05 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c247 Rev=82.00
S:  Manufacturer=Logitech
S:  Product=G100s Optical Gaming Mouse
C:  #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=98mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid

T:  Bus=05 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  3 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=045e ProdID=078c Rev=01.11
S:  Manufacturer=LITEON Technology
S:  Product=USB Keyboard
C:  #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=70mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid

T:  Bus=06 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 5
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev=04.09
S:  Manufacturer=Linux 4.9.0-rc6-1.g5f5c2ad-default ohci_hcd
S:  Product=OHCI PCI host controller
S:  SerialNumber=0000:00:13.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
# options usbhid mousepoll=4
If 'options' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf options]

I want my mousepoll to be set at 500 mousepoll=2

This is not working on KDE for some reason.>:(

You need to install the ‘sysfsutils’ package first

zypper in sysfsutils

Unfortunately, the ‘usb-devices’ command doesn’t provide the required info as I was assuming it would.

# options usbhid mousepoll=4
If 'options' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf options]

I want my mousepoll to be set at 500 mousepoll=2

No, you don’t try to execute as a terminal command. It gets added via a custom configuration file. You could do it (as root) like this

echo "options usbhid mousepoll=2" > /etc/modprobe.d/usbhid.conf

Then reboot.

From the ‘usb-devices’ output you provided, your gaming mouse has these chipset details: vendor=046d ProdID=c247

So, based on the archwiki page you could do the following to get the current (polling) interval value

grep -B3 -A6 046d.*c247 /sys/kernel/debug/usb/devices

I did:

zypper in sysfsutils

And ran:

echo "options usbhid mousepoll=2" > /etc/modprobe.d/usbhid.conf

After that my computer won’t boot after the grub screen.
In init 3 I ran:

grep -B3 -A6 046d.*c247 /sys/kernel/debug/usb/devices

The read from that was IvI=1ms
That didn’t change anything.
My computer is screwed up. The screen after grub loads then turns black.>:(

I don’t know why that would have any effect on booting, but in any case easy enough to remove it again

rm -f /etc/modprobe.d/usbhid.conf

What do your configured repos look like?

zypper lr -d

You may find it easiest to take a photo and upload here for us to view. Or if you comfortable with mounting a removable device at runlevel 3 (with udisksctl) then you could copy/paste the output, and post via a computer with graphical desktop/internet.

https://s18.postimg.org/chwp6z8p1/IMG_20161127_171427.jpg](https://postimg.org/image/chwp6z8p1/)
https://s18.postimg.org/tii0x98g5/IMG_20161127_171440.jpg](https://postimg.org/image/tii0x98g5/)
I get those errors.
Do you know what that means?
Well I dont know how to copy and paste in init 3 besides I would have to go online in X-window which I was learning but forgot.
Sorry I not to good with shortcuts.

No, I don’t and I actually asked for your configured repos list. When you installed sysfsutils with zypper, did you observe any others packages getting changed/removed?

https://s15.postimg.org/yow7jvvvr/IMG_20161127_173649.jpg](https://postimg.org/image/yow7jvvvr/)
https://s22.postimg.org/6f8uo4hhp/IMG_20161127_173702.jpg](https://postimg.org/image/6f8uo4hhp/)

I’m wondering if you’ve had a kernel upgrade, which only took effect when you rebooted. IMO, this is not related to anything you were doing in this thread. You might need to start a new thread for this. I would disable the stable kernel repos (you have two identical configured) and the kernel:/HEAD repo , and then do

zypper dup

Give me numbers.

If the mousepoll changed where would be the reading?
Would It change the IvI= reading?

**#** systool -m usbhid -A mousepoll                        
Module = "usbhid"

    mousepoll           = "2"

Yes, that should reflect the value you set as far as I understand.

So, now you have it set as you requested.

Problem: I set the pollrate vaule to -1.
Now my mouse and keyboard don’t work.
How can I change the conf back to a correct value using init 3?