On Sat, 12 Oct 2002 17:00:15 -0700 "Greg KH" <[EMAIL PROTECTED]> wrote:
> On Sat, Oct 12, 2002 at 02:07:03PM +0300, Kari Hameenaho wrote: > > > > With this patch using Epson 1240U works for me in both USB2.0 (NEC) > > and USB1.1 (AMD OCHI). I am not using CONFIG_USB_DYNAMIC_MINORS > > or devfs. > > > > Now the scn_minor is not manged at all, separate scn_index variable > > used. This one even survives taking the scanner offline and back on. > > So without this patch, things do not work properly? > > > Should I really start using CONFIG_USB_DYNAMIC_MINORS instead of > > making this work without it ? > > No, the driver should work just fine without that option, and with it. > If not, there's a problem somewhere. Can you explain the symptoms you > are having that this patch fixes? > Without the patch the scanner is not found at all: everything (tried sane-find-scanner, scan image, xsane) returns"No such device". I was wondering if everybody else using scanners really uses flag CONFIG_USB_DYNAMIC_MINORS, because for me it does not work at all without it. Never tied with that flag on, commented to be EXPERIMENTAL. It seems to be some kind of problem with the minor sometimes used starting from 0 and sometimes from SCN_BASE_MNR. The driver in 2.4.20-pre10 works, maybe comparing to that helps you. There is at least one missing part in the patch however: now devfs minor is wrong (SCN_BASE_MNR needs not to be added anymore). ---- Kari Hämeenaho ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel