Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch.embedded > #21646 > unrolled thread

Linux Drivers Part of Kernel for GPL?

Started byrickman <gnuarm@gmail.com>
First post2015-08-04 21:15 -0400
Last post2015-08-06 22:58 +0100
Articles 11 on this page of 31 — 11 participants

Back to article view | Back to comp.arch.embedded


Contents

  Linux Drivers Part of Kernel for GPL? rickman <gnuarm@gmail.com> - 2015-08-04 21:15 -0400
    Re: Linux Drivers Part of Kernel for GPL? Les Cargill <lcargill99@comcast.com> - 2015-08-04 21:25 -0500
      Re: Linux Drivers Part of Kernel for GPL? rickman <gnuarm@gmail.com> - 2015-08-04 22:53 -0400
        Re: Linux Drivers Part of Kernel for GPL? Les Cargill <lcargill99@comcast.com> - 2015-08-04 23:15 -0500
          Re: Linux Drivers Part of Kernel for GPL? rickman <gnuarm@gmail.com> - 2015-08-05 01:24 -0400
            Re: Linux Drivers Part of Kernel for GPL? Les Cargill <lcargill99@comcast.com> - 2015-08-05 07:56 -0500
              Re: Linux Drivers Part of Kernel for GPL? rickman <gnuarm@gmail.com> - 2015-08-05 11:37 -0400
                Re: Linux Drivers Part of Kernel for GPL? Les Cargill <lcargill99@comcast.com> - 2015-08-05 22:17 -0500
                  Re: Linux Drivers Part of Kernel for GPL? rickman <gnuarm@gmail.com> - 2015-08-05 23:48 -0400
        Re: Linux Drivers Part of Kernel for GPL? Dimiter_Popoff <dp@tgi-sci.com> - 2015-08-05 16:59 +0300
          Re: Linux Drivers Part of Kernel for GPL? rickman <gnuarm@gmail.com> - 2015-08-05 11:39 -0400
            Re: Linux Drivers Part of Kernel for GPL? Dimiter_Popoff <dp@tgi-sci.com> - 2015-08-05 19:46 +0300
              Datasheets, was: Re: Linux Drivers Part of Kernel for GPL? Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> - 2015-08-06 10:34 +0000
      Re: Linux Drivers Part of Kernel for GPL? John Devereux <john@devereux.me.uk> - 2015-08-14 16:06 +0100
        Re: Linux Drivers Part of Kernel for GPL? Richard Damon <Richard@Damon-Family.org> - 2015-08-14 21:13 -0400
          Re: Linux Drivers Part of Kernel for GPL? John Devereux <john@devereux.me.uk> - 2015-08-15 09:11 +0100
        Re: Linux Drivers Part of Kernel for GPL? Nobody <nobody@nowhere.invalid> - 2015-08-15 01:04 +0100
          Re: Linux Drivers Part of Kernel for GPL? Dimiter_Popoff <dp@tgi-sci.com> - 2015-08-15 06:47 +0300
            Re: Linux Drivers Part of Kernel for GPL? John Devereux <john@devereux.me.uk> - 2015-08-15 09:21 +0100
              Re: Linux Drivers Part of Kernel for GPL? Dimiter_Popoff <dp@tgi-sci.com> - 2015-08-15 15:29 +0300
    Re: Linux Drivers Part of Kernel for GPL? Grant Edwards <invalid@invalid.invalid> - 2015-08-05 14:09 +0000
      Re: Linux Drivers Part of Kernel for GPL? rickman <gnuarm@gmail.com> - 2015-08-05 11:53 -0400
        Re: Linux Drivers Part of Kernel for GPL? glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2015-08-05 17:53 +0000
          Re: Linux Drivers Part of Kernel for GPL? Paul Rubin <no.email@nospam.invalid> - 2015-08-05 14:35 -0700
            Re: Linux Drivers Part of Kernel for GPL? glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2015-08-05 23:32 +0000
              Re: Linux Drivers Part of Kernel for GPL? Paul Rubin <no.email@nospam.invalid> - 2015-08-05 17:04 -0700
      Re: Linux Drivers Part of Kernel for GPL? Les Cargill <lcargill99@comcast.com> - 2015-08-05 22:09 -0500
    Re: Linux Drivers Part of Kernel for GPL? Tim Wescott <seemywebsite@myfooter.really> - 2015-08-05 11:50 -0500
      Re: Linux Drivers Part of Kernel for GPL? glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2015-08-05 17:56 +0000
      Re: Linux Drivers Part of Kernel for GPL? Les Cargill <lcargill99@comcast.com> - 2015-08-05 22:20 -0500
    Re: Linux Drivers Part of Kernel for GPL? Nobody <nobody@nowhere.invalid> - 2015-08-06 22:58 +0100

