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


Groups > comp.arch.embedded > #21686

Re: Linux Drivers Part of Kernel for GPL?

From Les Cargill <lcargill99@comcast.com>
Newsgroups comp.arch.embedded
Subject Re: Linux Drivers Part of Kernel for GPL?
Date 2015-08-05 22:17 -0500
Organization A noiseless patient Spider
Message-ID <mpujer$lsu$1@dont-email.me> (permalink)
References (2 earlier) <mprtp2$31m$1@dont-email.me> <mps2fv$dmn$1@dont-email.me> <mps6jh$n47$1@dont-email.me> <mpt10t$l42$1@dont-email.me> <mptags$p5u$3@dont-email.me>

Show all headers | View raw


rickman wrote:
> On 8/5/2015 8:56 AM, Les Cargill wrote:
>> rickman wrote:
>>> On 8/5/2015 12:15 AM, Les Cargill wrote:
>>>> rickman wrote:
>>>>> On 8/4/2015 10:25 PM, Les Cargill wrote:
>>>>>> 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?
>>>>>>>
>>>>>>
>>>>>> This post is not legal advice and is only intended as a guide
>>>>>> and may be radically in error. Caveat reador.
>>>>>>
>>>>>> Here is what Linus has to say on the subject:
>>>>>>
>>>>>> http://yarchive.net/comp/linux/gpl_modules.html
>>>>>>
>>>>>> You may be able to minimize the kernel loadable modules
>>>>>> to have no proprietary information and use a middle layer
>>>>>> for that, which is in user space.
>>>>>>
>>>>>> For example, Total Phase makes a USB CAN interface - the Komodo -
>>>>>> that uses a binary-only .so for the interface - the only drivers
>>>>>> needed are the stock USB drivers.
>>>>>>
>>>>>> Chances are you can do the same - you can leverage existing SPI and
>>>>>> I2C drivers, USB, what have you. There are others; drives for Linux
>>>>>> are numerous.
>>>>>>
>>>>>> Chances are you can do same unless you have some bizarre
>>>>>> hardware interface. And in that case, simply implement it with some
>>>>>> other "operating system" first, then port to Linux.
>>>>>
>>>>> I was not clear in my question.
>>>>
>>>> Sorry - I *ASS*umed you were posting from the role as a developer. :)
>>>>
>>>>    I am not looking to build such a
>>>>> product, I am considering what parts of products I might buy can be
>>>>> locked away.
>>>>>
>>>>> Specifically, someone said about an embedded product, "Yes, I heard
>>>>> that
>>>>> it always was on some form of Linux, but AFAIK its some secret
>>>>> proprietary flavour."  I'm trying to understand what that might mean.
>>>>>
>>>>
>>>> It's hard to say what that means. If you're a customer, you'd then need
>>>> to make sure there's an escrow plan to make sure you're not stuck. That
>>>> might be as simple as a .iso of a FLASH image.
>>>>
>>>> There's not a compelling reason not to use a stock distro ( the one
>>>> that
>>>> comes with your eval board is an excellent choice ) for
>>>> embedded and then add custom startup and kernel loadable modules.
>>>
>>> I'm talking about products that have Linux in them, not hardware for
>>> engineering.  The actual example is the many sat navs running Linux or
>>> in my case the Internet TV box which I found contains a GPL notice after
>>> I dug around in the menus.  I think the other guy I was talking to was
>>> suggesting they made a special version of Linux and kept parts "secret"
>>> to prevent cloning or something.
>>>
>>
>> I dunno then. These are what they are. Settop boxes are leased items;
>> the satnav is what it is.
>
> Yes, I believe that most things "are what they are".
>

So are you talking about a cable box, or an Internet TV adapter like
  a ROKU or what ?

For those things, hacking* them is not likely interesting. I presume you 
can reflash them  with binaries from the vendor.

*people do, but not for maintenance reasons.


>
>> These things are adapters for A Service, and are not products in and of
>> themselves.
>
> Ok, but I don't see how that is relevant.

It's relevant if your demark is the HDMI or Ethernet interface.

> I bought an item that has
> embedded software.  Some of that software is proprietary and I have to
> agree to a EULA.  Other software in that product is FOSS and they give
> me a copy of the GPL.  I'm asking how much of the software required to
> run the Linux OS is GPL and how much can be proprietary.
>

1) User space can always be proprietary. No GPL needed.
2) The kernel is not proprietary and yes GPL.
3) Drivers may or may not need to be GPL. It depends
on who you ask. Linus says anything that runs in kernel
space is GPL.

On 3) -  I know, right?

> Someone has pointed out that some of the drivers can be proprietary if
> they jump through the right hoops.
>
>

Right.

>>>>>>> I'm wondering how much of the product has to be opened up and
>>>>>>> provided
>>>>>>> to a user on request?
>>>>>>>
>>>>>>
>>>>>> None of it, SFAIK. It's not between you and them, it's between you
>>>>>> and
>>>>>> the Linux kernel community. They're not party to that relationship.
>>>>>>
>>>>>> If nothing else, declare it trade secret.
>>>>>
>>>>> I don't think you can make it a trade secret if it is covered by the
>>>>> GPL.
>>>>
>>>> Yeah, it's weird. You can have trade secret in opaque blobs. It's a bit
>>>> rude, but it's doable.
>>>
>>> Even then it is hard to make practical.  A trade secret is only useful
>>> as long as you can keep it secret.  You can reverse engineer to get
>>> around a trade secret.  In the US the right to reverse engineer can be
>>> licensed away.  In the EU it is protected by law.
>>>
>>>
>>
>> It's expensive.
>>
>>>>> Doesn't that require that anyone in possession of the code be able
>>>>> to share it freely?
>>>>
>>>> I am no expert on the details of GPL compliance.
>>>>
>>>>>  Or am I mistaken about this and it only requires
>>>>> that source be available with the executable?
>>>>>
>>>>
>>>> https://softwarefreedom.org/resources/2008/compliance-guide.html
>>>
>>> Good link.  Relatively easy to read.
>>>
>>> "Second, note that the last line makes the offer valid to anyone who
>>> requests the source. This is because v2 § 3(b) requires that offers be
>>> “to give any third party” a copy of the Corresponding Source."
>>>
>>> So I am free to distribute the GPL source without the authors having a
>>> grievance.
>>>
>>
>> That, I am completely unsure of. There's a formal-trust issue in that
>> case. What is your provenance for the thing being delivered?
>
> Not sure what you are asking.  Are you asking if I bought the product or
> if I am selling it or what?  I believe according to the GPL it is
> irrelevant.
>

So how does somebody who gets a copy of the GPL-ed code from you know 
it's the same? You'd need MDA signatures and such.

-- 
Les Cargill


Back to comp.arch.embedded | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web