Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Wireless Networking Software Hardware Linux

Linux Sourcecode To Minitar Access Point 295

mcbridematt writes "Minitar sells a rebadged Edimax Linux based-802.11b Access Point in Australia (no FCC ID yet) for a relatively cheap price (under AUS $100 in places). These access points are based around the Realtek 8181 wireless-system-on-chip design, have 8MB flash rom, and run a 2.4 series Linux kernel. After requests from the community to get the kernel sources, which resulted in a incomplete sourcecode release, we finally have (allegedly) complete and GPL compliant Linux kernel sources for this fine Access Point. Special thanks to chuna, serialmonkey and screwball at Minitar for making this happen, especially after they ran into arguments with their OEM and Realtek over this." From the attached forum discussion, you can see there's disagreement about whether the source code release is as complete as it should be.
This discussion has been archived. No new comments can be posted.

Linux Sourcecode To Minitar Access Point

Comments Filter:
  • I'm curious. (Score:2, Interesting)

    by Anonymous Coward
    Who is actually going to care? Will any of you buy this product now, and hack around with the source?
    • Re:I'm curious. (Score:3, Informative)

      by mcbridematt ( 544099 )
      I own one of these AP's and there pretty damn good things for the price, and quite compact too. You could probably rip out the board and place it in a Palm III shell :)
    • Re:I'm curious. (Score:5, Informative)

      by BlueUnderwear ( 73957 ) on Tuesday March 16, 2004 @03:10AM (#8576296)
      Who is actually going to care?

      Maybe those of use stuck with a Realtek 8180 card? The model number is close enough to 8181 that there is some chance that the 8181 AP driver would work with the 8180 PCMCIA card, with only minor modifications.

      Yes, I know that there already is a binary driver [realtek.com.tw] for the 8180, but it is very flaky, and rather picky about the kernels and distributions it agrees to work with... (as binary drivers usually are, alas!)

      • Re:I'm curious. (Score:5, Insightful)

        by mcrbids ( 148650 ) on Tuesday March 16, 2004 @03:59AM (#8576408) Journal
        Yes, I know that there already is a binary driver [realtek.com.tw] for the 8180, but it is very flaky, and rather picky about the kernels and distributions it agrees to work with... (as binary drivers usually are, alas!)

        Which is why I contend that the Linux driver interface sucks.

        Assume that I have, on my Red Hat system, kernel 2.4.20-8. Which I parse as 2.4.20 kernel, build #8. So a security update comes out, and I upgrade to 2.4.20-12. (Not an atypical scenario).

        Suddenly, my nvidia driver doesn't work, and once that's resolved (with a loss of 3D support, no less) I find also that VMWare won't load properly.

        It may be that 3 lines of code were changed, so that

        "if (a>20){
        b=5;
        } "
        now reads
        "if (a>=20){
        b=5;
        } "

        out of umpteen kazillion lines of code, but dammit, now I have to find precompiled binaries for the exact version and build of the kernel I'm now running.

        I think that's just retarded.

        Kernel modules should communicate through a documented API, allowing a particular binary driver to work on a series of versions. I think it'd be fair to have a 2.4.x api, and a 2.5.x, 2.6.x, and so on.

        But the current way is just stupid and hampers Linux' adoption in the less techie areas.

        Of course, since I'm not Linus, nor a programmer of sufficient skill to provide any serious challenge to the powers that be, I generally just swallow my gripes and live with it for the parts that I like. (fantastic reliability, good uptimes, reasonable security, etc.)

        • Re:I'm curious. (Score:5, Informative)

          by Monkelectric ( 546685 ) <[moc.cirtceleknom] [ta] [todhsals]> on Tuesday March 16, 2004 @04:22AM (#8576462)
          yea but you know that drivers are the primary reason windows is unstable right? if you get conservative, non-flashy hardware, windows is very stable. Win2k is *more* stable under VMWARE then it is on real hardware -- and the reason is the vmware authors are professionals and know how to write drivers. Some chinese kid who makes 8$ a month banging out drivers for generic wifi card #23 isn't producing quality code, and that crashes your computer :)

          Thats why Win2k/WinXp/etc like signed drivers. Being signed means they've been throught MS's tests... MS realized they were getting reamed for alot of lockups that weren't their fault.

          So whatever linux is doing wrong, its still doing better then MS.

          • That's a lame excuse (Score:4, Interesting)

            by iamacat ( 583406 ) on Tuesday March 16, 2004 @05:56AM (#8576703)
            By that logic, an OS without memory protection or preemptive multitasking is not to be blamed for lock ups - applications are.

            Maybe device drivers a bit different because some operations can cause a hardware malfunction that will bring down the machine no matter what the OS does. But I bet most crashes are due to more trivial reasons - a driver corrupting kernel memory, waiting forever for a failed operation, taking 100% of CPU time an so on.

            There is no excuse why device drivers can not have their own protected memory space, swap to virtual memory, only be able to access mapped memory and I/O ports they are supposed to use, communicate with the kernel through regular system calls and receive queued interrupts by reading from sockets. There is no reason device drivers can not be implemented in Java.

            Have real-time concerns or chicken-and-egg problems (disk drivers will have a hard time using virtual memory)? Fine, implement that driver - or just the portion that needs to be real time - in kernel. Just don't tell me my Palm USB driver needs to corrupt kernel memory and crash the system.
            • I think a problem here is that there are a many more possible versions of the linux kernel floating around than windows; it's easy to write and distribute a driver package that can cope with a few different kernel versions when there are such a limited number of platforms to write against, even including service packs.
        • Re:I'm curious. (Score:5, Interesting)

          by BlueUnderwear ( 73957 ) on Tuesday March 16, 2004 @04:45AM (#8576524)
          Actually, many "binary" drivers use a "mixed" approach: some "glue code", available in source form, responsible to be the interface with the rest of the kernel, and the binary driver itself, containing those superseekrit proprietary algorithms that the company doesn't want to reveal. The binary part only interacts with the glue code, never directly with the rest of the kernel.

          Well, that's the theory. Unfortunately, despite their best intentions, many drivers get it wrong. They either "forget" to put a certain number of APIs into their glue code, and call those directly from the binary part. Or, all functions are covered, but they access structures directly. Or any other kind of SNAFU. Smacks more of lack of testing or proper development procedures than lack of foresight.

          NVidia gets it right (even to the point that their driver works flawlessly with 2.6 kernels. But not with SuSE's X servers, but I'm more inclined to blame SuSE for that...).

          VMware gets it mostly right (no problems with any 2.4 kernel, but you need a third-party patch [ftp.cvut.cz] for 2.6 kernels).

          Realtek (and, unfortunately many others...) get it wrong, and don't seem to work on anything more recent than 2.4.18.

        • Re:I'm curious. (Score:4, Insightful)

          by Wakkow ( 52585 ) * on Tuesday March 16, 2004 @04:46AM (#8576527) Homepage
          "but dammit, now I have to find precompiled binaries for the exact version and build of the kernel I'm now running."

          Why? Whenever I upgrade my kernel, the nvidia installer compiles one for my kernel.. No need to search for precompiled binaries.
        • I think 2.6 has a feature called "Kernel Versioning Support" which allows you to use modules made for older kernels. It's still EXPERIMENTAL, AFAIK.
        • Re:I'm curious. (Score:4, Informative)

          by Arker ( 91948 ) on Tuesday March 16, 2004 @04:54AM (#8576556) Homepage
          Your gripe doesn't show that the kernel interface sucks, but that binary drivers suck. The kernel API is left somewhat changeable on purpose, because there are major advantages to it and because the disadvantages of it accrue solely on binary-only drivers, which are in Linus' words 'unsupported' and not to be encouraged anyway.
      • Re:I'm curious. (Score:5, Informative)

        by idiotnot ( 302133 ) <sean@757.org> on Tuesday March 16, 2004 @04:34AM (#8576501) Homepage Journal
        Thing is....

        The binary drivers also aren't platform-independent. I'd imagine the 8180 driver only works on 32-bit x86. Now, for the majority of people, this isn't a problem, but what happens when you buy an Athlon64 notebook and want to run a 64-bit kernel, and the driver won't work....stuck in 32-bit land until Realtek graces you with a driver.

        I'm in a similar situation, which is why I bring this up. I own a notebook with a broadcom wireless chip. Dell uses these in their notebooks. For PC users, they use the NDIS wrapper and use the windows driver. It has limited functionality, but it does work. I own an iBook, so the windows driver won't work at all for me. Cisco/Linksys use this chip in their wr54g router/ap, which uses arm, I think? They've relesed the source to the AP....everything *except* the source to the driver for the broadcom chip. Broadcom seems steadfast in its refusal to release the specs on the card, so until someone manages to reverse engineer it or something, there won't be any real free driver for it, and certainly not one for non-pc platforms. So much for running Linux or BSD on my iBook.
  • by mcbridematt ( 544099 ) on Tuesday March 16, 2004 @03:06AM (#8576280) Homepage Journal
    Before I kick myself in the arse over my usage of "full" in this story, there ain't any wireless code in there. It appears to be for the purpose of getting Linux to run on the damn thing. (Imagine a Beowulf cluster of these AUS $100 things blah blah..)

    The RTl8181 driver for Linux has been a seperate binary driver for some time :(
    • You're a fucking karma whore. Whore.
    • by Marlor ( 643698 ) on Tuesday March 16, 2004 @03:33AM (#8576354)
      The RTl8181 driver for Linux has been a seperate binary driver for some time

      What's worse, is that (if the linked forum posts are to believed) the RTl8181 driver is not actually a kernel module. It is linked directly into the kernel, and relies on some modified core kernel files (mm.o kernel.o mm.o fpu_emulator.o).

      The source for the modified files, and the driver itself, have not been released. This looks like a violation of the GPL to me, as these files are linked directly into the kernel.

      One of the posters in the forum has promised to take this up with the FSF and Realtek, and it would be interesting to see what the results are.
      • by benjamindees ( 441808 ) on Tuesday March 16, 2004 @04:28AM (#8576479) Homepage
        This thread on KernelTrap [kerneltrap.org] is the best discussion I have come across so far wrt GPL/binary/static/module issues like the ones in this case.

        Here's some snippets:

        Kendall Bennett:
        I have heard many people reference the fact that the although the Linux

        Kernel is under the GNU GPL license, that the code is licensed with an
        exception clause that says binary loadable modules do not have to be
        under the GPL.

        Linus:
        Nope. No such exception exists. ...


        Basically:
        - anything that was written with Linux in mind (whether it then _also_
        works on other operating systems or not) is clearly partially a derived
        work.
        - anything that has knowledge of and plays with fundamental internal
        Linux behaviour is clearly a derived work. If you need to muck around
        with core code, you're derived, no question about it.

        Zwane Mwaikambo:
        What about software which utilises Linux specific kernel services, such as

        say some cd writing software?

        Erik Andersen:

        An ordinary program that uses normal system calls?

        linux/COPYING says: This copyright does *not* cover user programs
        that use kernel services by normal system calls - this is merely
        considered normal use of the kernel, and does *not* fall under
        the heading of "derived work".

        Larry Mcvoy:
        Yeah, and the GPL specificly invalidates that statement. We're on thin

        ice here. Linus is making up the rules, which is cool (since I tend to
        like his rules) but the reality is that the GPL doesn't allow you to
        extend the GPL. It's the GPL or nothing. ...

        But given that, neither Linus (nor any of you) get to say "well, that's fine
        for userland but drivers are derived works".

        I've said this over and over and I'll say it again. If you want the
        protection of the law you have to live with the law's rules. You DO
        NOT get to say "user programs are a boundary across which the GPL does
        not apply but drivers are a boundary across which the GPL does apply".
        It doesn't, and can't, work that way. Either userland is GPL and drivers
        are GPL or neither are GPLed. Take your pick.
        • by Arker ( 91948 ) on Tuesday March 16, 2004 @04:52AM (#8576545) Homepage

          Interesting that you chose your selections to give McVoy the last word. He's not exactly an authority on the GPL, or even someone with a neutral position on it historically. Linus answered him quite well:

          From: Linus Torvalds [email blocked]
          Subject: Re: Linux GPL and binary module exception clause?
          Date: Thu, 4 Dec 2003 17:58:18 -0800 (PST)

          On Thu, 4 Dec 2003, Larry McVoy wrote:
          > >
          > > linux/COPYING says: This copyright does *not* cover user programs
          > > that use kernel services by normal system calls - this is merely
          > > considered normal use of the kernel, and does *not* fall under
          > > the heading of "derived work".
          >
          > Yeah, and the GPL specificly invalidates that statement. We're on thin
          > ice here. Linus is making up the rules, which is cool (since I tend to
          > like his rules) but the reality is that the GPL doesn't allow you to
          > extend the GPL. It's the GPL or nothing.

          Larry, you are wrong.

          The license _IS_ the GPL. There's no issue about that. The GPL rules apply
          100%.

          But a license only covers what it _can_ cover - derived works. The fact
          that Linux is under the GPL simply _cannot_matter_ to a user program, if
          the author can show that the user program is not a derived work.

          And the linux/COPYING addition is not an addition to the license itself
          (indeed, it cannot be, since the GPL itself is a copyrighted work, and so
          by copyright law you aren't allowed to just take it and change it).

          No, the note at the top of the copying file is something totally
          different: it's basically a statement to the effect that the copyright
          holder recognizes that there are limits to a derived work, and spells out
          one such limit that he would never contest in court.

          See? It's neither a license nor a contract, but it actually does have
          legal meaning: look up the legal meaning of "estoppel" (google "define:"
          is qutie good). Trust me, it's got _tons_ of legal precedent.

          Linus
          • by eraserewind ( 446891 ) on Tuesday March 16, 2004 @08:47AM (#8577152)
            I think (in my non-lawyerish way) that Linus is wrong about what a judge will consider a derived work.

            For userland programs all of which dynamically use the kernel he has said that he (as the copyright holder) won't find them actionable. (even if some GPL interpreters might disagree). I agree that they are not actionable, but not just because he thinks so. I think that even if he thought they were actionable, any judge would rule against him. Otherwise the entire software industry would have no legal basis, and clearly it does. Dynamic loading or plugins just leaves a library shaped hole in your program. It could be filled by any library that matches the shape of the hole.

            For dynamically loadable kernel modules or drivers he thinks they are actionable. For the same reasons as in userland above I think that just because he believes they are actionable, doesn't make it so. I think that no judge will agree with him.

            For dynamically loadable kernel modules or drivers that use inline (i.e. copyable) kernel functions he believes they are actionable. I think there is a 50:50 chance that a judge will agree with him. I think there is also a chance that the judge will consider that since the inline functions form a part of the interface, that using them is fair-use, and rule against him.

            For statically linked kernel modules he thinks they are actionable. I agree, if the module and kernel are distributed together. If the author just provides the statically linked module as some kind of patch, separate from the kernel, then it is not the module author that has created a derived work, but the user who installs it, and that is fine with the GPL.

            I think his assertion that if you are "thinking of linux" when writing your module or driver, it becomes a derived work of his, is somewhat crazy.

            But that's just my opinion. Linus has his, and so does everyone here probably. I'm sure that a lawyer would advise differently again. Personally I would love to see a GPL violation go to trial, for each of the cases above. Just to see what would happen. It would be interesting.
            • > Otherwise the entire software industry would
              > have no legal basis, and clearly it does.
              That sounds like a fairly large assumption to me. Never assume that any business entity has a legal basis for anything. Despite appearances (and statements) to the contrary, most businesses consult lawyers "in post". A large amount of software licensing has been developed that way.

              Secondly, it all comes down to the definition of a derived work.

              The kernel (wrt userspace) is not a library. It also does not imp
        • Here's a hypothetical situation i haven't seen an answer for... suppose I invent a new language, lets call it 'R', which is completely impossible to understand without documentation. Suppose I heavily encumber this language with patents, NDA's, etc so that nobody can use it except me (and anyone else who pays me lots of money :).

          Now suppose I take some GPL code, and modify it. One of these modifications is to port it to 'R'. If I then release and sell the binary, and distribute the (now unreadable, undecip
  • by cibus ( 670787 ) on Tuesday March 16, 2004 @03:24AM (#8576331)
    ...is kindof a cool thing one can do if able to update the flash memory on accesspoints.
    Check out http://reseaucitoyen.be/index.php?OpenWrt (french) which is a project to run a olsr implementation (www.olsr.org) in a LinkSys-Wrt54G which also runs Linux.
  • Picking your battles (Score:4, Interesting)

    by fuzzy12345 ( 745891 ) on Tuesday March 16, 2004 @03:28AM (#8576344)
    Don't get me wrong. I think that, under GPL, people are fully entitled to ask for the source for this thing.

    But big deal. The source is going to be 99.8% unchanged from the previously public version, and the 0.2% remaining is just going to be bootstrap code and code to work around bugs in the specific hardware, etc. Further, I bet nobody actually does anything interesting with it now that they've got the source. After all, the HW's only good for one thing, and it already does it.

    Suing every commodity router builder that comes down the pike with a product like this, which has essentially zero software value added in it, is just going to make some manufacturers squeamish about using Linux inside. And I want them to use Linux, because I, as a consumer, would rather have that than the lower quality, higher cost alternatives that exist.

    Looking at it another way, if the OSS community sues over these dinky issues, where they get no great new software to show for it, they'll lose out on luring some big fish to use OSS plus their own super-duper-multimedia-software, which the community could then sue for and actually get something out of it.

    P.S. For those that say "but we might get a driver for the buggy chipset that we've only got a buggy closed source driver for now" - will you listen to yourselves? Support another chipset vendor, you twits!

    • by kundor ( 757951 ) <kundor.member@fsf@org> on Tuesday March 16, 2004 @03:36AM (#8576364) Homepage
      If gpl violations are only pursued when they seem to be "important," companies would see that as a go-ahead to use gpl'd code willy-nilly in commercial apps, and only cough up source if they get called on it.

      That would completely defeat the purpose of what the gpl is supposed to accomplish.

      • by QuantumRiff ( 120817 ) on Tuesday March 16, 2004 @05:32AM (#8576654)
        You let companies do anything they want with the source-code. Don't enforce a single darn thing. Then, 20 years later, decide that you need to protect your "IP" becuase your business model is horribly, horribly flawed. Then start suing companies for billions of dollars.

        Since these linux drivers are responsible for so much revenue to these big companies, they would much rather gobble you up for a couple dozen million (chump change really), than deal with the publicity of a lawsuit.

        Of course you need to have a backup plan incase they don't bite. You need to protect your "IP" so you issue press releases like you were the AP, telling anyone and everyone that you are suing these evil corporations, and you have expensive lawyers. Sell your stock like mad, when dumb people buy your story..

        If they ask "what IP do you have?" Loudly shout "errr, umm, Look at that monkey over there!", and make sure that by the time they turn back around, your expensive lawyer is there with lawsuit in hand..

        I don't need an MBA or a Law Degree, everything I need to know i learned from Slashdot and the litigious bastards [thescogroup.com].

    • by Anonymous Coward
      when it comes to copyright you cannot allow people to break it.

      you have to make an attempt to enforce it .

      why do you think the RIAA does it, ( well i think they like being assholes too )

      a copyright that is not enforced, will eventually be unenforcable.

      that is important. because if you allow people to break it, then you decide to enforce it against something, the claim can be made of unequal enforcement (and in copyright, that matters unlike in patents.

      not to mention the OSS community is not doing
      • by Hast ( 24833 )
        No, that is trademarks.
    • by Anonymous Coward
      " Don't get me wrong. I think that, under GPL, people are fully entitled to ask for the source for this thing."

      Then why rant about it? Either they are, or they aren't. There's no middle ground.

      "But big deal. The source is going to be 99.8% unchanged from the previously public version, and the 0.2% remaining is just going to be bootstrap code and code to work around bugs in the specific hardware, etc. Further, I bet nobody actually does anything interesting with it now that they've got the source. After al

    • P.S. For those that say "but we might get a driver for the buggy chipset that we've only got a buggy closed source driver for now" - will you listen to yourselves? Support another chipset vendor, you twits!


      Buggy open source drivers can be fixed or re-written from scratch. Buggy closed source drivers can't. As far as supporting another chipset vendor, who's selling an inexpensive AP with all the hardware necessary to run linux, and an open source radio driver? No one AFAIK.

      Is the problem here that Re
    • by putaro ( 235078 ) on Tuesday March 16, 2004 @04:36AM (#8576504) Journal
      Manufacturers like RealTek are looking for a free ride. They take the work of other people without compensating them in the way that they ask - in this case to distribute the changes made to their code so that they can learn and modify. If the Linux developers asked for cash in return for using their code would you say they should not worry about it? A deal's a deal. RealTek can BUY an OS if they want to keep their changes proprietary or they could use a differently licensed free OS, like BSD. No one is forcing them to use GPL'd code.

      Are you a contributor to the Linux code base? If not, then your wishes as a CONSUMER of other people's work don't really count for a lot.
    • I think what gets overlooked sometimes is that while GPL'd software may be free of cost that doesn't make it free of value. And this is where it gets tricky: instead of being a financial asset it is an idealogical and philosophical asset. But lets just leave that part out of it, it IS an asset, both to the individual programmer and the community they have given it to.

      Then it is our responsibility to protect our intellectual assets, or do we forfeit our rights to them?

      Commodity router builders have at t
    • Actually the source for this ap is extremely usefull..

      For people building wide area networks like melbourne wireless [wireless.org.au]

      For the record there are extremely significant changes between the kernel source for this chipset and the standard 2.4.18 source in particular it's a MIPS r3k LX cpu which linux dropped support for during the 2.2 series because of a lack of hardware in circulation

      With this source we can do all sorts of interesting things like put dynamic routing protocols on the device or turn them int

    • And I want them to use Linux, because I, as a consumer, would rather have that than the lower quality, higher cost alternatives that exist.

      But then you're not obliged to buy one of *every* device out there. You have the choice to just buy the ones that DO use Linux. The market pressure of people like you - assuming there is any superior value at all in having Linux, then the market pressure *will* develop - will alone be a reason for the manufacturers to use Linux instead of other "lower quality, higher
    • My $0.02

      Regarding your point of features, there was a firmware modification for the Linksys WRT54G router (A Google search comes up with a ton of results if you start searching for VPN WRT54G linux firmware). This seems to have a reasonable development community now the code is open source.

      Lawsuits: I can't exactly chime up and say that I have written large amounts of GPL code, or anything like that. I can only say though, that I am working on a project at the moment, that I will open source shortly. At t
  • by MsGeek ( 162936 ) on Tuesday March 16, 2004 @03:37AM (#8576368) Homepage Journal
    NewEgg's got it.

    Link to the product at NewEgg [newegg.com].

  • If they use the rabbit-proof fenses as signal amplifiers, that's cheap enough to saturate the Australian outback with roaming wi-fi access.

    On a more serious note, that price IS low enough to paper an entire city. I'd like to see someone do it.

  • Any attack against our hardware by the Rebels would be a useless gesture, no matter what technical data they've obtained. This router is now the ultimate power in the network. I suggest we use it!

    Don't be too proud of this technological terror you've constructed. The ability to block G4T0r spyware crap is insignificant next to the power of the Source.

    Don't try to frighten us with your coder's ways. Your sad devotion to that irrelevant OS has not helped you sell routers; we all know that Linux is a niche m

  • by harlows_monkeys ( 106428 ) on Tuesday March 16, 2004 @04:05AM (#8576422) Homepage
    These kind of cases are going to get interesting, when the following happens.

    1. Company X makes the guts of one of these routers or access points. They modify GPL'ed software, and put it on ROM in the device.

    2. Company X sells these things to OEMs, who put it in boxes, add their applications in a separate ROM, and sell it to customers. Company Y is one of these OEMs.

    3. Company X includes the full machine readable source of the GPL'ed ROM with the board they sell to company Y. Note: Company X has completely satisfied their GPL obligation. They are completely off the hook as far as anyone who acquires the software from company Y is concerned.

    4. Now it gets interesting. Company Y takes the board with the ROM, and sells it to an end user. Note that company Y is allowed to do this without the permission of the copyright holder, because of the first sale doctine (see footnote).

    5. Because company Y didn't do anything other than what is allowed by copyright law, they are under no GPL obligation to provide ROM source to the end user.

    6. Note the end result: no one has a GPL obligation to provide source to the end user! Company X satisfied all their GPL obligations in their dealings with company Y, and company Y distributed in a way that falls outside the GPL.

    Note: this isn't as big a loophole in GPL as it might seem, since it only applies to things like ROMs, where someone like company Y receives a particular copy, and distributes that particular copy to the end user.

    Footnote: the fair use doctine, codified at 17 USC 109 if I recall correctly, basically states that the legal owner of a particular copy of a copyright work can sell that copy, without that violating that copyright owner's exclusive right to distribute or authorize distribution of the work. This is what allows used bookstores, for example. Without the first sale doctrine, every time a book changed hands, it would require the publisher's permission!

    This is also what lets you sell a used embedded device on eBay without incuring any GPL obligation if it turns out the device uses GPL'ed code, so I wouldn't say this loophole in GPL is a bad thing. If you just go down to BestBuy and buy a router, you should be able to resell that without worrying about whether or not the manufacturer used any GPL'ed code in the thing.

    • Wow. That's a doozie. It would only stand up as long as company Y didn't do any mucking around with the ROM from company X or actually *copy* any GPL'd code in their manufacturing process.

      It's doable, I guess. Of course, it hasn't happened, yet. But, it's doable.

      The questions are: Can company X *prohibit* company Y from distributing the source through a contract agreement?

      and: Will it be good or bad when a company offers a modified Linux distro on a chip?
      • The questions are: Can company X *prohibit* company Y from distributing the source through a contract agreement?

        I don't think so. X would not be following GPL, and so couldn't distribute to Y.

        One thing I forgot to mention, that also makes this whole situation less of a problem than it might seem at first: upgrades. If X or Y offers downloadable or otherwise user-installable kernel ROM upgrades to the end user, they'll fall under GPL.

        So, this is only going to really be a possibility for devices where

        • IF it is a genuine loophole it is rarely noticed because it would likely be hard to use. Either company X needs to be VERY careful about who they sell anything to, or they'd need to control company Y.

          If I as Evil Open Source Zealot manage to purchase anything from them directly and demand the source, they'd violated the GPL if they don't sell. Alternatively I could convince company Y (possibly with money, or the threat of a boycott) they'd benefit from demanding the source from company X and passing it on

    • I don't follow you.

      Seems pretty simple to me. If you take GPL code, use it in a product, you have to make the source available to the public. (Company Y only, does not equal the public, invalidating your claim "completely satisfied the GPL obligation")

      In your example, it seems pretty clear to me that anyone who requests it, should legally be able to obtain a copy of the modified source from Company X.

      Company X is entitled to charge a fair fee for materials...but that's it.

      Your point number 3. is complet
      • by toast0 ( 63707 ) <slashdotinducedspam@enslaves.us> on Tuesday March 16, 2004 @05:14AM (#8576607)
        Your parent is incorrect about point 3. But you're also incorrect. The GPL does not require that you give the source to the public, it requires that either you transmit the source with the object code or you make an offer to give the source to any third party.

        But it's hard to take someone up on an offer you haven't received. And company Y is not distributing the object code noncommercially, so they have to either provide their customers with the source code, or provide their own offer. Customers of company Y would not know of the offer of the source from Company X.

        Your parent is incorrect with his point 3, because the GPL compels Company X to distribute the source and object codes under the GPL. Thus, Company Y must agree to those terms, and it's bound to include the source code with the object code, or offer the code.


        • Your parent is incorrect with his point 3, because the GPL compels Company X to distribute the source and object codes under the GPL. Thus, Company Y must agree to those terms, and it's bound to include the source code with the object code, or offer the code.


          No. The GPL can't do that - it works only within standard copyright law, which is a restriction on distribution, not a forced requirement. That's the point.

          I don't need permission from the authors at all to sell my copy of Gravitation, for instance
          • ..so I can distribute copies of Windows because it's already been sold to me under license?

            Can I heck.

            Copyright law covers *all* distribution. If it only covered a 'first sale' then it'd be utterly useless.
            • ..so I can distribute copies of Windows

              Did you read the example fully? He didn't say distribute. He said sell. That is, give the physical ROM which has the code on it to another person, so that he no longer has the device that he purchased. This is selling by the original purchaser, which is not restricted by copyright law.

              You can sell your copy of Windows, though, regardless of what crap Microsoft says.

              If it only covered a 'first sale' then it'd be utterly useless.

              It does not cover first sale. If i
      • Seems pretty simple to me. If you take GPL code, use it in a product, you have to make the source available to the public

        You are very confused. Go study section 3 of the GPL.

      • Perhaps you should actually go and read what the GPL says instead of what you think it says?

        > If you take GPL code, use it in a product, you have to make the source available to the public

        Why? Can you quote the part of the GPL that says that? Please be sure to include the clause that says "have to" and "to the public".

        >In your example, it seems pretty clear to me that anyone who requests it, should legally be able to obtain a copy of the modified source from Company X

        Again, quote the obliga

    • First Sale? (Score:3, Funny)

      by MacFury ( 659201 )
      Without the first sale doctrine, every time a book changed hands, it would require the publisher's permission!

      Doesn't everyone require the publishers permission when they sell their books? Oh wait...I forgot, this is 2004. I'll repost in a few years when the preceding statement is true. :-)

      • There's difference between *selling* something (eg. a book), and *distributing* something (eg. Linux).

        I can sell you a book, but I can't duplicate it and give you a copy without the publishers permisison.
    • 3. Company X includes the full machine readable source of the GPL'ed ROM with the board they sell to company Y. Note: Company X has completely satisfied their GPL obligation. They are completely off the hook as far as anyone who acquires the software from company Y is concerned.

      I would assume that Company X has to provide the source for their ROM if requested. Any party which has access to the binary has the right to request the source.
      • > Any party which has access to the binary has the right to request the source.

        Well, sure, anyone can go ahead and request the source, regardless of whether they have the binary or not. But that's not the point. The point is whether company X has an obligation to provide, or even an obligation to promise to provide the source. If they already gave the full source to everyone to whom they distributed the executables (which in this case is company Y and only company Y) then they have already discharge

    • by Mike Buddha ( 10734 ) on Tuesday March 16, 2004 @05:16AM (#8576613)
      This loophole doesn't exist. If you look at the GPL, it states that a written offer for the source code must exist that offers the entire source to any third party to eligible to receive it, i.e. someone receiving a binary copy of the software.

      A ROM is merely a storage place for a binary file. By distributing software on ROM, you aren't exploiting any hole at all in the GPL. The hole is not there.

      If you were to buy a piece of hardware with GPL'd software on it from E-bay, you would have to be extended the right to the source from the one who originally modified it.

      In your example, Company Y would be off the hook, but Company X would still have to provide the source to those who owned the devices.

      • In your example, Company Y would be off the hook, but Company X would still have to provide the source to those who owned the devices.


        But company X is only required to give the code to whomever it was distributed to, by them - Company Y. Company Y doesn't have to follow any licensing agreements because the right of first sale allows them to sell without any permission from the copyright holder.

        Imagine an author, writing a book. He gives the publisher permission to distribute his book. The publisher dis
        • by Tony Hoyle ( 11698 ) <tmh@nodomain.org> on Tuesday March 16, 2004 @05:46AM (#8576680) Homepage
          But company X is only required to give the code to whomever it was distributed to, by them - Company Y. Company Y doesn't have to follow any licensing agreements because the right of first sale allows them to sell without any permission from the copyright holder.

          No.

          It allows them to sell their *single* copy to someone else, thus depriving them of that copy.

          It does *not* allow them to circumvent copyright law.
          • It allows them to sell their *single* copy to someone else, thus depriving them of that copy.

            Yah. That's what I said.

            It does *not* allow them to circumvent copyright law.

            Author says to distributor: "You are authorized to distribute this book to only Amazon.com."
            Distributor: "OK, no problem" - distributes to Amazon.com.
            Joe Blow: Buys book at Amazon.com
            Joe Blow: Sells book to Whitey's Book Store on 5th.

            First sale allows everything after the distributor to happen, because it's just a transferrence of th
            • No. You are missing the point. The first sale doctrine applies to outright sales. Selling a book is not subject to copyright law because what is being sold is the book - the physical item. The fact that a copyrighted work is printed on the pages of the book is not important, as long as the act of copying, and distributing the copy made was done under license from the copyright holder.

              Subsequent owners does not need a license from the copyright holder to dispose of their legally purchased physical item. Th

      • This loophole doesn't exist. If you look at the GPL, it states that a written offer for the source code must exist that offers the entire source to any third party to eligible to receive it, i.e. someone receiving a binary copy of the software.

        I think you are missing the point. Company X is required to attach the written offer to the copies they are distributing. Company Y can simply throw them away and not pass them onto the end-user, as they don't have to comply with the GPL (they aren't making co

        • Sorry, you've both missed the point. Go and read the license [fsf.org] and look carefully at Section 3. Note the use of "one of" and "or".

          When company X gives their machine readable source to company Y, that's their obligation under the GPL fully and completely discharged. Company X are not required to attach a written offer to make the source available to third parties, not no-how, not no-way. "one of". "or".

          Company Y don't have to add such an offer (or distribute the source) because they have rights of fir

      • by harlows_monkeys ( 106428 ) on Tuesday March 16, 2004 @06:07AM (#8576723) Homepage
        This loophole doesn't exist. If you look at the GPL, it states that a written offer for the source code must exist that offers the entire source to any third party to eligible to receive it, i.e. someone receiving a binary copy of the software

        Nope. You need to reread the GPL, paying careful attention to section 3: "You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following" (emphasis added). Providing a written offer valid to any third party for the source code is one of the options available to the distributor under section 3, but the distributor is not required to choose that option. One of the other options is to distribute the source code with the binary. If company X includes the source with every binary they distribute, that's all they have to do.

        • Oops, sorry for duping your comment. You are completely correct.

          It never ceases to amaze me how so many technically minded people can't follow clauses like that in the GPL. Perhaps if we re-wrote it to use && an ||, it might make it clearer.

      • > This loophole doesn't exist. If you look at the GPL, it states that a written offer for the source code must exist that offers the entire source to any third party to eligible to receive it.

        The GPL says no such thing. Perhaps you should take your own advice and go and read it [fsf.org], then read the parent post again, and then have another think about it.

        3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and

    • X can not impose a contract on Y not to do so, because it would violate the GPL. And from the point of view of Y, all distributing the source would do is create some competition to X, which can only be good by lowering the prices. And besides, all one would need to do is buy one chip from X and make the code public.

      I guess the only case to worry about is when X and Y are actually controlled by the same people, for the specific purpose of flouting the GPL. This is the case to be sorted out in court (IANAL),
  • Comment removed (Score:3, Insightful)

    by account_deleted ( 4530225 ) on Tuesday March 16, 2004 @04:21AM (#8576457)
    Comment removed based on user account deletion
  • by zardie ( 111478 ) on Tuesday March 16, 2004 @05:26AM (#8576640) Homepage
    The Minitar AP is hardly the first AP for such an issue to surface. My Linksys WRT54G wireless router is also Linux based, which has been great as it has given birth to some interesting firmware and OS variations.

    The concern for drivers isn't as big as you would think. Why spend AU$60 or 70 bucks on a realtek wireless card when for AU$80 (in our recent Melbourne Wireless bulk buy) you can have a complete, standalone, managed network device. Around our community wireless group, these devices are very popular for their possibility of expanding their functionality to include routing and fault tolerence technologies at a fraction of the cost of a commercial solution which we neither want or can afford. This is also helpful as we can implement peer-to-peer IBSS mode which is better suited for point to point links. Additionally, it allows us to build a wireless node for $80 an interface (excluding antenna and cabling) simply by pkugging in an extra device into a switch or hub.

    I believe the common issue with releasing wireless drivers for open sourced OS's is that the cards can be reprogrammed to use wireless channels which may violate their telecommunications (eg, austel, FCC) certification by operating in frequency ranges of which they are not permitted.

    I think that due to the cost of APs. vs using a PC as an AP these days, especially in running costs, that the protection of infrastructure-mode AP capabilities is really pointless anyway.
    • As with the Linksys, the wireless driver is contained in a separate closed source binary. And it's that (or the wireless chips firmware) that decides what channels you can broadcast on.

      So until someone reverse engineers these drivers (hopefully soon) you'll have nothing to worry about. I doubt you'd have much to worry about anyway, if people are broadcasting on normally un-used channels then they will be causing you less interference if they'd been on a channel closer to what your using.
  • by ajs318 ( 655362 ) <sd_resp2@earthsh ... .co.uk minus bsd> on Tuesday March 16, 2004 @05:58AM (#8576707)
    What we need is a new law that makes it illegal for hardware manufacturers to keep driver details secret. If you want to sell me a fancy wireless adaptor, graphics card, sound card or whatever, fine; but you have to give me all the information I need to write a driver for anything that I might want to interface to it.

    It used to be so, back in the days when a printer came with a big thick manual explaining how to do various textual and graphical effects, even pulse timings and voltages for the interface. And everyone thought that information was part of the operating instructions. Sometime between then and now, it went sour; probably we didn't notice, but documentation went from hacker-friendly, to (non-hacker)-friendly, to non-(hacker-friendly). Nowadays, it seems printer manuals just say "plug in the USB cable and install the Windows software" -- and manufacturers are treating the important stuff like how to fire the second "red" nozzle down as though it were some sort of nuclear secret.

    Well, it isn't. If you buy a piece of hardware you have every right to make use of that hardware, and if the manufacturer will not tell you how to do so then they are obstructing your enjoyment of your own property. At the very least, the owner of a particular device should -- by sole virtue of ownership -- be automatically privy to any "secret" it may contain; ideally, such information would be in the public domain by law.

    And sod the whingeing about "competitors having access to your 'proprietary information'". Your competitors already pay people to reverse-engineer your products, and you will get access to their "proprietary information".
  • Who wants minitar, when you can get GNU tar with a lot more options? Even GNU tar can do backup over network! There might even be a --wireless-net=yes in the next release.

1 + 1 = 3, for large values of 1.

Working...