LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-12-2003, 02:01 AM   #1
chozzie
LQ Newbie
 
Registered: Dec 2002
Location: Australia
Distribution: Redhat 9/ Solaris
Posts: 24

Rep: Reputation: 15
minicom with a USB to RS-232 converter


Hi Guys,

I am having problems configuring minicom to work with a usb to RS-232 serial converter, the problem which I am having is outlined below, I was wondering whether anyone else has come across this problem also. I've tried searching google with no luck.


Outline:

My laptop is running Redhat 9, kernel: 2.4.20-8

I'm trying to gather output from Serial A port with various Sun Servers and capture the output with minicom. I haven't got a serial connection on my laptop so i've purchased a usb to RS-232 serial converter (ATEN).

I run '$insmod usbserial' and receive

-------------------
bash-2.05b# insmod usbserial
Using /lib/modules/2.4.20-8/kernel/drivers/usb/serial/usbserial.o
insmod: a module named usbserial already exists
--------------------

I also run '$insmod pl2303' and receive

--------------------
bash-2.05b# insmod pl2303
Using /lib/modules/2.4.20-8/kernel/drivers/usb/serial/pl2303.o
insmod: a module named pl2303 already exists
----------------------

So i assume that the correct modules have been installed (?)

When i unplug and plug in the converter into the serial port I receive the following logs in /var/log/messages

------------------------
Nov 12 17:51:34 speculator kernel: hub.c: new USB device 00:03.0-1, assigned address 8
Nov 12 17:51:34 speculator kernel: usbserial.c: PL-2303 converter detected
Nov 12 17:51:34 speculator kernel: usbserial.c: PL-2303 converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
Nov 12 17:51:37 speculator /etc/hotplug/usb.agent: Setup pl2303 for USB product
557/2008/1
Nov 12 17:51:38 speculator devlabel: devlabel service started/restarted
-------------------------

When i fire up minicom (9600 8N1) connecting to /dev/usb/ttyUSB0 I am unable to gather any output from Serial A on the server. The coverter itself lights up indicating that there is data transmitting over the connection however I believe that minicom may be inconfigured properly.

I've used the same hardware setup with hyperterminal on the windoze partition with hyperterminal and it seems to capture the output fine, however, keeping the same physical connection with Linux doesn't seem to work. I can only deduce that the problem lies at the application layer.

Is minicom configured to work with /dev/usb/ttyUSBx ?
Any clues on which other parameters need configuring to make minicom compatible?
I've read that some other adapters work fine (e.g. Keyspan/Belkin) however i've already invested $ on this converter (unfortunately)

Any advice would be greatly appreciated.

Hoa.
 
  


Reply



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
pilot-link not working with USB Serial-USB Converter with m105 calmofthestorm Linux - Laptop and Netbook 0 09-03-2005 02:03 PM
2 Player Psx to usb converter johnson_steve Linux - Hardware 3 08-27-2005 11:53 PM
Device driver for a USB to RS-232 Serial DB9 Adapter for red Hat 8 or 9 sp022 Linux - Hardware 1 04-18-2005 09:39 AM
minicom: cannot open /dev/usb/tts/0: No such file or directory tcma Linux - Software 1 10-03-2004 07:02 AM
ps2-> usb converter? doublefailure Linux - Hardware 4 07-08-2002 05:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:12 AM.

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
Open Source Consulting | Domain Registration