Re: Serial ports & PCMCIA
- From: Roger Leigh <${rleigh}@invalid.whinlatter.ukfsn.org.invalid>
- Date: Wed, 01 Mar 2006 14:36:05 +0000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
"Vic" <vic@xxxxxxxxxxxx> writes:
I've got a box running something derived from Debian (pretty close, from
what I can make out). It has 5 serial ports on the back.
I've also got a CF card which claims to be a serial port (that's the
interface, anyway :-). Now when first I tried this a few weeks back,
inserting the card caused it to be seen as /dev/ttyS5, and everything
worked splendidly.
Now I've come to use it today, and it insists on setting the card up as
/dev/ttyS2. And it doesn't work (I'm assuming it's a simple collision
with the ttyS2 that already existed).
I've no idea what's changed, nor how to go about debugging stuff. Can
anyone help?
Check out setserial and /proc/tty/driver/serial. On Debian, also
check /var/lib/setserial/autoserial.conf
On most distributions, setserial can be used to save and restore the
serial port state. Only the first two can be autodetected using the
BIOS settings; all the others must have the I/O base and IRQ set with
setserial. They are likely to be wrong, otherwise.
Try "dpkg-reconfigure setserial" to check how the state is being
managed. "autosave once" is a good choice.
Regards,
Roger
- --
Roger Leigh
Printing on GNU/Linux? http://gutenprint.sourceforge.net/
Debian GNU/Linux http://www.debian.org/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>
iD8DBQFEBbFTVcFcaSW/uEgRAuc/AJ9JHuvaUaNkP3wFmGaFYi6uTlSCvACfazyM
T8V/jj2UrzSRE0IXbCb1T0Q=
=X+Jr
-----END PGP SIGNATURE-----
.
- References:
- Serial ports & PCMCIA
- From: Vic
- Serial ports & PCMCIA
- Prev by Date: Re: Partitioning Plan
- Next by Date: Re: Best Distro for a CF27
- Previous by thread: Serial ports & PCMCIA
- Next by thread: Best Distro for a CF27
- Index(es):
Relevant Pages
|