usb serial converter Hi
i have to connect a portable scope on my labtop via a serial port. As it has no serial port but many USBs, i get a usb-serial cable adaptator.
the adaptator seems to be detected as /dev/ttyUSB0
Probleme : i can't write or read from it in a my C programme. And when i'm trying something like ' echo "command name" >> /dev/ttyUSB0 ', the terminal is stuck...
drivers were supplied with the adaptator , 2 files :
ftdi_sio.c & ftdi.sio.h
but i can't compile it, a library called usb-serial.h seems to be missing! And i don't know where i can get it
I'm afraid that linux is using a bad driver, allready present, called PL2303...that isn't the chip implemented on my adaptator which is a FTDI chip.
Please help! |