AKB Forums

Go Back   AKB Forums > Technical sections > Operating Systems > Unix
Home Register Blogs FAQ Members List Calendar Downloads Arcade Mark Forums Read

Unix Linux Is Like A Wigwam - No Windows, No Gates And An Apache Inside...

Troubles when posting message? Click here! :: Проблемы с отправлением сообщения? Нажмите сюда!

Reply
 
LinkBack Thread Tools Display Modes
Old Mar 25, 2003, 22:26   #1
Дошкольник
 
levi's Avatar
 
Join Date: Mar 2003
Location: Yerevan, Armenia
Posts: 64
Rep Power: 0
Reputation: 10
Send a message via ICQ to levi
Нужна помощ в установке мыши...

У меня возникла следующая проблема ...
в RedHat 7.3 моя мыш либо нормално работает но без скролла либо не работает вообще (как странно ) моей мышю является Dysan Optical Mouse ...
у кого-нибудь есть какие-либо соображения???
__________________
Best Regards.
levi is offline   Reply With Quote Quote selected
Old Mar 26, 2003, 00:16   #2
Школьник
 
GrantX's Avatar
 
Join Date: Jul 2002
Location: Network
Posts: 246
Rep Power: 7
Reputation: 10
-----------------------------------------------------
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"

-------------------------------------------------
GrantX is offline   Reply With Quote Quote selected
Old Mar 26, 2003, 05:32   #3
Administrator
 
greka's Avatar
 
Join Date: Sep 2001
Location: @work
Posts: 5,347
Rep Power: 10
Reputation: 23
Send a message via ICQ to greka
:D

ага, рассказывайте сказки про то, что Microsoft - сукс
__________________
И повешенные могут качаться в неположенную сторону. /С.Е.Лец/
greka is offline   Reply With Quote Quote selected
Old Mar 26, 2003, 16:33   #4
Banned
 
Pinhead's Avatar
 
Join Date: Mar 2002
Location: Yerevan
Posts: 1,646
Rep Power: 0
Reputation: 10
Send a message via ICQ to Pinhead
Re: :D

Quote:
Originally posted by Greco
ага, рассказывайте сказки про то, что Microsoft - сукс
Pinhead is offline   Reply With Quote Quote selected
Old Mar 26, 2003, 21:04   #5
¡no pasaran!
 
dolphin's Avatar
 
Join Date: Mar 2002
Location: localhost
Posts: 538
Rep Power: 7
Reputation: 23
Send a message via ICQ to 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.......?
__________________
[ que fors aus ne le sot riens nee ]
dolphin is offline   Reply With Quote Quote selected
Old Mar 27, 2003, 05:51   #6
Administrator
 
greka's Avatar
 
Join Date: Sep 2001
Location: @work
Posts: 5,347
Rep Power: 10
Reputation: 23
Send a message via ICQ to greka
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.......?
мышь под Винды шоб не работала ? ) да ты сказок начитался.
гыыыыыы)
__________________
И повешенные могут качаться в неположенную сторону. /С.Е.Лец/
greka is offline   Reply With Quote Quote selected
Old Mar 27, 2003, 19:08   #7
Дошкольник
 
levi's Avatar
 
Join Date: Mar 2003
Location: Yerevan, Armenia
Posts: 64
Rep Power: 0
Reputation: 10
Send a message via ICQ to levi
Всем спаааасибо!!!
щас испробуем!!!
__________________
Best Regards.
levi is offline   Reply With Quote Quote selected
Old Mar 27, 2003, 20:33   #8
Не Младенец
 
Kooper's Avatar
 
Join Date: Mar 2003
Location: nowhere
Posts: 91
Rep Power: 0
Reputation: 10
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 ?
Kooper is offline   Reply With Quote Quote selected
Old Mar 28, 2003, 15:03   #9
¡no pasaran!
 
dolphin's Avatar
 
Join Date: Mar 2002
Location: localhost
Posts: 538
Rep Power: 7
Reputation: 23
Send a message via ICQ to dolphin
aha, pral'no.. v vashej vanjuchej winde daje klave drova nujny
__________________
[ que fors aus ne le sot riens nee ]
dolphin is offline   Reply With Quote Quote selected
Old Mar 30, 2003, 20:44   #10
Дошкольник
 
levi's Avatar
 
Join Date: Mar 2003
Location: Yerevan, Armenia
Posts: 64
Rep Power: 0
Reputation: 10
Send a message via ICQ to levi
урра зарработало!!!
__________________
Best Regards.
levi is offline   Reply With Quote Quote selected
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 19:38.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
This board was founded on September 29, 2001
Powered by Viper Internet

Affordable Web Hosting | ParevNet

Buy text link