* [gentoo-user] accessing serial console yields input/output error
@ 2007-02-27 11:05 Strake
2007-02-27 20:27 ` Dan Farrell
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Strake @ 2007-02-27 11:05 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 760 bytes --]
The subject says it all, really. The kernel recognizes the serial port and
assigns it /dev/ttys0, as dmesg confirms, but any attempt to access
/dev/ttys0, including those made by minicom, setserial and a little test
program that merely opens the file, fails with an "input/output error". This
annoys me to no end. Help is appreciated.
System specs:
kernel 2.6.18-gentoo-r6
x86_64 (AMD)
MSI K8N Diamond Plus
--
Registered Linux User #392061
counter.li.org
--------
If a human doesn't frequently exercise their lips, their brains start
working
- Jasper
--------
Linux wins heavily on points of being available now.
- Linus Torvalds
--------
No, you may not goto the washroom. Last time you went to the washroom, we
found you days later in an air vent.
- Bryn
[-- Attachment #2: Type: text/html, Size: 879 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] accessing serial console yields input/output error
2007-02-27 11:05 [gentoo-user] accessing serial console yields input/output error Strake
@ 2007-02-27 20:27 ` Dan Farrell
2007-02-27 20:36 ` [gentoo-user] " Grant Edwards
2007-02-27 21:34 ` Strake
2 siblings, 0 replies; 4+ messages in thread
From: Dan Farrell @ 2007-02-27 20:27 UTC (permalink / raw
To: gentoo-user
On Tue, 27 Feb 2007 06:05:59 -0500
Strake <strake888@gmail.com> wrote:
> The subject says it all, really. The kernel recognizes the serial
> port and assigns it /dev/ttys0, as dmesg confirms, but any attempt to
> access /dev/ttys0, including those made by minicom, setserial and a
> little test program that merely opens the file, fails with an
> "input/output error". This annoys me to no end. Help is appreciated.
>
> System specs:
> kernel 2.6.18-gentoo-r6
> x86_64 (AMD)
> MSI K8N Diamond Plus
>
usually the S in tty names is capitalized in my experience. I wonder
about IRQs, and about drivers being existant in the kernels. I wonder
about the attached device - if any. I also wonder about modules,
whether or not all necessary have been loaded.
I get the same message catting my serial ports, but to be fair they
aren't plugged in to anything.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: accessing serial console yields input/output error
2007-02-27 11:05 [gentoo-user] accessing serial console yields input/output error Strake
2007-02-27 20:27 ` Dan Farrell
@ 2007-02-27 20:36 ` Grant Edwards
2007-02-27 21:34 ` Strake
2 siblings, 0 replies; 4+ messages in thread
From: Grant Edwards @ 2007-02-27 20:36 UTC (permalink / raw
To: gentoo-user
On 2007-02-27, Strake <strake888@gmail.com> wrote:
> The subject says it all, really. The kernel recognizes the serial port and
> assigns it /dev/ttys0,
I doubt it.
Unless you've done some serious kernel hacking, /dev/ttys0 is
the slave end of a pty.
> as dmesg confirms,
I doubt it.
> but any attempt to access /dev/ttys0, including those made by
> minicom, setserial and a little test program that merely opens
> the file, fails with an "input/output error".
That's because the master end of the the pty isn't open.
> This annoys me to no end. Help is appreciated.
Try /dev/ttyS0
--
Grant Edwards grante Yow! I always wanted a
at NOSE JOB!!
visi.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: accessing serial console yields input/output error
2007-02-27 11:05 [gentoo-user] accessing serial console yields input/output error Strake
2007-02-27 20:27 ` Dan Farrell
2007-02-27 20:36 ` [gentoo-user] " Grant Edwards
@ 2007-02-27 21:34 ` Strake
2 siblings, 0 replies; 4+ messages in thread
From: Strake @ 2007-02-27 21:34 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1223 bytes --]
Actually, that was it. The real serial port is /dev/ttyS0. Thanks for
pointing that out.
On 2/27/07, Strake <strake888@gmail.com> wrote:
>
> The subject says it all, really. The kernel recognizes the serial port and
> assigns it /dev/ttys0, as dmesg confirms, but any attempt to access
> /dev/ttys0, including those made by minicom, setserial and a little test
> program that merely opens the file, fails with an "input/output error". This
> annoys me to no end. Help is appreciated.
>
> System specs:
> kernel 2.6.18-gentoo-r6
> x86_64 (AMD)
> MSI K8N Diamond Plus
>
> --
> Registered Linux User #392061
> counter.li.org
> --------
> If a human doesn't frequently exercise their lips, their brains start
> working
> - Jasper
> --------
> Linux wins heavily on points of being available now.
> - Linus Torvalds
> --------
> No, you may not goto the washroom. Last time you went to the washroom, we
> found you days later in an air vent.
> - Bryn
--
Registered Linux User #392061
counter.li.org
--------
If a human doesn't frequently exercise their lips, their brains start
working
- Jasper
--------
No, you may not goto the washroom. Last time you went to the washroom, we
found you days later in an air vent.
- Bryn
[-- Attachment #2: Type: text/html, Size: 1721 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-02-27 21:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-27 11:05 [gentoo-user] accessing serial console yields input/output error Strake
2007-02-27 20:27 ` Dan Farrell
2007-02-27 20:36 ` [gentoo-user] " Grant Edwards
2007-02-27 21:34 ` Strake
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox