[sane-devel] Unable to access minor data

Alexis alexisc@tinyonline.co.uk
Tue, 3 Dec 2002 20:51:41 +0000


--------------Boundary-00=_5Y9K3C36OI516X7KL55K
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

On Tuesday 03 December 2002 8:26 pm, Henning Meier-Geinitz wrote:
> [ I'm cc'ing the list again because this may be of interest for other
> users, too]
did the reply thing - apologies

Please find attached some (slightly edited) output.  I loaded the scanner 
module with the vendor and product id as shown in latest Linux Format mag.  
The scanner is present in /proc/bus/usb/devices but isn't associated with the 
driver - perhaps there is something to modify in the kernel patch?  This is 
now essentially the identical problem I had when I first wrote to the list 
except that an error directly to do with the viceo-backend cropped up as 
well.  Hope this gets us a bit closer.
Tia, Alexis
>
> On Tue, Dec 03, 2002 at 08:15:13PM +0000, Alexis wrote:
> > > It's not a problem of SANE but of the kernel scanner driver.
> >
> > Okay I have recompiled the kernel so that both usb support and scanner
> > support are both modules (this approach fixed a sound problem once), and
> > sane-find-scanner now gives me the
> > checking /somedevice/ failed to open (invalid argument)
> > error that I have had in the past, so it is able to find the device
> > files, just not the scanner...
>
> So it still doesn't find the scanner. What about the other things I
> told you? I mean loading the scanner module with options and looking
> at /proc/bus/devices?
>
> > Just tried scanimage -L.  It gets as far as ScLoader okay now, and then
> > segfaults.
> >
> > Is this still a kernel problem, or something else?
>
> I'm not a viceo expert but I'm pretty sure that you won't have success
> until sane-find-scanner lists your scanner. That's because if it's not
> found by sane-find-scanner it's usually not found by the kernel either
> and so xan't be used by the viceo backend.
>
> Bye,
>   Henning

-- 
Alexis
Registered Linux User 276336.  The Penguin Rocks.
I sometimes CQ #171406154
--------------Boundary-00=_5Y9K3C36OI516X7KL55K
Content-Type: text/plain;
  charset="iso-8859-1";
  name="usb-devices-and-scanimage-output"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="usb-devices-and-scanimage-output"

YnVnc3k6fiMgbW9kcHJvYmUgc2Nhbm5lciB2ZW5kb3I9MHgwNDYxI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