Does Fast Polling Stay On?

Discussion of keyboards, gamepads, joysticks and other input related peripherals.
User avatar
Longtime4321
Posts: 116
Joined: Fri Aug 12, 2022 5:17 am
Has thanked: 9 times
Been thanked: 17 times

Does Fast Polling Stay On?

Unread post by Longtime4321 »

Do I have to enable fast polling every time I turn on MiSTer, or will it stay on after I shut it off?
User avatar
limi
Top Contributor
Posts: 776
Joined: Sun May 24, 2020 6:53 pm
Has thanked: 180 times
Been thanked: 570 times

Re: Does Fast Polling Stay On?

Unread post by limi »

It should persist across reboots.
Malor
Top Contributor
Posts: 860
Joined: Wed Feb 09, 2022 11:50 pm
Has thanked: 64 times
Been thanked: 195 times

Re: Does Fast Polling Stay On?

Unread post by Malor »

You can check it by dropping to the command line (either ssh or via F9 at the main menu), and then typing:

Code: Select all

cd /media/fat/linux
more u-boot.txt
If you see a line with:

Code: Select all

v=loglevel=4 usbhid.jspoll=1 xpad.cpoll=1
then both your XBox and general controllers should be polled at 1000Hz. (the loglevel part isn't important, just the jspoll and cpoll arguments.)

Note that the script to change your MAC address blows away u-boot.txt, so if use that script, you need to re-enable 1000Hz polling with the other script afterward. Once u-boot.txt is set correctly, your settings will persist across reboots.

You may have to redo it again each time the Linux distro updates. They blow away a lot of files whenever that happens.
Post Reply