[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: serial connexion between 2 machines failed



On Sun, 29 Jul 2012 10:44:24 +0100, abdelkader belahcene wrote:

(please, no html posts, thanks...)

> Thanks a lot for the hint,
> 
> the difference is there :
> 
> on the machine where the programs ran  i got the ouput:
>  # dmesg |grep ttyS
> [    0.331367] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A 
> [    0.640601] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A 
> [    0.720856] 00:0d: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> [    0.752633] 00:0e: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> [    0.784232] 0000:00:03.3: ttyS4 at I/O 0x1c90 (irq = 17) is a 16550A
> 
> While  on the machine where they didn't , nothing is displayed  , I mean
> # dmesg |grep ttyS

Better run "dmesg | grep -i -e tty -e serial" just in case.

> So  How to activate the ports !!!   thanks a lot regards

(just a quick note on this because I have not followed the whole thread)

RS-232 ports are usually detected automatically (provided the kernel has 
support for them) with no further steps required from the user. 

If they are not present, maybe is that your board does not have the 
serial ports enabled or that you are using a add-on card that requires 
additional software to detect them or that simply is not compatible with 
Linux (there are a bunch of PCI cards that only work under windows with 
the proper driver).

Greetings,

-- 
Camaleón


Reply to: