logo       

Re: Serial port doesn't work: msg#00007

t2.devel

Subject: Re: Serial port doesn't work

Hi,

On Wednesday 03 January 2007 20:41, I wrote:
> On Wednesday 03 January 2007 19:10, Hahn, Harald wrote:
> > I' ve build a small distribution with T2 (Minimalistic package selection
> > and Xorg). I installed it on a pc and it worked all well. But the serial
> > port doesn't work. I checked the devices (ttys*) with setserial. But I
> > got an Input/Output error for all ttys devices. After that I downloaded
> > and installed the t2-minimal-6.0.1-x86-pentium-mmx image and I got the
> > same error.
> >
> > Can anyone tell me whats going wrong?
>
> Not from my side right now as I did not remeber to ever had any trouble in
> this area.
>
> Do you have matching device identification in the dmesg? Do you get the
> same error for normal read/writes or just setserial?
>
> I'll also check with a fresh installation of this ISO on some ramdon office
> PC tomorrow morning to take a look.

Well, I have not found the time to reinstall from a release image, but tested
on an a testbox just installed 2 weeks ago:

Jürgen is right that the serial support is built as modul these days and is
not loaded automatically. After loading 8250 the port worked just fine:

# modprobe 8250
# dmesg
...
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

# setserial /dev/ttyS0
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4

# cat /dev/ttyS0
# echo "abc"> /dev/ttyS0

I guess that the serial support is not built-in anymore is a sideeffect of
switching from defconf based kernel configuration to the current method where
we do use only our T2 predefined config rules (we do not use the defconf
anymore, because the defconfig changed too randomly).

I think we should compile serial support fixed into the kernel (on x86,
et.al - on sparc we already do anyway [needed for keyboard and mice]).

Yours,

--
René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
http://exactcode.de | http://t2-project.org | http://rene.rebe.name
+49 (0)30 / 255 897 45

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
lists@xxxxxxxxxxxxxx with a subject of: unsubscribe t2
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise