Re: USB scanner (2.5.4x) Fail to access minor

From: Greg KH (greg@kroah.com)
Date: Fri Oct 25 2002 - 17:21:18 EST


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/



This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:29 EST