Re: Parallel port on 712/60
Miod Vallat <[email protected]> Wed, 15 Jun 2005 06:48:45 +0000
| Newsgroups | gmane.os.openbsd.hppa |
|---|---|
| Message-ID | <[email protected]> |
> Is the parallel port simply not supported on hppa, as on sparc, or is > there something wrong with my configuration? This should work. > ls -l /dev/lp*: > > crw------- 1 root wheel 30, 128 Jun 14 23:03 /dev/lpa0 > crw------- 1 root wheel 30, 129 Jun 12 12:41 /dev/lpa1 > crw------- 1 root wheel 30, 130 Jun 12 12:41 /dev/lpa2 > crw------- 1 root wheel 30, 0 Jun 14 23:03 /dev/lpt0 > crw------- 1 root wheel 30, 1 Jun 12 14:43 /dev/lpt1 > crw------- 1 root wheel 30, 2 Jun 12 14:44 /dev/lpt2 Aha, here we are. There is a bug in MAKEDEV on hppa - printer devices should be major 26, not 30. Can you fix this with cd /dev rm -f lp[at][012] mknod -m 600 lpt0 c 26 0 mknod -m 600 lpt1 c 26 1 mknod -m 600 lpt2 c 26 2 mknod -m 600 lpa0 c 26 128 mknod -m 600 lpa1 c 26 129 mknod -m 600 lpa2 c 26 130 chown root:wheel lp[at][012] and try again? Miod