Subject: Re: default serial devices
To: None <mcmahill@mtl.mit.edu>
From: Alistair Crooks <agc@pkgsrc.org>
List: tech-pkg
Date: 02/05/2001 16:02:42
On Mon, Feb 05, 2001 at 10:45:18AM -0500, mcmahill@mtl.mit.edu wrote:
> 
> 
> we have a handful of pkgs (comms/plptools and graphics/gphoto come to
> mind) that use serial ports.  They both like to compile in a default
> serial port and can both then override that at run time.  I was wondering
> if we should collect a list somewhere and set
> 
> DEFAULT_SERIAL_PORT
> 
> somewhere in pkgsrc/mk/?.mk for each MACHINE_ARCH.  Of course the one
> problem I see is that the default serial device might not be the same for
> all m68k's or all mips boxes given the large number of unique ports for
> those processors.

Sounds like a good idea, in lieu of any MI /dev/serial symlink.

Specific device numbers may be a little trickier, though.

Alistair