?? byterunner-setup
字號:
Thanks to Cokey, Maurice, de Paul, and Ted (maintainer of setserial). Your help has been invaluable. Just another proof that free software rules!To-do: a bit experiment to do with more irq on the same board.Just to be able to see more consoles at the same time.================part console output to /dev/ttyS0=============1.rm /etc/ioctl.save(to erase the recorded term charasteristics. Could beat a different speed than what you want)2.joe /etc/inittab:1:2345:respawn:/sbin/mingetty tty12:2345:respawn:/sbin/mingetty tty23:2345:respawn:/sbin/mingetty tty34:2345:respawn:/sbin/mingetty tty45:2345:respawn:/sbin/mingetty tty56:2345:respawn:/sbin/mingetty tty6#S0:2345:respawn:/sbin/mingetty ttyS0#S1:2345:respawn:/sbin/mingetty ttyS1S0:2345:respawn:/sbin/getty ttyS0 DT9600 vt100# The DT9600 is in /etc/gettydefs, and there# are others. But the F9600 doesn't work# too well. With the working Apple powerbook# and ZTerm in from serial port to serial port,# only gets echo out. Cannot get Apple keyboard# input3.init qinit Q(well, not sure, so run both. This is to tell init to read theupdated inittab:P)4.in /etc/lilo.conf:boot=/dev/rd/c0d0map=/boot/mapinstall=/boot/boot.bprompttimeout=50serial=0,9600n8image=/boot/vmlinuz-2.2.5-15 label=abyx_ttyS0 root=/dev/rd/c0d0p1 password="" initrd=/boot/initrd-2.2.5-15.img append="console=tty0 console=ttyS0,9600" read-onlyimage=/boot/vmlinuz-2.2.5-15 label=linux_tty0 root=/dev/rd/c0d0p1 password="" initrd=/boot/initrd-2.2.5-15.img append="console=ttyS0,9600 console=tty0" read-only5.Run lilo.6.Reboot.voila. If communicating from another serial port, rememberto use null-modem cable. It's just a cross-over cable thatlinks rcpt to send, and send to rcpt and so on.=======================start part 8-port byterunner=======0. To make the orientation right, put the board on your desk,with the RS xxx connector on the right hand side, and with jumperside of the board facing you.1. Make sure the clock multiplier (JP 10-21) are at x1.That should be close for JP 12, 15, 18, 21. (JP 10 is at thetop of the column)(my case they sent from the factory as x4. And accordingto the printing on board, it looks like a x1, because ther'sa little 1 on the side of one of the x4 pins. That took me along time to figure out.)2.jumper the board for irq 10 for all 8 ports. Allow the irq 10 on another set of jumpers on bottom-left. There are on-board printed remarks for these two set of jumpers.3.Set the blue S1 (switch) to UNIX mode 1(off, on, on, off. Andyes, this time the ON mark was printed on the correct side),and the rest of the jumpers should be at default.4.cd /dev5.for in in 16 17 18 19 20 21 22 23; do ./MAKEDEV ttyS$i; done6.run:setserial /dev/ttyS16 port 0x180 irq 10 uart 16550A ^fourportsetserial /dev/ttyS17 port 0x188 irq 10 uart 16550A ^fourportsetserial /dev/ttyS18 port 0x190 irq 10 uart 16550A ^fourportsetserial /dev/ttyS19 port 0x198 irq 10 uart 16550A ^fourportsetserial /dev/ttyS20 port 0x1a0 irq 10 uart 16550A ^fourportsetserial /dev/ttyS21 port 0x1a8 irq 10 uart 16550A ^fourportsetserial /dev/ttyS22 port 0x1b0 irq 10 uart 16550A ^fourportsetserial /dev/ttyS23 port 0x1b8 irq 10 uart 16550A ^fourportsetserial /dev/ttyS16 set_multiport port1 0x1c0 mask1 0xff match1 0xff(er. joe up a /etc/rc.d/rc.serial file that has these and a #!/bin/bashon the first row, and run it from rc.local. Note the mask1 shoud be thesame with match1, 0xff, while 4-port models would be 0xf. Also port1is the interrupt vector address printed on the manual. Each UNIX modehas its own. UNIX mode 0 has 0x140, mode 1 has 0x1c0, etc.)7.And then shutdown. Plug-in card and make sure it's in the slot.8.Boot computer. Reserve IRQ 10 for ISA in your BIOS.9.Link the first com port on baord to ttyS0 (the console outputdone as above)10.minicom -s (for /dev/ttyS16, at 9600, 8n1)voila!================================================================== Shuo LinSitepak: nouvelle vision Internet pour l'entreprisehttp://www.sitepak.com
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -