Difference between revisions of "Lomoco"
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
| http://lomoco.linux-gamers.net/files/lomoco-{{Lomoco-Version}}.tar.gz | | http://lomoco.linux-gamers.net/files/lomoco-{{Lomoco-Version}}.tar.gz | ||
|- | |- | ||
+ | !Download Patch: | ||
+ | | http://svn.cross-lfs.org/svn/repos/patches/lomoco/lomoco-{{Lomoco-Version}}-udev_update-1.patch | ||
|} | |} | ||
---- | ---- | ||
− | + | {{Package-Introduction|lomoco can configure vendor-specific options on Logitech USB mice.}} | |
− | |||
− | lomoco can configure vendor-specific options on Logitech USB mice. | ||
== Dependencies == | == Dependencies == | ||
Line 21: | Line 21: | ||
Compile the package: | Compile the package: | ||
+ | patch -Np1 -i ../lomoco-{{Lomoco-Version}}-udev_update-1.patch && | ||
./autogen.sh --prefix=/usr && | ./autogen.sh --prefix=/usr && | ||
make | make | ||
Line 35: | Line 36: | ||
Compile the package: | Compile the package: | ||
+ | patch -Np1 -i ../lomoco-{{Lomoco-Version}}-udev_update-1.patch && | ||
CC="gcc ${BUILD32}" ./autogen.sh --prefix=/usr && | CC="gcc ${BUILD32}" ./autogen.sh --prefix=/usr && | ||
make | make | ||
Line 46: | Line 48: | ||
Compile the package: | Compile the package: | ||
+ | patch -Np1 -i ../lomoco-{{Lomoco-Version}}-udev_update-1.patch && | ||
CC="gcc ${BUILDN32}" ./autogen.sh --prefix=/usr && | CC="gcc ${BUILDN32}" ./autogen.sh --prefix=/usr && | ||
make | make | ||
Line 57: | Line 60: | ||
Compile the package: | Compile the package: | ||
+ | patch -Np1 -i ../lomoco-{{Lomoco-Version}}-udev_update-1.patch && | ||
CC="gcc ${BUILD64}" ./autogen.sh --prefix=/usr && | CC="gcc ${BUILD64}" ./autogen.sh --prefix=/usr && | ||
make | make | ||
Line 118: | Line 122: | ||
| lomoco can configure vendor-specific options on Logitech USB mice. | | lomoco can configure vendor-specific options on Logitech USB mice. | ||
|} | |} | ||
+ | |||
+ | [[Category:General Utilities]] |
Latest revision as of 13:59, 19 March 2009
Download Source: | http://lomoco.linux-gamers.net/files/lomoco-1.0.tar.gz |
---|---|
Download Patch: | http://svn.cross-lfs.org/svn/repos/patches/lomoco/lomoco-1.0-udev_update-1.patch |
Contents
Introduction to Lomoco
lomoco can configure vendor-specific options on Logitech USB mice.
Project Homepage: Unknown
Dependencies
Required
Non-Multilib
Compile the package:
patch -Np1 -i ../lomoco-1.0-udev_update-1.patch && ./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:
patch -Np1 -i ../lomoco-1.0-udev_update-1.patch && CC="gcc ${BUILD32}" ./autogen.sh --prefix=/usr && make
Install the package
make install
N32
Compile the package:
patch -Np1 -i ../lomoco-1.0-udev_update-1.patch && CC="gcc ${BUILDN32}" ./autogen.sh --prefix=/usr && make
Install the package
make install
64Bit
Compile the package:
patch -Np1 -i ../lomoco-1.0-udev_update-1.patch && 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. |
---|