APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > Miscellaneous > No more Parallel/Serial?
Printer Friendly Version




No more Parallel/Serial?




The last few servers I configured for customers have no parallel ports, and the new laptop I just bought for my wife doesn't have one either. Both the customers and my wife were surprised, but I wasn't: almost all printing today in business is networked, and home class printers are usually USB only. Parallel is disappearing quickly.

The new servers still had at least one serial port, but my wife's laptop doesn't have that either. It does have a built-in modem - probably because so many home users still use dial-up internet. The USB ports can easily be used as parallel or serial ports if you need to support legacy devices, so there's just no need to waste the space or the expense.

Memory lane: ancient Tandy printers required a special cable. Some cheap parallel ports didn't handle interrupts well: SCO had ways to control that and other printing oddities. I do not know if you can control polling in current Linux: http://www.novell.com/documentation/suse91/suselinux-adminguide/html/ch06.html seems to imply that you can, but http://people.redhat.com/twaugh/parport/ says polling is unimplemented.



Many years ago I wrote a parallel port driver because I was having trouble getting a particular printer to work. I put all sorts of debugging and control code into the driver but oddly never needed it: the printer started working correctly the moment I installed my driver. Still, writing the code was fun: http://www.beyondlogic.org/spp/parallel.htm has the sort of details I didn't have back when I did this, but it wasn't all that difficult.

It probably won't be too many more years before parallel and serial ports disappear entirely.


If this page was useful to you, please click to help others find it:  
Your +1's can help friends, contacts, and others on the web find the best stuff when they search.


3 comments




More Articles by Anthony Lawrence - Find me on Google+



Click here to add your comments





Wed Dec 27 15:30:30 2006:   BigDumbDinosaur


All of our (Athlon64 powered) workstations come with a parallel port and at least one serial port. USB is not the ideal medium for printing, in my opinion, and downright sucks for serial port applications.

As you noted, the parallel port is seldom used anymore with a server. The two types of Opteron dual and quad processor motherboards we use in our servers do not ship with a parallel port and we haven't really found that to be a problem. The boards we use all have two serial ports, however. We always connect a UPS's data link to the server via the serial port (usually COM2) -- never to the network. Therefore, at least one serial port is essential. We will continue to provide serial ports on our servers as long as the motherboard manufacturers continue to make them available.



Wed Dec 27 22:57:27 2006:   drag


I love using some ancient laptop as a serial console. I used one for a long long time until I ended up giving it to my mom for some word proccessing stuff she wanted to do. (I should get it back!) Used kermit on MS-DOS. It was a very old machine, 8 megs RAM.

What would it take to use USB for serial console? I looked at it a bit, but it's confusing.

The cool thing about that is that it would be perfect for handling multiple headless servers and such.. Setup a very secure old laptop that would act as the front end, have a couple USB hubs, and then you can have lilo output to the console. No need to have ssh or any sort of remote access directly to the servers and the laptop can grab information from the kernel logging output to the console and save it to a file for debugging purposes. You could have a dozen servers for each laptop front end, and with laptops being very cheap nowadays it just makes sense to me.. it's as cheap as those fold down rack mount monitors you can buy.

I know how frustrating it is to have a server 'just let go' for some reason and you have no idea why it rebooted or crashed or whatnot. Having saved console output would probably be very helpfull.

But I don't know how you'd go about doing something like that. It seems nice on the front of it.


And on a side note Usenix conference from last year had a presentation for 'legacy free' servers. They developed a PCI card that took 'legacy' O/I such as VGA, keyboard, serial, parrellel, etc etc and encasulated it in IP so that you could setup a workstation on a network to grab that I/O over the network. This is for installing and managing operating systems and such without having to actually have to physically access the hardware. (Google was very interested)



Fri Feb 16 19:57:32 2007:   TonyB


The particular printer cable you were talking about used to cost about $25.00. I still have it. I had the tandy 286 version (can't remember the name). Back then (1987) PC's ran close to $1000.00. My how things have changed.....

Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



LOD Communications, Inc.

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


book graphic unix and linux troubleshooting guide




Buy Kerio from a dealer who knows tech: I sell and support

Kerio Connect Mail server, Control, Workspace and Operator licenses and subscription renewals
pavatar.jpg

This post tagged:

       - Hardware
       - Laptops
       - Printing
       - Serial




Unix/Linux Consultants

Skills Tests

Guest Post Here