LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   logitech optical mouseman - the wheel doesn't work (https://www.linuxquestions.org/questions/linux-newbie-8/logitech-optical-mouseman-the-wheel-doesnt-work-86085/)

Selos 08-26-2003 08:46 PM

logitech optical mouseman - the wheel doesn't work
 
i have a wheel mouse from logitech, but the wheel does not work *g*
i tried different settings an then i killed my mouse so it was wild clicking arround an i had to reconfig my X-Window hehe. anyone who knows help? i is very annoying to scroll the websites that are long with my whole hand :/

mcd 08-26-2003 09:43 PM

hi selos, i have the same mouse :)

you have to edit the etc/X11/X86config file under the Pointer's Input section to include the following options:

Identifier "Mouse1"
Driver "mouse"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"

they may be in any order, but the important ones are the protocol, buttons and ZAxisMapping. basically, you tell the system that scrolling the wheel up = button 4 and down = button 5.

try that, it should work.

Selos 08-26-2003 09:57 PM

you mean etc/X11/XF86Config i hope, because there is no X86Config :)

and i hope it should be look like this:

Code:

Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "PS/2"
    Option "Device" "/dev/psaux"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "no"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Buttons" "5"
    Option "ZAxisMapping" "4 5"
    Option "Protocol" "IMPS/2"
    Option "Device" "/dev/mouse"
EndSection


mcd 08-27-2003 02:36 AM

doh! sorry for the typo.

looks like you've got support for two mice, is that what you want/need?

Selos 08-27-2003 09:10 AM

hm no i don't think so, i only use this logitech mouse and that's it :) so you mean i should instead of adding the entry editing the existing mouse0 entry? :)

mcd 08-27-2003 12:43 PM

well, you've got 2 mice configured, a normal PS/2 mouse (mouse0) and the logitech (mouse1). if you only use the one, i would comment out the first entry. i found that my mouse worked fine under the old settings, but the wheel only activate when i used the IMPS/2 protocol.

there should be a way to select which mouse to use, but unfortunately i don't know how, so if you figure it out let me know - it's often worth having a second, normal mouse configured in case USB goes down, or the batteries die.

Selos 08-27-2003 02:15 PM

now i have it looking like this:

Code:

Section "InputDevice"
#        Identifier  "Mouse0"
#        Driver      "mouse"
#        Option            "Protocol" "PS/2"
#        Option            "Device" "/dev/psaux"
#        Option            "ZAxisMapping" "4 5"
#        Option            "Emulate3Buttons" "no"
        Identifier "Mouse1"
        Driver "mouse"
        Option "Buttons" "5"
        Option "ZAxisMapping" "4 5"
        Option "Protocol" "IMPS/2"
        Option "Device" "/dev/mouse"
EndSection

is this correct so?
and when will the changes be aktive? reboote? :)

MasterC 08-27-2003 02:29 PM

You can just restart X for the changes to take effect, this is linux after all, no need for a reboot...

CTRL ALT BACKSPACE should restart X ;)

Cool

Selos 08-27-2003 02:38 PM

yes but i want to be sure that these changes are correct and won't disbale my mouse or crash any system :)

MasterC 08-27-2003 02:40 PM

Yeah, I'd change the "Identifier" to Mouse0 though, as this is your first mouse, and Linux tends to count from 0.

Cool

Selos 08-27-2003 02:48 PM

hm a showed it a friend of minw who is using gentoo and he said that the /dev/mouse wouldn't work and i should use /dev/psaux instead.. and now i am really confused :)

MasterC 08-27-2003 02:51 PM

Gentoo uses DevFS, RedHat uses actual devices (IIRC) so it's up to you which one to use, I actually use:
/dev/input/mice

To find one you like, try this:
cat /dev/mouse
And move your mouse around. If characters pop up, you are probably good to go. Now try cat /dev/psaux and see if characters pop up, if both work, you can probably use both, and see which one works better (if either) for you.

Cool

Selos 08-27-2003 02:57 PM

hm lol i think i'm to stupid ;(

i go to the terminal and type cat /dev/mouse and nothing happens...
so i close this terminal and open a new one and type in cat /dev/psaux and .. nothing happens...
in both cases i was moving my mouse around :)

newby@work :D

MasterC 08-27-2003 02:59 PM

I don't get anything from /dev/psaux, but from /dev/mouse I do ;) Feel free to try that with other devices as well, check /dev/input and give a few of those a try.

Remember to do it as root ;)

Cool

Selos 08-27-2003 03:03 PM

yes i am logged in as root, otherwise i would not have been able to change the X86Config file :)

but what confuses me, the mous0 worked with psaux but when i make this cat thing in the terminal like you told me, nothing happens.. and anywhere do caharcters pop-up (whatever this means :) )


All times are GMT -5. The time now is 05:07 PM.