Your message dated Wed, 01 Jan 2014 17:25:24 +0000
with message-id <[email protected]>
and subject line Bug#733328: Removed package(s) from unstable
has caused the Debian Bug report #463857,
regarding hotkey-setup: initscript fails on Thinkpad R61: /dev/input/uinput not 
found
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
463857: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=463857
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: hotkey-setup
Version: 0.1-21
Severity: normal
Tags: patch

Yesterday I noticed that hotkey-setup failed with something like
/dev/input/uinput: no such file or directory
or similar. Re-running the initscript succeeded.

I suspect that device files are not necessarily immediately available
after running modprobe (due to dynamic device file creation by udev).
I changed the initscript to wait until the devices are there, and it
seems to work now.

A "sleep 1" will probably do, but we can do more professional ;-)
Having used a while loop on my laptop, something like this might be
better (because it can never lead to an infinite loop):

--- init.d      2008-01-16 23:08:03.000000000 +0100
+++ init.d.changed      2008-02-03 20:37:29.000000000 +0100
@@ -62,6 +62,11 @@
         if [ ! -c /dev/nvram ]; then
             modprobe nvram
         fi
+       for t in 0.1 0.2 0.4 0.8 1.6; do 
+           [ -c /dev/input/uinput ] &&
+           [ -c /dev/nvram ] ||
+           sleep $t
+       done
         $THINKPAD_KEYS $1 && touch $THINKPAD_LOCKFILE
     fi
 }

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')



--- End Message ---
--- Begin Message ---
Version: 0.1-23+rm

Dear submitter,

as the package hotkey-setup has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/733328

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Ansgar Burchardt (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to