pcmcia modem: ttySx (x changes!)

"Robert J. Brown" (rj@eli.elilabs.com)
Tue, 29 Jun 1999 16:24:06 -0500


>>>>> "Gert" == Gert Doering <gert@greenie.muc.de> writes:

    Gert> Hi, On Sun, Jun 20, 1999 at 05:16:00PM -0500, Carl Karsten
    Gert> wrote:
    >> I have a Megahertz 14400 pcmcia fax modem #xj2144.  when I
    >> "reboot" the machine, it does not always come up as the same
    >> "com port", which makes mgetty sad.

    Gert> This is astonishingly, actually.  My pcmcia modems always
    Gert> end up as ttyS1 (ttyS0 is on-board), regardless of how often
    Gert> I reboot or whether I put them in slot 0 or slot 1.  Only if
    Gert> I use two pcmcia modems at the same time, they go to ttyS1
    Gert> and ttyS2 (understandably).

    Gert> So I'd ask the pcmcia folks what is going on, as this really
    Gert> shouldn't happen...

    >> I could tell mgetty to look at all ports, and try and ignore
    >> all the messy messages, but this machine is being used as an
    >> example of mgetty (sort of like a resume), so messy is no good.

    Gert> There really isn't anything pretty you can do about it - you
    Gert> have to query the port to find out whether it's there, and
    Gert> that will give error messages if not.

    Gert> So the right way is "find out why the ttySx port moves".

My laptop has been out of commission for a year now (daughter spilled
a milkshake on it), but I remember that under Linux, it had some sort
of a "run" file which told what devices were plugged in and how they
were configured.  Perhaps you could look at that run file?

-- 
--------  "And there came a writing to him from Elijah"  [2Ch 21:12]  --------
R. J. Brown III  rj@elilabs.com http://www.elilabs.com/~rj  voice 847 543-4060
Elijah Laboratories Inc. 457 Signal Lane, Grayslake IL 60030  fax 847 543-4061
-----  M o d e l i n g   t h e   M e t h o d s   o f   t h e   M i n d  ------