[sane-devel] [RFC] SANE 1.1.0 Remove linux kernel scanner.o support
revol at free.fr
Thu May 8 16:20:46 UTC 2008
> On Thu, May 8, 2008 at 9:53 AM, Julien BLACHE <jb at jblache.org> wrote:
> > "m. allan noah" <kitno455 at gmail.com> wrote:
> > Hi,
> > > Now that distros have gotten udev under control, and users are
> > > learning to modify it, we have seen cases where a person made
> > > their
> > > scanner show up as /dev/scanner. This causes sanei_usb to try
> > > and talk
> > > to it like it uses the old kernel scanner module. how about we
> > > remove
> > > that code finally?
> > It's well past time. 2.6.3 is no longer history, it's archeology
> > now... :)
> Ok, but what about the 4 bsd variants and beos that also seem to use
> it? Are they all using libusb now?
As for BeOS, I started porting libusb some time ago, and got some help
on it but it's still not working fully, so I'd rather keep the BeOS
code in for this release if possible...
even if it uses the usb_scanner driver which serves no purpose but
publishing /dev/scanner/usb/* from an hardcoded list and have a vendor
and device getter ioctls... I wanted to recode that to use the usb_raw
driver through /dev/bus/usb/ to avoid hardcoding the list of scanners
more than once in sane itself, but I suppose it'd be simpler to just
use libusb when it's working.
Haiku doesn't have a usb_scanner driver anyway so libusb will be the
way to go then when it's ready.
More information about the sane-devel