Question about Computers & Internet

Open Question

Rts setting of serial port in Linux

This is an urgent request for help. I need to make a special use of rts pin of a serial port without affecting normal data transmission via TXD and RXD. The environment is Linux. Can you advise how to realise this in Linux?
Many thanks in anticipation,
John

Posted by on

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

2 Answers

How to connect two desktops


You will need either a 9 pin serial cable or 25 pin. You need to reverse rx and tx ground them both alike and reverse rts and cts ( request to send and clear to send ) It's pretty easy and a product called a null modem will do it if your not handy with a pin puller. Some of the more fancy null modems have leds showing the flow of data. It's usually under $10. Null modems go on a straight RS232 cable of course. Staples may have it or office max.

Feb 21, 2015 | Computers & Internet

1 Answer

MF Digital Scribe 9000 with Picojet disc printer. Hello, could anyone please help with the pin configuration connections of the 9 pin seriel cable to mini din control cable connection from the duplicator...


Have you tried emailing tech support?

http://www.mfdigital.com/techsupport.html

Failing that, and lack of pinout, serial communications can be done with only 4 connections, Transmit and Receive (TX, RX) ground (GND) if you do it with no handshaking. You'll need Data Terminal Ready (DTR) and Data Set Ready (DSR) and or CTS/RTS (Clear/Ready to end). You may have to trial and error it.

Pin 1 - Carrier Detect (CD) - only needed for a modem
Pin 2 - Receive Data (RX) - Cross over with TX
Pin 3 - Transmit Data (TX) - Cross over with RX
Pin 4 - Data Terminal Ready - Cross over with DSR
Pin 5 - Signal Ground (GND) - Goes to other side ground.
Pin 6 - Data Set Ready (DSR) - Cross over with DTR
Pin 7 - Request To Send (RTS) - Cross over with CTS
Pin 8 - Clear To Send (CTS) - Cross over with RTS
Pin 9 - Ring Indicator - Only needed for modem

May 20, 2014 | Computers & Internet

1 Answer

How to enable the serial port under linux(ubundu 10.04) tell me commands for what are all the to solving the problem: i need immd answer


Linux offers various tools. Linux uses ttySx for a serial port device name. For example, COM1 (DOS/Windows name) is ttyS0, COM2 is ttyS1 and so on.
Task: Display Detected System's Serial Support

Simple run dmesg command
$ dmesg ' grep tty
Output:
[ 37.531286] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 37.531841] 00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 37.532138] 0000:04:00.3: ttyS1 at I/O 0x1020 (irq = 18) is a 16550A setserial command

setserial is a program designed to set and/or report the configuration information associated with a serial port. This information includes what I/O port and IRQ a particular serial port is using, and whether or not the break key should be interpreted as the Secure Attention Key, and so on. Just type the following command:
$ setserial -g /dev/ttyS[0123]
Output:
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4 /dev/ttyS1, UART: 16550A, Port: 0x1020, IRQ: 18 /dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4 /dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3

setserial with -g option help to find out what physical serial ports your Linux box has.

Feb 28, 2011 | Computers & Internet

1 Answer

Does anyone have serial pinout for mannesman tally mt645 printer.


Pin Signal
1 Chassis Ground
2 (TxD) Transmit Data
3 (RxD) Receive Data
11 & 19 (RTS) Request to Send
5 (CTS) Clear to Send
6 (DSR) Data Set Ready
7 Signal Ground
20 (DTR) (Busy) Data Terminal Ready

Feb 19, 2010 | Tally MT645 Printer

1 Answer

My computer does not have a 9 point serial port so i had to use a usb adapter instead. I can't communicate to the plc though. any suggestions?


The 9 pin serial port, dosen;t always have all the "lines" that are in the 15 pin. (obviously) normally ya need Tx, RX RTS, CTS. You need to find out exactly what lines are needed. Make sure via metering that they are all there. Also it may need to cross-over ie: Tx goes to Rx and Rx goes to Tx. Try using a Null Modem. OR try a USB to 9 pin Din serial adapter.

Jan 25, 2010 | Computers & Internet

2 Answers

Lenovo ThinkPad X41 Tablet security chip. lost bios boot password


I have had to retrieve the BIOS password from one of these before. It is not an easy thing to get to. You have to first
  • Build a special 9-pin Serial cable using parts you can find at Radio Shack
  • Dismantle the laptop
  • find the correct BIOS chip,
  • Solder a couple wires to the correct pins of the BIOS chip (without getting solder on the other pins, or damaging something)
  • Hook it up to another computer via serial port
  • Do a dump of the information stored on the BIOS chip
  • Use a hex-reader to decipher the information and display the password within.
