Debian Bug report logs -
#570448
gpm fails silently
Reported by: ael <law_ence.dev@ntlworld.com>
Date: Thu, 18 Feb 2010 22:30:01 UTC
Severity: important
Found in version gpm/1.20.4-3.3
Done: Peter Samuelson <peter@p12n.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, law_ence.dev@ntlworld.com, Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>:
Bug#570448; Package gpm.
(Thu, 18 Feb 2010 22:30:04 GMT) (full text, mbox, link).
Acknowledgement sent
to ael <law_ence.dev@ntlworld.com>:
New Bug report received and forwarded. Copy sent to law_ence.dev@ntlworld.com, Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>.
(Thu, 18 Feb 2010 22:30:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: gpm
Version: 1.20.4-3.3
Severity: important
This update to gpm has broken my mouse support.
gpm seems to load (although initialy I saw crashes).
It seems to run as
gpm -m /dev/input/mice -t exps2
taken from /etc/gpm.conf. (It is hard to write this with no cut & paste)
/var/log/messages says "started gpm successfully ..."
There is, however no cursor although clicking button 1 produces inverse
video character block in centre of screen on tty. Mouse/ball movement
has no effect. Of course, there is nothing under X either.
lshal shows ImExPS2 Logitech Explorer Mouse.
/etc/init/gpm strace fails, although I can run under strace manually.
Without a mouse, can't really use X, so a rather serious bug.... :-(
Sorry that there isn't much to go on in this report thus far...
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.33-rc8_exact-60597-gb0483e7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gpm depends on:
ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy
ii debianutils 3.2.2 Miscellaneous utilities specific t
ii dpkg 1.15.5.6 Debian package management system
ii install-info 4.13a.dfsg.1-5 Manage installed documentation in
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libgpm2 1.20.4-3.3 General Purpose Mouse - shared lib
ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip
ii ucf 3.0025 Update Configuration File: preserv
gpm recommends no packages.
gpm suggests no packages.
-- debconf information:
* gpm/responsiveness:
* gpm/repeat_type: none
* gpm/append:
* gpm/restart: false
* gpm/sample_rate:
* gpm/device: /dev/input/mice
* gpm/type: exps2
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>:
Bug#570448; Package gpm.
(Fri, 19 Feb 2010 01:33:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Peter Samuelson <peter@p12n.org>:
Extra info received and forwarded to list. Copy sent to Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>.
(Fri, 19 Feb 2010 01:33:05 GMT) (full text, mbox, link).
Message #10 received at 570448@bugs.debian.org (full text, mbox, reply):
[ael]
> It seems to run as
> gpm -m /dev/input/mice -t exps2
> taken from /etc/gpm.conf. (It is hard to write this with no cut & paste)
> /var/log/messages says "started gpm successfully ..."
> There is, however no cursor although clicking button 1 produces inverse
> video character block in centre of screen on tty. Mouse/ball movement
> has no effect. Of course, there is nothing under X either.
In your configuration, X and gpm are _completely_ separate. Which
leads me to the question of whether your mouse, and kernel driver, are
reporting correctly. Try this:
od -v -tx1 -Anone -w3 < /dev/input/mice
This shows mouse packets in 3-byte PS/2 format, one per line. Move the
mouse, click the buttons, and you should see it all in real time.
Examples of what you should see:
09 00 00 <-- left button pressed
0c 00 00 <-- middle button pressed
0a 00 00 <-- right button pressed
0b 00 00 <-- left and right buttons both pressed
08 00 00 <-- no buttons pressed
08 01 00 <-- move to the right
08 02 00 <-- move to the right
08 fd 00 <-- move to the left
08 ff 00 <-- move to the left
Given that you say the mouse doesn't work in X, that is the first thing
I would investigate.
--
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>:
Bug#570448; Package gpm.
(Fri, 19 Feb 2010 10:48:05 GMT) (full text, mbox, link).
Acknowledgement sent
to ael <law_ence.dev@ntlworld.com>:
Extra info received and forwarded to list. Copy sent to Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>.
(Fri, 19 Feb 2010 10:48:06 GMT) (full text, mbox, link).
Message #15 received at 570448@bugs.debian.org (full text, mbox, reply):
Thanks for the quick reply. In fact, just after I had filed the report,
I decided to try a different kernel: it worked. Then I reverted to
the original kernel: again it worked.
In short, I can't reproduce the problem. Maybe I touched the mouse during
a critical initialisation and hit a race/deadlock. Maybe the hardware
itself latched up somehow: it certainly looks like something of that
sort.
So I suggest that this bug is closed: if it happens again, I can reopen.
ael
Reply sent
to Peter Samuelson <peter@p12n.org>:
You have taken responsibility.
(Fri, 19 Feb 2010 14:27:05 GMT) (full text, mbox, link).
Notification sent
to ael <law_ence.dev@ntlworld.com>:
Bug acknowledged by developer.
(Fri, 19 Feb 2010 14:27:05 GMT) (full text, mbox, link).
Message #20 received at 570448-done@bugs.debian.org (full text, mbox, reply):
> In short, I can't reproduce the problem. Maybe I touched the mouse
> during a critical initialisation and hit a race/deadlock. Maybe the
> hardware itself latched up somehow: it certainly looks like something
> of that sort.
OK, closing the bug now. Thanks for the followup,
--
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 20 Mar 2010 07:35:05 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jul 1 15:40:55 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.