Next-in-Thread Next Message

None There are several options 

Forum: PCMCIA Serial and Modem Issues
Re: Question Configuring Quatech serial ports for specific devices (Jaime V Miro)
Date: 2000, Jun 20
From: David Hinds <dhinds@pcmcia.sourceforge.org>

> 
> Q: is there a way to force cardmsg to assign the ports to specific
> devices? (I would only need one from the dual serial PCMCIA card, the
> other is not in use)

The choice of device names is made by the kernel's serial driver and
can be somewhat arbitrary.  You should not rely on consistent naming
of the devices.

You have several options.  One is to parse /var/lib/pcmcia/stab on
your own, and extract the device names.  The other would be to set up
/etc/pcmcia/serial.opts to create links to the devices that would
always be the same, and then use those links instead of the actual
device files.  This would do it:

  case "$ADDRESS" in
  *,*,0)
      LINK="/dev/port0"
      ;;
  *,*,1)
      LINK="/dev/port1"
      ;;
  esac

-- Dave

Next-in-Thread Next Message

Add Message to: "There are several options"

Members Subscribe Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10