Slashdot Mirror


Windows Drivers Under Linux?

sniggly writes "The Inquirer has an article about how Montreal, CA based Linuxant has created a 'compatibility wrapper' allowing standard Windows NDIS 5.0 drivers to work on linux. After pointing to another project allowing windows printer drivers to work on OS/2 the author asks 'Are printer and network card drivers going to become, over time, a commodity with Win32 drivers one day the 'de-facto standard' run via wrappers?"

10 of 474 comments (clear)

  1. Funny windows drivers by bobthemuse · · Score: 4, Insightful

    What about all the windows drivers which have a 'light' NDIS layer solely to establish a communications channel with the hardware and assignment of resources. They then rely on more complex programs to do what should happen in the driver.

    I'm thinking of several printers, including the new MFDs, not to mention the separate mess called 'WinModems'.

  2. Native Drivers, Please by nurb432 · · Score: 4, Insightful

    No thanks, id rather have native drivers for my hardware. Not some sort of kludgy hack to make windows drivers work..

    Even if it worked well, there is no guarantee that Microsoft wouldn't make it impossible to keep doing this, leaving us out in the cold.

    + you cant honestly think performance and stability would be the same as a true, well written, native driver for your chosen OS ( regardless of what that OS is )

    --
    ---- Booth was a patriot ----
    1. Re:Native Drivers, Please by loucura! · · Score: 3, Insightful

      Even if it worked well, there is no guarantee that Microsoft wouldn't make it impossible to keep doing this, leaving us out in the cold.

      The thing is, though, that Microsoft's driver APIs have to remain stable if they're going to get hardware manufacturers to write drivers for them. If they start making changes that break this driver compatibility layer, then they also break current drivers. There's no way to make the layer break without breaking backwards compatibility, and that still won't prevent you from using pre-break drivers.

      --
      Black and grey are both shades of white.
  3. Ultimate Lock In by Crashmarik · · Score: 4, Insightful

    Not a good thing. If Drivers are written for windows and then emulated to other OS's it will give Windows a permanent performance advantage.

    1. Re:Ultimate Lock In by Hard_Code · · Score: 4, Insightful

      "If Drivers are written for windows and then emulated to other OS's it will give Windows a permanent performance advantage."

      If drivers are written for windows and then "emulated" (not really emulated, just run through an abstraction API), it will render windows IRRELEVANT. Slow drivers run infinitely faster than NO DRIVERS. Once the drivers become commoditized a HUGE reason is eliminated for keeping Windows around (the current main reasons being ubiquity of 1) applications 2) drivers; we have already achieved #1).

      Drivers are only really a performance concern (as far as an abstraction layer is concerned) for things like graphics card drivers, which are already woefully absent in Linux (and of course they change frequently as the technology is updated). I'd wager most "desktop" users of Linux don't even have kernels recompiled for their specific CPU, so I think an abstraction layer isn't going to make much of a difference.

      --

      It's 10 PM. Do you know if you're un-American?
  4. Intel should sponsor this by chevybowtie · · Score: 3, Insightful

    The way I see it, all of these layers of software are what are going to require faster processors. What exactly will you not be able to do next year with the 3Ghz processor you bought this year? Then again, are these layers going to cause bugs that can never be found?

  5. Bad idea by Simon+Lyngshede · · Score: 5, Insightful

    This is an even worse idea than WINE. The only thing we'll gain from this is even fewer native Linux drivers. Im sure that if this works, many hardware companies won't even consider making native Linux drivers, because users can just use DriverLoader.

    Things like DriverLoader and WINE are and will be misused by companies to claim Linux compatability or make quick and low quality Linux solutions. It would be great if it where to be used only as a last resort, not as a permanent solution.

    We should kill of Linuxant before they hurt anyone.

  6. Re:wow by kasperd · · Score: 5, Insightful
    I've actually wondered about this before and if it was possible

    In general it is not possible to use drivers under any other OS than the one it was developed for. And any kernel developer will tell you it is not a good idea. A driver needs to interface not only with the device, but also the OS. No matter how well it works with the device, it doesn't help making it work with another OS. Expecting a Windows driver to work with Linux is like expecting an SCSI driver to work with an IDE harddisk (maybe not the best anology, but it was the best I could come up with, and they have certainly been seen worse). In some cases you might be able to provide a wrapper, that makes it work, but it requires good knowledge about the interface in both directions, and the end result certainly isn't going to be as good as a native driver. If hardware vendors want a wide range of compatibility, they can easilly achieve it, it just takes a few steps.
    • Use open standards whenever possible
    • Provide sufficient documentation
    • Provide an open source driver
    --

    Do you care about the security of your wireless mouse?
  7. Do we need this? No today, less tomorrow... by jurgen · · Score: 3, Insightful
    Are printer and network card drivers going to become, over time, a commodity with Win32 drivers one day the 'de-facto standard' run via wrappers?
    First off as we all know from painful experience, a lot of windows drivers quite buggy. Since we have zero chance at fixing them (closed source), the only time anyone will use them is if they absolutely have to. Even with Windows drivers available and sort-of-linux-compatible, most people will continue to buy hardware that's directly supported under Linux... they will rightly expect it to work better.

    Secondly, this is becoming less and less of an issue. More and more add-on hardware is built on standardized models of hardware interaction, such as the USB driver classes, and thus works with the generic drivers in the Linux kernel. Of the remainder, more and more hardware companies are seeing the value in cooperating with Open Source and opening up their specs. The probability that a random piece of peripheral hardware you bought at CompUSA or some such will work with Linux out of the box has been steadily increasing and is now quite high.

    In short, this is a non-issue.

  8. RE: native drivers by vlad_petric · · Score: 3, Insightful
    Native drivers are obviously the right choice in the long term, but emulation is something that can break the vicious adoption cycle (hardware manufacturers aren't going to provide drivers until there is enough demand, while demand is small because of lack of drivers).

    Take a look at the linux games area - Loki is dead, Transgaming is alive and well ... Loki's approach was technically superior (very stable ports as opposed to games which play ok, but only ok), but the economics were not.

    Emulation is good for creating a market; when the market is big enough, native ports and drivers will arrive as well.

    --

    The Raven