From:
[email protected]
hello mark...
* Mark Lanett <
[email protected]> [2004-08-12 19:55 +0200]:
Package: irda-utils
Version: 0.9.16-4
Upon startup I get this message:
Starting IrDA service: /etc/rc2.d/S20irda: line 35: /proc/sys/net/irda/max_baud_rate: No such file or directory
However when I check, /proc/sys/net/irda/max_baud_rate does exist. There
must be a race condition somewhere.
/etc/init.d/irda does this:
echo "115200" > /proc/sys/net/irda/max_baud_rate
but I find that cat /proc/sys/net/irda/max_baud_rate gives me
16000000
Anyway I believe a tiny little patch would be:
test -f /proc/sys/net/irda/max_baud_rate && \
echo "115200" > /proc/sys/net/irda/max_baud_rate
This is not really correct but I doubt any device will negotiate a speed higher than 115200 anyway.
actually, there already is a little delay with "sleep" in the
init-script (beginning with version -5 which is in unstable). could you
please put a
sleep 1
before the echo into max_baud_rate and tell me if this works for you,
then? and please close the bug (or tell me to do so) if it works.
the problem with your test is that the echo might not happen and
this would go unnoticed, although it is perhaps necessary for your
machine. it might be better to let the warnings come through.
cheers,
sebastian
--
::: .O.
::: ..O
::: OOO
::: lynx -source
http://www.kodeaffe.de/shensche.pub | gpg --import
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBG7FtreHfL3pi+bQRAkY1AKCQqYQn2lncb+NdQnfSwNujnXcFWQCeJsNR 6dfEdAgs1sUjSQWdV8cbQTw=
=dYgR
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)