Package: lirc
Version: 0.7.1pre2-2
Severity: wishlist

A less experienced user might get confused by the problem that an IR
dongle will only be detected at driver load time. For him it is not easy
to change the dongle (or whatever) at runtime.

Please add some unload mechanism to the start script so that our user
can be made happy by simply restarting lirc.

To avoid a local modification of the start script the following UGLY
code can be used (please invent something better!):

if [ "$1" = "start" ] ; then
   # REMARK: separate debian package, not installed by default!
   setserial /dev/ttyS0 uart none
   # Adjusting the access rigths ...
   [ -L /dev/lirc ]  || ln -s /dev/lirc0 /dev/lirc
   [ -e /dev/lircm ] || mkfifo /dev/lircm
   chmod 660 /dev/lirc?
   # just an example group
   chgrp video /dev/lirc?
fi
if [ "$1" = "stop" ] ; then
   # deferred driver unloading on shell exit ...
   trap "rmmod lirc_serial 2>/dev/null ; rmmod lirc_dev 2>/dev/null" 0
fi

I hope that this code snippet illustrates several problems that a less
experienced user could have.

Juergen Pfennig

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-7-amd
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages lirc depends on:
ii  debconf [debconf-2.0]     1.4.30.13      Debian configuration management sy
ii  dialog                    1.0-20050306-1 Displays user-friendly dialog boxe
ii  libc6                     2.3.2.ds1-22   GNU C Library: Shared libraries an
ii  liblircclient0            0.7.1pre2-2    LIRC client library

-- debconf information excluded


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

Reply via email to