[Pkg-gpm-devel] Bug#298197: /etc/init.d/gpm start needs to be called twice

Helge Kreutzmann Helge Kreutzmann <kreutzm@itp.uni-hannover.de>, 298197@bugs.debian.org
Sat, 5 Mar 2005 17:54:49 +0100


Package: gpm
Version: 1.19.6-19
Severity: important

Calling
/etc/init.d/gpm start
once only causes messages to be printed, but gpm does not work. 
Only after
/etc/init.d/gpm start
is called a second time, gpm works.

Here is the transscript:
remaxp:/scr/media/ToDisk/01/numerik-div# /etc/init.d/gpm start
Starting mouse interface server: gpm.
remaxp:/scr/media/ToDisk/01/numerik-div# input: ImExPS/2 Logitech Explorer Mouse on isa0060/serio1
mice: PS/2 mouse device common for all mice
ts: Compaq touchscreen protocol output

remaxp:/scr/media/ToDisk/01/numerik-div# /etc/init.d/gpm start
Starting mouse interface server: gpm.

As you can see, after the first call some messages are printed (ImExPS/2 ...)
they come with some delay, i.e., if the first call is happening in an init
script, then they are usually printed after the next service (e.g., xfs).

The second time these messages are not printed and only then gpm 
works. 

I think that the messages come from some modules, and that gpm maybe needs
to wait after loading them?

Please tell me which info you'll need so I can supply it.

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.10-grsec
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages gpm depends on:
ii  debconf [debco 1.4.46                    Debian configuration management sy
ii  debianutils    2.13.1                    Miscellaneous utilities specific t
ii  libc6          2.3.2.ds1-20.0.0.1.pure64 GNU C Library: Shared libraries an
ii  libncurses5    5.4-4                     Shared libraries for terminal hand
ii  ucf            1.14                      Update Configuration File: preserv

-- debconf information:
* gpm/responsiveness: 15
* gpm/repeat_type: ms3
* gpm/append:
* gpm/restart: true
* gpm/sample_rate:
* gpm/device: /dev/psaux
* gpm/restart_default: true
* gpm/type: autops2
-- 
Dr. Helge Kreutzmann, Dipl.-Phys.           Helge.Kreutzmann@itp.uni-hannover.de
                       gpg signed mail preferred 
    64bit GNU powered                  http://www.itp.uni-hannover.de/~kreutzm
       Help keep free software "libre": http://www.freepatents.org/