Slashdot Mirror


FSF Certifies Atheros-Based ThinkPenguin 802.11 N USB Adapter

gnujoshua writes "You may recall that last Fall, the LulzBot AO-100 3D printer was awarded the use of the Free Software Foundation's Respects Your Freedom certification mark. Today, the FSF announced certification of the ThinkPenguin TPE-N150USB, Wireless N USB Adapter, which uses the Atheros ARAR9271 chip. The FSF's RYF certification requirements are focused on the software (not the hardware designs) of a product, which in this case was primarily the device firmware and ath9k-htc module in the Linux-libre kernel. (Disclosure: I work for the FSF.) There's also a cool story that is within this story... which is that the firmware for the Atheros AR9271 chipset was released as a result of a small device seller (ThinkPenguin) striking a deal with a large electronic device manufacturer (Qualcomm Atheros) to build a WLAN USB adapter that shipped with 100% free software firmware. This deal was possible largely because two motivated Qualcomm Atheros employees, Adrian Chadd and Luis Rodriguez, made the internal-push to get the firmware released as free software."

31 of 85 comments (clear)

  1. Yeah, but $54 for a USB Wifi? by acariquara · · Score: 4, Informative

    Looks like the price of freedom is pretty steep.

    It's not like we are starved for wifi dongles that "just work" on Linux without NDISWrapper. We're not in 2003.

    eg: http://dx.com/p/802-11n-150mbps-wifi-wlan-wireless-network-usb-adapter-53538 $10 bucks including shipping, and there are TONS cheaper than this. I just looked for one that specifically said "Linux compatible".

    --
    Dear aunt, let's set so double the killer delete select all
    1. Re:Yeah, but $54 for a USB Wifi? by alantus · · Score: 4, Informative

      Looks like the price of freedom is pretty steep.

      It's not like we are starved for wifi dongles that "just work" on Linux without NDISWrapper. We're not in 2003.

      eg: http://dx.com/p/802-11n-150mbps-wifi-wlan-wireless-network-usb-adapter-53538 $10 bucks including shipping, and there are TONS cheaper than this. I just looked for one that specifically said "Linux compatible".

      As a matter of fact, I wish it "just worked".
      I have one of these dongles, and last time I tried to use it I was hitting this bug:
      https://lists.ath9k.org/pipermail/ath9k-devel/2011-November/007467.html

    2. Re:Yeah, but $54 for a USB Wifi? by Arker · · Score: 5, Insightful

      Freedom isnt about cheap and it never was.

      A dongle that 'just works' today with a particular binary wont necessarily work tomorrow on a different machine or after a simple recompile with different options, let alone after a major software upgrade.

      At the moment this appears to be the only properly supported wireless dongle on the market. It should be no surprise it's a little more expensive than the junk.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    3. Re:Yeah, but $54 for a USB Wifi? by Anonymous Coward · · Score: 3, Insightful

      Cheap Wifi dongles are very problematic and have a history of issues as alantus suggests. Having a completely open Wifi dongle is a Very Good Thing (tm) as many (or all) of these issues will be moot. Plus, if something stops working correctly the device firmware is out there to troubleshoot.

    4. Re:Yeah, but $54 for a USB Wifi? by adri · · Score: 2

      Now that the firmware source is open and the UART wiring instructions are public, there's enough basic stuff there to figure it out.

      We're digging up instructions for JTAG debugging.

    5. Re:Yeah, but $54 for a USB Wifi? by Anonymous Coward · · Score: 5, Informative

      As a matter of fact, I wish it "just worked".
      I have one of these dongles, and last time I tried to use it I was hitting this bug:
      https://lists.ath9k.org/pipermail/ath9k-devel/2011-November/007467.html

      This is a bug from November 2011 is against the same chipset. But, it was a module that was loading proprietary firmware.

      The firmware was released as free software within the past couple of months. So, now instead of the ath9k kernel module folks having to treat the firmware as a black box, they can file bugs and submit patches to the firmware itself.

      The reason we certified this device is because it carries freedom to the user. Not arbitrary freedoms, but the specific freedoms to run the program, share it with others, make modifications to the source code, and share modified versions of the source. With this freedom, a user can not only work with others to find and eliminate bugs, but they can find ways to adapt and improve the software so as to squeeze the most they can out of the device. The same can't be said with the 2011 adapters that shipped with this chipset.

      And, this isn't just idle speculation. Already we have seen a fair bit of cooperation between this firmwares lead developers and the ath9k module maintainers. I would be very surprised if the almost two-year old bug you pointed to still exists. But if it does, then at least I know you and I can easily reach out to a trustworthy community of free software hackers to explain to us the problem.

    6. Re:Yeah, but $54 for a USB Wifi? by Darkness404 · · Score: 2

      Sure, there's a point to buying quality hardware, but at the same time, why is buying a $54 dongle and keeping it for a long time better than buying a $20 one today and buying an improved one for $20 sometime in the future.

      This isn't 2004, you really don't have to search for laptops/wireless dongles that support Linux, its a rarity if they don't support Linux.

      --
      Taxation is legalized theft, no more, no less.
    7. Re:Yeah, but $54 for a USB Wifi? by Zalgon+26+McGee · · Score: 4, Insightful

      If I can spend 10% and it works, I'm happy.

      http://dx.com/p/ultra-mini-nano-usb-2-0-802-11n-b-g-150mbps-wi-fi-wlan-wireless-network-adapter-black-71905

      Therefore, I am happy.

      Enjoy your purity. I'll enjoy my $48.60 in leftover money.

      --

      ---

      Book(n): Utensil used to pass time while waiting for the TV repairman

    8. Re:Yeah, but $54 for a USB Wifi? by Arker · · Score: 4, Insightful

      Sure, there's a point to buying quality hardware, but at the same time, why is buying a $54 dongle and keeping it for a long time better than buying a $20 one today and buying an improved one for $20 sometime in the future.

      Primarily because doing so sends a clear signal to suppliers that we ARE willing to pay extra to get something done right.

      Secondarily because buying the "improved one" should be done on my timescale and for my reasons, not forced because I have a piece of junk that wont work properly.

      This isn't 2004, you really don't have to search for laptops/wireless dongles that support Linux, its a rarity if they don't support Linux.

      To the contrary, although it is not 2004 and some things have improved, I still count one single dongle that actually supports GNU/Linux properly. One.

      Supporting one or many binary distributions of GNU/Linux does not constitute proper support. Meeting the criteria for this particular certification does.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    9. Re:Yeah, but $54 for a USB Wifi? by adri · · Score: 3, Insightful

      The people that want to do dirty hacks, like mesh or TDMA offload on the USB NIC.

      Or even improved hostap support.

      Or an experimental platform for ${THING_YOU_HAVENT_THOUGHT_OF_YET}.

      Yes, you can buy cheaper NICs. Same as buying cheaper anything. But here's a USB NIC with a well-understood wifi part (AR9285 on-die) and now open firmware with open tools to fiddle with the thing. If the FSF and manufacturers manage to ship a million units, great. I'm happy just knowing that people are doing interesting stuff with it. Doubly so if I haven't thought of it yet. Triply so if it's cool and turns out to be transferrable to the other Atheros wifi hardware out there.

    10. Re:Yeah, but $54 for a USB Wifi? by Arker · · Score: 2, Insightful

      Enjoy making the world a crappier place, retarding the progress of science, and generally screwing the world up for your kids.

      I dont know how much you lose when you are offline for an hour, but it would take me at least that long to drive in to replace one of these things, and that's more than the dongle costs however you look at it. So as I see it you are penny-wise but dollar (and otherwise) foolish.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    11. Re:Yeah, but $54 for a USB Wifi? by Anonymous Coward · · Score: 2, Insightful

      Your "economically rational" thing ends up working like this: You buy the Apple product that definitely 100% works no problem. It doesn't work. Apple says "Oh, really? Too bad". You buy something else, you write off the enormous cost of the non-solution, you sigh at the people insisting that won't happen. Really. This is how big IT projects mire themselves, they rely on some God-like single supplier (Apple in your case) and then get bitten because the God-like supplier doesn't give a shit. Freedom means you can find somebody for whom making stuff work is important, e.g. because your contract is more than a negligible fraction of their income. There are dozens, probably hundreds of independent companies and individual contract workers with Linux expertise, and only one Apple Computer Inc.

      Also, nobody is adding these USB dongles to a laptop because "Linux is too shitty". They're using USB dongles in a wide variety of embedded and lightweight applications where Apple don't supply any equipment at all. Although in your head an elevator is probably a Mac Book plus an iMac plus two Mac Book Airs to make the "bong" noise when it arrives at a floor, in reality it doesn't have any Apple components at all - even the ones at One Infinite Loop don't. Linux is used, like it's used everywhere else, because it works. Crazy huh?

    12. Re:Yeah, but $54 for a USB Wifi? by serviscope_minor · · Score: 2

      Enjoy your purity. I'll enjoy my $48.60 in leftover money.

      Good point, we should be prepared to do anything for money.

      --
      SJW n. One who posts facts.
    13. Re:Yeah, but $54 for a USB Wifi? by Bill_the_Engineer · · Score: 2

      I will buy a $54 dongle if it means that I can include it within my embedded devices and not have to worry about the next linux kernel update supporting it.

      --
      These comments are my own and do not necessarily reflect the views or opinions of my employer or colleagues...
    14. Re:Yeah, but $54 for a USB Wifi? by acariquara · · Score: 2

      Srsly. Since when does a piddly $54 scare away a bona fide nerd. Having tools like this around when you have an epiphany on the crapper is priceless. I mean, come on, any of you could wipe your ass with $54 and still have plenty where that came from...

      I was going to buy FOUR of them to hack and play around with small devices like the Raspberry Pi. Balked at the $216 price tag and never came back. Don't judge.
      We have $25 single-board computers and $25 OpenWRT-enabled routers WITH USB SUPPORT (TP-Link WR703N).

      A $54 Wifi dongle is, no matter how you put it, downright stupid.

      --
      Dear aunt, let's set so double the killer delete select all
    15. Re:Yeah, but $54 for a USB Wifi? by idontgno · · Score: 3, Insightful

      Here's irony: the difference between the $20 dongle you bought and threw away and the $20 dongle you replaced it with (and the next $20 dongle you buy to obsolete the second one) may just be in firmware. Firmware that, if you'd paid the money up-front, you could have flashed from open-source repositories and had the exact same features... for $0 extra.

      BTW, the entire premise that you have to constantly, obsessively, upgrade hardware is foolish. Just thought you should know.

      --
      Welcome to the Panopticon. Used to be a prison, now it's your home.
    16. Re:Yeah, but $54 for a USB Wifi? by Coren22 · · Score: 2

      Having supported Apple in the enterprise, I will respectfully disagree. When a Dell has an issue, you call Dell. They send out a part, and offer a technician to replace it. When an Apple has an issue, you drive a half hour to the mall, wait 2 hours in line to talk to the technician, only to have them take the computer into the back room and have you return in a few days. Which is the good tech support?

      --
      APK likes to ask for responses to the same things over and over. Maybe he just likes the responses?
  2. Master Mode by Anonymous Coward · · Score: 5, Informative

    one thing i noticed last week on ThinkPenguin is that their adapters generally support Master Mode making it easy to build access points. i don't think this can be said for most adapters requiring ndiswrapper.

    1. Re:Master Mode by adri · · Score: 5, Informative

      The wifi part of the hardware does. One of the reasons we opened up the firmware was to let people at it to make it better at supporting master mode.

      The NIC has a small embedded CPU to act as a PCIeUSB gateway and a small amount of RAM to run code and buffer frames. The problem with master mode is the amount of RAM that you need for each associated station. So there's been discussion about moving some of the stuff done in the NIC CPU (transmit aggregation, rate control) into the host, so the NIC itself doesn't need to store (that much|any) per-station state.

    2. Re:Master Mode by blackiner · · Score: 2

      As far as I know, every ath9k device supports AP mode. I have one and run hostapd on it.

      More info: http://wireless.kernel.org/en/users/Drivers/ath9k

    3. Re:Master Mode by adri · · Score: 3, Informative

      Things then crash. :-)

      Embedded software looks different to your Linux/FreeBSD kernel development. There's fixed buffers allocated for things. Once those buffers are full, everything stops until they're not full.

      If you want more information please subscribe to the ath9k firmware list and ask questions there. I'd rather everyone benefit from the answers!

    4. Re:Master Mode by adri · · Score: 3, Interesting

      The master mode operation in firmware right now is limited to a handful (4? 8?) clients.

      Whatever the max is before it runs out of RAM.

      I think it just refuses to take on new associations.

    5. Re: Master Mode by bouldin · · Score: 2

      AFAIK, there have been no USB dongles out there with support for 802.11n Master mode in Linux. Sounds like this open firmware is progress!

  3. Re:Why is it so very last-generation? by adri · · Score: 3, Informative

    The FSF decided to investigate this AR9271 part. I'm not sure why.

    The AR7010+AR9280 NICs are dual-band. There's AR7010+AR9283 NICs that are 2x2 2.4ghz only. The AR7010+AR9287 NICs are also 2x2 2.4GHz only but support a few newer things (like short-GI in 20MHz mode, and generally better behaviour all around.)

    Hopefully the FSF certifies the AR7010 based firmware devices too. But, they've chosen this one and I'm glad they saw it through.

    I don't know if there's a hardware list that shows the dual-band ath9k_htc hardware. But it's out there, somewhere.

  4. Good job! by Arker · · Score: 2

    Good to see a wifi device with free firmware. Freaking finally. The long-term implications of this are probably greater than even I imagine.

    --
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Friends don't let friends enable ecmascript.
  5. Re:Why is it so very last-generation? by Arker · · Score: 4, Insightful

    Unfortunately, at the moment, the manufacturers perceive the proprietariness of their products as a value. You see how much this costs as is?

    But it's real. Every bit is there, driver, firmware, documentation. This thing will be supported as long as there is one old hacker that has one and doesnt like to replace a working part.

    And honestly, I know, I like having the latest and greatest when I can too, but can you please quit shitting on those less fortunate? USB 1.1 is 12mbps and there are a lot of people trying to work on less than that. I have the best service available in my area and it would not be a bottleneck in my system. (Not that I run critical systems on wireless anyway, it's ethernet, but if I needed to run something wireless the USB 1.1 throughput limit wouldnt slow me down.)

    Last years tech fully and truly available is infinitely better than this years tech locked away where I can never see it, even if I did supposedly buy the hardware. And hopefully this will lead to the manufacturers starting to figure this stuff out and doing more of it.

    --
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Friends don't let friends enable ecmascript.
  6. Re:Why is it so very last-generation? by tftp · · Score: 3, Interesting

    This thing will be supported as long as there is one old hacker that has one and doesnt like to replace a working part.

    First, a USB device is designed to be easily replaceable. Second, imagine that we have open sourced design of Pentium II. How much interest would that generate? In just a year or two it might be hard to find a hacker who'd want to deal with obsolete stuff - and WiFi stuff gets obsolete faster than you can put the credit card back into the wallet.

    It is certainly possible that someone, somewhere, buys a COTS consumer-level part, sticks it into the server, and then 10 years later is unwilling to replace the whole module when it fails. But that's what people deal with every single day in the industry and elsewhere - things fail and they need replacement. I would be far more concerned that the hardware of this dongle fails 10 years later - where would you get a replacement then?

    This whole approach appeals to too few people. Most are pragmatists. A pragmatic approach means that when the thing fails, there will be money and resources to replace whatever needs replacement. If no money is available, then I guess the project is not that important, after all.

    I do not know what business would be attracted by this specific dongle just on the basis that it is documented. This whole concept is way above the pay grade of pretty much everyone who works in IT. It is not even feasible, in most cases, for an IT guy to start a science project to debug a problematic device. This is handled by simple replacement of what doesn't work. This method offers fixed and predictable duration of repair. Hacking a driver, on a live system ... well, there are crazier things to do, but not too many.

    There is only one useful function that is directly fulfilled by this product - and that is creation of completely free computing systems. Days are coming (perhaps not tomorrow, but who knows?) when RMS's dark prophecy materializes in laws and COTS hardware like WinRT, that denies you, the owner, the right to use the equipment as you see fit. There are F/OSS designs of the CPU and other key blocks already. This is another addition to the collection. Perhaps the hardware will be obsoleted and not available anymore (quite soon, actually, considering that every new IC has about 6 to 9 months on the market before it is obsoleted and replaced with something else.) But the principles of operation may be useful if one wants to build a free computing system.

    This function - a free computer - is very important. However, just as nearly all things that are good for the society (and the soul,) there is very little financial reward for doing good deeds. I understand pretty well how much labor went into development of the hardware, MCU software, and the PC software to make the thing work. I do some of that, now and then, for living. This is a good thing to do; but expect no monetary reward. The cost of the device is high, and only a handful of devotees will invest. (There are many devotees, but not too many will support F/OSS by buying the device.) I, for one, simply have no need for such a product - all my computers have built-in WiFi, not that I use it much anyway. Cable is more reliable, and has no interference from neighbors, and nosy Google cannot intercept it easily.

  7. Re:Why is it so very last-generation? by chill · · Score: 2

    Uh, you misread part of the complaint.

    USB 1x1 isn't the same as USB 1.1. The latter is a spec. The former refers to the antenna configuration. The poster was taking issue with the lack of MIMO and single-band radio, not speed of the USB bus.

    http://www.networkworld.com/newsletters/2009/110909wireless2.html

    I'm not disputing your points, just correcting your error.

    --
    Learning HOW to think is more important than learning WHAT to think.
  8. Re:Who cares? by adri · · Score: 2

    .. you mean, how the firmware is clearbsd licenced?

    Except for the Tensilica runtime, that's MIT licenced?

    Except for two GPLv2 files from ECoS? Which state that only those two files fall under GPL, not the rest of the stuff it's compiled with?

    I'm pretty sure it's free like you wish. You can create a closed source derivative of the firmware if you so choose.

  9. We need a lot more of this by ikhider · · Score: 2

    I picked up a Think Penguin wifi adapter for my machine and am happy to support the cause because it is a worthy goal. It is not about "purity" as some put it, rather for technology as a whole to advance in a stable, more beneficial direction for all. Patent laws were originally used to encourage inventors to share ideas without fear of loss of credit. Those patent laws were subsequently perverted by corporations so they can litigate people out of their inventions and claim benefits for their own interests. A great article, "Land of Wizards" by Tom Wolfe describes how inventors are constantly swindled out of their creations and how the patent system is flawed. I read this after Stallman's excellent "Free Software, Free Society" and realized that the current rules hinder creativity and inventiveness. The FOSS ideals return the benefits of inventiveness back to the populace rather than just corporate cabals. I also picked up the Thinkpenguin ogg player. While the quality of that unit may not be up to snuff compared to its proprietary cousins, I hope my support will lead to better players down the road. I heard that development of the ogg format currently stalled, which would be a shame. Hopefully my small purchases and posts encourage development. I am tremendously heartened to see companies like Thinkpenguin making this stuff available and that great quality distros like Trisquel (which I use) exist. I hope other Libre distros pick up traction and get more developers to encourage the spirit of creativity and inventiveness for all.

    --
    "SO we bide our time, waiting for a purer kick to bloom and the future is still bleak, uncertain and beautiful" -GSYBE
  10. Re:really? by adri · · Score: 2

    Atheros make high end and low end chips. It's up to the manufacturers as to what they choose. They choose price. Sad, but true.

    You can buy the higher-end 2x2 and 3x3 devices. The unit prices are more than the low end chips.

    Driver support? It's up to the company you bought the laptop from, not Atheros. Atheros only makes the chips. We don't make the NICs or the rest of the device. Especially in the windows world, vendors have a habit of doing 'strange ass shit' here and there. Please don't blame QCA for the weird, cheap-ass, cost-cutting crap that goes on elsewhere.