LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 06-25-2008, 11:40 PM   #1
Misbah Naveed
Member
 
Registered: Oct 2007
Posts: 41

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB to serial convertor + minicom Misbah Naveed Linux - Newbie 1 06-19-2008 02:18 AM
Using USB<->Serial and serial gender changer to transmit data between computers JoeyAdams Linux - Hardware 4 04-17-2008 06:15 AM
USB 2 IrDA convertor? bitnet Linux - Laptop and Netbook 0 11-26-2005 01:36 PM
USB to serial convertor + CDMA modem priya_siddharth Linux - Hardware 1 04-11-2004 08:34 AM
zoom external serial with usb to serial adapter foustware Linux - Hardware 1 12-07-2003 03:02 AM


All times are GMT -5. The time now is 01:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration