You are not logged in.

#1 2014-12-14 21:44:44

Vash63
Member
Registered: 2012-09-22
Posts: 30

Cannot Adjust USB Mouse Polling

I have a Logitech G402 which support 1000Hz polling. I've followed the instructions on the wiki yet evhz still reports 125Hz polling. I have a 144Hz monitor and can see skipping also as the mouse is polling slower than my display rate, which doesn't happen when I boot to Windows.

# cat /etc/modprobe.d/modprobe.conf 
options usbhid mousepoll=1

I've added this file to my 'FILES' list in my initramfs and confirms it displays. I've also removed and reloaded the module and replugged the mouse afterwards. No matter what I do it seems to stick to 125Hz. I have not yet tried adjusting my kernel options in my bootloader but I'd rather not use that method, and I haven't found any other options outside of adding the option in /etc/modprobe.d.

Offline

#2 2014-12-15 01:13:39

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Cannot Adjust USB Mouse Polling

If you want to confirm that the 'mousepoll=1' is at least set, you can check the relevant path in /sys.  Otherwise you could use the following command and see what it tells you:

# systool -avm usbhid 

Offline

#3 2014-12-15 06:17:16

Vash63
Member
Registered: 2012-09-22
Posts: 30

Re: Cannot Adjust USB Mouse Polling

/sys/module/usbhid/parameters/mousepoll shows 1. Is there any good way to test the polling other than evhz?

# systool -avm usbhid
Module = "usbhid"

  Attributes:
    coresize            = "48595"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "0"
    taint               = ""
    uevent              = <store method only>

  Parameters:
    ignoreled           = "0"
    mousepoll           = "1"
    quirks              = "(null),(null),(null),(null)"

  Sections:
    .bss                = "0xffffffffa0473960"
    .data               = "0xffffffffa0473000"
    .exit.text          = "0xffffffffa04700e9"
    .gnu.linkonce.this_module= "0xffffffffa0473700"
    .init.text          = "0xffffffffa0476000"
    .note.gnu.build-id  = "0xffffffffa0471000"
    .rodata             = "0xffffffffa0471080"
    .rodata.str1.1      = "0xffffffffa0471884"
    .rodata.str1.8      = "0xffffffffa0471cc0"
    .smp_locks          = "0xffffffffa0471798"
    .strtab             = "0xffffffffa0478fe0"
    .symtab             = "0xffffffffa0477000"
    .text               = "0xffffffffa0469000"
    __kcrctab_gpl       = "0xffffffffa0471050"
    __ksymtab_gpl       = "0xffffffffa0471030"
    __ksymtab_strings   = "0xffffffffa0472a18"
    __mcount_loc        = "0xffffffffa0472788"
    __param             = "0xffffffffa0472728"
    __verbose           = "0xffffffffa0473200"

Offline

#4 2014-12-16 03:23:50

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Cannot Adjust USB Mouse Polling

This has never been an issue for me, so unfortunately, checking to see if the module parameter took is as far as I can get you.  I suspect that this might simply be a limitation of the generic usbhid driver in combination with a mouse that is not fully standards compliant (Logitech tends to try to fancy their stuff up a bit).

Offline

Board footer

Powered by FluxBB