Re: Printing to off-line printer in 2.4.0-prerelease

Andrea Arcangeli (andrea@suse.de)
Thu, 4 Jan 2001 14:52:29 +0100


On Thu, Jan 04, 2001 at 11:20:27AM +0000, Tim Waugh wrote:
> I wonder where the EIO is coming from though. Grep only shows up

I think lp_check_status.

} else if (!(status & LP_PSELECD)) {
if (last != LP_PSELECD) {
last = LP_PSELECD;
printk(KERN_INFO "lp%d off-line\n", minor);
}
error = -EIO;
} else if (!(status & LP_PERRORP)) {
if (last != LP_PERRORP) {
last = LP_PERRORP;
printk(KERN_INFO "lp%d on fire\n", minor);
}
error = -EIO;

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/