LinuxQuestions.org
Review your favorite Linux distribution.
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 10-21-2005, 01:38 AM   #1
Lsteele
LQ Newbie
 
Registered: Oct 2005
Location: Oklahoma City
Distribution: SuSE 9.1
Posts: 17

Rep: Reputation: 0
How do I setup a Wyse 55 terminal using a USB to Serial Converter with SuSE 9.1?


I've been using the DB9 serial ports to run Wyse 55's as cash registers, and now I need to start using the USB ports. I got a USB to Serial converter with a DB9 end to plug in the connector and cable to the Wyse 55.

Since I found ttyUSB0 in /dev , I tried to dump to the Wyse 55 and only got "0mtotal 178" on the Wyse when I did:
ls -l >/dev/ttyUSB0 or
ls -l >/dev/usb/ttyUSB0

Then I tried to setup the entry in /etc/inittab as follows:
S0:2345:respawn:/sbin/agetty ttyUSB0 -L 9600 wy30

I have no idea what to do next.
 
Old 10-22-2005, 10:49 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,963

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
An unanswered thread is automatically bumped. Please do not repost the same question.

http://www.linuxquestions.org/rules.php

In theory, since I've never tried using a USB serial adapter in linux is that it works the same as a regular hardware serial port. Have you tried using minicom to see if you can communicate with the terminal?
 
Old 10-22-2005, 11:49 AM   #3
Lsteele
LQ Newbie
 
Registered: Oct 2005
Location: Oklahoma City
Distribution: SuSE 9.1
Posts: 17

Original Poster
Rep: Reputation: 0
I've never used a forum before, but I thought the rules said tath if i did not get an answer in 24 hours to post again?

I've never used minicom, and it does not appear to be included with SuSE 9.1?
 
Old 10-22-2005, 12:05 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,963

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
Bumping is not the same thing as reposting. Bumping is just adding another reply to move the thread up to the top of the list. The forum automatically bumps a thread twice if it goes unanswered.

minicom is a console terminal application for serial communications. It is included in most distributions but may not be installed by default.


http://rpmfind.net/linux/rpm2html/se...?query=minicom

Last edited by michaelk; 10-22-2005 at 12:09 PM.
 
Old 10-22-2005, 02:41 PM   #5
Lsteele
LQ Newbie
 
Registered: Oct 2005
Location: Oklahoma City
Distribution: SuSE 9.1
Posts: 17

Original Poster
Rep: Reputation: 0
I downloaded minicom and used Yast to install it. I configured it to point to the /dev/usb/ttyUSB0, but i do not know how to test communications? Sorry for my ignorance.
 
Old 10-22-2005, 05:01 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,963

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
It would be the same thing as sending commands to a modem except you would see the results on the terminal and vice versa.

http://www.tldp.org/HOWTO/Remote-Ser...m-minicom.html
http://www.die.net/doc/linux/man/man1/minicom.1.html
 
Old 10-23-2005, 02:08 AM   #7
Lsteele
LQ Newbie
 
Registered: Oct 2005
Location: Oklahoma City
Distribution: SuSE 9.1
Posts: 17

Original Poster
Rep: Reputation: 0
I was able to send a directory to the Wyse terminal. It did not display, but it did print on the attached receipt printer; that's good. I set the speed in minicom to 9600. How do i set the speed of the USB port to 9600, and/or establish handshaking?
 
Old 10-23-2005, 10:54 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,963

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
Use setserial command
 
Old 10-23-2005, 05:18 PM   #9
Lsteele
LQ Newbie
 
Registered: Oct 2005
Location: Oklahoma City
Distribution: SuSE 9.1
Posts: 17

Original Poster
Rep: Reputation: 0
I am trying to use setserial. I am using the instructions I have for a SIIG card. Does a USB port have a uart port? Also I cannot find the pci file that used to be in the proc directory so I can get the port and irq for the USB to serial converter; which is found by the system and listed in dmesg.
 
Old 10-23-2005, 07:57 PM   #10
Lsteele
LQ Newbie
 
Registered: Oct 2005
Location: Oklahoma City
Distribution: SuSE 9.1
Posts: 17

Original Poster
Rep: Reputation: 0
Is there a way to make sure xon/xoff handshaking is active?
 
Old 10-23-2005, 08:59 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,963

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
Not sure about handshaking.
 
Old 10-23-2005, 10:36 PM   #12
Lsteele
LQ Newbie
 
Registered: Oct 2005
Location: Oklahoma City
Distribution: SuSE 9.1
Posts: 17

Original Poster
Rep: Reputation: 0
Any ideas where the pci file is in SuSE 9.1?
 
  


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 with cutecom serial/USB converter required alex.pujols Linux - Newbie 0 09-14-2005 12:32 AM
pilot-link not working with USB Serial-USB Converter with m105 calmofthestorm Linux - Laptop and Netbook 0 09-03-2005 03:03 PM
USB to Serial Converter on Serial Modem bongski55 Linux - General 3 08-29-2005 11:04 AM
USB to Serial converter - modem connection moragh Linux - Hardware 0 10-15-2004 11:57 PM
USB serial converter problem linuxBill Linux - Software 3 04-23-2003 09:14 AM


All times are GMT -5. The time now is 08:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration