public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] mouse won't scroll anymore
@ 2005-11-28 18:41 Ernie Schroder
  2005-11-28 18:51 ` Richard Fish
                   ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Ernie Schroder @ 2005-11-28 18:41 UTC (permalink / raw
  To: gentoo-user

I've just moved from XFree86 to xorg and updated my KDE and now my wheel
mouse doesn't scroll anymore. I'm using the same mouse lines in xorg.conf
that I used in Xfree86.conf, but I can't get it to work. It must be
something I just don't see. Any ideas?

Logitek Track man Wheel (USB)

I've tried changing the protocol to PS/2 and removing gpm from my default 
runlevel

Section "InputDevice"

# Identifier and driver

    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "PS/2"
#   Option "Device"      "mouse"
    Option "Device" "/dev/psaux"
    Option "ZAxisMapping" "4 5"

# Mouse-speed setting for PS/2 mouse.

#    Option "Resolution"	"256"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"	"Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"	"9600"
#    Option "SampleRate"	"150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

    Option "ChordMiddle"

EndSection
-- 
Regards, Ernie
100% Microsoft and Intel free

 13:33:57 up  2:03,  6 users,  load average: 0.06, 0.07, 0.18
Linux 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] mouse won't scroll anymore
  2005-11-28 18:41 [gentoo-user] mouse won't scroll anymore Ernie Schroder
@ 2005-11-28 18:51 ` Richard Fish
  2005-11-28 19:52 ` Willie Wong
  2005-11-29 19:35 ` Christoph Eckert
  2 siblings, 0 replies; 24+ messages in thread
From: Richard Fish @ 2005-11-28 18:51 UTC (permalink / raw
  To: gentoo-user

On 11/28/05, Ernie Schroder <schroder@ntplx.net> wrote:
> I've just moved from XFree86 to xorg and updated my KDE and now my wheel
> mouse doesn't scroll anymore. I'm using the same mouse lines in xorg.conf
> that I used in Xfree86.conf, but I can't get it to work. It must be
> something I just don't see. Any ideas?
>
> Logitek Track man Wheel (USB)

I'm confused.  If it is a USB mouse, why are you using /dev/psaux?
/dev/input/mice would be the preferred device if you are using a 2.6
kernel, with protocol either "Auto" or "ExplorerPS/2".

Here is what I have in my xorg.conf:

Section "InputDevice"
        Identifier  "usbmouse"
        Driver      "mouse"
        Option      "Protocol" "ExplorerPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "Buttons" "8"
        Option      "ZAxisMapping" "4 5"
        Option      "SendCoreEvents" "On"
EndSection

My guess is the Buttons option is the critical one that you are
missing, and should probably be "5" in your case.

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] mouse won't scroll anymore
  2005-11-28 18:41 [gentoo-user] mouse won't scroll anymore Ernie Schroder
  2005-11-28 18:51 ` Richard Fish
@ 2005-11-28 19:52 ` Willie Wong
  2005-11-28 20:13   ` Billy Holmes
  2005-11-29 19:35 ` Christoph Eckert
  2 siblings, 1 reply; 24+ messages in thread
From: Willie Wong @ 2005-11-28 19:52 UTC (permalink / raw
  To: gentoo-user

On Mon, Nov 28, 2005 at 01:41:49PM -0500, Ernie Schroder wrote:
> Section "InputDevice"
> 
> # Identifier and driver
> 
>     Identifier	"Mouse1"
>     Driver	"mouse"
>     Option "Protocol"    "PS/2"

try changing the protocol to "imps/2"

> #   Option "Device"      "mouse"
>     Option "Device" "/dev/psaux"
>     Option "ZAxisMapping" "4 5"

>From what I heard, IMPS/2 is PS/2 + scroll wheel. 
ExplorerPS/2 is PS/2 + scroll wheel + side buttons.

(As a side note, 'man 4x mouse' doesn't work on my system. Am I doing
something stupidly wrong? 

[02:51 PM]wwong man4 $ locate mouse.4x
/usr/share/man/man4/mouse.4x.gz
[02:51 PM]wwong man4 $ man 4x mouse
No entry for mouse in section 4x of the manual

)

W
-- 
Pintsize: I'm the foreman! The couch needs to movesix inches to the
    left to achieve maximum fen shui!
Sortir en Pantoufles: up 16 days, 11:56
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] mouse won't scroll anymore
  2005-11-28 19:52 ` Willie Wong
@ 2005-11-28 20:13   ` Billy Holmes
  2005-11-29  0:19     ` [gentoo-user] man mouse problems Willie Wong
  2005-11-29  0:27     ` [gentoo-user] mouse won't scroll anymore Ernie Schroder
  0 siblings, 2 replies; 24+ messages in thread
From: Billy Holmes @ 2005-11-28 20:13 UTC (permalink / raw
  To: gentoo-user

Willie Wong wrote:
> [02:51 PM]wwong man4 $ man 4x mouse
> No entry for mouse in section 4x of the manual

just do:

   man 4 mouse
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] man mouse problems
  2005-11-28 20:13   ` Billy Holmes
@ 2005-11-29  0:19     ` Willie Wong
  2005-11-29 18:56       ` Billy Holmes
  2005-11-29  0:27     ` [gentoo-user] mouse won't scroll anymore Ernie Schroder
  1 sibling, 1 reply; 24+ messages in thread
From: Willie Wong @ 2005-11-29  0:19 UTC (permalink / raw
  To: gentoo-user

On Mon, Nov 28, 2005 at 03:13:38PM -0500, Billy Holmes wrote:
> Willie Wong wrote:
> >[02:51 PM]wwong man4 $ man 4x mouse
> >No entry for mouse in section 4x of the manual
> 
> just do:
> 
>   man 4 mouse

The problem is, there's another entry for mouse under section 4:

------snip of man 4 mouse--------
MOUSE(4)                   Linux Programmer's Manual                  MOUSE(4)



NAME
       mouse - serial mouse interface

CONFIG
       Serial  mice  are  connected  to  a  serial RS232/V24 dialout line, see
       ttyS(4) for a description.
------end snip--------------

which is rather different from the entry in section 4x

------snip of man /usr/man/man4/mouse.4x.gz-------
MOUSE(4x)                                                            MOUSE(4x)



NAME
       mouse - Mouse input driver

SYNOPSIS
       Section "InputDevice"
         Identifier "idevname"
         Driver "mouse"
         Option "Protocol" "protoname"
         Option "Device"   "devpath"
         ...
       EndSection
-------end snip---------------------

[07:16 PM]wwong ~ $ find /usr/man/ -name mouse.*
/usr/man/man4/mouse.4x.gz
/usr/man/man4/mouse.4.gz

Any ideas?

W

p.s. my apologies for hi-jacking the thread. The issue came up when I
was trying to help the OP with the original problem. 
-- 
  Two people turned in problem set 12 without indicating their names!
  This is true scholarship, done for it's own sake and not for
 material advantage, like a grade.
  It is an honor to be associated with such nobility of soul.
       ~Prof. Kirk T. McDonald, DeathEM'03 
Sortir en Pantoufles: up 16 days, 16:34
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] mouse won't scroll anymore
  2005-11-28 20:13   ` Billy Holmes
  2005-11-29  0:19     ` [gentoo-user] man mouse problems Willie Wong
@ 2005-11-29  0:27     ` Ernie Schroder
  1 sibling, 0 replies; 24+ messages in thread
From: Ernie Schroder @ 2005-11-29  0:27 UTC (permalink / raw
  To: gentoo-user

Nothing new in the man pages. This is driving me nuts

On Monday 28 November 2005 03:13 pm, a tiny voice compelled Billy Holmes to 
write:
> Willie Wong wrote:
> > [02:51 PM]wwong man4 $ man 4x mouse
> > No entry for mouse in section 4x of the manual
>
> just do:
>
>    man 4 mouse

-- 
Regards, Ernie
100% Microsoft and Intel free

 19:26:45 up  5:01,  3 users,  load average: 0.06, 0.31, 0.47
Linux 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] man mouse problems
  2005-11-29  0:19     ` [gentoo-user] man mouse problems Willie Wong
@ 2005-11-29 18:56       ` Billy Holmes
  0 siblings, 0 replies; 24+ messages in thread
From: Billy Holmes @ 2005-11-29 18:56 UTC (permalink / raw
  To: gentoo-user

Willie Wong wrote:
r/man/ -name mouse.*
> /usr/man/man4/mouse.4x.gz
> /usr/man/man4/mouse.4.gz

gnu man will allow you to give a full path :)

yes, that's a hack, but the "man # $page" uses the # as the directory. 
so if mouse.4x.gz was in /usr/man/man4x/mouse.4x.gz, then man 4x mouse 
would work.

man /usr/man/man4/mouse.4x.gz

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] mouse won't scroll anymore
  2005-11-28 18:41 [gentoo-user] mouse won't scroll anymore Ernie Schroder
  2005-11-28 18:51 ` Richard Fish
  2005-11-28 19:52 ` Willie Wong
@ 2005-11-29 19:35 ` Christoph Eckert
  2005-11-29 20:47   ` Ernie Schroder
  2005-11-30  6:52   ` Uwe Thiem
  2 siblings, 2 replies; 24+ messages in thread
From: Christoph Eckert @ 2005-11-29 19:35 UTC (permalink / raw
  To: gentoo-user


> I've just moved from XFree86 to xorg and updated my KDE and now my
> wheel mouse doesn't scroll anymore. I'm using the same mouse lines in
> xorg.conf that I used in Xfree86.conf, but I can't get it to work. It
> must be something I just don't see. Any ideas?

exactly the same here. I have tried several lines, even the lines that 
work for a friend. Maybe it's a hardware related thing?

I tried xev and I get events for all mouse actions except for moving the 
wheel.


Best regards


    ce


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] mouse won't scroll anymore
  2005-11-29 19:35 ` Christoph Eckert
@ 2005-11-29 20:47   ` Ernie Schroder
  2005-11-29 21:17     ` Christoph Eckert
  2005-11-29 21:29     ` Richard Fish
  2005-11-30  6:52   ` Uwe Thiem
  1 sibling, 2 replies; 24+ messages in thread
From: Ernie Schroder @ 2005-11-29 20:47 UTC (permalink / raw
  To: gentoo-user

I guess I'm glad that I'm not alone Christoph. Like you, xev shows no activity 
for the wheel.
As far as it's being a hardware related thing, unless 3 mice have died of the 
same dreaded disease, it's not hardware. Of the 3 I've tried 2 are logitech 
trackballs (USB) and the 3rd is a no-name intellimouse (PS/2). I'm at a loss 
here. There is an app called mev that will run without X that, when I run 
from vc/2 shows some action.

On left click press down:
mouse: event 0x14 at 69,45 (delta 0,0), buttons 4 modifiers 0x00  
(on release)
mouse: event 0x18 at 69,45 (delta 0,0), buttons 4 modifiers 0x00

on right click (press and release):
mouse: event 0x14 at 69,45 (delta 0,0), buttons 1 modifiers 0x00  
mouse: event 0x18 at 69,45 (delta 0,0), buttons 1 modifiers 0x00

Center button (Depress and release scroll wheel)
mouse: event 0x14 at 69,45 (delta 0,0), buttons 2 modifiers 0x00  
mouse: event 0x18 at 69,45 (delta 0,0), buttons 2 modifiers 0x00

Scroll wheel up then down:
mouse: event 0x01 at 69,45 (delta 0,0), buttons 0 modifiers 0x00  
mouse: event 0x01 at 69,45 (delta 0,0), buttons 0 modifiers 0x00

So, I guess this shows that the scroll wheel is sending a signal. I have no 
idea if it's getting to the right place

Ernie

On Tuesday 29 November 2005 02:35 pm, a tiny voice compelled Christoph Eckert 
to write:
> > I've just moved from XFree86 to xorg and updated my KDE and now my
> > wheel mouse doesn't scroll anymore. I'm using the same mouse lines in
> > xorg.conf that I used in Xfree86.conf, but I can't get it to work. It
> > must be something I just don't see. Any ideas?
>
> exactly the same here. I have tried several lines, even the lines that
> work for a friend. Maybe it's a hardware related thing?
>
> I tried xev and I get events for all mouse actions except for moving the
> wheel.
>
>
> Best regards
>
>
>     ce

-- 
Regards, Ernie
100% Microsoft and Intel free

 15:03:48 up 50 min,  4 users,  load average: 0.07, 0.15, 0.11
Linux 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] mouse won't scroll anymore
  2005-11-29 20:47   ` Ernie Schroder
@ 2005-11-29 21:17     ` Christoph Eckert
  2005-11-29 21:31       ` Richard Fish
  2005-11-29 21:29     ` Richard Fish
  1 sibling, 1 reply; 24+ messages in thread
From: Christoph Eckert @ 2005-11-29 21:17 UTC (permalink / raw
  To: gentoo-user


> So, I guess this shows that the scroll wheel is sending a signal. I
> have no idea if it's getting to the right place

the problem is that not many people understand the hidden ways of 
keyboard and mouse events from the hardware through the kernel to the 
console or even X. Writing a valid and properly designed xorg.conf is 
sort of alchemy (not only concerning mouse issues).

But anyway, we have to deal with it. I do not depend on the mouse wheel 
so I decided to ignore this issue, I already spend enough time on my 
computer ;-) .
But anyway it's a pity that it did work with X and it doesn't work with 
x.org.

xev doesn't show any event, but when I do a cat /dev/input/mice and move 
the wheel, at least the cursor in the shell moves. This doesn't mean 
that there are *valid* events coming in, but at least there *are* 
events coming in. The same happens for /dev/input/mouse0, while mouse1 
and mouse2 belong to my trackstick and the touchpad. /dev/input/mice 
only seems to collect the events of all mice.

Assumed the incoming events are valid, then it's likely that we only 
need to figure out which protocol needs to be set in the xorg.conf. I 
already tried some by trial and error, but maybe a systematic search 
will help.


Best regards


    ce


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] mouse won't scroll anymore
  2005-11-29 20:47   ` Ernie Schroder
  2005-11-29 21:17     ` Christoph Eckert
@ 2005-11-29 21:29     ` Richard Fish
  2005-11-29 22:09       ` Ernie Schroder
  2005-11-29 22:15       ` Christoph Eckert
  1 sibling, 2 replies; 24+ messages in thread
From: Richard Fish @ 2005-11-29 21:29 UTC (permalink / raw
  To: gentoo-user

On 11/29/05, Ernie Schroder <schroder@ntplx.net> wrote:
> I guess I'm glad that I'm not alone Christoph. Like you, xev shows no activity
> for the wheel.
> As far as it's being a hardware related thing, unless 3 mice have died of the
> same dreaded disease, it's not hardware. Of the 3 I've tried 2 are logitech
> trackballs (USB) and the 3rd is a no-name intellimouse (PS/2). I'm at a loss

Please don't top-post.

Did you try the settings I mentioned previously?  (using
/dev/input/mice, ExplorerPS/2, and the Buttons option?) If so, and you
still have the same problem, please post the relevant lines from
/var/log/Xorg.0.log.

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] mouse won't scroll anymore
  2005-11-29 21:17     ` Christoph Eckert
@ 2005-11-29 21:31       ` Richard Fish
  0 siblings, 0 replies; 24+ messages in thread
From: Richard Fish @ 2005-11-29 21:31 UTC (permalink / raw
  To: gentoo-user

On 11/29/05, Christoph Eckert <ce@christeck.de> wrote:
> the problem is that not many people understand the hidden ways of
> keyboard and mouse events from the hardware through the kernel to the
> console or even X. Writing a valid and properly designed xorg.conf is
> sort of alchemy (not only concerning mouse issues).

Please post the device section of your xorg.conf, and the relevant
lines from /var/log/Xorg.0.log.

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] mouse won't scroll anymore
  2005-11-29 21:29     ` Richard Fish
@ 2005-11-29 22:09       ` Ernie Schroder
  2005-11-29 22:24         ` Christoph Eckert
  2005-11-29 22:15       ` Christoph Eckert
  1 sibling, 1 reply; 24+ messages in thread
From: Ernie Schroder @ 2005-11-29 22:09 UTC (permalink / raw
  To: gentoo-user

On Tuesday 29 November 2005 04:29 pm, a tiny voice compelled Richard Fish to 
write:
> On 11/29/05, Ernie Schroder <schroder@ntplx.net> wrote:
> > I guess I'm glad that I'm not alone Christoph. Like you, xev shows no
> > activity for the wheel.
> > As far as it's being a hardware related thing, unless 3 mice have died of
> > the same dreaded disease, it's not hardware. Of the 3 I've tried 2 are
> > logitech trackballs (USB) and the 3rd is a no-name intellimouse (PS/2).
> > I'm at a loss
>
> Please don't top-post.
>
> Did you try the settings I mentioned previously?  (using
> /dev/input/mice, ExplorerPS/2, and the Buttons option?) If so, and you
> still have the same problem, please post the relevant lines from
> /var/log/Xorg.0.log.
>
> -Richard


Damn! I thought I had tried all of your suggestions Richard. Changing the 
protocol to ExplorerPS/2 has done the trick. Thanks for all of your help.
-- 
Regards, Ernie
100% Microsoft and Intel free

 17:05:31 up  2:51,  5 users,  load average: 0.13, 0.27, 0.29
Linux 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] mouse won't scroll anymore
  2005-11-29 21:29     ` Richard Fish
  2005-11-29 22:09       ` Ernie Schroder
@ 2005-11-29 22:15       ` Christoph Eckert
  2005-11-29 22:44         ` Richard Fish
  1 sibling, 1 reply; 24+ messages in thread
