LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 05-22-2008, 11:49 PM   #1
Misbah Naveed
Member
 
Registered: Oct 2007
Posts: 41

Rep: Reputation: 15
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
 
Old 05-23-2008, 07:11 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
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
 
Old 05-26-2008, 10:48 PM   #3
Misbah Naveed
Member
 
Registered: Oct 2007
Posts: 41

Original Poster
Rep: Reputation: 15
Hi
the lsmod shows the pl2303 module but did not show /dev/ttyUSB....what should i do now.....
 
Old 05-27-2008, 02:14 AM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
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
 
Old 05-27-2008, 08:02 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,763

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

Last edited by michaelk; 05-27-2008 at 08:12 AM.
 
Old 05-28-2008, 01:21 AM   #6
Misbah Naveed
Member
 
Registered: Oct 2007
Posts: 41

Original Poster
Rep: Reputation: 15
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
 
Old 05-28-2008, 08:13 AM   #7
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
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
 
Old 05-28-2008, 08:27 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,763

Rep: Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719
Is the ftdi_sio module loading? Look at the output of the command lsmod. look at the output of the dmesg command.
 
  


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
help for installing driver pl2303, USB to serial converter Misbah Naveed Linux - Newbie 2 07-13-2008 01:36 PM
pl2303 driver needed kscott121 Linux - Hardware 2 06-20-2008 05:56 PM
help needed intalling pl2303 driver USB to serial converter for 2.6 Misbah Naveed Linux - Newbie 2 05-23-2008 02:51 PM
pl2303 attached to ttyUSB0 but driver attached to device is "serial" sheeluh Linux - Software 4 03-12-2007 04:27 AM
ttyUSB0 an pl2303 H2O-linux Slackware 3 12-08-2004 05:30 PM


All times are GMT -5. The time now is 09:47 PM.

Main Menu
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