A universal device driver library?

From: Jonathan Neve (jonathan_at_microtec.fr)
Date: 08/13/04


Date: 13 Aug 2004 01:25:33 -0700

Hi all!

I've been thinking, wouldn't it be possible to create a standard
device driver library, that would allow device drivers to be written
in a portable way for all OSs? I realise of course, that there are
significant differences in the way each OS handles its devices.
Nevertheless, the role of a device driver is always basically the
same: provide low-level communication with a certain device, while
interacting in a simple way with the OS. Wouldn't it therefore be
possible to define a standard library that would encapsulate all the
functionnality necessary for writing device drivers?

If so, this would mean that device vendors could simply provide one
cross-platform device driver that would run anywhere, which would
simplify things for them, and it would also solve the age-old problem
that most or at least many devices only support M$ Windows. This would
at last allow people to choose their OS based on its own merits and
features, rather than being locked into Windows, because of some
unsupported device.

Any thoughts?
Jonathan Neve.



Relevant Pages

  • Re: [Q] Where to get information on a device for which I write a driver?
    ... and thus the Windows HC driver have issues with this. ... Otherwise, I cannot explain why standard USBHID, USBSTOR and SBP2PORT do ... The Windows XP x64 detects my mouse, but the MS HID device driver ...
    (microsoft.public.development.device.drivers)
  • Re: Memory Mangement Problem in 5.1-RELEASE
    ... >> You probably can't get away with the old gcc, ... to be more compliant with 'the standard'. ... permit large contiguaous allocations for a device driver like ... Is your FreeBSD kernel capable of loading *only* the probe ...
    (freebsd-current)
  • Re: where to get info to write basic usb driver for own device?
    ... and want to write a device driver for a USB device (web ... I briefly looked into this as well, and in summery, webcams are a bit of a ... and so there's no standard way of doing it. ... The only proven video in API is the one used by meteora and bktr, ...
    (freebsd-hackers)
  • Re: intercepting the audio stream.
    ... No standard ways. ... Maxim Shatskih, Windows DDK MVP ... > write to a file and also send it to the standard audio device or the device ... the only solution might be to write a device driver that wraps ...
    (microsoft.public.development.device.drivers)
  • Re: A universal device driver library?
    ... > device driver library, that would allow device drivers to be written ... a device driver provides /low_level/ communications with hardware ... > possible to define a standard library that would encapsulate all the ...
    (comp.os.linux.development.system)