Not sure if using correct mouse module

Hi i recently bought a new cheap mouse because my first mouse wasn’t working right it would click twice sometimes when i clicked. So now i have this new mouse and it almost works right but sometimes when moving the mouse it glitches and skips a few pixels while moving. I think it’s because of the mouse module but I am not sure. How do I fix this?

I’m using a perixx optical mouse m-868. and I’m running kde plasma desktop. Also this mouse is not a usb mouse it is I think whats called a ps/2 mouse it is a small round metal connector instead of usb.

here is the output of lsmod:

Module                  Size  Used by
isofs                  53248  1
af_packet              53248  0
nft_fib_inet           16384  1
nft_fib_ipv4           16384  1 nft_fib_inet
nft_fib_ipv6           16384  1 nft_fib_inet
nft_fib                16384  3 nft_fib_ipv6,nft_fib_ipv4,nft_fib_inet
nft_reject_inet        16384  4
nf_reject_ipv4         16384  1 nft_reject_inet
nf_reject_ipv6         20480  1 nft_reject_inet
nft_reject             16384  1 nft_reject_inet
nft_ct                 20480  9
nft_chain_nat          16384  4
nf_tables             270336  293 nft_ct,nft_reject_inet,nft_fib_ipv6,nft_fib_ipv4,nft_chain_nat,nft_reject,nft_fib,nft_fib_inet
ebtable_nat            16384  0
ebtable_broute         16384  0
ip6table_nat           16384  0
ip6table_mangle        16384  0
ip6table_raw           16384  0
ip6table_security      16384  0
iptable_nat            16384  0
nf_nat                 57344  3 ip6table_nat,nft_chain_nat,iptable_nat
nf_conntrack          176128  2 nf_nat,nft_ct
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
libcrc32c              16384  3 nf_conntrack,nf_nat,nf_tables
iptable_mangle         16384  0
iptable_raw            16384  0
iptable_security       16384  0
iscsi_ibft             16384  0
iscsi_boot_sysfs       20480  1 iscsi_ibft
ip_set                 57344  0
rfkill                 28672  5
nfnetlink              20480  3 nf_tables,ip_set
ebtable_filter         16384  0
ebtables               40960  3 ebtable_nat,ebtable_filter,ebtable_broute
ip6table_filter        16384  0
ip6_tables             32768  5 ip6table_filter,ip6table_raw,ip6table_nat,ip6table_mangle,ip6table_security
iptable_filter         16384  0
bpfilter               16384  0
snd_hda_codec_hdmi     77824  1
snd_hda_codec_realtek   167936  1
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_intel          57344  3
dmi_sysfs              20480  0
snd_intel_dspcfg       32768  1 snd_hda_intel
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
snd_hda_codec         176128  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core          110592  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               176128  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              40960  1 snd_pcm
snd                   118784  14 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
soundcore              16384  1 snd
e1000e                299008  0
intel_rapl_msr         20480  0
intel_rapl_common      28672  1 intel_rapl_msr
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
coretemp               20480  0
kvm_intel             335872  0
kvm                  1056768  1 kvm_intel
irqbypass              16384  1 kvm
at24                   24576  0
mei_hdcp               24576  0
regmap_i2c             16384  1 at24
mei_wdt                16384  0
iTCO_wdt               16384  0
intel_pmc_bxt          16384  1 iTCO_wdt
iTCO_vendor_support    16384  1 iTCO_wdt
joydev                 28672  0
dcdbas                 20480  0
i2c_i801               36864  0
i2c_smbus              20480  1 i2c_i801
mei_me                 45056  2
mei                   151552  5 mei_wdt,mei_hdcp,mei_me
lpc_ich                28672  0
mfd_core               20480  2 intel_pmc_bxt,lpc_ich
pcspkr                 16384  0
button                 24576  0
fuse                  167936  5
configfs               57344  1
efi_pstore             16384  0
ip_tables              32768  5 iptable_filter,iptable_security,iptable_raw,iptable_nat,iptable_mangle
x_tables               53248  13 ebtables,ip6table_filter,ip6table_raw,iptable_filter,iptable_security,ip6table_nat,ip6_tables,iptable_raw,ip_tables,iptable_nat,ip6table_mangle,ip6table_security,iptable_mangle
ext4                  933888  4
crc16                  16384  1 ext4
mbcache                16384  1 ext4
jbd2                  163840  1 ext4
uas                    32768  0
usb_storage            81920  2 uas
hid_generic            16384  0
usbhid                 61440  0
sr_mod                 28672  1
sd_mod                 61440  6
cdrom                  77824  2 isofs,sr_mod
t10_pi                 16384  1 sd_mod
crc32_pclmul           16384  0
i915                 3035136  38
crc32c_intel           24576  9
i2c_algo_bit           16384  1 i915
ttm                    81920  1 i915
drm_kms_helper        303104  1 i915
ahci                   40960  5
libahci                40960  1 ahci
ehci_pci               20480  0
ghash_clmulni_intel    16384  0
ehci_hcd               98304  1 ehci_pci
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
cec                    69632  2 drm_kms_helper,i915
rc_core                61440  1 cec
cryptd                 28672  1 ghash_clmulni_intel
libata                294912  2 libahci,ahci
usbcore               327680  5 ehci_pci,usbhid,usb_storage,ehci_hcd,uas
drm                   634880  16 drm_kms_helper,i915,ttm
serio_raw              20480  0
video                  61440  1 i915
sg                     40960  0
dm_multipath           45056  0
dm_mod                167936  1 dm_multipath
scsi_dh_rdac           16384  0
scsi_dh_emc            16384  0
scsi_dh_alua           20480  0
scsi_mod              270336  10 scsi_dh_emc,sd_mod,dm_multipath,scsi_dh_alua,usb_storage,uas,libata,sg,scsi_dh_rdac,sr_mod
msr                    16384  0

