Go Back   Armenian Knowledge Base > Technical sections > Operating Systems > Unix

Reply
 
Thread Tools

Нужна помощ в установке мыши...
Old 25.03.2003, 22:26   #1
Дошкольник
 
levi's Avatar
 
Join Date: 03 2003
Location: Yerevan, Armenia
Age: 40
Posts: 64
Rep Power: 0
Default Нужна помощ в установке мыши...

У меня возникла следующая проблема ...
в RedHat 7.3 моя мыш либо нормално работает но без скролла либо не работает вообще (как странно ) моей мышю является Dysan Optical Mouse ...
у кого-нибудь есть какие-либо соображения???

Old 26.03.2003, 00:16   #2
Школьник
 
GrantX's Avatar
 
Join Date: 07 2002
Location: Network
Posts: 245
Rep Power: 0
Default

-----------------------------------------------------
http://www.linuxheadquarters.com/howto/basic/imwheel.shtml

imwheel: Using Your Scroll Mouse in Linux

imwheel is a program that allows you to scroll in most applications with your scroll mouse. It is started as a process after starting X Windows. Note: imwheel 0.9.8 and below have a security hole and must be patched. This only affects those have the SUID bit turned on for imwheel. See below for instructions on patching. Also note, this will not work if you have turned on the emuulate 3 buttons feature. If Emulate3Buttons is activated, the scroll mouse will not work and X Windows will probably freeze.

1. Download from RedHat PowerTools
2. rpm -ivh imwheel-0.9.8-1.i386.rpm (ftp://updates.redhat.com/powertools/6.2/i386/imwheel-0.9.8-1.i386.rpm)
3. Follow the post-installation instructions to configure your X Windows mouse settings.

Post-installation

1. Make sure Emulate3Buttons is NOT activated. This is configured in your XF86Config file. The # mark is used for commenting. Your configuration file should look like this:

# Emulate3Buttons
# Emulate3Timeout 50

2. In your XF86Config file make sure you are using the IMPS/2 protocol for a PS/2 mouse or IntelliMouse for a serial mouse.
3. You must have the line ZAxisMapping 4 5 under the Pointer Section of the X Windows configuration file. In other words, your XF86Config file should look like this under the Section "Pointer":

Section "Pointer"
Protocol "IMPS/2"
Device "dev/mouse"
ZAxisMapping 4 5

4. Restart X Windows if you had to modify your configuration file.
5. Start X Windows with the startx command.
6. As root, run imwheel after X Windows is started or follow the advanced instructions to run imwheel automatically when X is started.

Advanced Configuration
Each time imwheel is started, it appends the file /tmp/imwheel.pid with the current process id (pid). However, it must have the proper permissions to write to this file. The owner of the file is the user who first starts imwheel and creates the file. Thus, if root is the first user to start imwheel then /tmp/imwheel.pid will be owned by root and by default no one else can write to the file. You can work around this a few ways. If you are the only user on the system, change the owner of the file to your user and make sure you have read and write permissions to it. Root will also have permission to write to this file if you need to run it as root. If there is more than one user on the system you want to give access to imwheel, change the permissions to the /tmp/imwheel.pid file where everyone can write to the file. You can get even more complex and define a group of imwheel users and change the group permissions of the file to read and write.

The installation of imwheel should have created the script /etc/X11/xinit/xinitrc.d/imwheel. Every script in the /etc/X11/xinit/xinitrc.d is executed when X starts. Thus, this script and with the proper permissions to the /tmp/imwheel.pid your scroll mouse should work automatically each time X is started, and you will not have to execute imwheel as root each time you start X.

-------------------------------------------------
http://www.wse.jhu.edu/newtnotes/main_file.php/sysadmin/35/
How I got the mouse wheel working
under RedHat 7.x
I've had several problems. The mouse wheel not working is the one under discussion here. My solution was this configuration detail in /etc/X11/XF86Config-4:

Section "InputDevice"
Identifier "Mouse0"
# Modified by mouseconfig
# Modified again by JDS
Driver "mouse"
# Option "Device" "/dev/mouse"
Option "Device" "/dev/psaux"
# Option "Protocol"
"MouseManPlusPS/2"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"

Note that the mouseconfig lines were commented out; Device was set to "/dev/psaux" and Protocol was set to "IMPS/2"

------------------------------------------------
http://palm.opennet.ru/tips/info/147.shtml

Как насторить работу Mouse Wheel.

gpm -t imps2 или в /etc/sysconfig/mouse:
MOUSETYPE=imps2
WHEEL=yes
ln -s /dev/psmouse /dev/mouse или ln -s /dev/psaux/ /dev/mouse
В XF86Config-4 в Section "InputDevice":
Identifier "Mouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"

-------------------------------------------------

:D
Old 26.03.2003, 05:32   #3
Академик
 
greka's Avatar
 
Join Date: 09 2001
Location: inside myself
Posts: 5,369
Rep Power: 6
Default :D

ага, рассказывайте сказки про то, что Microsoft - сукс

Re: :D
Old 26.03.2003, 16:33   #4
Доктор
 
Pinhead's Avatar
 
Join Date: 03 2002
Location: Yerevan
Age: 42
Posts: 1,646
Rep Power: 0
Default Re: :D

Quote:
Originally posted by Greco
ага, рассказывайте сказки про то, что Microsoft - сукс

Old 26.03.2003, 21:04   #5
¡no pasaran!
 
dolphin's Avatar
 
Join Date: 03 2002
Location: localhost
Age: 42
Posts: 540
Rep Power: 5
Default

gy-gy-gy....

a xuj vy etu myshku pod Win postavili-by, esli drova otkazalis' rabotat'...

sideli-by i uchili ASM, chtoby driver napisat', umniki.......?

Old 27.03.2003, 05:51   #6
Академик
 
greka's Avatar
 
Join Date: 09 2001
Location: inside myself
Posts: 5,369
Rep Power: 6
Default

Quote:
Originally posted by dolphin
gy-gy-gy....

a xuj vy etu myshku pod Win postavili-by, esli drova otkazalis' rabotat'...

sideli-by i uchili ASM, chtoby driver napisat', umniki.......?
мышь под Винды шоб не работала ? ) да ты сказок начитался.
гыыыыыы)

Old 27.03.2003, 19:08   #7
Дошкольник
 
levi's Avatar
 
Join Date: 03 2003
Location: Yerevan, Armenia
Age: 40
Posts: 64
Rep Power: 0
Default

Всем спаааасибо!!!
щас испробуем!!!

Old 27.03.2003, 20:33   #8
Не Младенец
 
Kooper's Avatar
 
Join Date: 03 2003
Location: nowhere
Age: 47
Posts: 91
Rep Power: 0
Default

Quote:
gy-gy-gy....

a xuj vy etu myshku pod Win postavili-by, esli drova otkazalis' rabotat'...

sideli-by i uchili ASM, chtoby driver napisat', umniki.......?
LLLOOOLLL a esly by dlya klavy ne bylo ?? ak togda pisali by ?

Old 28.03.2003, 15:03   #9
¡no pasaran!
 
dolphin's Avatar
 
Join Date: 03 2002
Location: localhost
Age: 42
Posts: 540
Rep Power: 5
Default

aha, pral'no.. v vashej vanjuchej winde daje klave drova nujny

Old 30.03.2003, 20:44   #10
Дошкольник
 
levi's Avatar
 
Join Date: 03 2003
Location: Yerevan, Armenia
Age: 40
Posts: 64
Rep Power: 0
Default

урра зарработало!!!
Reply




Реклама:
реклама

All times are GMT. The time now is 19:05.
Top

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.