[sane-devel] [lsb-discuss] LSB DDK: Support for scanner drivers/SANE into LSB3.2?

Wichmann, Mats D mats.d.wichmann at intel.com
Thu Jun 21 22:33:18 UTC 2007

> I succeeded now to build SANE (sane-backends) with dynamically linked
> drivers in the LSB 3.1 Build Environment chroot. This SANE
> version does not work with parallel port scanners (some standard
> hardware IO functions needed by libieee1284 not in LSB) and it is 
> not able to ask the user for a password ("getpass()" not in the LSB),
> but it provides the full SANE API for building scanner drivers.

Just comments on this piece, not on the bigger question of whether
SANE support should be added to LSB and when (when mostly depends
on who has time to do the work).

Hardware specifics were always considered outside the scope of
LSB as it was purely focused on defining a target for user-level
applications.  With the new focus on "hardware" in the form of
printers and perhaps now scanners we may need to think a bit
about that.

getpass has been explained as one of those "don't use this" 
interfaces as the password is stored in clear text in the 
process's address space.  The glibc documentation contains 
one alternative implementation.  It should be possible to
have password prompting without using getpass specifically.

More information about the sane-devel mailing list