Sponsored Content
Operating Systems Linux Red Hat Setting serial port configuration Post 302953930 by Corona688 on Wednesday 2nd of September 2015 04:44:10 PM
Old 09-02-2015
There's is no such thing as 9 bit RS-232. The road is 8 bits wide, period; you can send 7 bit or 8 bit trucks down it but not 9.

Sometimes you see 8-bit with parity misused to send an extra bit instead of parity. It's a serious pain to communicate with these devices anywhere, the 9th bit ends up coming in as parity error or on a sideband of some sort. You'd use stty to set serial port settings on a Linux system, but there's no setting to make the 8 bit road 9 bits wide, as your computer uses 8-bit bytes, not 9-bit ones.

Your application is going to have to either be modified or read through a filter.

Linux can do slightly better than having to calculate parity for each byte and check if it's error or not to deduce the 9th bit, but only slightly. See mark/space parity for a full explanation.

Last edited by Corona688; 09-02-2015 at 05:52 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

serial port configuration

I am having trouble with a device connected through a serial port on my sun workstation ( I am running solaris 7). The seriel device works on an identical workstation running the same o/s version but when I move it to the initial workstation it doesn't work. I am using an rs232 serial cable and... (1 Reply)
Discussion started by: Henrik
1 Replies

2. Linux

modem - usb to serial configuration

I have a serial modem connected to a usb port using an adapter cable. The system is a HP DL360. RedHat ES3.0 I am using the device /dev/ttyUSB0 When I issue the command "mgetty ttyUSB0" I get the following output in the log file. How do I get the system to see the modem. 12/02 14:17:55... (2 Replies)
Discussion started by: jshoovie
2 Replies

3. SCO

Serial port configuration

Hi I have just re-installed Compaq ML350 G2 Server with Unix SCO 5.0.5 and informix DBMS . on this server we have 2 serial ports , unfortunately its not working. Can anyone help me to check the serial ports working or not OR guide me to reconfigure it. I have attached a device with... (1 Reply)
Discussion started by: munirh
1 Replies

4. Programming

Serial port programming

I am developing an application in c with Linux OS, where a radio modem working at baud rate 9600 will be attached to PC on serial port. More than four such units will be communicating at one time, so there may be jamming or data corruption. Each module will be transmitting Data packets less than... (2 Replies)
Discussion started by: raj8109
2 Replies

5. Solaris

Serial port problem

I am working with solaris 9 sparc and I want to connect physical device in serial port but when I am connecting it,It is showing the error window saying-- So can any1 tell me the reason or is there any package I have to add to work with serial port??? (2 Replies)
Discussion started by: smartgupta
2 Replies

6. Solaris

Serial port issue

Hi, I am working with Sun Solaris 9 Sparc,Sun-Blade-100.In my application,I need to monitor the UPS using Serial port. When I am using JRE 1.4 in my application,I am able to monitor it but when I am upgrading the JRE version from 1.4 to JRE1.6. I am not able to monitor the UPS.It is showing the... (1 Reply)
Discussion started by: smartgupta
1 Replies

7. Shell Programming and Scripting

Need help with serial port

Hi, I have a external board connected to my serial port. I need to execute "shutdown -r now" command when system boot up. When system boots up it requires a username ans password. Then I need to run my command. I can use rc script but that is rebooting system before it asks for username and... (0 Replies)
Discussion started by: charlie.arya
0 Replies

8. Solaris

How to enable Serial port on ILOM, when Network Port is enabled in parallel

Hi Everyone, In my environment, I have few T5220. On the iLOM Management Card, I have both Network and Serial port are cabled, I don't have any issues while I try to connect using Network Management port, but when I try to connect the serial port for the same server which is actually connected... (3 Replies)
Discussion started by: bobby320
3 Replies

9. Solaris

Cabling and adapters to communicate to service processor serial port from Windows PC with USB port.

Hello, I have an unloaded T5140 machine and want to access the ILOM for the first time and subsequently the network port after that., and then load Solaris 10 the final January 2011 build. The first part is what confuses me -the cabling. I am coming from a Windows machine (w/appropriate... (5 Replies)
Discussion started by: joboy
5 Replies

10. Red Hat

Serial Port Setting Automatically changes

I am trying to change the setting of serial port baud rate in Red Hat Linux 5.9 by the following command. >> stty 9600 cs8 -parenb -ixon -cstopb -echo -F /dev/ttyS0 The serial port will be used by our custom application in 2 separate servers which are the replica of one another. The port setting... (2 Replies)
Discussion started by: Anjan Ganguly
2 Replies
vxr5check(1M)															     vxr5check(1M)

NAME
vxr5check - verify RAID-5 volume parity SYNOPSIS
/etc/vx/bin/vxr5check [-i | -v] [-g diskgroup] volume DESCRIPTION
The vxr5check utility compares the parity of each stripe of a RAID-5 volume specified by volume. vxr5check reads the data for each stripe, generates the parity for this stripe, and compares this parity with the existing parity. vxr5check can be run against the entire RAID-5 volume, or incrementally on RAID-5 stripe boundaries, by specifying the -i option. OPTIONS
-g diskgroup Specifies the Veritas Volume Manager (VxVM) disk group name for the RAID-5 volume name for verification. If this option is not specified, the default disk group is determined using the rules given in the vxdg(1M) manual page. -i Verifies the RAID-5 volume incrementally per stripes. If a parity mismatch is found, that stripe location is displayed. -v Verbose output for the incremental vxr5check verification. The verbose option outputs each stripe number that is being verified. OUTPUT FORMAT
In verbose mode and incremental mode, summary reports for each stripe of the RAID-5 volume are printed in output records. If an error is returned for a stripe, then an error message and stripe number are displayed. In non-verbose mode, if an error is returned, an error mes- sage is displayed. If a parity mismatch error is determined on a stripe, vxr5check exits on that stripe and does not continue for the remaining stripes in the RAID-5 volume. FILES
/usr/lib/vxvm/bin/vxr5vrfy The utility that vxr5check calls to perform RAID-5 parity verification operations for the specified RAID-5 volume. EXIT CODES
The vxr5check utility exits with a non-zero status if the attempted operation fails. A non-zero exit code is not a complete indicator of the problems encountered, but rather denotes the first condition that prevented further execution of the utility. See vxintro(1M) for a list of standard exit codes. NOTES
Do not run vxr5check on a volume that is in degraded mode. SEE ALSO
vxevac(1M), vxintro(1M), vxmend(1M), vxvol(1M) VxVM 5.0.31.1 24 Mar 2008 vxr5check(1M)
All times are GMT -4. The time now is 04:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy