Hi,

We have the same problem with the kernel 2.6.12.

We have both 100 MCM 4+16 and 100 LX FOX boards both running 2.6.12.
We tried USB to RS232 converter from acmesystems.it.

Both boards (MCM and LX) hangs after smth
was written to /dev/ttyUSB0 like
  echo 12345 > /dev/ttyUSB0
Sometimes it manages to work for a while, but hangs after a time.

"Hangs" means console on /dev/ttyS0 does not respond.

It also hangs after stty changes serial port settings.

Questions:
Is the configuration correct? (it follows)
Is it correct to change ttyUSB0 settings in the same way as ttyS0, for
example? 

Details:
========

One time I managed to get the following from dmesg right before it hanged:
drivers/usb/host/hc_crisv10.c: Got epid_attn for epid 1 with no urb.
drivers/usb/host/hc_crisv10.c: R_USB_EPT_DATA = 0x0
drivers/usb/host/hc_crisv10.c: R_USB_STATUS = 0x17


I enabled the following USB features in kernel configuration:
CONFIG_ETRAX_USB_HOST=y
CONFIG_ETRAX_USB_HOST_PORT2=y
CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_STORAGE=y
CONFIG_USB_SERIAL=y
CONFIG_USB_SERIAL_FTDI_SIO=y
CONFIG_USB_SERIAL_PL2303=y

I connected the USB to RS232 converter and to my workstation.
When the FOX board starts it tells the following:
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
drivers/usb/serial/usb-serial.c: USB Serial support registered for
FTDI SIO
drivers/usb/serial/usb-serial.c: USB Serial support registered for
FTDI 8U232AM Compatible
drivers/usb/serial/usb-serial.c: USB Serial support registered for
FTDI FT232BM Compatible
drivers/usb/serial/usb-serial.c: USB Serial support registered for
FTDI FT2232C Compatible
drivers/usb/serial/usb-serial.c: USB Serial support registered for
USB-UIRT Infrared Tranceiver
drivers/usb/serial/usb-serial.c: USB Serial support registered for
Home-Electronics TIRA-1 IR Transceiver
usbcore: registered new driver ftdi_sio
drivers/usb/serial/ftdi_sio.c: v1.4.2:USB FTDI Serial Converters Driver
drivers/usb/serial/usb-serial.c: USB Serial support registered for PL-2303
pl2303 1-2:1.0: PL-2303 converter detected
usb 1-2: PL-2303 converter now attached to ttyUSB0
usbcore: registered new driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor
driver v0.12


Best regards,
Alexey Luchko.


Reply via email to