[gentoo-user] Mouse wheel doesn't work

2005-09-19 Thread Stewart Taylor

Hi all

Just about got Gentoo up and running as 
I want it. Taken a while with all the 
tweaking and re-tweaking but I've not 
had as much fun with a computer for 
years. I've got a couple of problems 
which, so far, have got me pulling my 
hair out as nothing I try fixes them. 
I've got a Microsoft Intellimouse (ps2) 
which seems to be detected correctly but 
the wheel will not work under KDE. Under 
KDE Control center  peripherals mouse 
I get the option to adjust the scroll 
rate, but this has no effect. The wheel 
seems to be working as a left button, if 
I click the wheel over an icon or file 
that item is selected. I've tried all 
the fixes I've found on the web (not 
many, most seem to relate to cordless 
mice) without success. I'll post the 
other problem as a separate posting.


TIA

Stewart
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mouse wheel doesn't work

2005-09-19 Thread Peter Eis
Stewart Taylor wrote:

 I've got a Microsoft Intellimouse (ps2) which seems to be detected
 correctly but the wheel will not work under KDE. Under KDE Control
 center  peripherals mouse I get the option to adjust the scroll
 rate, but this has no effect. The wheel seems to be working as a left
 button, if I click the wheel over an icon or file that item is
 selected. I've tried all the fixes I've found on the web (not many,
 most seem to relate to cordless mice) without success.

Check your /etc/X11/xorg.conf
For a wheel mouse you need the following options in section InputDevice:
OptionProtocol IMPS/2
Option  ZAxisMapping 4 5

Peter
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mouse wheel doesn't work

2005-09-19 Thread Scott Brady
On Mon, 19 Sep 2005 08:46 pm, Stewart Taylor wrote:

 I've got a Microsoft Intellimouse (ps2)
 which seems to be detected correctly but
 the wheel will not work under KDE. 

When you edit the /etc/X11/xorg.conf you should have the something
similar to the following under the Input Device Section.

Section InputDevice 
 Identifier Mouse1 
 Driver mouse 
 Option Protocol PS/2 
 Option Device /dev/input/mice 
 Option Corepointer 
 Option  Emulate3Buttons  true 
 Option ZAxisMapping 6 7 
EndSection 

Hope this helps

Regards,

ScottyB
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mouse wheel doesn't work

2005-09-19 Thread Holly Bostick
Stewart Taylor schreef:
 Hi all
 
 Just about got Gentoo up and running as I want it. Taken a while with
  all the tweaking and re-tweaking but I've not had as much fun with a
  computer for years. I've got a couple of problems which, so far,
 have got me pulling my hair out as nothing I try fixes them. I've got
 a Microsoft Intellimouse (ps2) which seems to be detected correctly
 but the wheel will not work under KDE. Under KDE Control center  
 peripherals mouse I get the option to adjust the scroll rate, but
 this has no effect. The wheel seems to be working as a left button,
 if I click the wheel over an icon or file that item is selected. I've
 tried all the fixes I've found on the web (not many, most seem to
 relate to cordless mice) without success. I'll post the other problem
 as a separate posting.

I suspect your problem is twofold:

1) you may or may not have your mouse set up properly for multiple buttons;

2) you may have the wrong buttons defined as the scroll wheel.

Let me explain: I have a Typhoon Optical Wireless mouse which has 7
buttons (left, right, wheel up, wheel down, wheel press-as-a-button, and
two thumb-operated buttons on the left side). When I got it, I just used
the 'traditonal' wheelmouse settings in /etc/X11/xorg.conf:

Identifier  Mouse1
Driver mouse
Option Protocol   Auto
Option Buttons7
Option ZAxisMapping   4 5
Option Device /dev/input/mice

But this did not work properly-- what happened was that the wheel didn't
work, and the side buttons were being used as the wheel (which also
didn't work, because they aren't a wheel).

This was because the mouse itself lists the side buttons as 4 and 5, and
the wheel as buttons 6 and 7.

So I had to tell X this:

Identifier  Mouse1
Driver mouse
Option Protocol   Auto
Option Buttons7
Option ZAxisMapping   6 7
Option Device /dev/input/mice

And it works fine (previously used imwheel, but that's no longer
necessary, at least in my case).

You can run xev in a term and activate your various buttons to see which
one is which. That should help you set up the Mouse section of your X
config file correctly.

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mouse wheel doesn't work

2005-09-19 Thread Stewart Taylor

Hi

Thanks to Holly , Peter and Scotty for 
the fix. It now works a treat.


Stewart
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mouse wheel doesn't work

2005-09-19 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Stewart Taylor wrote:

 Hi

 Thanks to Holly , Peter and Scotty for the fix. It now works a treat.

 Stewart

Um, I have the same problem.  But (and I suspect this is why), I have
no /etc/X11/xorg.conf.  KDE runs great!  I've done a 'find / -name
xorg.conf' and only came up with files for vmware-tools
(/usr/portage/app-emulation/vmware-linux-tools/files/5.0.0/xorg.conf).

So, 4 questions

1)  Why wouldn't a default xorg.conf be installed?

2)  Is there possibly another config file that my system is using?

3)  Could the vmware-tools sample be sufficient to build one (xorg.conf)?

4)  Would it be used, if I'm not using one now?

Thanks.

- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDLxBFLYGSSmmWCZMRAi5wAKCf6d0rkrFrkfqqIN09z2GVB8jEWwCgl07G
gAMtKbhNri+9Aj1ZqaKFz3w=
=dFto
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Mouse wheel doesn't work

2005-09-19 Thread Dave Nebinger
 1)  Why wouldn't a default xorg.conf be installed?

Xorg.conf contains detailed info about your installation, a default one
doesn't do you much good except for to use a vanilla x config.
 
 2)  Is there possibly another config file that my system is using?

I'm sure it defaults to a simple config that would work across most
installations but, as you've noticed things like the wheel are not part of
the vanilla config.
 
 3)  Could the vmware-tools sample be sufficient to build one (xorg.conf)?

Probably not as it would not be part of the normal path.
 
 4)  Would it be used, if I'm not using one now?

Nope.

See the gentoo wiki for how to build an initial xorg.conf file and extend it
for your wheel mouse support.



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mouse wheel doesn't work

2005-09-19 Thread Holly Bostick
gentuxx schreef:
 Stewart Taylor wrote:
 
 
 Hi
 
 Thanks to Holly , Peter and Scotty for the fix. It now works a
 treat.
 
 Stewart
 
 
 Um, I have the same problem.  But (and I suspect this is why), I have
  no /etc/X11/xorg.conf.  KDE runs great!  I've done a 'find / -name 
 xorg.conf' and only came up with files for vmware-tools 
 (/usr/portage/app-emulation/vmware-linux-tools/files/5.0.0/xorg.conf).
 
 
 So, 4 questions
 
 1)  Why wouldn't a default xorg.conf be installed?

Because you upgraded from XFree86 (which uses a differently-named, but
exactly similarly-configured file)?
 
 2)  Is there possibly another config file that my system is using?

XF86Config (or XF86Config-4)? Xorg will use this if it finds it.
 
 3)  Could the vmware-tools sample be sufficient to build one
 (xorg.conf)?

Why would you bother? There is a configuration utility, you know. I
don't know what it's called though, as I've never used it (just renamed
my XF86Config to xorg.cfg and went on from there).

Oh, scratch that, it's called xorgcfg. Very logically found with a guess
and a 'which'.

 
 4)  Would it be used, if I'm not using one now?

Are you running Linux under VMWare in Windows or some such?  I know
nothing about that (but Dave says not, so I believe him :-) ).
 

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mouse wheel doesn't work

2005-09-19 Thread Sergio Polini
Holly Bostick:
  3)  Could the vmware-tools sample be sufficient to build one
  (xorg.conf)?

 Why would you bother? There is a configuration utility, you know. I
 don't know what it's called though, as I've never used it (just
 renamed my XF86Config to xorg.cfg and went on from there).

 Oh, scratch that, it's called xorgcfg. Very logically found with a
 guess and a 'which'.

You could also try Xorg -configure.
From man Xorg:
-configure
  When this option is specified, the Xorg server loads all video
  driver  modules, probes  for  available  hardware,  and  writes
  out an initial xorg.conf(5x) file based on what was detected.
  This option currently has  some  problems  on  some platforms,
  but  in  most  cases it is a good way to bootstrap the configuration
  process.  This option is only available when the server is  run  as
  root  (i.e, with real-uid 0).

HTH
Sergio

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mouse wheel doesn't work

2005-09-19 Thread Neil Bothwick
On Mon, 19 Sep 2005 12:23:50 -0700, gentuxx wrote:

 2)  Is there possibly another config file that my system is using?

Do you have a /etc/X11/XF86Config or /etc/X11/XF86Config. Xorg uses them
if it can't find its own config.


-- 
Neil Bothwick

DOOM , said Pooh, and Slaughtered Christopher Robin with a chainsaw


pgpSNit5UzqaR.pgp
Description: PGP signature


Re: [gentoo-user] Mouse wheel doesn't work

2005-09-19 Thread Nick Rout
/var/log/Xorg.log.0  (I think thats what it is named, its pretty easy to find 
in /var/log) will tell you what config file X is using.

X _may_ work without a config file _if_ everything is auto detected, but
I have never struck it (then again all my hardware is oldish).

More likely it is working with an XFree config file in the same
directory.

Anyway,  the log file will tell you.


On Mon, 19 Sep 2005 12:23:50 -0700
gentuxx wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Stewart Taylor wrote:
 
  Hi
 
  Thanks to Holly , Peter and Scotty for the fix. It now works a treat.
 
  Stewart
 
 Um, I have the same problem.  But (and I suspect this is why), I have
 no /etc/X11/xorg.conf.  KDE runs great!  I've done a 'find / -name
 xorg.conf' and only came up with files for vmware-tools
 (/usr/portage/app-emulation/vmware-linux-tools/files/5.0.0/xorg.conf).
 
 So, 4 questions
 
 1)  Why wouldn't a default xorg.conf be installed?
 
 2)  Is there possibly another config file that my system is using?
 
 3)  Could the vmware-tools sample be sufficient to build one (xorg.conf)?
 
 4)  Would it be used, if I'm not using one now?
 
 Thanks.
 
 - --
 gentux
 echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'
 
 gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
 6996 0993
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.1 (GNU/Linux)
 
 iD8DBQFDLxBFLYGSSmmWCZMRAi5wAKCf6d0rkrFrkfqqIN09z2GVB8jEWwCgl07G
 gAMtKbhNri+9Aj1ZqaKFz3w=
 =dFto
 -END PGP SIGNATURE-
 
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list