Hi, is it possible to change the USB polling rate as a user? I’ve searched these forums, the IRC logs, the user documentation, and even checked the kernel drivers config file to no avail. As far as I’m aware, the only places I haven’t looked are the Haiku general mailing list (which isn’t indexed for searching) and the source code itself. If it’s not actually possible, are there any plans to make this a user-accessible feature? Considering how impressively fast and lightweight Haiku is, I personally believe it may have a future as a low-latency option for emulating games. Being able to adjust the USB polling rate would help reduce latency further.
iirc this is negotiated per-device, but no there is no user facing setting for this and there probably never will be. (We tend to not expose such highly technical details)
One idea is to do this automatically when you are in a low-latency mode (the oposite of power save)
We used to not have the correct negotiation, and always use the maximum polling rate for HID devices. It breaks some devices which are too slow to handle it.
I would prefer if we just follow the USB specification and what the devices report they can support. Or if we enable this, it could be a driâer setting file (either for the usb stack drivers, or the usb_hid one). It should not be tied to an unrelated setting like “low latency mode” (which is just some tweaks to the scheduler algorithm).
Anyway, currently it is not configurable unless you patch the sourcecode.
I know that low latency currently only affects the scheduler, but semantically it seems like the right option to me, or more precisely doing the inverse for low power mode.
Useing the advertised (higher) polling rate by default and then useing a lower one with the power saving mode