Difference between revisions of "Lomoco"

From CBLFS
Jump to navigationJump to search
 
Line 63: Line 63:
  
 
  make install
 
  make install
 +
 +
== Configuring ==
 +
 +
=== Creating Udev Rules ===
 +
 +
From the top level directory run the following command to generate the udev rule from the mouse information in src/lomoco.c and copy it to the rules.d directory:
 +
 +
make udev-rules &&
 +
install -v -m644 udev/lomoco.rules /etc/udev/rules.d/90-lomoco.rules
 +
 +
On '''Non-Multilib''' systems copy '''udev.lomoco''' to '''/lib/udev/''':
 +
 +
install -v -m755 udev/udev.lomoco /lib/udev/lomoco
 +
 +
On '''Multilib''' systems copy '''udev.lomoco''' to '''/lib64/udev/''':
 +
 +
install -v -m755 udev/udev.lomoco /lib64/udev/lomoco
 +
 +
=== Configuring lomoco ===
 +
 +
The lomoco script that the udev rule created above will exec looks for a configuration file at '''/etc/sysconfig/logitech_mouse'''. Create it with the following command:
 +
 +
cat > /etc/sysconfig/logitech_mouse << "EOF"
 +
# Begin /etc/sysconfig/logitech_mouse
 +
 +
LOGITECH_MOUSE_RESOLUTION="400"
 +
# Possible Resolutions Are: 400 800 1200 1600 2000
 +
 +
# SmartScroll/Cruise Control (SMS command set)
 +
LOGITECH_MOUSE_DISABLE_CC="no"
 +
 +
# End /etc/sysconfig/logitech_mouse
 +
EOF
  
 
= Contents =
 
= Contents =

Revision as of 13:11, 12 January 2007

Download Source: http://lomoco.linux-gamers.net/files/lomoco-1.0.tar.gz

Introduction to Lomoco

lomoco can configure vendor-specific options on Logitech USB mice.

Dependencies

Required

Non-Multilib

Compile the package:

./autogen.sh --prefix=/usr &&
make

Install the package

make install

Multilib

This package does not provide any libraries so only one installation is needed.

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./autogen.sh --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./autogen.sh --prefix=/usr &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./autogen.sh --prefix=/usr &&
make

Install the package

make install

Configuring

Creating Udev Rules

From the top level directory run the following command to generate the udev rule from the mouse information in src/lomoco.c and copy it to the rules.d directory:

make udev-rules &&
install -v -m644 udev/lomoco.rules /etc/udev/rules.d/90-lomoco.rules

On Non-Multilib systems copy udev.lomoco to /lib/udev/:

install -v -m755 udev/udev.lomoco /lib/udev/lomoco

On Multilib systems copy udev.lomoco to /lib64/udev/:

install -v -m755 udev/udev.lomoco /lib64/udev/lomoco

Configuring lomoco

The lomoco script that the udev rule created above will exec looks for a configuration file at /etc/sysconfig/logitech_mouse. Create it with the following command:

cat > /etc/sysconfig/logitech_mouse << "EOF"
# Begin /etc/sysconfig/logitech_mouse

LOGITECH_MOUSE_RESOLUTION="400"
# Possible Resolutions Are: 400 800 1200 1600 2000

# SmartScroll/Cruise Control (SMS command set)
LOGITECH_MOUSE_DISABLE_CC="no"

# End /etc/sysconfig/logitech_mouse
EOF

Contents

Installed Programs: lomoco
Installed Libraries: None
Installed Directories: None

Short Descriptions

lomoco lomoco can configure vendor-specific options on Logitech USB mice.
Retrieved from "?title=Lomoco&oldid=6989"