Slashdot Mirror


Linux Sourcecode To Minitar Access Point

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.

22 of 295 comments (clear)

  1. Not exactly "complete" by mcbridematt · · Score: 5, Informative

    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 :(

    1. Re:Not exactly "complete" by jbert · · Score: 3, Informative

      The comment from Linus isn't about using estoppel as a sword.

      LT notes that his comments in COPYING allow *someone else* to know that they have the shield of estoppel on this matter.

      i.e. he is saying that he isn't modifying the GPL per se, but anyone with a lawyer would be able to read the comments in the COPYING file and have confidence that they could link+distribute their non-derived works (binary modules) with the kernel (since they could have a reasonable expectation of estoppel).

      There are some good threads (no links, too lazy) on this in the LKML archives. In particular, Linus's views on what constitutes a derived work I found interesting.

      re: lawyers copying copyrighted contracts, the fact that an act is commonplace doesn't make it legal. (It may be legal for other reasons, e.g. fair use, but I don't think your point stands). Witness speeding (in the UK) and sharing MP3s. Whether that makes it harder to get a prosecution, I wouldn't know.

    2. Re:Not exactly "complete" by vidarh · · Score: 2, Informative
      What Linus apparently meant by estoppel is simple: Linus has publicly stated his view on derivative works etc. and the Linux kernel, and referenced the license. More specifically he has attached a short notice in the same file as the license itself. People have contributed to Linux on this basis.

      Now, if Linus turned around and tried to sue for copyright infringement because someone had relied on his statements regarding his intent with regards to choice of license, they would use estoppel as an argument in court: Linus can't sue someone for violating his rights when it is well documented that he has repeatedly made representations as to what rights he intended to secure by placing Linux under GPL.

      If not, Linus could have have issued Linux under a license that just says "all rights reserved, no copying and distribution allowed" and go around and say "I don't _really_ mean that, as long as you abide by the GPL" and then start suing people once they start trusting him and distribute the software despite the license.

      Since Linus has made his view on derivative works clear in the COPYING file, and it's well documented, a lawyer might decide that that is more than sufficient for you to rely on despite not being part of the license itself.

    3. Re:Not exactly "complete" by KagatoLNX · · Score: 2, Informative

      > 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 implement anything unique--POSIX specifies the core of what most programs interact with. User code is clearly not a derived work because they are not diminished by the removal of the kernel.

      Drivers are another story. At some point a driver interfaces with the kernel in a very real way. I would remind you that writing a driver for the kernel ties into a number of locking functions and interfaces that are Linux-specific in the extreme.

      These drivers *ARE* diminished by the removal of the kernel. In fact, they are so incomplete without it that they are incapable of functioning. Thus, removal of the kernel causes them to no longer be a complete work. That is a natural consequence of (and evidence that) these drivers are a derived work.

      In addition, if you look up Linus's "estoppel" reference, you'll see that by stating that he will not pursue userspace in court, anyone has grounds to bind him to the public statement if he ever changes his mind.

      Thus, userspace is protected legally by the nature of a derived work and the precedent of estoppel.

      Drivers, on the other hand, are clearly a derived work (they're useless without the kernel).

      Driver writers who wrote "kernel independent" drivers might have a chance, but the ice is pretty thin. The qLogic ISP1040 driver for Linux / some BSDs comes to mind. Still, at a few very real points, there are some points that are clearly tight integration with Linux.

      Linus really doesn't care much about any of that. He made his choice simply on merits. Binary drivers are less stable. Anyone who has ever had to maintain a driver in Linux (or NT for that matter) will tell you that there are things that cannot be specified in an interface. Not the least of which is some of the spinlocking stuff. A number of things the kernel does, it does with macros that inlined into your code. If you build a binary driver and those change, your code does it different than everyone else (usually crashing things). Spinlocks and SMP are a good example. I can't think of any examples of a Linux binary driver that really works well across kernel versions AND SMP. I can think of an NT video driver, but the first three versions were buggy and the current one mysteriously has 70% of the UP on the benchmarks.

      However, IWIWALBIN (I wish I was a lawyer but I'm not) so I guess we'll have to wait and see.

      --
      I think Mauve has the most RAM. --PHB (Dilbert Comic)
  2. Re:I'm curious. by mcbridematt · · Score: 2, Informative

    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 :)

  3. Re:I'm curious. by BlueUnderwear · · Score: 4, Informative
    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 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!)

    --
    Say no to software patents.
  4. Running ad-hoc routing protocols on accesspoints.. by cibus · · Score: 3, Informative

    ...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.

  5. For USians wanting one... by MsGeek · · Score: 4, Informative
    NewEgg's got it.

    Link to the product at NewEgg.

    --
    Knowledge is power. Knowledge shared is power multiplied.
  6. Re:I'm curious. by Monkelectric · · Score: 4, Informative
    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.

    --

    Religion is a gateway psychosis. -- Dave Foley

  7. Re:I'm curious. by idiotnot · · Score: 4, Informative

    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.

  8. Re:Picking your battles by Hast · · Score: 3, Informative

    No, that is trademarks.

  9. from the FAQ on GNU.org by Anonymous Coward · · Score: 1, Informative
    My friend got a GPL-covered binary with an offer to supply source, and made a copy for me. Can I use the offer myself to obtain the source?

    Yes, you can. The offer must be open to everyone who has a copy of the binary that it accompanies. This is why the GPL says your friend must give you a copy of the offer along with a copy of the binary---so you can take advantage of it.

  10. Re:I'm curious. by Arker · · Score: 3, Informative

    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.

    --
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Friends don't let friends enable ecmascript.
  11. Re:First Sale Doctrine and GPL by jefe7777 · · Score: 2, Informative

    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 completely false.

    The GPL is not satisfied at all. The source had to be made publicly available, not to just a 3rd party, as in your example.

    despite your convoluted explanation it's quite simple.

  12. Re:First Sale Doctrine and GPL by toast0 · · Score: 4, Informative

    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.

  13. Re:First Sale Doctrine and GPL by Mike+Buddha · · Score: 4, Informative

    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.

    --
    by Mike Buddha -- Someday the mountain might get him, but the law never will.
  14. Wireless drivers, Linux-based APs etc by zardie · · Score: 3, Informative

    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.

  15. CONFIG_MODVERSIONS by Anonymous Coward · · Score: 1, Informative

    You should toggle CONFIG_MODVERSIONS in your kernel compilation .config. (or RedHat should, or whoever makes your kernel):


    CONFIG_MODVERSIONS:
    Usually, modules have to be recompiled whenever you switch to a new kernel. Saying Y here makes it possible, and safe, to use the same modules even after compiling a new kernel; this requires the program modprobe. All the software needed for module support is in the modutils package (check the file Documentation/Changes for location and latest version). NOTE: if you say Y here but don't have the program genksyms (which is also contained in the above mentioned modutils package), then the building of your kernel will fail. If you are going to use modules that are generated from non-kernel sources, you would benefit from this option. Otherwise it's not that important. So, N ought to be a safe bet.

  16. Re:Corporations and the GPL by nathanh · · Score: 2, Informative
    Well you DID get a cheap router out of the deal. Imagine if companies didn't use Linux for routers, opting to develop the OS on their own or purchase it. How much do you think that would add to the cost of each router?

    Right idea, wrong focus. It's not that we got a cheap router out of the deal. They got a cheap OS out of the deal. Linux is equivalent to millions of dollars in saved licensing fees. This gives them a huge market advantage over their competition. Their only obligation was to make all modifications available under the terms of the GPL.

    Except they reneged on their obligations. They were happy to profit from Linux but they're not so keen to pay the pricetag. Too bad for them. If they want to keep their code secret they can go pay $20/device for an embedded VxWorks license like all the other companies do. They deserve no sympathy and no defence. Linux isn't a free-for-all; it's a give-as-you-receive.

    They should have used BSD if they wanted to plunder without giving back.

  17. Re:Picking your battles by vidarh · · Score: 2, Informative
    You are making the flawed assumption that all developers give a shit about having users except for themselves. Many developers write code because they want to get something done FOR THEMSELVES. They then decide to share the code because it might be of use to someone, and because they might get something back. It's up to them to decide what they want in return. For some, getting any modifications back is valuable because it might be useful for them in the future.

    In any case, they wrote the code, they get to set the priorities. If they don't care about people who use their code, that is their right. If they think it's more important for them that people release their modifications and play by the rules they set, then that is their right. You, as a user, have no other rights than what they granted you with the license.

    Sure, you can whine all you want that you aren't happy that the developers want to uphold the license THEY chose for a product THEY wrote, but it doesn't change the fact that if the developers purpose with releasing the software isn't to serve your need they are unlikely to care.

    You seem to live under the delusion that being a "user" makes you inherently valuable. Being a user makes you valuable to a developer only to the extent the developers goal is to build a large userbase, or to the extent you provide useful feedback (depending on the developers definition of whats useful to him/her). For many projects that makes users valuable. Many projects DO want to reach out to as many as possible. But for many, users that are not also developers and contributors have little or no value.

    You bring up being "user friendly" implying that "user friendly" means "usable to people that aren't developers" while people that aren't developers might not be part of the developers wanted user base. Do you complain that your mom find "vi" too difficult? Do I complain that I find "vi" too difficult? Well, perhaps sometimes, but mostly I just use something else.

  18. Re:That's a lame excuse by fr0dicus · · Score: 2, Informative

    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.

  19. This driver is crap by Anonymous Coward · · Score: 1, Informative

    There has a lot of stability issues and minitar maintainers are applying patches pepole is sending without knowing what the hell is going on.

    DON'T BUY THOSE CARDS.

    Yeah, they're very cheap 802.11b cards. But if you cannot make'm work... they're cheap useless cards.