LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   PS/2 Mouse not working! (https://www.linuxquestions.org/questions/linux-general-1/ps-2-mouse-not-working-4665/)

Reptile2k1 07-24-2001 08:54 AM

PS/2 Mouse not working!
 
Hi!

I installed RedHat 7.1 a few weeks ago and never had a real problem since then, until i tried to get the wheel on my Mouse to work. I have a Logitech Pilot Mouse, which has two buttons, and a wheel which can also act as a button.
So the wheel wasn't working, and i thought this was because i didn't choose a Logitech Mouse during installation (i took the standard PS/2 mouse option).

So i changed this in the control panel (i think it was this), and after Reboot the mouse won't work anymore!

I tried XConfigurator and mouseconfig, both didn't work. I know the PS/2 port is /dev/psaux but i can't set it anywhere, XConfigurator only lets me choose Serial COM Ports!

Please help!

- ReptiLe

isajera 07-24-2001 02:54 PM

i'm not sure if logitech wheel mice are supported. there is a driver for wheel mice, called imwheel, or something like that. you need to readjust some settings in the /etc/XF86Config file to use it tho. use the search on this website... i know there's been a few other threads about getting the wheel to work.

DavidPhillips 07-24-2001 04:55 PM

in the /dev folder there is a symlink called mouse. Make sure it points to psaux

Reptile2k1 07-24-2001 04:58 PM

I'm still a newbie to linux (i'm learning everything with a book atm), so i don't know how to edit files, or "make sure it points to psaux" you know :) So can you tell me exactly what i have to type into the console to make this mouse symlink point to psaux?

Thanks!

isajera 07-24-2001 06:08 PM

type 'ls -l /dev/psaux'

ls is the command for directory listing. the '-l' option gives the long view of the files for more info.

you should get something like this :

-rw-rw-rw- 07/24/2001 12:00 AM GM /dev/mouse -> /dev/psaux

the -> means that /dev/mouse is a symbolic link to the /dev/psaux port. essentially, anytime that the computer calls the /dev/mouse port, it's going to be using the /dev/psaux port.

if you don't have the link, then you can create it with 'ln -s /dev/psaux /dev/mouse'

ln is the program to create a link. linux creates a soft link from psaux->mouse.

however... i don't think that this is what your problem is. in order to use the mouse wheel, you need to install the imwheel driver and instruct the XF86Config file to use it. if you had no problem with the mouse until you tried to get the mouse wheel working, then the links are probably already correct.

danrees 07-25-2001 03:22 AM

I'm also having problem with a Logitech wheel mouse. I selected Standard PS2 on installation, but then changed it to Logitech Mouseman+ in Mandrake's mousedrake / Control Center. It worked fine (inc. scrolling), but then reset to Standard on reboot. Now whenever I select Logitech Mouseman+ in mousedrake, it doesn't do anything and harddrake lists the mouse as "unknown".

Any suggestions? My mouse is working fine under Standard, but obviously the wheel doesn't work.

Reptile2k1 07-25-2001 06:58 AM

isajera: /dev/mouse doesn't link to psaux! It is linking to some serial port, so i think that has to be the problem! But I wasn't able to create the link, it said something like "file exists", maybe i have to delete the old link first?

danrees 07-25-2001 07:22 AM

Reptile, try




rm /dev/mouse


ln -s /dev/psaux /dev/mouse

Freakily, my Logitech wheel has started working again... strange!
Unless a reboot was required before hardware is updated or something...

jonik 07-25-2001 04:53 PM

I have a Logitech Pilot Wheel mouse and it works well with my RH 7.1.
KDE and Gnome programs support it automatically while some other apps need extra configuration.
(See http://www-sop.inria.fr/koala/colas/mouse-wheel-scroll/ for more information.)

Anyway, make sure your /etc/X11/XF86Config-4 file has something like this in it:

Code:

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Device" "/dev/mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Emulate3Buttons" "off"
        Option      "ZAxisMapping" "4 5"
EndSection


isajera 07-25-2001 11:58 PM

the name of the port really shouldn't matter - they usually just point to the same serial port. it has to do with the setup in the XF86Config file- jonik probably has pretty close to what you should have.

Reptile2k1 07-26-2001 07:10 AM

jonik: How can i look at this list of settings in the shell? And how can i edit them?

Being a newbie sucks =)

jharris 07-26-2001 07:34 AM

Use a command line editor like joe, pico or if you're brave and have a reference manual vi ;) pico /etc/X11/XF86Config-4

HTH

Jamie...

Reptile2k1 07-26-2001 08:56 AM

It works! Thank you all sooo much :)

Even the mousewheel works now (thanks jonik for the settings)

This is really a helpful community :)

trusouthrnplaya 07-26-2001 12:04 PM

Why don't they just select generic PS/2 mouse instead of standard....? Thats what I did for my wheel mouse; but instead of Redhat I use Mandrake 8 should'nt be that much of a diff.

DavidPhillips 07-26-2001 08:42 PM

Well something happens when you switch mice sometimes.

Strange I know but I switch from a two button to a three button and my link changed to the serial port, maybe a default or something.

I had to edit the symlink /dev/mouse to psaux.

This is important because of the Config files "Device=/dev/mouse"


All times are GMT -5. The time now is 04:27 PM.