![]() | |
| |||||||
| 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... |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 |
| Дошкольник | Нужна помощ в установке мыши... У меня возникла следующая проблема ... в RedHat 7.3 моя мыш либо нормално работает но без скролла либо не работает вообще (как странно ) моей мышю является Dysan Optical Mouse ... у кого-нибудь есть какие-либо соображения???
__________________ Best Regards. |
| | |
| | #2 |
| Школьник 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" ------------------------------------------------- |
| | |
| | #5 |
| ¡no pasaran! | 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 ] |
| | |
| | #6 | |
| Administrator | Quote:
) да ты сказок начитался.гыыыыыы )
__________________ И повешенные могут качаться в неположенную сторону. /С.Е.Лец/ | |
| | |
| | #8 | |
| Не Младенец Join Date: Mar 2003 Location: nowhere
Posts: 91
Rep Power: 0 Reputation:
10 | Quote:
| |
| | |
![]() |
| Thread Tools | |
| Display Modes | |
| |