Am Freitag, 28. September 2001 04:34 schrieb David Nelson:
> Hi All,
>
> Well, here it is! And it even has devfs support!  And best of all, it
> seems to work. ;)
>
> This is not a patch.  I've still yet to update all the documentation and
> what not.  I've also got some open issues that I'd like to resolve/cleanup
> before submitting a patch for inclusion into the kernel.  So, in the
> meantime, give it a run and let me know if you have any problems.
>
> If I've missed something (a patch, ID's, recognition, etc), just let me
> know.

Please remove the Minolta Scan Dual. It needs a special driver as it uses 
SCSI over USB.

Your disconnect_scanner() is racing with read, write and open.
You need to take the BKL not only in open, but in disconnect and close, too.
Then you make the freeing of memory in disconnect conditional on the flag you 
set at open time. If it is not set you set a new flag to be added which would 
cause close to do what disconnect would do. You may also check this flag at 
the beginning of read and write to quickly return ENODEV.

        Regards
                Oliver

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to