From: Pete Zaitcev <zaitcev@redhat.com>
To: Beno_t Dejean <TazForEver@free.fr>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] typo in drivers/usb/class/usblp.c (resend)
Date: Mon, 24 May 2004 17:23:13 -0700 [thread overview]
Message-ID: <20040524172313.207aaac6.zaitcev@redhat.com> (raw)
In-Reply-To: <mailman.1085393760.20566.linux-kernel2news@redhat.com>
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
next parent reply other threads:[~2004-05-25 0:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1085393760.20566.linux-kernel2news@redhat.com>
2004-05-25 0:23 ` Pete Zaitcev [this message]
2004-05-24 10:11 [PATCH] typo in drivers/usb/class/usblp.c (resend) Benoît Dejean
2004-05-24 18:34 ` Randy.Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040524172313.207aaac6.zaitcev@redhat.com \
--to=zaitcev@redhat.com \
--cc=TazForEver@free.fr \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox