Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Targus Mini-Mouse 2 Button and Wheel, no wheel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Drewgrange
Guru
Guru


Joined: 29 Mar 2003
Posts: 483
Location: Ohio, US

PostPosted: Fri Aug 29, 2003 6:55 pm    Post subject: Targus Mini-Mouse 2 Button and Wheel, no wheel Reply with quote

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
View user's profile Send private message
agent_jdh
Veteran
Veteran


Joined: 08 Aug 2002
Posts: 1783
Location: Scotland

PostPosted: Wed Oct 15, 2003 2:04 pm    Post subject: Re: Targus Mini-Mouse 2 Button and Wheel, no wheel Reply with quote

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
View user's profile Send private message
ajv
n00b
n00b


Joined: 16 Nov 2003
Posts: 23
Location: U.S.A.

PostPosted: Mon Jan 12, 2004 3:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
kimmy
n00b
n00b


Joined: 19 Mar 2004
Posts: 4
Location: Helsinki, Finland

PostPosted: Wed Apr 07, 2004 1:09 pm    Post subject: Driver for the Targus Scroller mice Reply with quote

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
View user's profile Send private message
kimmy
n00b
n00b


Joined: 19 Mar 2004
Posts: 4
Location: Helsinki, Finland

PostPosted: Wed Apr 07, 2004 5:06 pm    Post subject: Should have posted better instructions.... Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum