Subject: Re: Missing /dev/lp*
To: Mailing List - NetBSD sparc <port-sparc@netbsd.org>
From: Alex Buell <alex.buell@munted.org.uk>
List: port-sparc
Date: 02/26/2002 19:49:25
On Sun, 24 Feb 2002, der Mouse wrote:

> 	cdev_gen_init(NMBPP,mbpp),	/* 101 */
> and
> 	cdev_gen_init(NBPP,bpp),	/* 107: on-board parallel port */
>
> 101 is for parallel ports on Magma cards; you want 107 (at least if
> your conf.c is the same as mine).  Searching for 107 in /dev/MAKEDEV
> will tell you whether such devices are created automatically; in my
> case, grep turns up no hits, so it's up to me to create the devices:
>
> # mknod /dev/lpt0 c 107 0
> # chown (something appropriate) /dev/lpt0
> # chmod (something appropriate) /dev/lpt0
>
> If you get hits in MAKEDEV, they may still be in a section that isn't
> run my "MAKEDEV all", but at least you don't have to do the mknod
> manually.

Ah brilliant, thanks! Right, time to buy some printer paper tomorrow.

-- 
Take a nap, it saves lives.

http://www.munted.org.uk (updated 25 Feb 2002)