[hsflinux] Setting the serial port using setserial: what'shappening?

Tony Earnshaw tonni at billy.demon.nl
Tue Jan 20 01:56:32 EST 2004


ons, 2002-08-28 kl. 14:39 skrev Gianmario Tamagnone:

> ----- Original Message -----
> From: "Tony Earnshaw" <tonni at billy.demon.nl>
> To: "Tony Earnshaw" <tonni at billy.demon.nl>
> Cc: "Gianmario Tamagnone" <gmario.tamagnone at libero.it>;
> <hsflinux at lists.mbsi.ca>
> Sent: Tuesday, August 27, 2002 9:53 PM
> Subject: Re: [hsflinux] Setting the serial port using setserial:
> what'shappening?

> The problem is that ttySHSF0 is not a physical serial port, but is a virtual
> serial port: So i can't use # setserial on ttySHSF0.
> What's the right command for seeting it? Someone can help me? Thank you!

Marc pointed out that you cannot do it. Stupid of me, I'm a Unix
sysadmin. and should have realized.

/dev/ttySHSF0 is a virtual serial port. It doesn't reallly exist :-)

Hardware serial ports are real devices. I.e., if you really have a:

/dev/ttys0 (COM1), port 0x3f8, irq 4
/dev/ttys1 (COM2), port 0x2f8, irq 3
/dev/ttys2 (COM3), port 0x3e8, irq 4
/dev/ttys3 (COM4), port 0x2e8, irq 3

(SCO devices are ttya, ttyA, ttyb, ttyB etc.),

that is to say, a built in UART wired to an external 25 or 9-pin
connector, then you can wire a cable and an external modem onto it.

Alternatively, you could have an ISA or PCI modem card that acts the
same, with a real UART. You'd still wire a RJ cable onto it, from your
phone jack.

In either case you don't really need the HSF modem.

Sorry, everyone.

Best,


Tony

--



Tony Earnshaw

The usefulness of RTFM is vastly overrated.

e-post:		tonni at billy.demon.nl
www:		http://www.billy.demon.nl
gpg public key:	http://www.billy.demon.nl/tonni.armor

Telefoon:	(+31) (0)172 530428
Mobiel:		(+31) (0)6 51153356

GPG Fingerprint = 3924 6BF8 A755 DE1A 4AD6 FA2B F7D7 6051 3BE7 B981
3BE7B981


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dette er en digitalt signert meldingsdel
Url : http://www.linuxant.com/pipermail/hsflinux/attachments/20020828/021414f4/attachment.bin


More information about the hsflinux mailing list