Re: [future of drivers?] a proposal for binary drivers.

Helge Hafting
2006-03-14T13:31:10Z

David Schwartz wrote:

>
>
>>In Static Controls, the issue was a 55 byte program to calculate the
>>level of toner in a cartridge. The court ruled that the program design
>>of the TLP was so constrained by external factors (the efficient
>>execution of a small number of calculations) that any other
>>implementation would have been impractical.
>>
>>
>
> Exactly. And this is precisely what is happening here. The kernel headers
>are small in comparison to the kernel. And external factors are such that
>there is no other way to create kernel modules other than by using the
>kernel headers.
>
>
Smaller than the kernel, but still big. These are not 55 bytes.
And the kernel headers are not unique either. You can make
many changes and still be able to use them for a driver.

>>Linux is a completely different matter, directly analogous to Apple's
>>OS in the court's analysis. There are no such external factors
>>dictating the form of the kernel's facilities for integrating new
>>functionality.
>>
>>
>
> You are saying there are practical ways to develop kernel modules other
>than using the kernel headers?
>
>
Many of these interfaces are published. Buy a linux device driver
book and write your own headers - possibly with different names
for the types involved. Structs or just a bunch of variables in a
certain order? Your call again. You won't get everything this way,
but you don't need everything to write one driver.

Then there is reverse engineering. More work, but certainly
feasible seeing how many linux drivers were written this way.

Helge Hafting