J'ai une souris razer deathadder, il existe un pilote pour linux http://www.bu3sch.de/deathadder.php
Mais je n'arrives pas à le compiler

Code : Tout sélectionner
deathadder]$ make
cc -std=c99 -O2 -fomit-frame-pointer -Wall -D_BSD_SOURCE -D_GNU_SOURCE -DVERSION_=005 -c -o main.o main.c
cc -std=c99 -O2 -fomit-frame-pointer -Wall -D_BSD_SOURCE -D_GNU_SOURCE -DVERSION_=005 -c -o conffile.o conffile.c
conffile.c:49:26: erreur: config/parse.h : Aucun fichier ou dossier de ce type
conffile.c:65: erreur: expected ‘)’ before ‘*’ token
conffile.c:78: erreur: expected ‘)’ before ‘*’ token
conffile.c:88: erreur: expected ‘)’ before ‘*’ token
conffile.c:152: erreur: expected ‘)’ before ‘*’ token
conffile.c:174: erreur: expected ‘)’ before ‘*’ token
conffile.c:250: erreur: expected ‘)’ before ‘*’ token
conffile.c:310: erreur: expected ‘)’ before ‘*’ token
conffile.c: In function ‘dadd_read_conffile’:
conffile.c:334: erreur: ‘section_t’ undeclared (first use in this function)
conffile.c:334: erreur: (Each undeclared identifier is reported only once
conffile.c:334: erreur: for each function it appears in.)
conffile.c:334: erreur: ‘tree’ undeclared (first use in this function)
conffile.c:336: attention : implicit declaration of function ‘parse’
conffile.c:344: attention : implicit declaration of function ‘parse_global_parms’
conffile.c:347: attention : implicit declaration of function ‘parse_global_sections’
conffile.c:351: attention : implicit declaration of function ‘parse_destroy’
make: *** [conffile.o] Erreur 1
Dépendance:
Code : Tout sélectionner
]$ yaourt -Ss libusb
core/libusb 0.1.12-3 [installé] (base)
Library to enable user space application programs to communicate with USB
devices
aur/lib32-libusb 0.1.12-1 (18)
Library to enable user space application programs to communicate with USB devices
aur/libusb-beta 1.0.0-1 (11)
Library to enable user space application programs to communicate with USB devices - BETA
Code : Tout sélectionner
$ yaourt -Ss libconfig
community/libconfig 1.3-1 [installé]
C/C++ Configuration File Library
aur/libconfig 1.3-1 [installé] (périmé) (9)
C/C++ Configuration File Library
Je sèche, si quelqu'un pouvais m'arroser...== Razer DeathAdder Mouse configuration tool ==
This is a configuration utility for the Razer DeathAdder on Linux systems.
You can control the LEDs, scanning resolution and frequency and profiles
with this tool. In future things like firmware upload are also planned.
= DEPENDENCIES =
o libusb
o libconfig
To install the dependencies on Debian or Ubuntu Linux, do
apt-get install libusb-dev libconfig0-dev
libusb can be found at:
http://libusb.sourceforge.net/
libconfig (and libdebug, on which libconfig depends) can be found at:
http://oasis.frogfoot.net/code/
= BUILDING =
Simply invoke "make" in the extracted sourcecode tree.
= INSTALLING =
make install
If you want to install it to a special directory prefix, do
make install PREFIX=/foo/bar
= UDEV / AUTOMATIC CONFIGURATION =
The file "udev-deathadder.rules" in this package contains example rules
on how to handle automatic configuration through udev.
Note that you _must_ pass --no-rebind when calling deathaddercfg from udev.
Otherwise it might result in an infinite autoconfig-loop.
On Ubuntu Linux you need to
cp udev-deathadder.rules /etc/udev/rules.d/01-deathadder.rules
to install the rules. Note that you might have to adjust the RUN path in
the .rules file, if you used another PREFIX for make install.
= DISTRIBUTIONS =
To create a proper binary distribution package, make sure a default
configuration file is installed to /etc/deathadder.cfg . You can use
the example file example_config.cfg from this package as a starting
point. You should also install a proper udev autoconfig rule to
your udev rules. See udev-deathadder.rules for an example rule.