The task of writing drivers thus usually falls to software engineers or computer engineers who work for hardware-development companies.
Apple has an open-source framework for developing drivers on Mac OS X called the I/O Kit.