Package: irda-utils Severity: wishlist Some irda controllers (like mine...) need to be initialize with /usr/sbin/smcinit provided with irda-utils. I didn't notice an automatic way to execute smcinit during the boot so I modified /etc/init.d/irda-utils and /etc/default/irda-utils. Here is a patch with my corrections.
I believe /etc/default/irda-utils shouldn't be modified with a patch but with debconf or something like that but it is far from my competences. Feel free to improve my idea. Best Regards, -- Jean-Christophe Jaskula
--- irda-utils_orig 2006-12-16 18:23:23.000000000 +0100
+++ /etc/init.d/irda-utils 2006-12-16 18:15:03.000000000 +0100
@@ -14,6 +14,7 @@
PACKAGE="irda-utils"
DESC="IrDA service"
SYSCTL="/sbin/sysctl"
+SMCINIT="/usr/sbin/smcinit"
test -x $DAEMON || exit 0
test -x $SYSCTL || exit 0
@@ -39,7 +40,9 @@
DISCOVERY=""
fi
-
+if [ "$USE_SMCINIT" = "yes" ]; then
+ $SMCINIT
+fi
case "$1" in
start)
--- default_irda-utils_orig 2006-12-16 18:23:37.000000000 +0100
+++ /etc/default/irda-utils 2006-12-16 18:13:33.000000000 +0100
@@ -21,3 +21,5 @@
# machines in FIR-mode, so most people should leave it blank. See
# README.Debian for more information.
SETSERIAL="/dev/ttyS0"
+
+USE_SMCINIT="yes"
signature.asc
Description: This is a digitally signed message part

