Re: Modem Port
Re: Modem Port
- Subject: Re: Modem Port
- From: email@hidden
- Date: Thu, 14 Mar 2002 16:28:01 +0000
Hi,
I thought leapIn and leapOut wouldn't even be the names
in Mac OS X? I think counting on leapIn/leapOut is not
very robust.
In my software, SoftTTY (TTY for the Mac), I want to
ignore any Infrared ports when auto-configuring. What I
do is filter serial ports with "irda" or "infrared" in
the name (not the "." driver name or bsd path). This is
good at eliminating most infrared ports and doesn't
exclude any non-infrared ports.
Adam
>
.LeapIn and .LeapOut would get you the internal modem on all
>
machines which Apple says is capable of running MacOS X (this entry
>
is only present if the modem is available) , it won't work for
>
earlier machines such as the first powerbook g3, or the beige g3
>
tower with 2 serial ports.
>
>
In any event you should always open .aIn and .aOut (just drop in
>
to Macsbug and type drvr to get the correct case...) since
>
.LeapIn/.LeapOut is patched into the driver open call and will work
>
properly on a machine where .aIn really points to the modem.
>
>
Roger
>
>
>
At 3:16 PM +0000 3/14/02, Quinn wrote:
>
>At 18:28 -0800 13/3/02, Morgan Redman wrote:
>
>>I remember a while back, I got help with how to identify which serial port
>
>>was actually an IrDA port. ( by identifying the serial port with
>
>>input/output drivers named ".IrIn" / ".IrOut"
>
>>
>
>>Now I need to know how to identify which serial port is the Internal Modem.
>
>>
>
>>the input / output driver name for the Internal Modem on my machine is
>
>>".LeapIn" / ".LeapOut"
>
>>is this constant on all macs?
>
>
>
>Testing for these driver names is about as reliable as testing for
>
>".IrIn"/".IrOut". We've never documented that this technique will
>
>work, but it's the best solution I know of.
>
>
>
>S+E
>
>--
>
>Quinn "The Eskimo!" <http://www.apple.com/developer/>
>
>Apple Developer Technical Support * Networking, Communications, Hardware
>
>_______________________________________________
>
>macnetworkprog mailing list | email@hidden
>
>Help/Unsubscribe/Archives:
>
>http://www.lists.apple.com/mailman/listinfo/macnetworkprog
>
>Do not post admin requests to the list. They will be ignored.
>
>
>
--
>
_______________________________________________
>
macnetworkprog mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.