Page 2 of 2 — ← Prev page 1 [2]


#21665

FromGrant Edwards <invalid@invalid.invalid>
Date2015-08-05 14:09 +0000
Message-ID<mpt5eg$rr0$2@reader1.panix.com>
In reply to#21646
On 2015-08-05, rickman <gnuarm@gmail.com> wrote:
> When a product is shipped which uses Linux internally, are the various 
> drivers required to control the hardware part of the Kernel as far as 
> GPL goes?

If they are dynamically loaded at run-time and use only "standard"
kernel APIs, the answer is "no".  If the drivers are statically linked
into the kernel before it is shipped the answer is "yes".  At least
that's what Linus and the kernel maintainers intend.  IMO, you should
respect those intentions regardles of what lawyers say.

> I'm wondering how much of the product has to be opened up and provided 
> to a user on request?

If you link it in with the kernel before you ship it, you should offer
source code for it.  If it's a module that's dynamically loaded module
run-time (e.g. with "modprobe"), you probably don't have to.

-- 
Grant Edwards               grant.b.edwards        Yow! I want my nose in
                                  at               lights!
                              gmail.com            

[toc] | [prev] | [next] | [standalone]


#21669

Fromrickman <gnuarm@gmail.com>
Date2015-08-05 11:53 -0400
Message-ID<mptbfq$1rn$1@dont-email.me>
In reply to#21665
On 8/5/2015 10:09 AM, Grant Edwards wrote:
> On 2015-08-05, rickman <gnuarm@gmail.com> wrote:
>> When a product is shipped which uses Linux internally, are the various
>> drivers required to control the hardware part of the Kernel as far as
>> GPL goes?
>
> If they are dynamically loaded at run-time and use only "standard"
> kernel APIs, the answer is "no".  If the drivers are statically linked
> into the kernel before it is shipped the answer is "yes".  At least
> that's what Linus and the kernel maintainers intend.  IMO, you should
> respect those intentions regardles of what lawyers say.
>
>> I'm wondering how much of the product has to be opened up and provided
>> to a user on request?
>
> If you link it in with the kernel before you ship it, you should offer
> source code for it.  If it's a module that's dynamically loaded module
> run-time (e.g. with "modprobe"), you probably don't have to.

This is the best answer so far.  So hardware drivers can be loaded at 
run time and do not need to be part of the kernel?  For all practical 
purposes then a device using Linux can be released that can not be 
re-purposed because the drivers are not GPL and there may be no data 
sheet on the hardware.

-- 

Rick

[toc] | [prev] | [next] | [standalone]


#21676

Fromglen herrmannsfeldt <gah@ugcs.caltech.edu>
Date2015-08-05 17:53 +0000
Message-ID<mptij0$ocv$1@speranza.aioe.org>
In reply to#21669
rickman <gnuarm@gmail.com> wrote:

(snip on GPL, linux, and what source has to be released)

>> If they are dynamically loaded at run-time and use only "standard"
>> kernel APIs, the answer is "no".  If the drivers are statically linked
>> into the kernel before it is shipped the answer is "yes".  At least
>> that's what Linus and the kernel maintainers intend.  IMO, you should
>> respect those intentions regardles of what lawyers say.

But rickman is asking the opposite question. He wants to know
what they have to release to him.

>>> I'm wondering how much of the product has to be opened up 
>>> and provided to a user on request?

>> If you link it in with the kernel before you ship it, you should offer
>> source code for it.  If it's a module that's dynamically loaded module
>> run-time (e.g. with "modprobe"), you probably don't have to.
 
> This is the best answer so far.  So hardware drivers can be loaded at 
> run time and do not need to be part of the kernel?  For all practical 
> purposes then a device using Linux can be released that can not be 
> re-purposed because the drivers are not GPL and there may be no data 
> sheet on the hardware.

I am not so sure how that matches with the "mere aggregation"
that I remember from GPL. If it is, for example, in the same ROM
(more likely flash), even if it isn't loaded until later, it seems
more than mere aggregation to me.

-- glen

[toc] | [prev] | [next] | [standalone]


#21679

FromPaul Rubin <no.email@nospam.invalid>
Date2015-08-05 14:35 -0700
Message-ID<87zj25iflh.fsf@jester.gateway.sonic.net>
In reply to#21676
glen herrmannsfeldt <gah@ugcs.caltech.edu> writes:
> I am not so sure how that matches with the "mere aggregation"
> that I remember from GPL. If it is, for example, in the same ROM
> (more likely flash), even if it isn't loaded until later, it seems
> more than mere aggregation to me.

I think the Linux kernel developers have chosen to be less strict about
mixed use than the GPL potentially requires.  I believe the FSF is
somewhat more strict, regarding things like GCC plug-ins.  Disclaimers:
IANAL, I'm not speaking for anyone else, etc.

[toc] | [prev] | [next] | [standalone]


#21680

Fromglen herrmannsfeldt <gah@ugcs.caltech.edu>
Date2015-08-05 23:32 +0000
Message-ID<mpu6f9$7jn$1@speranza.aioe.org>
In reply to#21679
Paul Rubin <no.email@nospam.invalid> wrote:

(snip, I wrote)
>> I am not so sure how that matches with the "mere aggregation"
>> that I remember from GPL. If it is, for example, in the same ROM
>> (more likely flash), even if it isn't loaded until later, it seems
>> more than mere aggregation to me.
 
> I think the Linux kernel developers have chosen to be less strict about
> mixed use than the GPL potentially requires.  I believe the FSF is
> somewhat more strict, regarding things like GCC plug-ins.  Disclaimers:
> IANAL, I'm not speaking for anyone else, etc.

I didn't know they had that choice. 

Well, IANAL either, but as far as I know rickman, following GPL,
is allowed to ask the driver developers and distributors
for the source.

He doesn't have to ask the kernel developers. 

But on the other hand, and again IANAL, that leaves it up to
rickman to sue, where he might not be in a position to do that.
The kernel developers might be in a better position to sue,
but choose not to. He might be able sue for his loss only.

-- glen

[toc] | [prev] | [next] | [standalone]


#21681

FromPaul Rubin <no.email@nospam.invalid>
Date2015-08-05 17:04 -0700
Message-ID<87vbcti8nt.fsf@jester.gateway.sonic.net>
In reply to#21680
glen herrmannsfeldt <gah@ugcs.caltech.edu> writes:
>> I think the Linux kernel developers have chosen to be less strict
> I didn't know they had that choice. 

They are the copyright holders and as such, they can decide when and
when not to enforce the license.

> But on the other hand, and again IANAL, that leaves it up to
> rickman to sue, where he might not be in a position to do that.
> The kernel developers might be in a better position to sue,
> but choose not to. He might be able sue for his loss only.

Rickman would not have standing either way AFAIK.  Only the copyright
holder can do that.  The Software Freedom Conservancy has done some GPL
enforcement work on behalf of Linux kernel contributors, see:

  http://sfconservancy.org/linux-compliance/

but I don't know who else (if anyone) does it.

[toc] | [prev] | [next] | [standalone]


#21685

FromLes Cargill <lcargill99@comcast.com>
Date2015-08-05 22:09 -0500
Message-ID<mpuj0n$jv3$1@dont-email.me>
In reply to#21665
Grant Edwards wrote:
> On 2015-08-05, rickman <gnuarm@gmail.com> wrote:
>> When a product is shipped which uses Linux internally, are the various
>> drivers required to control the hardware part of the Kernel as far as
>> GPL goes?
>
> If they are dynamically loaded at run-time and use only "standard"
> kernel APIs, the answer is "no".  If the drivers are statically linked
> into the kernel before it is shipped the answer is "yes".  At least
> that's what Linus and the kernel maintainers intend.  IMO, you should
> respect those intentions regardles of what lawyers say.
>
>> I'm wondering how much of the product has to be opened up and provided
>> to a user on request?
>
> If you link it in with the kernel before you ship it, you should offer
> source code for it.  If it's a module that's dynamically loaded module
> run-time (e.g. with "modprobe"), you probably don't have to.
>


Linus says you still have to. But Linus is mainly interested in
making available the things kernel maintainers need to maintain the kernel.

-- 
Les Cargill

