pl2303 driver
Hi
I have RHEL4 with kernel-2.6. I have a USB to serial convertor FT232R.this cable is sending data to a device used for temperature sensing.it is working well in windows.i have to make its interface and working in linux with kernel-2.6.RHEL4 already have pl2303.c and pl2303.h files in /usr/src..../drivers/usb/serial/pl2303.c, I want to know some questions: as pl2303 driver is already exist and when the cable is attached with USB port it is shown in lsmod....do we need to recompile kernel???? or built that module again waiting 4 reply... thanks in advance |
If the module loads OK (which it has if it's in lsmod), then you should be OK. The device is usually /dev/ttyUSB? .
Dave |
Hi
the lsmod shows the pl2303 module but did not show /dev/ttyUSB....what should i do now..... |
Hi.
Do any new devices get created when you plug in the serial converter, e.g.: (serial converter unplugged) $ ls /dev > /tmp/unplugged (plug in serial converter) $ ls /dev > /tmp/plugged $ diff /tmp/unplugged /tmp/plugged Dave |
The FT232R uses a different chip and therefore the pl2303 is the wrong module.
I believe the device uses the ftdi_sio module which should be in available in the latest kernel. Look at the output of the dmesg and lsusb commands to see if the device is being recognized. |
but i am not getting "/dev/ttyUSB"...only /dev/ttyS0,ttyS1...are seen.is it necessary when cable is plugged in USB at dmesg i should have /dev/ttyUSB?
waiting 4 ur reply |
If the ttyS0, S1 etc devices appear when you plug in your cale is plugged in, then they should be the devices to use.
Dave |
Is the ftdi_sio module loading? Look at the output of the command lsmod. look at the output of the dmesg command.
|
All times are GMT -5. The time now is 04:47 PM. |