Here is a link to a site that shows you in detail how to accomplish this. It does work, and I've successfully used the linked method to unlock a X41 of my own.

http://sodoityourself.com/hacking-ibm-thinkpad-bios-password/

Mar 26, 2009 | Lenovo ThinkPad X41 Tablet PC

2 Answers

Want to connect to my computer


What connector/interface does your PC has
9-pin or 25-pin connector

If it has 9-pin connector: use the following:
DB-9 RS-232 Serial Connection
or
DB-25 RS-232 Serial Connection

If it has 25-pin connector: use the following:
DB-25 Serial Connection
or
DB-25 RS-232 Serial Connection

If you are configuring the computer to use an RS-422A serial port, you need a special cable. Contact the computer or printer network manufacturer to see if an RS-422A cable is available. If no cable is available, contact your computer manufacturer for your computer pin assignments and have a cable constructed.

The default configuration for the serial port on the printer is for RS-232C serial communication. To set the printer to use RS-422A serial communication, change the control panel Serial Menu’s SERIAL setting to SERIAL=RS-422.

Oct 29, 2008 | HP LaserJet 4 plus Printer

1 Answer

EPSON PHOTO PC 500 DIGITAL CAMERA


Serial meaning 2.5mm stereo headphone looking jack to DB9 or "atari joystick" looking plug? I had one on my first Toshiba PDR-M1 camera but that was like 9 years ago. You can probably find the pinouts online for that cable, I believe it is a standardized cable.

The stereo plug is wired to the PC serial port as shown in the following diagram:
tip ring sleeve +---------------------------------+
| |
/-------+-----+--------------+ |
| RxD | Gnd | TxD | 2.5 mm Stero Plug |
\-------+-----+--------------+ |
| |
DB9*: pin 2 pin 5 pin 3 +---------------------------------+

DB9*: Optionally short together pin 4 (DTR) to pin 6 (DSR) and
pin 7 (RTS) to pin 8 (CTS)
The following table also describes the camera cable's wiring: Camera PC's
Plug DB9* Signal Name Direction
---- ---- ----------- ---------
- 1 Carrier detect (CD) input to PC
tip 2 Receive data (RxD) input to PC
sleeve 3 Transmit data (TxD) output from PC
- 4 \ Data terminal ready (DTR) output from PC
ring 5 | Signal ground (Gnd) -
- 6 / Data set ready (DSR) input to PC
- 7 \ Request to send (RTS) output from PC
- 8 / Clear to send (CTS) input to PC
- 9 Ring indicator (RI) input to PC
* Note that the cable's D-subminature DB9 RS-232 serial port connector is female. This connector also goes by the historically more correct name of "DE-9J".

Feb 22, 2008 | Epson PhotoPC 500 Digital Camera

2 Answers

I can't configure my CPS1600


the CPS600 is controlled and configured with the java based vConsole software. vConsole is provided by Avocent. I personally haven't worked with Avocent hardware much myself, but from what I can tell CPS1600 is designed for a UNIX based network. It should work on a windows networks as well, but you may need to do the CCM firmware conversion or update the CPS firmware to enable the device to communicate with a windows machine. I would recommend to forget about using hyperterminal and try the vconsole software, and if your still having trouble, then go for the firmware update and the ccm conversion as a last resort. Here is the link to the Avocent site, you should be able to find all the necessary software & firmware there. If you do end up needing a Unix system to configure the device, you should be able to get away with using the knoppix livecd linux distribution. Its a bootable cd with a fairly user-friendly version of linux.

www.avocent-europe.com

- Shawn

Jan 28, 2008 | Avocent CPS 1600 Networking Switch

1 Answer

E200 Serial Port URGENT


You will not find any matching connector to connect the JK-744 host adapter for attaching to the 9 pin serial port on the pc. If you want full pinout details please contact me directly. Please do include some information on what you are trying to achieve. Maybe I can be of help in that department. I however have a feeling that trying any micro surgery on the JK-744 or trying any kind of non Casio adapter is likely to mess up the JK-744 device itself.

Sep 05, 2005 | Casio Cassiopeia E-200 Pocket PC

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

76 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

kakima

Level 3 Expert

98868 Answers

David Payne
David Payne

Level 3 Expert

14086 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...