LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 09-19-2005, 11:33 AM   #1
poweredbypenguins
LQ Newbie
 
Registered: Sep 2005
Location: Lancashire, UK
Distribution: Fedora 4 & Ubuntu 5.04
Posts: 5

Rep: Reputation: 0
Angry 4-Button optical mouse problem in Fedora 4


Hi everyone,

I have just bought a new mouse (a generic 4 button optical mouse with a scroll wheel) and plugged it into a box with a fresh install of Fedora Core 4.

The mouse doesn't work at all on Fedora. I've tried a number of 'tricks' that I've seen on various forums and websites but now I'm at a loss for what to do next. It works under Windows XP but when I boot into Fedora (my main partition) the mouse pointer refuses to move and the optical LED goes out. Then when I restart my machine, sometimes the mouse won't work under Windows after the first restart and I have to restart it again (very odd).
I use Fedora as my main OS and WinXP for games so it is a bit of a pain to have to revert to my old 2 button, scroll wheel-less ball mouse every time I boot into Linux.

The mouse is a no-name mouse that is silver and black. It came with no drivers and no information.

After trying everything I could think of I'm now coming at this from a fresh perspective on a clean slate so just ask me anything and I'll supply what ever info you need.

Thanks in advance,

Adam.
 
Old 09-19-2005, 12:01 PM   #2
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
you forgot to say, is it usb or ps/2?
 
Old 09-19-2005, 12:43 PM   #3
poweredbypenguins
LQ Newbie
 
Registered: Sep 2005
Location: Lancashire, UK
Distribution: Fedora 4 & Ubuntu 5.04
Posts: 5

Original Poster
Rep: Reputation: 0
oops.

it's a ps/2 mouse.
 
Old 09-19-2005, 12:45 PM   #4
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
what protocol are you using and which have you tried?
 
Old 09-19-2005, 12:55 PM   #5
poweredbypenguins
LQ Newbie
 
Registered: Sep 2005
Location: Lancashire, UK
Distribution: Fedora 4 & Ubuntu 5.04
Posts: 5

Original Poster
Rep: Reputation: 0
Well my Xorg.conf file says I'm currently set up as follows:

Quote:
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
I believe I also tried it as a Microsoft Optical Intellimouse and a NetGenius Mouse as well. I think one of those was IMPS/2 and the other was a regular PS/2 protocol (but I can't be sure of that).
 
Old 09-19-2005, 01:01 PM   #6
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
you should also make sure thatt /dev/input/mice is the right address, i originally had to use /dev/psaux. Just cat /dev/input/mice move mouse around and see if you get output. You should also try other protocols if it is /dev/input/mice, maybe try reading the HCL or www.google.com/linux .
 
Old 09-19-2005, 01:28 PM   #7
poweredbypenguins
LQ Newbie
 
Registered: Sep 2005
Location: Lancashire, UK
Distribution: Fedora 4 & Ubuntu 5.04
Posts: 5

Original Poster
Rep: Reputation: 0
Ok, we may be getting somewhere.

I did cat /dev/input/mice and got some output (x's and space's) when I scrolled the wheel and clicked the buttons, but not when I moved the mouse (the LED didn't even light up).
I tried switching it to /dev/psaux and when I restarted it wouldn't let X start so I had to log in on the command line and edit the xorg.conf file in vi to change it back. It then worked fine.

So, it definitely looks like /dev/input/mice is the correct device type.
 
Old 09-19-2005, 01:32 PM   #8
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
wierd... i get output when i move my mouse around (usb optical cable mouse connected with usb to ps/2 adapter to ps/2 port). i use /dev/input/mice and ImPS/2 protocol. Maybe you should see if your mouse is actually supported... might not be if you dont get any movement output...
 
Old 09-19-2005, 01:41 PM   #9
poweredbypenguins
LQ Newbie
 
Registered: Sep 2005
Location: Lancashire, UK
Distribution: Fedora 4 & Ubuntu 5.04
Posts: 5

Original Poster
Rep: Reputation: 0
I tried to see if it is supported but with it having no name or anything (just a serial number, the words "OPTICAL MOUSE", and "made in china" on the bottom), it is kinda hard to identify it.

I'll look through the HCL and linuxcompatibility.com and see if they come up with any mice that sound 'compatible' and copy there xorg.conf entries. I suppose that's my only chance of getting it to work.

P.S. What is the easiest way to restart X without a full reboot (preferably from the command line as I'll have no mouse support while I test this)?
 
Old 09-19-2005, 01:45 PM   #10
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
if you are using startx CTRL+Backspace kills X, but if you have gdm/kdm/xdm it will automatically restart. Other then that ctrl+alt+F1 switches to the terminal where you can Ctrl+C to kill X, or go to ctrl+alt+F2 and then log in and run "/etc/init.d/[xkg]dm stop". Good luck.
 
Old 10-20-2005, 02:09 AM   #11
luther349
LQ Newbie
 
Registered: May 2005
Posts: 6

Rep: Reputation: 0
same peoblem man. i have a micro inavations optical mouse 2 buttion with mouse wheel witch is also a 3rd buttion the the mouse works fine in windows xp didnt even need a new driver just worked. s/n 054057125 made in china by micro inavtions and when i boot fedora core 4 the mouse led shutsdown so the mouse has no movment but the butions seem to work very messed up like clicking one make the curser fly to the right and click a menu. i have tryed diffrent configs killing gdm edting the xorg config myself to use difrent drivers tryed the system config everything and no luck. a ps2 optcial is no diffrent then a standerd so i think its a bug in the modprobe in fedora and its killing the leds on ps2 mouses. seems all usb optical mice have no issues.

Last edited by luther349; 10-20-2005 at 02:12 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora C2, mouse optical Ps/2 DarkSun84 Fedora 0 10-13-2004 01:53 AM
Yet another 5 button optical wheel mouse problem buboleck Slackware 1 04-15-2004 12:09 PM
Fedora Core Can't See MS Optical Mouse ohleary Linux - Hardware 3 02-03-2004 09:18 AM
5 Button Optical USB mouse ChopSueyX Linux - Newbie 9 11-30-2003 08:29 PM
middle mouse button is paste.. but what if i dont have a mid mouse button? kublador Linux - Newbie 4 09-02-2003 08:59 AM


All times are GMT -5. The time now is 06:32 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration