Julien BLACHE a écrit :
BERTRAND Joël <[EMAIL PROTECTED]> wrote:
Hello Julien,
The Linux SG3 interface does not work properly when a 32bit app is
talking to a 64bit kernel.
Maybe. But with 2.6.20.3 kernel, on the same sparc, I can use
this scanner (with libsane that comes with sarge), but system is not
stable. I don't see any diff on sg driver between 2.6.20.3 and
2.6.21-rc7.
Have you diffed the 2 libsane versions yet ? (the backend you're using
+ common code in sanei/ for a start)
I have made some test with a U1E (same system, many IOMMU patched
kernels from 2.6.19 to 2.6.20.7, libsane from 1.0.14 to 1.0.18). I
cannot use this scanner. It is not detected by sane-find-scanner. But
I'm sure I have used this one on my U2. Question is 'how' ?
I have made another test with a USB scanner on an U60 (kernel 2.6.20.4)
with a PCI USB2 adapter. It is not detected, and if I force its
detection, I receive some ioctl32 errors. On a SS20, this scanner works
fine, thus your conclusion is right, it's a trouble between 32 bits wide
userland and 64 bits wide kernel...
Regards,
JKB