Skip to content

Linux scroll wheel driver for Trust Easy Scroll Silverline Keyboard (EZ-7000/8000)

Notifications You must be signed in to change notification settings

MatusGuy/ezscroll

Repository files navigation

ezscroll

This driver provides Linux support for the scroll wheel in the Trust Easy Scroll Silverline Keyboard.

Notes

  • This driver was tested with the EZ-8000, so I'm not sure if it works with the EZ-7000, but it should.
  • This driver was not tested with a PS/2 Mouse simultaneously plugged in.

Install

For current and future kernel versions (dkms)

  1. Download tar.gz off of this repository's releases
  2. Install it:
sudo dkms ldtarball ./ezscroll-1.0.tar.gz
sudo dkms install ezscroll/1.0
  1. Load it:
sudo modprobe ezscroll
  1. Load it automatically on boot:
  • Only tested on Fedora
sudo touch /etc/modules-load.d/modules.conf
sudo echo ezscroll >> /etc/modules-load.d/modules.conf

For current kernel version only

Download development kit

sudo apt update && sudo apt upgrade
sudo apt remove --purge linux-headers-*
sudo apt autoremove && sudo apt autoclean
sudo apt install linux-headers-generic

Install only for the current kernel version

make
sudo cp ./ezscroll.ko /lib/modules/`uname -r`/kernel/drivers/input/keyboard
sudo touch /etc/modules-load.d/modules.conf
sudo echo ezscroll >> /etc/modules-load.d/modules.conf

Technical details

When scrolling, the keyboard sends a specific key, with the pressing state representing the direction of the scroll.

This driver uses kprobe to hook to the ps2_interrupt function in libps2 because the atkbd driver doesn't provide the pressed state for the key when the key is unknown, which means it's not possible to use libevdev.

Possible compilation errors/warnings:

  • "Skipping BTF generation xxx. due to unavailability of vmlinux":
cp /sys/kernel/btf/vmlinux /usr/lib/modules/`uname -r`/build/

About

Linux scroll wheel driver for Trust Easy Scroll Silverline Keyboard (EZ-7000/8000)

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •