Messages in this thread | | | Date | Mon, 24 May 2004 17:23:13 -0700 | From | Pete Zaitcev <> | Subject | Re: [PATCH] typo in drivers/usb/class/usblp.c (resend) |
| |
On Mon, 24 May 2004 12:11:29 +0200
> i think there's a typo error in usblp.c
> if (~status & LP_PERRORP) > newerr = 3; > - if (status & LP_POUTPA) > + if (~status & LP_POUTPA) > newerr = 1;
This is not a typo. Please refer to the USP Printer Class Specification, chapter 4.2.2 "GET_PORT_STATUS (bRequest = 1)". Bit mask 0x20 consitutes a one-bit field "Paper Emtpy", with values: 1 = Paper Empty, 0 = Paper Not Empty.
-- Pete - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |