Subject: Re: Using inb() and outb() from machine/pio.h
To: None <>
From: Alistair G. Crooks <>
List: current-users
Date: 01/20/2000 00:22:28
> I knew I should have saved the message about using inb and outb in 
> machine/pio.h.
> I'm going to look back through the archives and see if I can find 
> Charles' announcement, but if someone could offer me some help, I'd
> sure appreciate it.
> Here's the problem:
> I'm trying to convert a Linux program for my Eiger Labs MPMan F10.
> It uses an outb to the parallel port, and everytime I try to run the
> program, it terminates and dumps core with a SIGBUS.
> I've checked everything I know how with gdb, but I can't see anything
> that looks like it should be a problem....

Take a look at the rio package (pkgsrc/audio/rio) to see how I
fiddled it to work on NetBSD.

Which also gives me a chance to suggest the most unusual use for
a Diamond Rio PMP 300 - as a means of downloading and uploading
software to a lapdog with a defective serial connection and no
ethernet. Burning CDs was getting to be a tad cumbersome...

Don't forget to send us a package for the MPMan software.