LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-20-2004, 01:30 PM   #1
sdoerr
LQ Newbie
 
Registered: May 2004
Posts: 3

Rep: Reputation: 0
Generic PS/2 optical wheel mouse problem on Xfree86 4.3


Hello. I'm having trouble configuring a generic optical wheel mouse in Linux 2.4.22 with Xfree86 ver. 4.3 and I hope someone here might have some tips.

It's an Inland Optical mouse 100 connected to the ps/2 port and none of the protocols seem to work for it. I do have a logitech three button non-optical model that works, so this is a second mouse, and I'll get rid of the logitech if I get it working.

I've tried the following protocols - auto, mouseman, ps/2, imps/2, with emulate 3 buttons both true and off.

It does send data when I move it:

bash-2.03# cat /dev/psaux
(ÿ(ÿ(ÿ(ÿ(þ(ÿ(ÿ?ÿ?ÿ?þ?ÿ?ÿ?ÿ?ÿ?ÿ?ÿ?ÿ8ÿÿ8ÿÿ(ÿ(ÿ(ÿ(ÿ(ÿ(þ(þ(þ(þ(?ÿ?ÿ

And here is my current XF86Config-4:

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/ttyS0"
Option "Protocol" "MouseMan"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "AlwaysCore" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "off"
Option "ZAxisMapping" "4 5"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Mouse0"
InputDevice "Mouse1"
EndSection

Does anyone have any suggestions, or see anything wrong?

Thanks for any input!
Steve
 
Old 05-20-2004, 07:11 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Welcome to LQ.

Try commenting out (ie adding a # symbol to the beginning of the line) the entire Section for Mouse0, and remove it from the ServerLayout. Here's (a somewhat simplified) version of my XF86 entries:
Code:
...
Section "InputDevice"
    Identifier "TrackBall"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/psaux"
    Option "ZAxisMapping" "4 5"
EndSection
...
Section "ServerLayout"
    Identifier "Simple Layout"
    InputDevice "TrackBall" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
    Screen "Screen 1"
EndSection
 
Old 05-20-2004, 08:56 PM   #3
sdoerr
LQ Newbie
 
Registered: May 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you. I like this forum - I've been finding a lot of good info here.

I made your edits and it works with the ps/2 protocol. I believe it should have worked before, but I just kept restarting X and I couldn't get anything to stick until I rebooted.

A tip to speed up an optical mouse is to add the option below to the InputDevice section.

Option "resolution" "1600"

Thanks again,
Steve
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Generic USB Optical Mouse not working hwa Slackware 2 02-06-2005 02:08 AM
Yet another 5 button optical wheel mouse problem buboleck Slackware 1 04-15-2004 12:09 PM
Wisetech optical mouse and mouse wheel support bigredgiant1 Linux - Hardware 2 12-31-2003 04:57 AM
Memorex Optical Wheel Mouse problem grantm Linux - Newbie 3 07-22-2003 07:50 AM
Wheel mouse optical DhScud Linux - Newbie 1 04-12-2001 07:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration