[sane-devel] HAL and scanners.

Julien BLACHE jb at jblache.org
Thu Mar 20 19:21:39 UTC 2008


Étienne Bersac <bersace03 at gmail.com> wrote:

Hi,

> Right. Considering that HAL currently support usb, scsi and ieee1394, it
> makes sens to have a common scanner naming policy :
>
>       * USB = "<backend>:libusb:<busnum>:<devnum>"
>       * SCSI = "<backend>:<devfile>"
>       * IEEE1394 = "<backend>:?"

Sorry to tell you, but a quick reality check reveals that this won't
work.

There are proprietary backends in the wild using funny device names
all over the place. The Samsung unified backend is one of those (and
it's used by quite a few people, as Samsung machines are rebranded by
a few manufacturers, among which Dell).

hpaio (hplip) also uses funny device names in some cases at least.

Whatever solution you come up with, it must be generic enough to apply
to all backends.

Why? Simply because it's what common sense dictates, and because when
it comes to proprietary backends, you'll find a lot of desktop users
have no other choice than running the Samsung driver or the Brother
driver, to only name the top-2 drivers in this case.

JB.

-- 
Julien BLACHE                                   <http://www.jblache.org> 
<jb at jblache.org>                                  GPG KeyID 0xF5D65169



More information about the sane-devel mailing list