On Mon, May 28, 2001 at 11:00:04PM +0200, Jochen Eisinger wrote:
> Since lots of new parport backends are available now, I wonder
> whether we should add a general interface to the parport, that would
> allow to make use of more advanced interfaces like the kernel
> parport drivers while keeping the whole thing easy to port to other
> architecures (like older kernels, *BSD or OS/2)
This worthwhile thing would obviously be useful for more than just
SANE!
I think that a step in the right direction would be to have a shared
library providing the same functionality as /dev/parport, and have
the library use the native OS support if available, and fall back to
inb/outb or whatever, failing if not root.
(For the special case of collection IEEE 1284 Device IDs, there are
other fallbacks to try first involving /proc, and so this should be a
part of the interface.)
Tim.
*/
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
This archive was generated by hypermail 2b29 : Mon May 28 2001 - 15:19:31 PDT