[toc] | [prev] | [next] | [standalone]


#21672

FromTim Wescott <seemywebsite@myfooter.really>
Date2015-08-05 11:50 -0500
Message-ID<NNydnevbt59Uo1_InZ2dnUU7-dGdnZ2d@giganews.com>
In reply to#21646
On Tue, 04 Aug 2015 21:15:42 -0400, rickman wrote:

> When a product is shipped which uses Linux internally, are the various
> drivers required to control the hardware part of the Kernel as far as
> GPL goes?
> 
> I'm wondering how much of the product has to be opened up and provided
> to a user on request?

Most books on using Linux for embedded development cover this sort of 
licensing issue.  There are scads of proprietary drivers for proprietary 
hardware in the desktop Linux world, so presumably if you want to develop 
a system you can make everything except for the core Linux part of it 
closed.

-- 

Tim Wescott
Wescott Design Services
http://www.wescottdesign.com

[toc] | [prev] | [next] | [standalone]


#21677

Fromglen herrmannsfeldt <gah@ugcs.caltech.edu>
Date2015-08-05 17:56 +0000
Message-ID<mptinm$ocv$2@speranza.aioe.org>
In reply to#21672
Tim Wescott <seemywebsite@myfooter.really> wrote:
> On Tue, 04 Aug 2015 21:15:42 -0400, rickman wrote:
(snip) 
>> I'm wondering how much of the product has to be opened up and provided
>> to a user on request?
 
> Most books on using Linux for embedded development cover this sort of 
> licensing issue.  There are scads of proprietary drivers for proprietary 
> hardware in the desktop Linux world, so presumably if you want to develop 
> a system you can make everything except for the core Linux part of it 
> closed.

If you are distributing a device, along with its drivers, for someone
to use with Linux, that sounds right to me.

If you distribute a device with Linux in ROM, along with the drivers,
it seems to me a different case. Even if the drivers are dynamically
loaded from ROM. 

Then again, IANAL.

-- glen

[toc] | [prev] | [next] | [standalone]


#21687

FromLes Cargill <lcargill99@comcast.com>
Date2015-08-05 22:20 -0500
Message-ID<mpujkb$lsu$2@dont-email.me>
In reply to#21672
Tim Wescott wrote:
> On Tue, 04 Aug 2015 21:15:42 -0400, rickman wrote:
>
>> When a product is shipped which uses Linux internally, are the various
>> drivers required to control the hardware part of the Kernel as far as
>> GPL goes?
>>
>> I'm wondering how much of the product has to be opened up and provided
>> to a user on request?
>
> Most books on using Linux for embedded development cover this sort of
> licensing issue.  There are scads of proprietary drivers for proprietary
> hardware in the desktop Linux world, so presumably if you want to develop
> a system you can make everything except for the core Linux part of it
> closed.
>


Then again:

http://yarchive.net/comp/linux/gpl_modules.html

This means actual kernel loadable modules. If you use SPI or USB, then 
your "drivers" can be a library and not need to be GPL at all.

-- 
Les Cargill

[toc] | [prev] | [next] | [standalone]


#21693

FromNobody <nobody@nowhere.invalid>
Date2015-08-06 22:58 +0100
Message-ID<pan.2015.08.06.21.58.39.179000@nowhere.invalid>
In reply to#21646
On Tue, 04 Aug 2015 21:15:42 -0400, rickman wrote:

> When a product is shipped which uses Linux internally, are the various
> drivers required to control the hardware part of the Kernel as far as GPL
> goes?

It depends upon whether they constitute a derivative work of the kernel.
That's a question for the lawyers (and if push comes to shove, the
courts). If something isn't a derivative work, then it doesn't matter what
the GPL has to say.

However: when it comes to loadable modules, the kernel has a mechanism
whereby certain symbols are only visible to modules which contain a
copyright notice stating that they are licensed under the GPL.

Essentially, symbols forming part of the "public" API are available to all
modules, while "internal" symbols are only available to GPL modules. The
intent is to declare that modules using the public API are "clients" of
the kernel while those using internal symbols are derivative works.

Whether that has any legal significance, I don't know. Also, for an
embedded device, there's nothing preventing the developer from simply
removing that check so that non-GPL modules can access internal symbols.
It's mainly targeted at PC hardware, where a vendor is going to want a
driver to work with a "stock" kernel.

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.arch.embedded


csiph-web