Linux 2.4 Spotlight: ISA Plug-and-Play

February 1st, 2000 by Joseph Pranevich in

If you are tired of the complexity of configuring PnP devices for Linux, you can look forward to some relief from the 2.4 kernel release.
Your rating: None

An amazing number of features are new or improved under (what will be) Linux 2.4. In my article last month, “Bullet Points: Linux 2.4”, I described a number of these features. The one feature which I feel will most change the face of distributions in the years to come (if only in terms of their support for legacy devices) is ISA Plug-and-Play support.

Back in the good old days (before PCI became the standard bus architecture for Intel-class PCs), buses weren't very smart in and of themselves. Plug-and-Play features were largely not present in these older machines. It was expected that if you owned the machine, you more or less understood exactly what hardware was in it and exactly where each device “lived” in the computer innerspace. Adding a new sound card, for example, was often an exercise in “put in—reboot—pull out—change jumpers—repeat”, as the vast majority of ISA cards required hardware jumpers or something similar to be configurable. This situation was not very good for consumer users of PCs, whose understanding of their machines' internals was slowly degrading to the point at which new users were hardly expected to know where to plug in the mouse.

In conference rooms of computer manufacturers around the world, meetings were held and standards debated over how this user barrier could be overcome. (At least, that's how it happened in my personal universe.) Sure, having a better bus would be nice, but that would require things to change. Some bright soul got the idea to band-aid the situation via a standard in configurable cards which could be configured by a wise BIOS or operating system. The ISAPNP “standard” was thus born.

ISAPNP filled in all those Plug-and-Play gaps we suffered from in the ISA world. No longer would we have to blindly probe for devices, as they would happily announce themselves (more or less) to anyone who would listen. No longer would we be forced to change jumper settings, as instead we had a neat DOS utility to do that for us. But that was the real crux of the problem: PnP-compatible quickly came to mean “DOS/Windows only”, as other operating systems of the time found they could not speak the magic language of the PnP specification. Linux, too, fell into this trap; it was often advised that one should initialize his or her cards under DOS and (soft) reboot into Linux to make things work.

Fortunately, if you give the Linux community a problem, it isn't long until a solution of some kind can be found. For some, loadlin and a DOS partition were still the only answer, but for others there were the ISA PnP utilities which were, until recently, the way to configure PnP devices under Linux and elsewhere. This utility, handy as it is, is a pain for many users to figure out. It requires users to resolve resource conflicts on their own. It requires drivers to be compiled as modules so they can be loaded after the user space utility had run. Over time, the interface to this utility improved; it could even do a decent job of autoconfiguring cards. Distributions started supporting it and masking its functionality under a protective shield of pretty dialog boxes so that even the clueless could stand a chance at getting it to work. Still, it was not a perfect solution.

Linux 2.4 will, for the first time, support ISA PnP devices internally. No longer will a user space utility be required to configure cards to be used; the kernel itself can now do it. Generally, this is to be done transparently: the serial driver or the soundblaster driver will simply do a search for PnP devices in the same way they now search for and configure PCI devices. When a compatible device is found, the kernel can configure and activate it and pass the resources it uses on to the driver responsible. The kernel can even handle resource conflicts. Of course, there are probably settings and configurations which the kernel will not get right, and there will always be the option to “fall back” to the old user-space-by-hand configuration. But this, in my opinion, is a great step forward for desktop Linux.

Now, the warnings: Linux 2.4 isn't even released yet, so how can you take advantage of these remarkable new features in your machines? You can download a snapshot of the latest Linux 2.3 (developers only) kernel and compile it for your system. Will it work? Probably. Will it support your cards? Well, maybe not. If you're a programmer, there isn't a better time to get involved with Linux 2.3 development and help the mainstream kernel hackers squash the bugs to make Linux 2.4 the best Linux ever. If you're not a programmer, you can help just by downloading, compiling and installing a recent kernel and reporting the results. Linux is developed by the community, and as we approach the next stable milestone, it is the community members who can make a difference. Next time you are sitting in front of your computer trying to tweak your isapnp.conf to work with your new modem, think of those brave souls behind their keyboards who work so hard to make Linux the best damn operating system it can be and give them a hand.

Joseph Pranevich (jpranevich@lycos.com) is an avid Linux geek, and while not working for Lycos, enjoys writing (all kinds) and working with a number of open-source projects.

__________________________


Special Magazine Offer -- Free Gift with Subscription
Receive a free digital copy of Linux Journal's System Administration Special Edition as well as instant online access to current and past issues. CLICK HERE for offer

Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
alchemist enhancing enigma mp3 download's picture

linux

On October 2nd, 2007 alchemist enhancing enigma mp3 download (not verified) says:

my work Will with Wine application? . Best regards.

alchemist enhancing enigma mp3 download's picture

linux

On October 2nd, 2007 alchemist enhancing enigma mp3 download (not verified) says:

my work Will with Wine application? . Best regards.

Post new comment

Please note that comments may not appear immediately, so there is no need to repost your comment.
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <pre> <ul> <ol> <li> <dl> <dt> <dd> <i> <b>
  • Lines and paragraphs break automatically.

More information about formatting options

Newsletter

Each week Linux Journal editors will tell you what's hot in the world of Linux. You will receive late breaking news, technical tips and tricks, and links to in-depth stories featured on www.linuxjournal.com.
Sign up for our Email Newsletter

Featured Videos

Setting up an https server in Apache is easy. This tutorial covers how to create and sign your ssl certificate as well as how to configure the web server.

From the Magazine

January 2009, #177

It's a battle as old as time: good vs. evil. Fortunately, Linux and FOSS are on our side as we wage the battle against those who try to steal our secrets and invade our systems.

Checking your system's security is best done sooner rather than later. Test the locks with our article on security verification; find out how to use PAM to help secure your systems; use MinorFS and AppArmor to implement discretionary access control; learn more about Samba security in part III of our series; use Darknet to help detect bots and secure your systems; use the Yubikey to increase your site's security; and don't forget to lock the doors, because a cold boot attack could render your security useless if somebody has physical access to your computer.

But, we're not just about sowing the seeds of fear. We also show you how to use memcached in Rails, how to manage multiple servers efficiently, how to deploy applications easily with Capistrano, how to manage your videos with MythVideo, how to mix it up a bit (your audio that is), and even play a few games.

Read this issue