lkml.org 
[lkml]   [2002]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: USB scanner (2.5.4x) Fail to access minor
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
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.036 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site