반응형

 lionelj  lionelj-Desktop  ~  $  setserial 

setserial version 2.17, 27-Jan-2000


usage: setserial serial-device -abqvVWz [cmd1 [arg]] ... 

setserial -g [-abGv] device1 ...


Available commands: (* = Takes an argument)

(^ = can be preceded by a '^' to turn off the option)

* port set the I/O port

* irq set the interrupt

* uart set UART type (none, 8250, 16450, 16550, 16550A,

16650, 16650V2, 16750, 16850, 16950, 16954)

* baud_base set base baud rate (CLOCK_FREQ / 16)

* divisor set the custom divisor (see spd_custom)

* close_delay set the amount of time (in 1/100 of a

second) that DTR should be kept low

while being closed

* closing_wait set the amount of time (in 1/100 of a

second) that the serial port should wait for

data to be drained while being closed.

^ fourport configure the port as an AST Fourport

 autoconfig automatically configure the serial port

^ auto_irq try to determine irq during autoconfiguration

^ skip_test skip UART test during autoconfiguration


^ sak set the break key as the Secure Attention Key

^ session_lockout Lock out callout port across different sessions

^ pgrp_lockout Lock out callout port across different process groups

^ callout_nohup Don't hangup the tty when carrier detect drops

on the callout device

^ split_termios Use separate termios for callout and dailin lines

^ hup_notify Notify a process blocked on opening a dial in line

when a process has finished using a callout

line by returning EAGAIN to the open.

^ low_latency Minimize receive latency at the cost of greater

CPU utilization.

 get_multiport Display the multiport configuration

 set_multiport Set the multiport configuration



 spd_hi use 56kb instead of 38.4kb

 spd_vhi use 115kb instead of 38.4kb

 spd_shi use 230kb instead of 38.4kb

 spd_warp use 460kb instead of 38.4kb

 spd_cust use the custom divisor to set the speed at 38.4kb

(baud rate = baud_base / custom_divisor)

 spd_normal use 38.4kb when a baud rate of 38.4kb is selected


Use a leading '0x' for hex numbers.

CAUTION: Using an invalid port can lock up your machine!



반응형
Posted by Real_G