home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / sysadm / addSerialDevice.z / addSerialDevice
Encoding:
Text File  |  2002-10-03  |  3.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4. AAAADDDDDDDDSSSSEEEERRRRIIIIAAAALLLLDDDDEEEEVVVVIIIICCCCEEEE((((1111MMMM))))                                        AAAADDDDDDDDSSSSEEEERRRRIIIIAAAALLLLDDDDEEEEVVVVIIIICCCCEEEE((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      addSerialDevice - add a serial device to the system
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////ssssyyyyssssaaaaddddmmmm////pppprrrriiiivvvvbbbbiiiinnnn////aaaaddddddddSSSSeeeerrrriiiiaaaallllDDDDeeeevvvviiiicccceeee tttteeeerrrrmmmmiiiinnnnaaaallll _p_o_r_t _s_p_e_e_d
  13.      ////uuuussssrrrr////ssssyyyyssssaaaaddddmmmm////pppprrrriiiivvvvbbbbiiiinnnn////aaaaddddddddSSSSeeeerrrriiiiaaaallllDDDDeeeevvvviiiicccceeee iiiinnnnppppuuuutttt _p_o_r_t _n_a_m_e _d_i_s_p_l_a_y
  14.      ////uuuussssrrrr////ssssyyyyssssaaaaddddmmmm////pppprrrriiiivvvvbbbbiiiinnnn////aaaaddddddddSSSSeeeerrrriiiiaaaallllDDDDeeeevvvviiiicccceeee mmmmiiiiddddiiii _p_o_r_t _d_i_s_p_l_a_y
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      _a_d_d_S_e_r_i_a_l_D_e_v_i_c_e is a privileged command that configures the system to use
  18.      a serial device.
  19.  
  20.      _a_d_d_S_e_r_i_a_l_D_e_v_i_c_e configures a serial port for a terminal if its first
  21.      argument is tttteeeerrrrmmmmiiiinnnnaaaallll, an input device such as a tablet or space ball if
  22.      its first argument is iiiinnnnppppuuuutttt, or midi if its first argument if mmmmiiiiddddiiii.
  23.  
  24.      When a device is configured for a terminal, the line in /_e_t_c/_i_n_i_t_t_a_b for
  25.      the serial port is configured to run _g_e_t_t_y(1M).  When a device is
  26.      configured for an input device, a link is made from /_d_e_v/_i_n_p_u_t to the
  27.      serial device for that input device.  When a device is configured for
  28.      midi, a link is made from /_d_e_v/_i_n_p_u_t and the _s_t_a_r_t_m_i_d_i command is run.
  29.  
  30.      _a_d_d_S_e_r_i_a_l_D_e_v_i_c_e can not be use to add modems.  Use _a_d_d_M_o_d_e_m(1M) to add
  31.      modems.
  32.  
  33. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  34.      _p_o_r_t      Specifies the serial port number, e.g. 2222.
  35.  
  36.      _s_p_e_e_d     Specifies the baud rate for a terminal.
  37.  
  38.      _n_a_m_e      Name of an input device, such as ttttaaaabbbblllleeeetttt or ddddiiiiaaaallll.
  39.  
  40.      _d_i_s_p_l_a_y   This is display/head number. For machine with only one display,
  41.                this is 0.
  42.  
  43. FFFFIIIILLLLEEEESSSS
  44.      /etc/inittab   For terminals, the line for the serial port is edited to
  45.                     include a _g_e_t_t_y(1M) command.
  46.      /dev/input*    Directory containing links for input devices, where '*' is
  47.                     the display number except for display 0, it uses
  48.                     /dev/input.
  49.      /dev/ttyd*     Serial device files.
  50.  
  51. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  52.      sysmgr(1M), runpriv(1M), addModem(1M), deleteSerialDevice(1M),
  53.      SerialDeviceManager(1M), getty(1M), inittab(4), input(7).
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.