LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 07-05-2005, 03:41 AM   #1
ecsed
Registered User
 
Registered: Jun 2005
Location: Graz/Austria
Distribution: RedHat Linux
Posts: 11

Rep: Reputation: 0
Unhappy Linux designed for a TERMINAL exclusively???


Hy Linux-friends,

is Linux exclusively designed for terminal-implementations?

Is an RTS-signal always a (terminal-) output and never a (modem-) input?

That can't be! Tell me another!

Best regards
Egon
 
Old 07-05-2005, 04:02 PM   #2
jhumeston
Member
 
Registered: Mar 2004
Posts: 50

Rep: Reputation: 15
A TTY can be either console or through any type of serial connection including ssh redirection.
Try hooking a serial connection to the linux machine and open a vt100 session to it. It should work just as you were at a console.
 
Old 07-06-2005, 09:03 AM   #3
ecsed
Registered User
 
Registered: Jun 2005
Location: Graz/Austria
Distribution: RedHat Linux
Posts: 11

Original Poster
Rep: Reputation: 0
Unhappy

Hy jhumeston,

thanks for your reply and your hint.

I'm not using a Linux-box, I'm programming hardware with Linux as OS.

My intension is to OUTPUT a DCD signal as a modem. But Linux only knows
the DCD signal as an INPUT signal. How can the direction be inverted without
miss-using other RS232 signals?

Best regards
Egon
 
Old 07-06-2005, 09:44 AM   #4
Kdr Kane
Member
 
Registered: Jan 2005
Distribution: SUSE, LFS
Posts: 357

Rep: Reputation: 30
Some serial interfaces may allow bi-directional signals on lines other than transmit, receive and ground.

However, you can should never rely on this being the situation. Serial ports are made to function according to the manufacturer and may only work in one direction. And this would fulfill the requirements of most serial devices. I've never seen any software that required DCD to be bi-directional.

Here are the standard signals. But, hopefully you have something like this already.

I don't see this as a problem with Linux at all. It sounds more like you're trying to do something you shouldn't.
 
Old 07-06-2005, 09:58 AM   #5
ecsed
Registered User
 
Registered: Jun 2005
Location: Graz/Austria
Distribution: RedHat Linux
Posts: 11

Original Poster
Rep: Reputation: 0
Hy Kdr Kane,

thanks for your info and your link.

The whole world outputs the DCD signal at the DCE modem device and inputs the DCD signal at the DTE terminal device as defined within the RS232 standard.

But I'v not to program a terminal, I've to program a MODEM!!! So I need an OUTPUT for the DCD´signal.

Has never been programmed a modem with Linux as OS???

Best regards
Egon
 
Old 07-06-2005, 10:04 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,853

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
AFAIK RS232 signals are not bidirectional. I would assume the serial code would be written as such. Does this hardware have a standard RS232 port?
 
Old 07-06-2005, 10:15 AM   #7
ecsed
Registered User
 
Registered: Jun 2005
Location: Graz/Austria
Distribution: RedHat Linux
Posts: 11

Original Poster
Rep: Reputation: 0
Hy michaelk,

yes, it will be a standardized serial interface.

According to the standard RS232 the DCD signal is an OUTPUT for the modem as the DCD signal is generated in the modem by receiving a data carrier via the communication path. This signal is handed over consecutively to the terminal (as an INPUT to the terminal).

Regards
Egon
 
  


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
compiling FPGA chip design software designed for windows (visual c++) in linux gogettergary Programming 1 05-09-2005 08:45 AM
Linux purpose-designed keyboard hand of fate Linux - Hardware 14 03-26-2004 07:47 PM
cdrecord - Error trying to open /dev/scd0 exclusively... jeffreybluml Linux - Newbie 10 03-22-2004 06:43 PM
I want to run a program designed for windows on Linux Mandrake. serkanyavas Linux - Laptop and Netbook 2 10-06-2003 09:16 PM
Linux: not designed for casual users Berryd Linux - Newbie 6 02-16-2002 09:54 PM


All times are GMT -5. The time now is 08:35 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