Bug#307638: gpm: upgrading from 1.19.6-12 to 1.19.6-19 mouse doesn't work in X

2005-05-05 Thread Peter Samuelson

[Eric Van Buggenhaut]
 My mouse works perfectly both in console and under X with 1.19.6-12
 but when I upgrade to 1.19.6-19, I can't move the pointer under
 X. Still it works perfectly in console and the pointer appears in X.

This is puzzling.  Just to confirm: in /etc/X11/XF86Config-4, in the
InputDevice section for Configured Mouse or similar - are you using
these settings?

Option Device /dev/gpmdata
Option Protocol Intellimouse

If not, please report what you *are* using there.

The other thing to check, if possible - did gpm 1.19.6-19 pick up your
/etc/gpm.conf settings and write them back correctly?  It should have.
But if you happen to know that your gpm.conf has changed as part of the
upgrade, it would be good to get some details on that.

Peter


signature.asc
Description: Digital signature


Bug#307638: gpm: upgrading from 1.19.6-12 to 1.19.6-19 mouse doesn't work in X

2005-05-05 Thread Eric Van Buggenhaut
On Thu, May 05, 2005 at 01:32 -0500, Peter Samuelson wrote:
 
 [Eric Van Buggenhaut]
  My mouse works perfectly both in console and under X with 1.19.6-12
  but when I upgrade to 1.19.6-19, I can't move the pointer under
  X. Still it works perfectly in console and the pointer appears in X.
 
 This is puzzling.  Just to confirm: in /etc/X11/XF86Config-4, in the
 InputDevice section for Configured Mouse or similar - are you using
 these settings?
 
   Option Device /dev/gpmdata
   Option Protocol Intellimouse
 
 If not, please report what you *are* using there.

# Identifier and driver

Identifier  Mouse1
Driver mouse
#Option Protocol   ImPS/2
Option Protocol   auto
Option ZAxisMapping   4 5
Option Device /dev/psaux
#Option Device /dev/gpmdata


 
 The other thing to check, if possible - did gpm 1.19.6-19 pick up your
 /etc/gpm.conf settings and write them back correctly? 

No, it didn't. More specifically, it added 2 lines:

repeat_type=ms3
append=''

-- 
Eric VAN BUGGENHAUT
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#307638: gpm: upgrading from 1.19.6-12 to 1.19.6-19 mouse doesn't work in X

2005-05-05 Thread Eric Van Buggenhaut
On Thu, May 05, 2005 at 01:32:47AM -0500, Peter Samuelson wrote:
 
 [Eric Van Buggenhaut]
  My mouse works perfectly both in console and under X with 1.19.6-12
  but when I upgrade to 1.19.6-19, I can't move the pointer under
  X. Still it works perfectly in console and the pointer appears in X.
 
 This is puzzling.  Just to confirm: in /etc/X11/XF86Config-4, in the
 InputDevice section for Configured Mouse or similar - are you using
 these settings?
 
   Option Device /dev/gpmdata
   Option Protocol Intellimouse

FYI,

If I use /dev/gpmdata the pointer is frozen on the screen, I can't 
move it around.

If I use /dev/psaux and Intellimouse the pointer moves all around the 
screen like crazy

The only combination that works for me is /dev/psaux and auto

-- 
Eric VAN BUGGENHAUT
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#307638: gpm: upgrading from 1.19.6-12 to 1.19.6-19 mouse doesn't work in X

2005-05-05 Thread Peter Samuelson

Thanks for the quick response.

[Eric Van Buggenhaut]
 Option Protocol   auto
 Option ZAxisMapping   4 5
 Option Device /dev/psaux

Aha.

Your configuration is difficult to support properly, and probably
results in a short delay when switching between X and console, since
doing so involves reinitialising the mouse.  That's because, with both
gpm and X having direct control of the mouse, they defensively have to
make sure the mouse is in a known state, every time.  This approach
does work, modulo bugs in XFree86 or gpm; I've just never been
comfortable with it.


  The other thing to check, if possible - did gpm 1.19.6-19 pick up your
  /etc/gpm.conf settings and write them back correctly? 
 
 No, it didn't. More specifically, it added 2 lines:
 
 repeat_type=ms3
 append=''

Yeah, repeat_type is the culprit.  The upgrade noticed that it was not
set, so it used the default.  In your case you're relying on gpm's
behavior when the repeater is disabled.

Fix / workaround:

  repeat_type=none

You can either edit gpm.conf directly, or via 'dpkg-reconfigure gpm'.
Please let us know whether this fixes your problem.  (repeat_type=''
would work too, but that would cause the same problem on the next
upgrade, until we figure out the right way to handle this case.)

Incidentally, the other workaround is to boot any kernel 2.6, whose
input layer prevents this type of problem from occurring in the first
place, by virtualising /dev/psaux entirely.  If you do that, you'll
need to ensure that the 'mousedev' and 'psmouse' kernel modules get
loaded.

Thanks again,
Peter


signature.asc
Description: Digital signature


Bug#307638: gpm: upgrading from 1.19.6-12 to 1.19.6-19 mouse doesn't work in X

2005-05-05 Thread Peter Samuelson

[Eric Van Buggenhaut]
 If I use /dev/gpmdata the pointer is frozen on the screen, I can't 
 move it around.

That's odd.  You *did* try it with XFree86 protocol Intellimouse?
This is normally pretty foolproof if you have gpm running with
repeat_type=ms3.

 If I use /dev/psaux and Intellimouse the pointer moves all around the 
 screen like crazy

That's expected.  Intellimouse is not the mouse's real protocol.
It's the simulated protocol used by the GPM repeater, the protocol
known as ms3 in the GPM world.  The mouse's real protocol, other than
auto, is ExplorerPS/2 or ImPS/2 (probably either one will work).

Peter


signature.asc
Description: Digital signature


Bug#307638: gpm: upgrading from 1.19.6-12 to 1.19.6-19 mouse doesn't work in X

2005-05-05 Thread Eric Van Buggenhaut
On Thu, May 05, 2005 at 05:29:28AM -0500, Peter Samuelson wrote:
 
 [Eric Van Buggenhaut]
  If I use /dev/gpmdata the pointer is frozen on the screen, I can't 
  move it around.
 
 That's odd.  You *did* try it with XFree86 protocol Intellimouse?
 This is normally pretty foolproof if you have gpm running with
 repeat_type=ms3.

OK. I have to use repeat_type=ms3 + /dev/gpmdata + Intellimouse

and the pointer works both in console + X both 1.19.6-12 and 1.19.6-19

I guess this closes the bug ?

-- 
Eric VAN BUGGENHAUT
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#307638: gpm: upgrading from 1.19.6-12 to 1.19.6-19 mouse doesn't work in X

2005-05-05 Thread Peter Samuelson

[Eric Van Buggenhaut]
 OK. I have to use repeat_type=ms3 + /dev/gpmdata + Intellimouse
 
 and the pointer works both in console + X both 1.19.6-12 and 1.19.6-19

Great!

I'd still like to know whether your original configuration (/dev/psaux,
protocol auto) works with repeat_type=none.  It should work.  And
that will confirm my analysis of the bug.


 I guess this closes the bug ?

Almost.  (:  The upgrade should have preserved your empty repeat_type -
I should have remembered earlier that this changes the behavior of gpm
in an incompatible way.  So we still have an upgrade bug, even though
you've fixed it for yourself.  I'll fix it properly for our next
upload.

Thanks,
Peter


signature.asc
Description: Digital signature


Bug#307638: gpm: upgrading from 1.19.6-12 to 1.19.6-19 mouse doesn't work in X

2005-05-04 Thread Eric Van Buggenhaut
Package: gpm
Version: 1.19.6-19
Severity: important

My mouse works perfectly both in console and under X with 1.19.6-12 but 
when I upgrade to 1.19.6-19, I can't move the pointer under X. Still it 
works perfectly in console and the pointer appears in X. When a new 
window pops up, the pointer is moved to the border of that window. The 
problem is that there's no way I can move the pointer around using the 
touchpad.

Note that my settings are identical for both versions.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.22
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) (ignored: 
LC_ALL set to [EMAIL PROTECTED])

Versions of packages gpm depends on:
ii  debianutils 2.8.4Miscellaneous utilities specific t
ii  libc6   2.3.2.ds1-21 GNU C Library: Shared libraries an
ii  libncurses5 5.4-4Shared libraries for terminal hand

-- debconf information:
  gpm/responsiveness:
  gpm/repeat_type: ms3
  gpm/append:
* gpm/restart: false
  gpm/sample_rate:
* gpm/type: ps2
* gpm/device: /dev/psaux
* gpm/restart_default: false


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]