From: Christoph Eckert @ 2005-11-29 22:15 UTC (permalink / raw
  To: gentoo-user


> Did you try the settings I mentioned previously?  (using
> /dev/input/mice, ExplorerPS/2, and the Buttons option?) If so, and
> you still have the same problem, please post the relevant lines from
> /var/log/Xorg.0.log.

Thanks a lot for your help.

I currently use the following section for the USB mouse:

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
        Option          "SendCoreEvents"        "true"
        Option          "Protocol"              "ExplorerPS/2"
        Option          "Buttons"               "8"
        Option          "ZAxisMapping"          "4 5"
EndSection

I even tried lowercase characters and "IMPS/2" for the protocol, and 5 
buttons instead of 8.

Now an interesting thing. I just used an xorg.conf I got from a friend 2 
days ago, and all mice (trackstick, pad and USB) did work, even the 
scrollwheel. This is the mouse section from his file:

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "Logitech Optical Mouse"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection


It's rather similar to the above section. IS it possible that our 
problem doesn't reside in the InputDevice section?


The Xorg.0.log is rather long, and I didn't find any lines in it which 
point in the missing wheel buttons. I don't want to mess the list with 
huge attachements (but I could put it on the web and offer a link if 
it's helpful).



Thanks & best regards


    ce


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] mouse won't scroll anymore
  2005-11-29 22:09       ` Ernie Schroder
@ 2005-11-29 22:24         ` Christoph Eckert
  2005-11-29 22:46           ` Ernie Schroder
  0 siblings, 1 reply; 24+ messages in thread
From: Christoph Eckert @ 2005-11-29 22:24 UTC (permalink / raw
  To: gentoo-user

Hi,


> Damn! I thought I had tried all of your suggestions Richard. Changing
> the protocol to ExplorerPS/2 has done the trick. Thanks for all of
> your help.

@Ernie: Could you please post the relevant device section you use? Just 
for my personal interest.

@Richard: Let's stop here, I will figure it out for sure if I have time 
to read and learn a bit more about X configuration. But thanks a bunch 
for the help, of course!



Best regards


    ce

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] mouse won't scroll anymore
  2005-11-29 22:15       ` Christoph Eckert
@ 2005-11-29 22:44         ` Richard Fish
  2005-11-29 23:19           ` Christoph Eckert
  0 siblings, 1 reply; 24+ messages in thread
From: Richard Fish @ 2005-11-29 22:44 UTC (permalink / raw
  To: gentoo-user

On 11/29/05, Christoph Eckert <ce@christeck.de> wrote:
>
> I currently use the following section for the USB mouse:
>
> Section "InputDevice"
>         Identifier      "USB Mouse"
>         Driver          "mouse"
>         Option          "Device"                "/dev/input/mice"
>         Option          "SendCoreEvents"        "true"
>         Option          "Protocol"              "ExplorerPS/2"
>         Option          "Buttons"               "8"
>         Option          "ZAxisMapping"          "4 5"
> EndSection

Looks sane...

> It's rather similar to the above section. IS it possible that our
> problem doesn't reside in the InputDevice section?

Possible.  But maybe there is also some corruption (binary characters)
in the xorg.conf file.  I've seen xfree86/x.org behave strangely
before, refusing to see some options, because of garbage characters in
the configuration file.

> The Xorg.0.log is rather long, and I didn't find any lines in it which
> point in the missing wheel buttons. I don't want to mess the list with
> huge attachements (but I could put it on the web and offer a link if
> it's helpful).

If it isn't too much trouble, yes, do that.  You are also welcome to
send the file to me directly, if you like.

Also, as your device name is "USB Mouse", you should be able to do:

grep "USB Mouse" /var/log/Xorg.0.log

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] mouse won't scroll anymore
  2005-11-29 22:24         ` Christoph Eckert
@ 2005-11-29 22:46           ` Ernie Schroder
  0 siblings, 0 replies; 24+ messages in thread
From: Ernie Schroder @ 2005-11-29 22:46 UTC (permalink / raw
  To: gentoo-user

Sure.

Section "InputDevice"

# Identifier and driver

    Identifier	"Mouse1"
    Driver	"mouse"
#   Option "Protocol"    "auto"
    Option "Protocol"    "ExplorerPS/2"
    Option "Device"      "/dev/mouse"
#   Option "Device"	 "/dev/psaux"
    Option "ZAxisMapping" "4 5"
    
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"	"Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"	"9600"
#    Option "SampleRate"	"150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

    Option "ChordMiddle"

EndSection

Hope it helps. Note that it works on the Trackman Marble Wheel, but not on my 
Trackman Wheel. Auto protocol didn't work on any of the 3 mice

On Tuesday 29 November 2005 05:24 pm, a tiny voice compelled Christoph Eckert 
to write:
> Hi,
>
> > Damn! I thought I had tried all of your suggestions Richard. Changing
> > the protocol to ExplorerPS/2 has done the trick. Thanks for all of
> > your help.
>
> @Ernie: Could you please post the relevant device section you use? Just
> for my personal interest.
>
> @Richard: Let's stop here, I will figure it out for sure if I have time
> to read and learn a bit more about X configuration. But thanks a bunch
> for the help, of course!
>
>
>
> Best regards
>
>
>     ce

Sure.

Section "InputDevice"

# Identifier and driver

    Identifier	"Mouse1"
    Driver	"mouse"
#   Option "Protocol"    "auto"
    Option "Protocol"    "ExplorerPS/2"
    Option "Device"      "/dev/mouse"
#   Option "Device"	 "/dev/psaux"
    Option "ZAxisMapping" "4 5"
    
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"	"Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"	"9600"
#    Option "SampleRate"	"150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

    Option "ChordMiddle"

EndSection

Hope it helps. Note that it works on the Trackman Marble Wheel, but not on my 
Trackman Wheel. Auto protocol didn't work on any of the 3 mice

-- 
Regards, Ernie
100% Microsoft and Intel free

 17:37:08 up  3:23,  5 users,  load average: 0.73, 0.63, 0.38
Linux 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] mouse won't scroll anymore
  2005-11-29 22:44         ` Richard Fish
@ 2005-11-29 23:19           ` Christoph Eckert
  2005-11-29 23:39             ` Richard Fish
  2005-11-29 23:50             ` [gentoo-user] mouse won't scroll anymore Richard Fish
  0 siblings, 2 replies; 24+ messages in thread
From: Christoph Eckert @ 2005-11-29 23:19 UTC (permalink / raw
  To: gentoo-user

Hi,


> Possible.  But maybe there is also some corruption (binary
> characters) in the xorg.conf file.  I've seen xfree86/x.org behave
> strangely before, refusing to see some options, because of garbage
> characters in the configuration file.

does "garbage characters" mean weird printable characters (so I can see 
them in the editor) or bytes that are in the file but not seen in the 
editor?

> > The Xorg.0.log is rather long, and I didn't find any lines in it
> > which point in the missing wheel buttons. I don't want to mess the
> > list with huge attachements (but I could put it on the web and
> > offer a link if it's helpful).
>
> If it isn't too much trouble, yes, do that.  You are also welcome to
> send the file to me directly, if you like.

I put it on

http://www.christeck.de/files/xorg.conf

It originally was created by Knoppix :-} .

I just added a line at the end of the files section pointing 
to /dev/input/mice, but it didn't help.

> Also, as your device name is "USB Mouse", you should be able to do:
>
> grep "USB Mouse" /var/log/Xorg.0.log

Cool idea, as long we can be sure that there aren't lines around the 
mouse related lines which report further information.

I did

cat /var/log/Xorg.0.log | grep -i mouse

(**) |-->Input Device "PS/2 Mouse"
(**) Option "AllowMouseOpenFail" "true"
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="X.Org Foundation"
(==) NV(0): Silken mouse enabled
(**) PS/2 Mouse: Device: "/dev/psaux"
(**) PS/2 Mouse: Protocol: "PS/2"
(**) PS/2 Mouse: always reports core events
(**) PS/2 Mouse: Core Pointer
(**) PS/2 Mouse: Emulate3Buttons, Emulate3Timeout: 70
(**) PS/2 Mouse: ZAxisMapping: buttons 4 and 5
(**) PS/2 Mouse: Buttons: 5
(**) PS/2 Mouse: SmartScroll: 1
(II) XINPUT: Adding extended input device "PS/2 Mouse" (type: MOUSE)
(II) PS/2 Mouse: ps2EnableDataReporting: succeeded
(II) PS/2 Mouse: ps2EnableDataReporting: succeeded

I wonder that it only tells something about /dev/psaux and PS/S mouse, 
but where is my USB mouse? 


Thanks & best regards


    ce



-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] mouse won't scroll anymore
  2005-11-29 23:19           ` Christoph Eckert
@ 2005-11-29 23:39             ` Richard Fish
  2005-11-30 17:10               ` [gentoo-user] mouse won't scroll anymore - Solved Christoph Eckert
  2005-11-29 23:50             ` [gentoo-user] mouse won't scroll anymore Richard Fish
  1 sibling, 1 reply; 24+ messages in thread
From: Richard Fish @ 2005-11-29 23:39 UTC (permalink / raw
  To: gentoo-user

On 11/29/05, Christoph Eckert <ce@christeck.de> wrote:
>
> I wonder that it only tells something about /dev/psaux and PS/S mouse,
> but where is my USB mouse?

Ah, I see now.  Because you don't have "USB mouse" in your layout. 
You can have many InputDevice sections, but only those listed in
ServerLayout are used:

Section "ServerLayout"
	Identifier     "XFree86 Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "PS/2 Mouse" "CorePointer"
# Serial Mouse not detected
# USB Mouse not detected
EndSection

Since you only have "PS/2 Mouse" listed, only that InputDevice section is used.

This should work better for you:

Section "ServerLayout"
	Identifier     "XFree86 Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "PS/2 Mouse" "CorePointer"
        InputDevice    "USB Mouse"
EndSection

Cheers,
-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] mouse won't scroll anymore
  2005-11-29 23:19           ` Christoph Eckert
  2005-11-29 23:39             ` Richard Fish
@ 2005-11-29 23:50             ` Richard Fish
  2005-11-29 23:53               ` Richard Fish
  1 sibling, 1 reply; 24+ messages in thread
From: Richard Fish @ 2005-11-29 23:50 UTC (permalink / raw
  To: gentoo-user

On 11/29/05, Christoph Eckert <ce@christeck.de> wrote:
> I wonder that it only tells something about /dev/psaux and PS/S mouse,
> but where is my USB mouse?

Oh, a few more things.  /dev/psaux is now deprecated, so you should 
probably change this to be /dev/input/mouseX.

Also, you might want to play a bit with the ordering of your module
loading (assuming you are using modules) in /etc/autoload.d/kerne-2.6,
so that psmouse is loaded before usbhid.  This should make mouse0 and
mouse1 your trackpad & stick, and mouse2 your USB mouse.  This way,
you have the option of not connecting the USB mouse, without having X
complain about a missing device.

In this setup, you would having something like:

Section "ServerLayout"
	Identifier     "XFree86 Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "trackpad" "CorePointer"
	InputDevice    "stick"
        InputDevice    "usbmouse"
EndSection
...




>
>
> Thanks & best regards
>
>
>     ce
>
>
>
> --
> gentoo-user@gentoo.org mailing list
>
>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] mouse won't scroll anymore
  2005-11-29 23:50             ` [gentoo-user] mouse won't scroll anymore Richard Fish
@ 2005-11-29 23:53               ` Richard Fish
  2005-11-30 16:58                 ` Christoph Eckert
  0 siblings, 1 reply; 24+ messages in thread
From: Richard Fish @ 2005-11-29 23:53 UTC (permalink / raw
  To: gentoo-user

On 11/29/05, Richard Fish <bigfish@asmallpond.org> wrote:
> On 11/29/05, Christoph Eckert <ce@christeck.de> wrote:
> > I wonder that it only tells something about /dev/psaux and PS/S mouse,
> > but where is my USB mouse?
>
> Oh, a few more things.  /dev/psaux is now deprecated, so you should
> probably change this to be /dev/input/mouseX.
>
> Also, you might want to play a bit with the ordering of your module
> loading (assuming you are using modules) in /etc/autoload.d/kerne-2.6,
> so that psmouse is loaded before usbhid.  This should make mouse0 and
> mouse1 your trackpad & stick, and mouse2 your USB mouse.  This way,
> you have the option of not connecting the USB mouse, without having X
> complain about a missing device.
>
> In this setup, you would having something like:
>
> Section "ServerLayout"
>         Identifier     "XFree86 Configured"
>         Screen      0  "Screen0" 0 0
>         InputDevice    "Keyboard0" "CoreKeyboard"
>         InputDevice    "trackpad" "CorePointer"
>         InputDevice    "stick"
>         InputDevice    "usbmouse"
> EndSection
> ...

Oops, I clicked send when I meant to click inside the edit box...so
let me finish that thought:

...
Section "InputDevice"
	Identifier  "trackpad"
	Driver      "mouse"
	Option      "Protocol" "PS/2"
	Option      "Device" "/dev/input/mouse0"
	Option      "Emulate3Buttons" "true"
	Option      "Emulate3Timeout" "70"
EndSection

Section "InputDevice"
	Identifier  "stick"
	Driver      "mouse"
	Option      "Protocol" "PS/2"
	Option      "Device" "/dev/input/mouse1"
	Option      "Emulate3Buttons" "true"
	Option      "Emulate3Timeout" "70"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
	Option		"SendCoreEvents"	"true"
	Option		"Protocol"		"ExplorerPS/2"
#	Option          "Protocol"              "IMPS/2"
        Option          "Buttons"               "8"
        Option          "ZAxisMapping"          "4 5"
EndSection

The above is assuming that you really need/want Emulate3Buttons for
the stick and trackpad.  Otherwise, you can get by with a single
InputDevice section set to /dev/input/mice.

HTH,
-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] mouse won't scroll anymore
  2005-11-29 19:35 ` Christoph Eckert
  2005-11-29 20:47   ` Ernie Schroder
@ 2005-11-30  6:52   ` Uwe Thiem
  1 sibling, 0 replies; 24+ messages in thread
From: Uwe Thiem @ 2005-11-30  6:52 UTC (permalink / raw
  To: gentoo-user

On 29 November 2005 21:35, Christoph Eckert wrote:
> > I've just moved from XFree86 to xorg and updated my KDE and now my
> > wheel mouse doesn't scroll anymore. I'm using the same mouse lines in
> > xorg.conf that I used in Xfree86.conf, but I can't get it to work. It
> > must be something I just don't see. Any ideas?
>
> exactly the same here. I have tried several lines, even the lines that
> work for a friend. Maybe it's a hardware related thing?

This is what works for me:

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Buttons" "5"
        Option      "Protocol" "explorerps/2"
        Option      "Device" "/dev/input/mouse0"
        Option      "ZAxisMapping" "4 5"
EndSection


Uwe

-- 
Unix is sexy:
who | grep -i blonde | date
cd ~; unzip; touch; strip; finger
mount; gasp; yes; uptime; umount
sleep
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] mouse won't scroll anymore
  2005-11-29 23:53               ` Richard Fish
@ 2005-11-30 16:58                 ` Christoph Eckert
  0 siblings, 0 replies; 24+ messages in thread
From: Christoph Eckert @ 2005-11-30 16:58 UTC (permalink / raw
  To: gentoo-user

Hi Richard,


> The above is assuming that you really need/want Emulate3Buttons for
> the stick and trackpad.  Otherwise, you can get by with a single
> InputDevice section set to /dev/input/mice.

thanks for all your efforts, it's much appreciated.

I'll try it out later this evening when I'm back. I will post if it 
helped.


Thanks a lot & best regards


    ce


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] mouse won't scroll anymore - Solved
  2005-11-29 23:39             ` Richard Fish
@ 2005-11-30 17:10               ` Christoph Eckert
  0 siblings, 0 replies; 24+ messages in thread
From: Christoph Eckert @ 2005-11-30 17:10 UTC (permalink / raw
  To: gentoo-user

Hi Richard,


I couldn't resist to try it out immediately, so...

> Ah, I see now.  Because you don't have "USB mouse" in your layout.
> You can have many InputDevice sections, but only those listed in
> ServerLayout are used:
>
> Section "ServerLayout"
>         Identifier     "XFree86 Configured"
>         Screen      0  "Screen0" 0 0
>         InputDevice    "Keyboard0" "CoreKeyboard"
>         InputDevice    "PS/2 Mouse" "CorePointer"
> # Serial Mouse not detected
> # USB Mouse not detected

...argh, that simple, I'm ashamed. Works perfectly. Thanks a lot for 
your great help!


Thanks and cheers,


    ce

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2005-11-30 17:17 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-28 18:41 [gentoo-user] mouse won't scroll anymore Ernie Schroder
2005-11-28 18:51 ` Richard Fish
2005-11-28 19:52 ` Willie Wong
2005-11-28 20:13   ` Billy Holmes
2005-11-29  0:19     ` [gentoo-user] man mouse problems Willie Wong
2005-11-29 18:56       ` Billy Holmes
2005-11-29  0:27     ` [gentoo-user] mouse won't scroll anymore Ernie Schroder
2005-11-29 19:35 ` Christoph Eckert
2005-11-29 20:47   ` Ernie Schroder
2005-11-29 21:17     ` Christoph Eckert
2005-11-29 21:31       ` Richard Fish
2005-11-29 21:29     ` Richard Fish
2005-11-29 22:09       ` Ernie Schroder
2005-11-29 22:24         ` Christoph Eckert
2005-11-29 22:46           ` Ernie Schroder
2005-11-29 22:15       ` Christoph Eckert
2005-11-29 22:44         ` Richard Fish
2005-11-29 23:19           ` Christoph Eckert
2005-11-29 23:39             ` Richard Fish
2005-11-30 17:10               ` [gentoo-user] mouse won't scroll anymore - Solved Christoph Eckert
2005-11-29 23:50             ` [gentoo-user] mouse won't scroll anymore Richard Fish
2005-11-29 23:53               ` Richard Fish
2005-11-30 16:58                 ` Christoph Eckert
2005-11-30  6:52   ` Uwe Thiem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox