Friday April 21, 2006 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Like so many PCs today, the Sun Ultra 20 workstation doesn't come with "legacy" ports. No serial or parallel anymore, it's all USB. And for some that's a problem, like when you need to connect serial matrix printers for receipts, invoices, etc. The Ultra 20 is based on a Tyan S2865 motherboard. But with some modifications: the COM1 port has been removed completely (although the solderpins are still there) and COM2 is only a 10 pin header. Trying to use the COM2 port failed at first, because by default all legacy ports are disabled in the BIOS. To fix this press F2 while booting, go to the "Integrated Peripherals", select "Onboard Serial Port 2" menu and enable the port. You can leave the IO and IRQ as default (2F8 / IRQ3). Finally leave the BIOS by choosing "Save & Exit Setup". Now you need a cable and a bracket with a DB9 connector. You can do this two ways. You can probably avoid a lot of trouble by buying this from Cables To Go. I didn't test it myself, but these seem to be the right type. If you want to go the DIY route, you must be careful. On many serial or serial/parallel I/O boards, the DB9 plugs on the bracket are connected to the PCB header, according to the right side of the diagram. ![]() click to enlarge The wiring on the left shows how it must be. If you would use a cramp-on DB-9 plug you're automagically good-to-go. Hoever all the cables on serial/parallel boards follow a strict 1-1, 2-2, 3-3 to 9-9 wiring, while it needs to be 1-1, 2-6, 3-2, 4-7, etc. The reason is clear when you look how a header plug is numbered differently from a DB-9 plug. OK, long story, but knowing the solution, it's all pretty simple. Use a cramp-on DB-9 (male !!), 30 cm of flatcable, find in your junk box a bracket with a hole for the DB-9 or buy one on eBay and off-you-go. (2006-04-21 22:47:47.0) Permalink Comments [6]Post a Comment: Comments are closed for this entry. |
Calendar
NavigationSearch
ReferersToday's Page Hits: 0
Recent Entries
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Posted by David Lewis on April 22, 2006 at 09:59 AM MDT #
Posted by Willem on April 22, 2006 at 12:37 PM MDT #
Posted by Volker A. Brandt on April 22, 2006 at 04:30 PM MDT #
Posted by Paul on May 16, 2006 at 12:38 AM MDT #
(argh!...html formatting, didn't see that)
I have done this on my machine, using a bracket with a DB9 port that I found on an old Pentium 100 box I had lying around. The thing is I'm trying to get it to talk to a Cisco router using the supplied console cable and it won't work (neither minicom nor kermit will connect). I've setup the correct settings for /dev/ttyS1 and 9600 8N1 so I can't understand what is happening...
The serial port is detected and seems ok as you can see from /proc/tty/driver/serial
serinfo:1.0 driver revision:
0: uart:16550A port:000003F8 irq:4 tx:0 rx:0
1: uart:unknown port:000002F8 irq:3
2: uart:unknown port:000003E8 irq:4
3: uart:unknown port:000002E8 irq:3
4: uart:unknown port:00000000 irq:0
5: uart:unknown port:00000000 irq:0
6: uart:unknown port:00000000 irq:0
7: uart:unknown port:00000000 irq:0
(excess output deleted)
Are there any troubleshooting tips you could give me?
Posted by Paul on May 16, 2006 at 12:45 AM MDT #
Actually, looking at my post again, I noticed that the output from /proc is in fact when I had "Onboard Serial Port 2" set to Auto so it allocates it to ttyS0 not ttyS1.
When setting the BIOS to 2F8/IRQ3 it will put it on ttyS1.
In any case, the point is that it still doesn't work.
Posted by Paul on May 16, 2006 at 12:51 AM MDT #