Hi,

I've just installed the new RedHat 7.1 which comes with LPRng as the printing
system. My printer is a LaserJet 5MP connected via IrDA to the computer.

I noticed, that an opn(/dev/irlpt0,...) will block untill the printer is
in contact with the IrDA stack. Unfortunately LPRng comes with an tool
called checkpc, which is called on every system start. This nasty tool
opens all printer ports specified in /etc/printcap and tries do find a
printer connected. For the IrDA port it blocks, so my system won't boot up
until I bring the printer in range with my computer.

Is it correct to block the open(/dev/irlpt0,...) or should checkpc always use
non-blokcing open? But how can it determine if a printer _will_ be available
at a later time, if the non-blocking open returns with an errno set?

I reported this problem zu RedHat's bugzilla as well.

Please help.
-- 
   Dipl.-Ing. Erik Kunze               Phone: +49 - 89 - 32 14 07 41
   PHILOSYS Software GmbH              Fax:   +49 - 89 - 32 14 07 12
   Edisonstr. 6                        Email: [EMAIL PROTECTED]
   D-85716 Unterschleissheim           WWW:   www.philosys.de/~kunze

        PGP-Key: http://www.philosys.de/~kunze/public_key.txt
_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda

Reply via email to