[sane-devel] Sane Question--umax_pp

Tim Waugh twaugh at redhat.com
Thu Jan 3 12:02:59 GMT 2002


On Fri, Dec 28, 2001 at 12:38:39AM +0000, Timothy Johnson wrote:

> creating a ppdev character device.  I read somewhere that the ppdev 
> module uses the parport, but I also seem to remember the documentation 
> saying that a ppdev character device may need to be created in order to 
> use the scanner as a regular user.  How does this fit together?

There was a bug in an earlier 2.4.x kernel that you might be running
into: is the parport_pc module also loaded?  If not you'll need to
load it.

ppdev is the device driver (kernel module) behind /dev/parport0; if
you don't have that you'll need to create it first with 'mknod
/dev/parport0 c 99 0'.  The ppdev device driver, in turn, uses the
parport subsystem, which is contained in the 'parport' kernel module.
That driver just provides port sharing and some common port
operations, leaving the actual mechanics of driving the port up to the
'parport_pc' kernel module (for PC-style ports).

For ppdev to provide port access to a non-root user, all three of the
above modules need to be loaded, and /dev/parport0 needs to exist and
be accessible (rw).

Tim.
*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20020103/32a3c21c/attachment.sig>


More information about the sane-devel mailing list