@errigour:

Yes, a PS/2 Mouse has a round connector and –

  • It’s designed for a PS/2 connector on your Mainboard.
    And, that connector may or, may not, support either a PS/2 Keyboard or, a PS/2 Mouse.
    More gory details here: <https://en.wikipedia.org/wiki/PS/2_port>

Please be aware that, the PS/2 port doesn’t support hot-plugging –

  • The PS/2 device – either a keyboard or, a mouse – MUST be plugged in when you power the machine on.

If you attempt to plug the device into the PS/2 connector after you’ve powered your machine on, the device will not be recognised – first, the Mainboard has to recognise the PS/2 device and then, the Linux Kernel has a chance to recognise the PS/2 device …


Here on Leap 15.5 with the Kernel version 5.14.21-150500.55.7 –

  • In the Kernel source code:
/usr/src/linux-5.14.21-150500.55.7/drivers/input/mouse/psmouse-base.c
/usr/src/linux-5.14.21-150500.55.7/drivers/input/mouse/psmouse-smbus.c
/usr/src/linux-5.14.21-150500.55.7/drivers/input/mouse/psmouse.h

Please be aware that, the PS/2 mouse support in the Kernel is mostly directed at supporting Touchpad hardware which connects to the Laptop’s Mainboard by means of a PS/2 interface.

  • Here is the list of PS/2 Touchpad (mouse) devices which are definitely supported by the Linux Kernel:
#include "synaptics.h"
#include "logips2pp.h"
#include "alps.h"
#include "hgpk.h"
#include "lifebook.h"
#include "trackpoint.h"
#include "touchkit_ps2.h"
#include "elantech.h"
#include "sentelic.h"
#include "cypress_ps2.h"
#include "focaltech.h"
#include "vmmouse.h"
#include "byd.h"

Where can i buy a mouse that works well with leap 15.4? It can be usb or ps/2 idc just want it to work.

Im using a dell optiplex 790 small form factor or sff.

This is my boot directory since im not sure what version of linux Im running. I dont think its the same as yours.

