[linux] Re: Interny modem a seriovy port
jarry guru
jarry na gmx.net
Pátek Březen 19 13:23:36 CET 1999
Problem nie je v tom, priradit modem seriovemu portu, modem totiz
dalsi seriovy port vytvori. Skontroluj si hlasenia pri starte (dmesg).
Mal by si mat cosi take, ako ja (tiez interny modem):
>>> kernel: initializing character devices <<<
Serial driver version 4.13 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16550A
tty02 at 0x03e8 (irq = 4) is a 16550A <-----
tty02 je modem! No a cez setserial si nastavis pre tty02 ine irq,
lebo kernel priradi default irq4 pre tty00&02 a irq3 pre tty01&03.
Najlepsie je hodit to do rc.local:
echo "Doing autoconfig for /dev/ttyS2..."
/bin/setserial /dev/ttyS2 auto_irq skip_test autoconfig spd_vhi
/bin/stty crtscts < /dev/ttyS2
/bin/setserial -q /dev/ttyS2
Takto to mam ja, a vsetko funguje.
jarry
---
Sent through Global Message Exchange - http://www.gmx.net
Další informace o konferenci linux