Logitech CruiseControl

From LQWiki
Jump to navigation Jump to search

Hardware

Logitech Lx5-Mouse with 4-Way-Wheel(CruiseControl) on USB

Requirements

This tutorial has been tested with SUSE 10.0 but the procedure should be same or similar for every Linux with xorg and udev.

Installation

Software

lmctl or lomoco

configure xorg

Section "InputDevice" of /etc/X11/xorg.conf:

Section "InputDevice"
  Driver       "evdev" 
  Identifier   "Mouse[1]"
  Option       "Buttons" "7"
  Option       "ButtonNumber" "7"
  Option       "Device" "/dev/input/lx5"
  Option       "Name" "Logitech"
  Option       "Dev Name" "Logitech"
  Option       "Protocol" "ExplorerPS/2"
  Option       "Vendor" "Logitech"
  Option       "ZAxisMapping" "4 5"
  Option       "Resolution" "800"
EndSection

create udev-device

cat >/etc/udev/rules.d/10-logitech_lx5.rules
KERNEL=="event*", SYSFS{idVendor}=="046d", SYSFS{idProduct}=="c50e", NAME="input/lx5", MODE="666", GROUP="uucp"

lmctl

get lmctl:

apt-get install lmctl
smart install lmctl
yum install lmctl

A precondition is that you have the needed repositories. Or you install it with YaST.

yast2 -i lmctl

You can also use a derivated variant named lomoco.

start lmctl automatically

/etc/init.d/boot.local:

lmctl --sms

activates CruiseControl

or:

lomoco --sms

for parameters see man lmctl or man lomoco.

man lmctl
man lomoco

restart system

reboot to activate changes.

reboot