05-02-2009, 10:09
|
|
|
חבר מתאריך: 28.11.07
הודעות: 1,688
|
|
הגדרות עכבר
אוקיי במהלך היממה האחרונה צברתי קצת ידע
הצלחתי כבר להתקין לבד דברים ולתכנת
אבל נתקלתי בבעיה
יש לי עכבר DeathAdder
ב-XP היו לי פשוט דרייברים ושם הייתי מגדיר DPI ו-HZ לעכבר
עכשיו ב-ubuntu מצאתי תאתר הבא:
http://bu3sch.de/razercfg.php
הנה הקובץ README
*** DEPENDENCIES ***
* python
http://www.python.org/
* libusb
http://libusb.sourceforge.net/
* QT4 (for the graphical qrazercfg tool only)
http://www.trollech.com/
* cmake (for building only)
http://www.cmake.org/
זה החבילות שצריך להוריד
סבבה חלק הורדתי מהטרמינל וחלק מה-synaptic
עכשיו רשום בהתקנה
*** BUILDING ***
First invoke "cmake" to build the makefiles.
Then invoke "make" to build the binaries.
cmake .
make
(Note the required space and dot after the cmake command)
סבבה עשיתי
cd /home/ishai/razercfg-001
חילצתי את הראר לבית
עכשיו עשיתי
cmake .
רווח נקודה כמו שהם ביקשו וזה רשם לי
-- The C compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Looking for usb.h
-- Looking for usb.h - found
CMake Warning (dev) at librazer/CMakeLists.txt:9 (add_definitions):
Policy CMP0005 is not set: Preprocessor definition values are now escaped
automatically. Run "cmake --help-policy CMP0005" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Could NOT find PythonLibs
-- Found PythonInterp: /usr/bin/python2.5
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.6)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
PYTHON_INCLUDE_PATH (ADVANCED)
used as include directory in directory /home/ishai/razercfg-001/pyrazer
-- Configuring done
לא ידעתי אם זה נכשל או לא אז המשכתי ורשמתי make
וזה רשם
make: *** makefile יצבק ואצמנ אלו תורטמ ןויצ ןיא. Stop.
הוא רשם אין ציון מטרות ולא נמצאו קבצי makefile
משמע שה-configure נכשל
אוקיי עכשיו אני מנסה לפתור עם גוגל אבל ללא הצלחה
אבל יש לי גם שאלה לעתיד
רשום בהמשך
*** INSTALLING ***
make install
מה הכוונה שזה יתקין?
מה פתאום יקפוץ לי חלון עם הדרייבר?
לא הבנתי איך ההתקנה בדיוק פועלת
ואז רשום
*** UDEV / AUTOMATIC CONFIGURATION ***
The file "01-razer-udev.rules" in this package contains example rules
on how to handle automatic configuration through udev.
On Ubuntu Linux you need to
cp 01-razer-udev.rules /etc/udev/rules.d/01-razer.rules
to install the rules. Note that you might have to adjust the RUN path in
the .rules file, if you didn't install the stuff to /usr/local.
עכשיו לפי מה שהבנתי
יהיה קובץ עם true/fale
לדוגמא האור של הגלגלת בעכבר---> true זה דולק
אבל השאלה היא:
איך העכבר יקח את ההגדרות מהקובץ?
|