Logitech G502 horizontal scroll

Hello folks, noob here. Just started on Garuda yesterday and amazed at how pretty it looks, and how easy it is for simpler users (I'm just lazy, part of what I work with is creating bash scripts related to infosec stuff).

So, I'll be coming here for a few problems, considering I've already noticed quite a lot of disregard for Garuda on a few Arch groups I looked into ("this is an Arch Linux group, not a Garuda group" is one example I've seen).

So! Getting started: I have a Logitech mouse G502 and it's scroll wheel can be bent left and right, which on Windows gives me horizontal scrolling - but I can't seem to find absolutely nothing about how to achieve this on Arch/Garuda. Any pointers?

(edit) Yes, I have found out about solaar, I don't see anything in there related to this - maybe I'm not looking in the right place in it?

Following the template, here's the garuda-inxi output (forgive me if I have misinterpreted the template's notice and it should be just a partial output):

System:
  Kernel: 6.2.9-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=468e3250-834f-4678-85b1-f50f268e557d rw rootflags=subvol=@
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=92d5bc58-440e-4eab-9f01-4fa35d34e02b loglevel=3 ibt=off
  Desktop: KDE Plasma v: 5.27.3 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: Dell product: G5 5590 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 0F3T2G v: A00 serial: <superuser required> UEFI: Dell
    v: 1.22.0 date: 11/10/2022
Battery:
  ID-1: BAT0 charge: 48.6 Wh (100.0%) condition: 48.6/60.0 Wh (81.0%)
    volts: 16.8 min: 15.2 model: SMP DELL JJPFK87 type: Li-poly serial: <filter>
    status: full
CPU:
  Info: model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Coffee Lake
    gen: core 9 level: v3 note: check built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xF0
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
    L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 3640 high: 4200 min/max: 800/4500 scaling:
    driver: intel_pstate governor: powersave cores: 1: 4199 2: 4163 3: 4099
    4: 4198 5: 2600 6: 4096 7: 4200 8: 4198 9: 4132 10: 2600 11: 2600 12: 2600
    bogomips: 62399
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Dell
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: DP-4 off: eDP-1 empty: DP-1, DP-2, DP-3, DP-5, HDMI-A-1,
    HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:3e9b class-ID: 0300
  Device-2: NVIDIA TU106M [GeForce RTX 2060 Mobile] vendor: Dell
    driver: nvidia v: 530.41.03 alternate: nouveau,nvidia_drm non-free: 530.xx+
    status: current (as of 2023-03) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 8
    link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:1f11 class-ID: 0300
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
    bus-ID: 2-5:4 chip-ID: 0c45:671f class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1
    compositor: kwin_x11 driver: X: loaded: modesetting,nvidia unloaded: nouveau
    alternate: fbdev,intel,nv,vesa dri: iris gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 2560x2160 s-dpi: 96 s-size: 675x570mm (26.57x22.44")
    s-diag: 883mm (34.78")
  Monitor-1: DP-1-2 pos: primary,top res: 2560x1080 hz: 60 dpi: 81
    size: 798x334mm (31.42x13.15") diag: 865mm (34.06") modes: N/A
  Monitor-2: HDMI-1-0 pos: bottom res: 2560x1080 hz: 60 dpi: 96
    size: 677x290mm (26.65x11.42") diag: 736mm (29") modes: N/A
  Monitor-3: eDP-1 size-res: N/A modes: N/A
  API: OpenGL v: 4.6 Mesa 23.0.1 renderer: Mesa Intel UHD Graphics 630 (CFL
    GT2) direct-render: Yes
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel
    bus-ID: 2-4.1:5 v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl
    chip-ID: 1b3f:2008 class-ID: 0300 bus-ID: 00:1f.3 chip-ID: 8086:a348
    class-ID: 0403
  Device-2: NVIDIA TU106 High Definition Audio vendor: Dell
    driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 8
    link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:10f9 class-ID: 0403
  Device-3: Generalplus USB Audio Device type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Device-4: Realtek USB Audio type: USB driver: snd-usb-audio
    bus-ID: 2-4.5:9 chip-ID: 0bda:4014 class-ID: 0102 serial: <filter>
  API: ALSA v: k6.2.9-zen1-1-zen status: kernel-api with: aoss
    type: oss-emulator tools: N/A
  Server-1: PipeWire v: 0.3.67 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek vendor: Dell driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 3c:00.0 chip-ID: 10ec:2502
    class-ID: 0200
  IF: enp60s0 state: down mac: <filter>
  Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
    vendor: Dell driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 bus-ID: 3d:00.0 chip-ID: 168c:003e class-ID: 0280 temp: 48.0 C
  IF: wlp61s0 state: down mac: <filter>
  Device-3: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152
    bus-ID: 4-1.2:3 chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
  IF: enp58s0u1u2 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Qualcomm Atheros type: USB driver: btusb v: 0.8 bus-ID: 2-14:8
    chip-ID: 0cf3:e007 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
  Local Storage: total: 1.14 TiB used: 637.98 GiB (54.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: PC SN520 NVMe WDC 256GB size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 15.8 Gb/s lanes: 2 type: SSD serial: <filter>
    rev: 20240012 temp: 55.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD10SPZX-75Z10T3 size: 931.51 GiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 4514 scheme: GPT
Partition:
  ID-1: / raw-size: 221.19 GiB size: 221.19 GiB (100.00%)
    used: 47.68 GiB (21.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 624 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 221.19 GiB size: 221.19 GiB (100.00%)
    used: 47.68 GiB (21.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 221.19 GiB size: 221.19 GiB (100.00%)
    used: 47.68 GiB (21.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 221.19 GiB size: 221.19 GiB (100.00%)
    used: 47.68 GiB (21.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 15.43 GiB used: 379.5 MiB (2.4%)
    priority: 100 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 16.98 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 62.0 C pch: 73.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 368 Uptime: 14h 12m wakeups: 27 Memory: 15.43 GiB
  used: 9.1 GiB (59.0%) Init: systemd v: 253 default: graphical
  tool: systemctl Compilers: gcc: 12.2.1 Packages: pm: pacman pkgs: 1909
  libs: 530 tools: gnome-software,octopi,pamac,paru,yay pm: appimage pkgs: 0
  Shell: Zsh v: 5.9 running-in: kitty inxi: 3.3.26
Garuda (2.6.16-1):
  System install date:     2023-04-01
  Last full system update: 2023-04-02 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut nvidia-dkms
  Windows dual boot:       No/Undetected
  Failed units:            

Not sure, but a quick search got me to this comment:

Also try the LTS kernel.
There seems to be going on some issue w/ logitech mice and recent kernels, though so far mostly affecting the wheel hmm

and these other ones:

if you do not need e.g. battery information in the OS you could try blacklisting hid_logitech_hidpp

Woohoo! That works! I don’t think I need anything in the module, so for now this will work until hopefully it is fixed.

  1. Open up the /etc/modprobe.d/blacklist.conf file.
  2. Add the following line to the file:
    blacklist hid_logitech_hidpp
  3. Save the file and exit the text editor. Reboot your system for the changes to take effect.
  4. Connect your mouse to be wired, then unplug. And now it works! (No idea why but oh well!)

Hope it works for you too.


this is an Arch Linux group, not a Garuda group

That’s not (necessarily) disregard, it’s just that Garuda derives from Arch but isn’t Arch proper, just like Mint is not Debian. Here is the right place to ask.
And yes, the inxi is correct and well formatted.

3 Likes

Thanks for taking the time to answer, @meanruse. I'll look into those links during the week!

==

Ok, I'll be answering my own post and asking that this topic be closed/locked, because it seems that despite my first few tries at it, installing solaar DID solve the horizontal scroll problem. It's not perfect as it was on Windows, it seems laggy, but it's working and for the moment (it's freaking Sunday night/Monday morning, 00:01 am here in Brazil) that's more than enough.

Thanks for the attention and sorry - but I do think it may be helpful to leave this around, in case another noob like me stumbles upon this problem and find absolutely nothing out there.

1 Like

Good find! Yes it may turn useful for others.
Greetings from Italy and welcome.

3 Likes

would you believe me if I told you that now some apps don't seem to recognize the regular vertical scrolling..? namely, so far, Telegram. Browser (Vivaldi) and Twitter (ModernDeck) are rolling (MD is the one where I use horizontal the most, btw)... but Telegram won't roll ANYTHING now. O.o

(edit) I feel so... dumb now. Closing and reopening Telegram, and it works again. Weird.

From your inxi, you do have a pending restart. Might be related to why things only work when restarting some programs.

When you use the garuda-inxi command, take note of the symbol at the end here:

That means there is a pending system restart.

2 Likes

will pay attention to that, thanks for the tip @Kayo!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.