lkml.org 
[lkml]   [2007]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: GPL vs non-GPL device drivers
v j wrote:
> Assuming these need not be GPL, I have a problem with
> EXPORT_SYMBOL_GPL and the general trend in the direction of making
> proprietary drivers harder on companies. Our drivers use basic
> interfaces in the kernel like open, read, write, ioctl, semaphores,
> interrupts, timers etc. This is functionality we would expect from any
> operating system. We used devfs before and had no problems there. Greg
> KH has gone and made the basic sysfs interface, which any generic
> driver could use as EXPORT_SYMBOL_GPL. I don't really care, I just
> don't use sysfs. The point is that old functionality is being ripped
> off and new ones introduced, and their interfaces are not open
> anymore. Hence there will be a point where non-GPLed drivers simply
> cannot be loaded.

And you really should look at why devfs was removed. It had nothing to do with
closing interfaces. It had to do with the code itself, and I really should say
nothing more about devfs without my nomex jockeys on. In replacement, in 2.5,
sysfs evolved. You can't just point at Greg and say "He's the one stopping me
from doing what I want!" This is a standard kernel interface, agreed upon by
the usual "rough consensus and running code" methodology. It simply happens to
be the case that the new code respects a reality which evolved with sysfs
development. Tainting the kernel on non-GPL module insertion dates from 2001,
early 2.4-series. Just for a quick google-grep, you can find a very early
explanation for a similar problem in an article by Jerry Epplin, dated March 4,
2001, here:

http://www.linuxdevices.com/articles/AT9161119242.html

Your "3 years ago" timeline surely comes after this information was available.
The reality has changed somewhat, as can be expected over six years and many
arguments and legal consultations. However, if you do your research, as much as
we'd love to be able to simply ignore non-GPL (especially binary,
no-source-available) modules, we don't. They just can't use much that is
Linux-unique, and practically nothing that is new. If you could compile this as
a driver for any UNIX, using POSIXly available interfaces, you would have far
fewer problems. Any standard syscall that you could get from any standard
(UNIX) operating system, just like you say that you expect. Or you can do the
nVidia dance, and have to adjust what you can use that is exported, as that
patently non-standard interface changes. But for your average fire-and-forget
embedded space, that dance only usually gets done once per release.

Your problem is double, of course, because you *distribute non-GPL drivers in a
running Linux*, which is commonly acknowledged to be a problem. We can't help
you there. We don't even want to. And you have it easy! You just don't like
the idea of releasing your code. You can't say "Oh, we incorporate patented and
trade secret information which we licensed but cannot divulge". You're doing it
to yourself.

Sorry,
Matt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-02-16 19:01    [from the cache]
©2003-2011 Jasper Spaans