Sponsored Content
Operating Systems Linux Connect from USB to serial port of switch Post 303016619 by hicksd8 on Monday 30th of April 2018 01:58:36 PM
Old 04-30-2018
Are you talking about a CISCO switch with a serial port presented on a RJ45 outlet?
 

9 More Discussions You Might Find Interesting

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

2. SCO

Usb To Serial (sco6)

According to sco6 usb supplement, once you install it, you can install a bafo industries (BF-810) in the computer. I have done all that and followed the intructions completely and it shows up using usbprobe and l /dev/usb_ser* Problem is that when I go to mkdev serial, it is not there. Anyone... (1 Reply)
Discussion started by: jn5519
1 Replies

3. UNIX for Dummies Questions & Answers

USB serial help needed

Hi iam new bie to unix. we are getting the sensor positional values on hyperterminal(UART).but our task is to use this data for mouse movement.so wat we hav to do ?? is this required to change usb driver cud u send info regarding my query?? Thanks in advance :) :) :) (1 Reply)
Discussion started by: jayakar
1 Replies

4. Solaris

USB to Serial Adapter connection

Hi Community, I'm working on Sun Server V490 with my PC (with OS Vista). I'm using a USB to Serial Adapter to connect to Server directly. I've this problem, I'm connecting to Server with Putty client with this settings: boud rate 9600, 8 bit, 0 parity, 0 flow control, but after to have typed... (4 Replies)
Discussion started by: Sunb3
4 Replies

5. AIX

How to connect PC's USB port to pSeries system?

Hello AIX Group Members, I have two systems: (1) IBM pSeries 640, 7026-B80. (2) A 5-month old HP laptop with Windows Vista. It has no serial port and only has USB ports on it. My question are: How can I use the laptop as the p640's terminal? How can I make the connection? What type of cable... (4 Replies)
Discussion started by: aixlover
4 Replies

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

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

8. Solaris

Solaris 11.2 does not assign serial port to 3g usb modem?

In ubuntu etopic i create this udev rules for prolink 3g usb modem: SUBSYSTEM=="block", SUBSYSTEM=="scsi", ATTRS{idVendor}=="1e0e", ATTRS{idProduct}=="f000", ACTION=="add", RUN+="/sbin/modprobe usbserial Vendor=0X1e0e Product=0Xf000" After plugging the usb modem, ubuntu assigns the ports... (4 Replies)
Discussion started by: shamsat
4 Replies

9. AIX

Connect GPS to serial port AIX 5.x

HI, Does anyone installed a GPS from his Serial port to an IBM Server serial port with AIX 5.X I would like the rs232 configuration you used on the GPS, and the ttys configuration from your server. Thanks in advance !!! (8 Replies)
Discussion started by: trevian3969
8 Replies
DIO_TCSETATTR(3)							 1							  DIO_TCSETATTR(3)

dio_tcsetattr - Sets terminal attributes and baud rate for a serial port

SYNOPSIS
bool dio_tcsetattr (resource $fd, array $options) DESCRIPTION
dio_tcsetattr(3) sets the terminal attributes and baud rate of the open $fd. PARAMETERS
o $fd - The file descriptor returned by dio_open(3). o $options - The currently available options are: o 'baud' - baud rate of the port - can be 38400,19200,9600,4800,2400,1800, 1200,600,300,200,150,134,110,75 or 50, default value is 9600. o 'bits' - data bits - can be 8,7,6 or 5. Default value is 8. o 'stop' - stop bits - can be 1 or 2. Default value is 1. o 'parity' - can be 0,1 or 2. Default value is 0. RETURN VALUES
No value is returned. EXAMPLES
Example #1 Setting the baud rate on a serial port <?php $fd = dio_open('/dev/ttyS0', O_RDWR | O_NOCTTY | O_NONBLOCK); dio_fcntl($fd, F_SETFL, O_SYNC); dio_tcsetattr($fd, array( 'baud' => 9600, 'bits' => 8, 'stop' => 1, 'parity' => 0 )); while (1) { $data = dio_read($fd, 256); if ($data) { echo $data; } } ?> NOTES
Note This function is not implemented on Windows platforms. PHP Documentation Group DIO_TCSETATTR(3)
All times are GMT -4. The time now is 08:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy