All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Jonathan Hudson <jonathan@daria.co.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: USB scanner (2.5.4x) Fail to access minor
Date: Fri, 25 Oct 2002 15:21:18 -0700	[thread overview]
Message-ID: <20021025222118.GA31634@kroah.com> (raw)
In-Reply-To: <8c1.3db9c10b.90442@trespassersw.daria.co.uk>

On Fri, Oct 25, 2002 at 10:09:15PM +0000, Jonathan Hudson wrote:
> 
> The probing finds the minor 48, but the USB_SCN_MINOR() macro in open
> results in the minor transposed to 0. This obviously causes the 
> !p_scn_table[scn_minor] test to fail, dmesg follows:
> (/dev/usbscanner0 is 180,48)

A bit better patch was posted to linux-usb-devel a week or so ago.  It
hasn't been applied as there is some other work going on in this area to
clean up a lot of common code, but until then, you should grab it.

thanks,

greg k-h

      reply	other threads:[~2002-10-25 22:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-25 22:09 USB scanner (2.5.4x) Fail to access minor Jonathan Hudson
2002-10-25 22:21 ` Greg KH [this message]

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=20021025222118.GA31634@kroah.com \
    --to=greg@kroah.com \
    --cc=jonathan@daria.co.uk \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.