ohjuny
Posts: 3
Joined: Mon Dec 15, 2014 2:25 pm

Mouse pointer speed

Mon Dec 15, 2014 3:13 pm

Hi!

I just got a new Raspberry Pi and set it up but I found that the mouse pointer speed was TOO SLOW. Even almost unbearable to use.

I'm quite inexperienced with Linux so any help would be greatly appreciated.

Thanks :D

DirkS
Posts: 10017
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Mouse pointer speed

Mon Dec 15, 2014 3:23 pm

Assuming that you're using lxde (standard GUI on Raspbian):
IIRC you can change the settings in menu (bottom left) / preferences / keyboard and mouse.

Gr.
Dirk.

ohjuny
Posts: 3
Joined: Mon Dec 15, 2014 2:25 pm

Re: Mouse pointer speed

Mon Dec 15, 2014 6:02 pm

DirkS wrote:Assuming that you're using lxde (standard GUI on Raspbian):
IIRC you can change the settings in menu (bottom left) / preferences / keyboard and mouse.

Gr.
Dirk.
Firstly, thank you for help. I appreciate that someone took their time to help me :)
However, I've already tried to mess around with the keyboard and mouse settings. In the settings, I found: Acceleration, and Sensitivity. I maxed both of these but nothing changed.
Have any other ideas?

Thanks

DirkS
Posts: 10017
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Mouse pointer speed

Mon Dec 15, 2014 6:15 pm

Next time please give information on what you already have tried...

gkreidl
Posts: 6134
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Mouse pointer speed

Mon Dec 15, 2014 8:44 pm

try adding
usbhid.mousepoll=0
to the command line (cmdline.txt in /boot).
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

User avatar
buja
Posts: 507
Joined: Wed Dec 31, 2014 8:21 am
Location: Netherlands

Re: Mouse pointer speed

Thu Jan 29, 2015 7:16 pm

Thanks, this works for me!

netitux
Posts: 3
Joined: Sun Mar 08, 2015 5:15 pm

Re: Mouse pointer speed

Fri Mar 20, 2015 3:27 pm

That works flawless for me! Thanks!

haridsv
Posts: 11
Joined: Sat Sep 05, 2015 8:48 am

Re: Mouse pointer speed

Sat Sep 05, 2015 10:52 am

This seems to have worked for me too on a Motorola Lapdock, thank you.

beta-tester
Posts: 1249
Joined: Fri Jan 04, 2013 1:57 pm
Location: de_DE

Re: Mouse pointer speed

Sat Sep 05, 2015 4:10 pm

HAHAha... i don't understand, why that issue report is closed... https://github.com/raspberrypi/linux/issues/642
maybe you all should open the issue again and post your mouse details to there.
and i don't understand, why usbhid.mousepoll=0 is not default...
i never saw a downside of have that option enabled with or without an affected mouse
{ I only give negative feedback }
RPi B (rev1, 256MB), B (rev2, 512MB), B+, 2B, 3B, 3B+, ZeroW, 4B (4GB), ...

gkreidl
Posts: 6134
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Mouse pointer speed

Sat Sep 05, 2015 4:40 pm

beta-tester wrote:HAHAha... i don't understand, why that issue report is closed... https://github.com/raspberrypi/linux/issues/642
maybe you all should open the issue again and post your mouse details to there.
and i don't understand, why usbhid.mousepoll=0 is not default...
i never saw a downside of have that option enabled with or without an affected mouse
The issue is closed because the problem has been solved.
It's not default, because it needs much more CPU cycles and is only required for some mouse/keyboard combos with a strange behavior.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

beta-tester
Posts: 1249
Joined: Fri Jan 04, 2013 1:57 pm
Location: de_DE

Re: Mouse pointer speed

Sun Sep 06, 2015 6:52 am

gkreidl wrote:
beta-tester wrote:HAHAha... i don't understand, why that issue report is closed... https://github.com/raspberrypi/linux/issues/642
maybe you all should open the issue again and post your mouse details to there.
and i don't understand, why usbhid.mousepoll=0 is not default...
i never saw a downside of have that option enabled with or without an affected mouse
The issue is closed because the problem has been solved.
It's not default, because it needs much more CPU cycles and is only required for some mouse/keyboard combos with a strange behavior.
ah ok, thank you for telling me the downsides of that option. never ever somebody told it before.
but then that option should be enabled as default for NOOBS (that is the first contact for users to install an OS - an always proper working mouse is essentially at that stage and CPU performance is not that mandatory here)
and should be disabled like it is on OS, but an option to enable in raspi-config
{ I only give negative feedback }
RPi B (rev1, 256MB), B (rev2, 512MB), B+, 2B, 3B, 3B+, ZeroW, 4B (4GB), ...

charlie1950
Posts: 3
Joined: Mon Mar 21, 2016 8:19 pm

Re: Mouse pointer speed

Tue Mar 22, 2016 3:52 pm

Hi, I am a real novice, and have tried to change the cmdline.txt file but it won't let me as I don't have write permission. Please, can someone tell me how I can acquire the necessary permission. Thank you.

Charlie.

gkreidl
Posts: 6134
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Mouse pointer speed

Tue Mar 22, 2016 7:42 pm

Code: Select all

sudo nano /boot/cmdline.txt
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

charlie1950
Posts: 3
Joined: Mon Mar 21, 2016 8:19 pm

Re: Mouse pointer speed

Fri Mar 25, 2016 11:37 am

Than you. gkreidl, for your prompt reply, your help is appreciated.
Charlie

amitthk
Posts: 1
Joined: Mon Jan 11, 2016 3:59 am

Re: Mouse pointer speed

Tue Aug 09, 2016 8:07 am

gkreidl wrote:try adding
usbhid.mousepoll=0
to the command line (cmdline.txt in /boot).
This worked flawless for me too. Thank you @gkreidl

BenGraham
Posts: 1
Joined: Sat Jan 20, 2018 5:14 pm

Re: Mouse pointer speed

Sat Jan 20, 2018 5:35 pm

Hi Folks
I am also having a problem with slow mouse response. I have tried all the suggestions in this forum to no avail.
cat /boot/cmdline.txt displays:
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
quiet splash plymouth.ignore-serial-consoles usbhid.mousepoll=0
I have tried usbhid.mousepoll=0 and usbhid.mousepoll=1 followed by reboot.

The result of lsusb is:
Bus 001 Device 005: ID 1307:0163 Transcend Information, Inc. 256MB/512MB/1GB Flash Drive
Bus 001 Device 004: ID 046d:c52e Logitech, Inc.
Bus 001 Device 006: ID 062a:4101 Creative Labs
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
What am I doing wrong?

Anyone?

Kind Regards
Graham

grininmonkey
Posts: 145
Joined: Mon Jul 30, 2018 3:44 pm

Re: Mouse pointer speed

Mon Jul 30, 2018 3:54 pm

I just got a Pi 3 B+ a couple days ago, the mouse speed was so horrible, I completely gave up using the pi directly and got busy via sshfs, ssh, vnc etc from my main computer to get rolling with it... but really wanted to play around on the Pi itself....

Then thank goodness I decided to ask the "Google`s" about the issue... found this post.... added the suggested line to my cmdline.txt which resolved the issue for me, I even had to set the mouse speed slider way down :D

Thinkcat
Posts: 28
Joined: Wed Mar 14, 2018 10:50 pm
Location: Finland

Re: Mouse pointer speed

Mon Oct 21, 2019 5:48 am

gkreidl wrote:
Sat Sep 05, 2015 4:40 pm
It's not default, because it needs much more CPU cycles and is only required for some mouse/keyboard combos with a strange behavior.
Much more is how many? It seems like the number can be anything from 0 to 8, where 0 uses the most cycles but is the best fix.

Everyone who is concerned about the loss of cycles should try increasing the number until the problem reappears, and then backing down.

I'd also like to know how much CPU time exactly is lost by fixing the problem.

I'm using a wireless Logitech mouse, and I'm not sure if I have the problem. There is no lag or anything else. It's only that the mouse is slow. Also, is there a way to tune the mouse speed if not using the default desktop environment? I'm using i3 and so I would like to know a commandline solution or a command to run to get to the desktop environment's control panel.

Return to “Troubleshooting”