Serial Port/Com Port

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Serial Port/Com Port
# 1  
Old 04-14-2009
Java Serial Port/Com Port

System: Red Hat Enterprise Linux WS release 4 (Nahant Update 6)

Any idea how to Determine if a Serial Port in Linux System is defective?
Issued "cat /proc/tty/driver/serial". see below.

Code:
[root@arsenic] ~# cat /proc/tty/driver/serial
serinfo:1.0 driver revision:
0: uart:16550A port:000003F8 irq:4 tx:11 rx:0 RTS|CTS|DTR|DSR|RI
1: uart:unknown port:000002F8 irq:3
2: uart:unknown port:000003E8 irq:4
3: uart:unknown port:000002E8 irq:3
4: uart:16550A port:0000EC98 irq:185 tx:11 rx:0 CTS|DSR|CD
5: uart:unknown port:00000000 irq:0
6: uart:unknown port:00000000 irq:0
7: uart:unknown port:00000000 irq:0
8: uart:unknown port:00000000 irq:0
9: uart:unknown port:00000000 irq:0
.....

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to find port number wwn of particular port on dual port HBA,?

please find the below o/p for your reference bash-3.00# fcinfo hba-port HBA Port WWN: 21000024ff295a34 OS Device Name: /dev/cfg/c2 Manufacturer: QLogic Corp. Model: 375-3356-02 Firmware Version: 05.03.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies

2. 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

3. Web Development

Setup Serial Port

I need to set a serial port to 9600 7E1. How do I accomplish this? I've tried every combination, with no luck. (6 Replies)
Discussion started by: Meow613
6 Replies

4. Web Development

Writing to a Serial Port

I am trying to write to a serial port and capture the reponse in a file - adduser ethan dialout The user `ethan' is already a member of `dialout' root@meow:/home/ethan# ls -l /dev/ttyS0 crw-rw-r-- 1 ethan dialout 4, 64 Oct 7 20:55 /dev/ttyS0 $fh1 = fopen("/dev/ttyS0", "w+");... (74 Replies)
Discussion started by: Meow613
74 Replies

5. 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

6. 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

7. Programming

Programming serial port

Hello! Can someone advice me which method I will use if I want to communicate with device via RS232 serial port with this requirements: 1. Serial port is opened in non-canonical mode. 2. All the time I need to check is there something to read. 3. If I have to write something I need to write it... (6 Replies)
Discussion started by: jvrlic
6 Replies

8. 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

9. Linux

Urgent - serial port

Hi All, I am a begineer in Linux, I have 4 ports and 3 are operational port 1,port 2 and port 4 (when I plug in serial device I can see it working) but port 3 seems it is not working. I am sure the hardware is fine. when I give command dmesg | grep tty I get, serial 8250:ttyS0 at... (0 Replies)
Discussion started by: vr_82
0 Replies

10. 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
Login or Register to Ask a Question
HCIATTACH(8)						    Linux System Administration 					      HCIATTACH(8)

NAME
hciattach - attach serial devices via UART HCI to BlueZ stack SYNOPSIS
hciattach [-n] [-p] [-t timeout] tty type|id speed flow bdaddr DESCRIPTION
Hciattach is used to attach a serial UART to the Bluetooth stack as HCI transport interface. OPTIONS
-n Don't detach from controlling terminal. -p Print the PID when detaching. -t timeout Specify an initialization timeout. (Default is 5 seconds.) tty This specifies the serial device to attach. A leading /dev can be omitted. Examples: /dev/ttyS1 ttyS2 type|id The type or id of the Bluetooth device that is to be attached, i.e. vendor or other device specific identifier. Currently supported types are type description any Unspecified HCI_UART interface, no vendor specific options ericsson Ericsson based modules digi Digianswer based cards xircom Xircom PCMCIA cards: Credit Card Adapter and Real Port Adapter csr CSR Casira serial adapter or BrainBoxes serial dongle (BL642) bboxes BrainBoxes PCMCIA card (BL620) swave Silicon Wave kits bcsp Serial adapters using CSR chips with BCSP serial protocol Supported IDs are (manufacturer id, product id) 0x0105, 0x080a Xircom PCMCIA cards: Credit Card Adapter and Real Port Adapter 0x0160, 0x0002 BrainBoxes PCMCIA card (BL620) speed The speed specifies the UART speed to use. Baudrates higher than 115.200bps require vendor specific initializations that are not implemented for all types of devices. In general the following speeds are supported: 9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600 Supported vendor devices are automatically initialised to their respective best settings. flow If the keyword flow is appended to the list of options then hardware flow control is forced on the serial link ( CRTSCTS ). All above mentioned device types have flow set by default. To force no flow control use noflow instead. bdaddr The bdaddr specifies the Bluetooth Address to use. Some devices (like the STLC2500) do not store the Bluetooth address in hardware memory. Instead it must be uploaded during the initialization process. If this argument is specified, then the address will be used to initialize the device. Otherwise, a default address will be used. AUTHORS
Written by Maxim Krasnyansky <maxk@qualcomm.com> Manual page by Nils Faerber <nils@kernelconcepts.de> BlueZ Jan 22 2002 HCIATTACH(8)