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

ttyS2 ???




Hello!!

I have a problem using ttyS2 with CTS/RTS on devboard_lx. The port works fine 
if I only use TXD and RXD. The program (that communicate with a GSM phone) 
works if used with ttyS0 but not ttyS2. I have console set to ttyS1 and agetty 
using that when starting. I am using this in the kernel-config:

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

...

CONFIG_ETRAX_SERIAL_PORT0=y
CONFIG_ETRAX_SER0_DTR_RI_DSR_CD_ON_PB=y
CONFIG_ETRAX_SER0_DTR_ON_PB_BIT=4
CONFIG_ETRAX_SER0_RI_ON_PB_BIT=5
CONFIG_ETRAX_SER0_DSR_ON_PB_BIT=6
CONFIG_ETRAX_SER0_CD_ON_PB_BIT=7
CONFIG_ETRAX_SERIAL_PORT1=y
# CONFIG_ETRAX_SER1_DTR_RI_DSR_CD_ON_PB is not set
CONFIG_ETRAX_SERIAL_PORT2=y
CONFIG_ETRAX_SER2_DTR_RI_DSR_CD_ON_PA=y
CONFIG_ETRAX_SER2_DTR_ON_PA_BIT=4
CONFIG_ETRAX_SER2_RI_ON_PA_BIT=5
CONFIG_ETRAX_SER2_DSR_ON_PA_BIT=6
CONFIG_ETRAX_SER2_CD_ON_PA_BIT=7
# CONFIG_ETRAX_SERIAL_PORT3 is not set
# CONFIG_ETRAX_RS485 is not set
# CONFIG_ETRAX_SYNCHRONOUS_SERIAL is not set
 
What can be wrong???

Regards
/
Johan Hallberg
MobileCity