View previous topic :: View next topic |
Author |
Message |
Drewgrange Guru
Joined: 29 Mar 2003 Posts: 483 Location: Ohio, US
|
Posted: Fri Aug 29, 2003 6:55 pm Post subject: Targus Mini-Mouse 2 Button and Wheel, no wheel |
|
|
I'm having problems setting up my Targus mini-mouse which has two buttons and a wheel
XF86Config:
Code: | Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "Buttons" "2"
Option "ZAxisMapping" "4 5"
EndSection
|
Instead of scrolling, moving the mouse wheel just makes the pointer jump vertically across the screen. |
|
Back to top |
|
|
agent_jdh Veteran
Joined: 08 Aug 2002 Posts: 1783 Location: Scotland
|
Posted: Wed Oct 15, 2003 2:04 pm Post subject: Re: Targus Mini-Mouse 2 Button and Wheel, no wheel |
|
|
Drewgrange wrote: | I'm having problems setting up my Targus mini-mouse which has two buttons and a wheel
XF86Config:
Code: | Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "Buttons" "2"
Option "ZAxisMapping" "4 5"
EndSection
|
Instead of scrolling, moving the mouse wheel just makes the pointer jump vertically across the screen. |
Try taking out the "Buttons" "2" Option line. You might need to change the protocol to "ImPS/2". _________________ Jingle Jangle Jewellery |
|
Back to top |
|
|
ajv n00b
Joined: 16 Nov 2003 Posts: 23 Location: U.S.A.
|
Posted: Mon Jan 12, 2004 3:41 pm Post subject: |
|
|
I have the same mouse and I can't get the scroll wheel to work either. I read in the instructions for the mouse that if the mouse was used outside of windows that the scroll wheel wouldn't work. Maybe there is a different mouse protocol that should be used instead of PS/2.
There has to be a way to get this thing working... |
|
Back to top |
|
|
kimmy n00b
Joined: 19 Mar 2004 Posts: 4 Location: Helsinki, Finland
|
Posted: Wed Apr 07, 2004 1:09 pm Post subject: Driver for the Targus Scroller mice |
|
|
Here's a patch against 2.6.5 which makes the scroll wheel work. It won't be turned on automatically, you'll need to add "proto=targus" to the options of the "psmouse" module.
http://holviala.com/~kimmy/hacks/linux-targus-driver/linux-2.6.5-targus.diff
Works for me, YMMV.
I just sent the patch to the offical maintainer today, let's see if I can get it into the offical kernel. |
|
Back to top |
|
|
kimmy n00b
Joined: 19 Mar 2004 Posts: 4 Location: Helsinki, Finland
|
Posted: Wed Apr 07, 2004 5:06 pm Post subject: Should have posted better instructions.... |
|
|
The patch works against 2.6.4 and 2.6.5 Linux kernels. Maybe others in 2.6 series, haven't tested.
Simple instructions for patching:
Code: |
$ su -
# cd /usr/src/
# wget http://holviala.com/~kimmy/hacks/linux-targus-driver/linux-2.6.5-targus.diff
# cd linux-2.6.5
# cat ../linux-2.6.5-targus.diff | patch -p1
# make menuconfig
# make && make modules && make modules_install
# cp arch/i386/boot/bzImage /boot/kernel-2.6.5
|
Then we need to add the parameter; if you compiled PS/2 mouse support into the kernel (Y in menuconfig), add "psmouse.proto=targus" to your lilo/grub kernel boot parameters. If you compiled it into a module, add "psmouse proto=targus" into /etc/modules.autoload.d/kernel-2.6.
Reboot and enjoy (or reload the module if you're into uptimes). |
|
Back to top |
|
|
|