The Linux Serial HOWTO: How Do I Set Up My Serial Ports For Higher Speeds? What Speed Should I Use With My Modem?
10. How Do I Set Up My Serial Ports For Higher Speeds? What Speed Should I Use With My Modem?This section should help you figure out what speed to use when using
your modem with a communications program, or with a getty
program. Normally you just set the speed by a parameter given to
getty or by a menu in your communications program (or in a
configuration file). If for some reason that doesn't work for high
speeds, there is a workaround by giving special options to
setserial: With the spd_hi or spd_vhi options given
to setserial, setting 38400 will actually set the speed to 57600
(spd_hi) or 115200 (spd_vhi).Make sure you have at least 16550A UARTs for higher speeds. Here are some suggested speeds:If you have a 28.8K (V.34), 33.6K (V.34), or 56K (V.90) modem use 115200 bps.If you have a 14400 bps (V.32bis) modem, with V.42bis data compression, use 57600 bps.If you have a 9600 bps (V.32) modem, with V.42bis data compression, use 38400 bps.If you have something slower than a 9600 bps (V.32) modem, set your speed to the highest speed your modem supports. For example 300 bps (V.21/Bell 103), 1200 bps (V.22/Bell 212A), or 2400 bps (V.22bis).If you use setserial test them on the command line first, and
then when you have them working, put them into
/etc/rc.d/rc.serial or /etc/rc.d/rc.local or
/etc/rc.boot/0setserial so that they are run at startup.
Make sure that you are using a valid path for setserial, and a
valid device name. You can check the settings of a serial port by
running:
setserial -a /dev/ttyS3
Wyszukiwarka
Podobne podstrony:
Serial HOWTO pl 10 (2)serial howto 5 kgcppz4s5yl52f7evqakks2dmarwh2apafjtjjy kgcppz4s5yl52f7evqakks2dmarwh2apafjtjjypostgresql howto 10 4yctbmdygvosxskplagrc3lw4rwfp7x2owdlrhqserial howto 7 oq4el6o7urgwgoohqk52udyxgcwkix7flx7yw5y oq4el6o7urgwgoohqk52udyxgcwkix7flx7yw5yethernet howto 10ftape howto 10serial howto 14 bogki47jxc7niejiu2e7iehvhsrs4fcpiuxwhki bogki47jxc7niejiu2e7iehvhsrs4fcpiuxwhkiserial howto 2 4l23zy2wgmqr6ixrbj35vzerr34rhdnhjqsyfdy 4l23zy2wgmqr6ixrbj35vzerr34rhdnhjqsyfdyaccess howto 10serial howto 16 tilcajp42ykm7ohtcai5s4icqvobriamsldzuai tilcajp42ykm7ohtcai5s4icqvobriamsldzuaiSerial HOWTO pl 6 (2)esperanto howto 10Serial HOWTO pl 1 (2)Serial HOWTO pl (2)net 3 howto 10 z67gyfwyzhb43i35ccirrteg3wdg5ppcqcy4apiSerial HOWTO pl 2 (2)więcej podobnych podstron