USB to serial Convertor FT232R
Hi
I am working on RHEL4 with kernel version 2.6.9-42.EL.I have a device used for temperature sensing.
I have a cable (USB to serial convertor FT232R) ,having one end attache to usb port and other end is like serial connector(9-pin). we attached this serial connector to another serial connector(9-pin)which is connected to a device having microcontroller 8052, temperature sensor LM35 and manymore.It is given that PL2303 driver supports this cable.
For kernel-2.4 the driver (pl2303)supporting USB to serial adaptor is present at linux site not for kernel-2.6.But in kernel-2.6, pl2303 driver is builtin that support this cable.
When USB is plugged in dmesg shows nothing
then
I add the lines in /etc/modprobe.conf
alias usb:v6547p0232* usbserial
options usbserial vendor=0x6547 product=0x0232
then apply command
modprobe usbserial
modprobe pl2303
and i have to apply these command each time i boot my PC.
dmesg shows the result
drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
usbserial_generic 1-2:1.0: Generic converter detected
usb 1-2: Generic converter now attached to ttyUSB0
usbcore: registered new driver usbserial_generic
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 PL-2303
usbcore: registered new driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver v0.11
ls /dev doesnot show /dev/ttyUSB0 for first time but after inserting usb cable 2nd time it automatically shows ttyUSB0 in /dev.
At some forums it is given that ttyUSB0 cab be created using
mknod /dev/ttyUSB0 c 188 0
mknod /dev/ttyUSB1 c 188 1 and so on.
Is it necessary to do it????
I am using minicom-2.3 for serial communication.after serial port parameter setting baudrate 9600,parity No,stop bit 1, minicom goes hang....doesnot show nothing...
I use the same cable in windows and it works fine although has some problem in XP but does work fine in 2000.
You gave me suggestions am i doing right?
waiting for ur reply.
|