boot.readme                          symtypes-5.14.21-150400.24.66-default.gz  vmlinux-5.14.21-150400.24.66-default.gz
config-5.14.21-150400.24.66-default  symtypes-5.14.21-150400.24.69-default.gz  vmlinux-5.14.21-150400.24.69-default.gz
config-5.14.21-150400.24.69-default  symvers-5.14.21-150400.24.66-default.gz   vmlinuz
grub2                                symvers-5.14.21-150400.24.69-default.gz   vmlinuz-5.14.21-150400.24.66-default
initrd                               sysctl.conf-5.14.21-150400.24.66-default  .vmlinuz-5.14.21-150400.24.66-default.hmac
initrd-5.14.21-150400.24.66-default  sysctl.conf-5.14.21-150400.24.69-default  vmlinuz-5.14.21-150400.24.69-default
initrd-5.14.21-150400.24.69-default  System.map-5.14.21-150400.24.66-default   .vmlinuz-5.14.21-150400.24.69-default.hmac
lost+found                           System.map-5.14.21-150400.24.69-default

Have had good luck with Logitec wireless. Note these connect via USB

Build date around about 2012.

  • Provided that, you plugged the mouse into the green PS/2 port (possibly with a mouse symbol) before you powered the box on, the PS/2 mouse should function as expected.

It may well be that, you’ll also need a PS/2 keyboard plugged into the purple PS/2 port for everything to function as expected.


On the other hand, there are USB ports on the box and, provided that, both the keyboard and the mouse are USB devices, that could be the better solution for modern keyboard and mouse hardware.


Where to buy keyboard and mouse devices?

  • Not knowing where you’re located on this planet, it’s difficult to make any suggestions.

This list may help you to find something near to where you’re living: <https://forums.tomshardware.com/threads/guide-for-international-users-with-links-to-part-stores.1336384/>

I bought several Logitec M185 with the following features:

  1. Wireless Plug & Play Connection: The freedom of movement of a wireless connection with the reliability of a mouse with cable - in the office, gaming, with and without mouse pad, on Windows like Mac computers

  2. One year of battery life: the on / off switch and an intelligent sleep mode also help with energy saving

  3. Logitec’s proven reliability: The M185 PC mouse is characterized by high quality and reliability

  4. Tiny USB nano receiver: can remain inserted in the notebook.

  5. The receiver can constantly be plugged in: If you need to remove it, he finds space in the cordless mouse and is not lost

  6. Universal compatibility: This Logitech Mouse is compatible with Windows PCs as well as Macs and Linux.

  7. The nano receiver is located in the battery compartment of the mouse and can be stored there if necessary.

Only thing is i don’t like using wireless mice. But I wonder if corded Logitec mice would work.

sure
Things that cause problems are mice with special gaming features

Wireless is great since battery life has been extended to one year or more. Wireless just works.

Never plug a PS/2 keyboard or mouse into an x86 compatible PC’s PS/2 port when the PC is powered on. Not only will it likely not be recognized, you may destroy the PS/2 port electrically, making it forever useless.

I have Optiplex 110, 200, 260(x2), 270(x4), 280(x3), 320, 620(x3), 745, 760 & 780(x2). Starting with 280, they shipped with no PS/2 port on the backpane. However, there’s an accessory card available for them (most of the time available on eBay) that provides both PS/2 port and serial port for SFF models, and 2 PS/2 ports plus serial port for towers. Starting with the 790 models, PS/2 ports were returned to the backpane.

On none of mine, or any 790s I’ve worked on, have I noticed any mouse type or brand sensitivity in openSUSE or Plasma. They’ve always been reliable with any mouse or trackball that works right anywhere else. Most of the time in mine I’ve been using either a Logitech Trackman Wheel, a Logitech Trackman Marble USB, or a Kensington Orbit - all USB.

Maybe that’s what happened somehow cause i did plug it in while it was on BUT it worked fine for a while and then it just got buggy like it’s hard to detect you would have to use the mouse for a while and then finally notice once in a while it skips while moving the mouse pointer.