On Tue, Apr 22, 2008 at 11:22:43PM -0600, Steve Brown wrote: > Hi folks, > > I am trying to get the parallel port to work on an Aranym system > running a 2.4.27 kernel. I would like to get some sort of link > between the VM and host. Just for a test, I have set Aranym to write > to a tty: > [PARALLEL] > Type = file > File = /dev/pts/6 > [LILO] > Kernel = /scratch/aranym/aranym-linux-kernel-2.4.27-12/vmlinux > Args = root=/dev/hda1 video=atafb:stahigh stram_swap=0 debug=par > > ...and Aranym will happily spew dmesg out onto my xterm. > However, I can't use the parallel device from userland: > > # echo hello > /dev/par0 > -bash: /dev/par0: no such device > > I seem to remember that the Mac SCC serial driver was broken. Is this > driver broken too? Is there any kernel with a good one? No, the stock kernel doesn't have full console support. Roman wrote a patch for NFCON and NFBLOCK on linux-m68k, but I haven't gotten it to compile yet. (Haven't had enough time to sort it out.) NFCON provides a full console. NFBLOCK provides an alternate disk driver that bypasses all the emulation and write directly to the host filesystem (I believe). I have a copy at <http://people.debian.org/~smarenka/aranym-patches/nfconblock.patch>. I wrote an inferior patch that installs a character driver at /dev/nfstderr. It's at <http://people.debian.org/~smarenka/aranym-patches/nfstderr.patch>. -- Stephen R. Marenka If life's not fun, you're not doing it right! <stephen@marenka.net>
Attachment:
signature.asc
Description: Digital signature