Re: [gentoo-user] mouse won't scroll anymore

2005-11-30 Thread Christoph Eckert
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



Re: [gentoo-user] mouse won't scroll anymore - Solved

2005-11-30 Thread Christoph Eckert
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



Re: [gentoo-user] mouse won't scroll anymore

2005-11-29 Thread Christoph Eckert

 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



Re: [gentoo-user] mouse won't scroll anymore

2005-11-29 Thread Christoph Eckert

 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



Re: [gentoo-user] mouse won't scroll anymore

2005-11-29 Thread Richard Fish
On 11/29/05, Ernie Schroder [EMAIL PROTECTED] 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



Re: [gentoo-user] mouse won't scroll anymore

2005-11-29 Thread Richard Fish
On 11/29/05, Christoph Eckert [EMAIL PROTECTED] 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



Re: [gentoo-user] mouse won't scroll anymore

2005-11-29 Thread Ernie Schroder
On Tuesday 29 November 2005 04:29 pm, a tiny voice compelled Richard Fish to 
write:
 On 11/29/05, Ernie Schroder [EMAIL PROTECTED] 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



Re: [gentoo-user] mouse won't scroll anymore

2005-11-29 Thread Christoph Eckert

 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  SendCoreEventstrue
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



Re: [gentoo-user] mouse won't scroll anymore

2005-11-29 Thread Christoph Eckert
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



Re: [gentoo-user] mouse won't scroll anymore

2005-11-29 Thread Richard Fish
On 11/29/05, Christoph Eckert [EMAIL PROTECTED] wrote:

 I currently use the following section for the USB mouse:

 Section InputDevice
 Identifier  USB Mouse
 Driver  mouse
 Option  Device/dev/input/mice
 Option  SendCoreEventstrue
 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



Re: [gentoo-user] mouse won't scroll anymore

2005-11-29 Thread Ernie Schroder
Sure.

Section InputDevice

# Identifier and driver

Identifier  Mouse1
Driver  mouse
#   Option Protocolauto
Option ProtocolExplorerPS/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 SampleRate150

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

#Option Emulate3Buttons
#Option Emulate3Timeout50

# 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 Protocolauto
Option ProtocolExplorerPS/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 SampleRate150

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

#Option Emulate3Buttons
#Option Emulate3Timeout50

# 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



Re: [gentoo-user] mouse won't scroll anymore

2005-11-29 Thread Christoph Eckert
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



Re: [gentoo-user] mouse won't scroll anymore

2005-11-29 Thread Richard Fish
On 11/29/05, Christoph Eckert [EMAIL PROTECTED] 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
InputDeviceKeyboard0 CoreKeyboard
InputDevicePS/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
InputDeviceKeyboard0 CoreKeyboard
InputDevicePS/2 Mouse CorePointer
InputDeviceUSB Mouse
EndSection

Cheers,
-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mouse won't scroll anymore

2005-11-29 Thread Richard Fish
On 11/29/05, Christoph Eckert [EMAIL PROTECTED] 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
InputDeviceKeyboard0 CoreKeyboard
InputDevicetrackpad CorePointer
InputDevicestick
InputDeviceusbmouse
EndSection
...






 Thanks  best regards


 ce



 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mouse won't scroll anymore

2005-11-29 Thread Richard Fish
On 11/29/05, Richard Fish [EMAIL PROTECTED] wrote:
 On 11/29/05, Christoph Eckert [EMAIL PROTECTED] 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
 InputDeviceKeyboard0 CoreKeyboard
 InputDevicetrackpad CorePointer
 InputDevicestick
 InputDeviceusbmouse
 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  SendCoreEventstrue
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



Re: [gentoo-user] mouse won't scroll anymore

2005-11-29 Thread Uwe Thiem
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



Re: [gentoo-user] mouse won't scroll anymore

2005-11-28 Thread Richard Fish
On 11/28/05, Ernie Schroder [EMAIL PROTECTED] 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



Re: [gentoo-user] mouse won't scroll anymore

2005-11-28 Thread Ernie Schroder
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