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

Problem with Serial Port



Hello:

	I'm using DevBoard LX with a 2.4.19 kernel and I'm trying to use
/dev/ttyS0 but I'm not able to use it.

When I do:

$echo "testing" > /dev/ttyS0

I can't see any line moving with the oscilloscope in COM1. I've tried
also with "hwtestserial" and some C self-made programs with the same
negative result.

I'm in a real hurry and I would appreciate very much any help with this.
I think the problem is with my kernel config, but I'm not sure. Please
help me.




My .config is as follows:

[...]
#
# Hardware setup
#

[..]
# CONFIG_ETRAX_DEBUG_PORT0 is not set
# CONFIG_ETRAX_DEBUG_PORT1 is not set
# CONFIG_ETRAX_DEBUG_PORT2 is not set
# CONFIG_ETRAX_DEBUG_PORT3 is not set
CONFIG_ETRAX_DEBUG_PORT_NULL=y
# CONFIG_ETRAX_RESCUE_SER0 is not set
# CONFIG_ETRAX_RESCUE_SER1 is not set
# CONFIG_ETRAX_RESCUE_SER2 is not set
CONFIG_ETRAX_RESCUE_SER3=y
[...]

#
# Drivers for ETRAX 100LX built-in interfaces
#

[...]
CONFIG_ETRAX_SERIAL=y
# CONFIG_ETRAX_SERIAL_FAST_TIMER is not set
# CONFIG_ETRAX_SERIAL_FLUSH_DMA_FAST is not set
CONFIG_ETRAX_SERIAL_RX_TIMEOUT_TICKS=5
CONFIG_ETRAX_SERIAL_PORT0=y
CONFIG_ETRAX_SER0_DTR_RI_DSR_CD_ON_NONE=y
# CONFIG_ETRAX_SER0_DTR_RI_DSR_CD_ON_PA is not set
# CONFIG_ETRAX_SER0_DTR_RI_DSR_CD_ON_PB is not set
# CONFIG_ETRAX_SER0_DTR_RI_DSR_CD_MIXED is not set
CONFIG_ETRAX_SER0_DTR_ON_PA_BIT=-1
CONFIG_ETRAX_SER0_RI_ON_PA_BIT=-1
CONFIG_ETRAX_SER0_DSR_ON_PA_BIT=-1
CONFIG_ETRAX_SER0_CD_ON_PA_BIT=-1
CONFIG_ETRAX_SER1_DTR_ON_PB_BIT=-1
CONFIG_ETRAX_SER1_RI_ON_PB_BIT=-1
CONFIG_ETRAX_SER1_DSR_ON_PB_BIT=-1
CONFIG_ETRAX_SER1_CD_ON_PB_BIT=-1

[...]
#
# Character devices
#
# CONFIG_VT is not set
# CONFIG_SERIAL is not set
# CONFIG_SERIAL_EXTENDED is not set
# CONFIG_SERIAL_NONSTANDARD is not set


Thank you very much in advance.
	Santi

	
-- 
_______________________________
Santiago Cobreces Alvarez
Departamento de Electronica
Universidad de Alcala-L-O33
Carretera NII Km.33600
Alcala de Henares -28830
Madrid - Spain
eMail: cobreces@xxxxxxx.es
_______________________________