Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

[ Create a new account ]

Atheros Hardware Abstraction Layer Source Is Released

Posted by kdawson on Saturday November 29, @11:20PM
from the no-blobs-here dept.
chrb writes "With the recent discussion here on proprietary blobs in the Linux kernel, it's nice to see that today Sam Leffler has released the source for the Atheros Hardware Abstraction Layer under the ISC license, which is both GPL and BSD compatible. The Atheros chipset is used in many laptops, so this is another important step towards running a completely free distribution."
linux wireless isclicense hardware wifi
hardware wireless
story

Related Stories

[+] Linux: Proprietary Blobs and the Pursuit of a Free Kernel 405 comments
jammag writes "Ever since the GNewSense team pointed out that the Linux kernel contains proprietary firmware blobs, the question of whether a given distro is truly free software has gotten messier, notes Linux pundit Bruce Byfield. The FSF changed the definition of a free distribution, and a search for how to respond to this new definition is now well underway. Who wins and what solutions are implemented could have a major effect on the future of free and open source software. Debian has its own solution (by allowing users to choose their download), as do Ubuntu and Fedora (they include the offending firmware by default but make it possible to remove it). Meanwhile, the debate over firmware rages on. What resolves this issue?"
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • YAY (Score:5, Interesting)

    by iamwhoiamtoday (1177507) on Saturday November 29, @11:25PM (#25930281)

    I have a Macbook from just over a year ago, and it uses a Atheros wireless card, and it's the biggest pain to get running in Linux. Hopefully, with the Source released, it will be easier in the future to get the wireless working on this model of computer.

  • Interesting (Score:5, Interesting)

    by Bruce Perens (3872) * <[bruce] [at] [perens.com]> on Saturday November 29, @11:28PM (#25930303) Homepage Journal
    This is interesting, as there are three Atheros drivers, all different. Madwifi uses the HAL. Ath5 is in the Linux trunk and doesn't (I think). Ath9 was developed by Atheros and probably uses the HAL but I didn't check. Sam was mostly interested in this because he wanted to work on mesh networking - it's good to see he's still involved.

    The argument about BLOBs - binary loadable objects in the kernel - is not new, despite Bruce Byfield's recent report. I guess he just doesn't read the kernel list and other distro internal discussions, where this has been going on for a decade. And FSF did not "redefine" anything, they've always held that opinion.

    It would be nice to draw a line at the hardware bus, with all above that Open Source and all below that whatever the hardware manufacturer likes because we don't deal with it. But BLOBs break that, because they are both above and below the bus. If we're going to handle the code, we can't really deny that there's a computer there running closed-source code. And given the degree to which wifi firmware sucks the world would be nicer if it was Free Software. Now, we just have to drive some sense into FCC, etc.

    Bruce

  • Sweet (Score:3, Informative)

    by bsharp8256 (1372285) on Saturday November 29, @11:32PM (#25930333)
    I didn't see this coming, although I have to say I don't keep up with MadWifi news anymore since they fixed 64-bit support for the AR5007 chipset...
  • Does this mean the sleep function will finally work as it should without draining the batteries? I have yet to see a laptop running Linux go into hibernate mode and not bleed off the batteries.

    • If you can prove that it bleeds off the batteries more than Linux, we would like to see numbers, please. Linux isn't in charge once the machine is asleep. It would mean that some device is left in a power-drawing mode. I can't say for sure that Atheros has anything to do with this. Are you confusing it with the other HAL on Linux systems?
      • by spazdor (902907) on Sunday November 30, @01:14AM (#25930869)

        It means that community developers will be able to write a driver that works as well in any OS as the Windows one, in every way.

        It means all those Linux netbooks that were sold with cheap Aths, will soon have completely robust, standards-compliant wireless. And all those sniffing network-trickery programs that the haxors love, will Just Work(tm). And development can proceed with mesh networking on a much wider scope.

          • Right now, there is a larger team working on madwifi than just Sam, and the kernel team is working on ath5, so I don't think you're right this time.

            There is another reason to expect this to result in a code improvement. The same netbooks that have the Atheros wifi often have Intel 3D as part of the chipset. Intel 3D is known to be horrible on Windows. Part of the problem is that desktop vendors don't want Intel 3D to be good, because they want to sell graphics cards. So, Intel has little incentive to make it better.

            Except under X, that is. As far as I can tell, it works great under X. The X team at Intel is either not bothered with marketing hold-back; or because the source is public or satisfies a server market, they can justify a need for quality.

            ATI will improve over time, and they will probably drive most of it themselves. Open Source will help them do that.

            Bruce

          • by MostAwesomeDude (980382) on Sunday November 30, @10:46AM (#25933449) Homepage

            Hi, I joined X.org after ATI released docs, and helped add support for an entire line of video cards, including the one I'm using right now to type this.

            Your defeatism is kinda silly, if you stop and consider how much work we've done in the open source world.

      • Re: (Score:3, Informative)

        The Slashdot article was confusing, and I didn't help. Sorry. It's not firmware in this case.
  • by tecker (793737) on Saturday November 29, @11:59PM (#25930479) Homepage
    I wonder if this could be used to help port OpenWRT over to the atheros chipset. Currently the only routers that OpenWRT (and conversely by that DD-WRT) really work well on are the broadcom chipsets. Many routers that use the Atheros chipset have been written off as impossible to port to. Maybe they could be used if this proves any insight to how they operate.
    • Re: (Score:3, Informative)

      When is the last time you've looked at this? The Nanostations [metrix.net], which are atheros based can run OpenWRT, DDWrt, etc. The big thing I see here is that with OSS HAL, maybe adhoc support on atheros will get better. Meraki, FON, and the ACCTON (openmesh.com) routers are all atheros too.

  • by fuzzyfuzzyfungus (1223518) on Sunday November 30, @12:48AM (#25930749)
    I was under the impression that the atheros HAL is not a binary blob in the sense the summary refers to, but a program executed on the host CPU [madwifi-project.org]. That makes this even better news than if it were a blob. It is debatable whether or not a system that needs to load a bunch of blobs onto its peripherals at startup is free or not(personally, I'm inclined to say it is, as long as the mechanisms for loading the firmware and interacting with the peripheral are open and the firmware is freely redistributable); but a system with a big binary lump running in kernel space definitely isn't.

    It is very encouraging to see progress towards removing one of the most common causes of tainted kernels(probably second only to video card drivers); but it isn't really related to the blob question.
    • Re: (Score:3, Informative)

      Erm...What wifi chip are you using?

      The good thing about manufacturers opening their drivers is you get a completely free distro and its fully functional.

    • Re:DVD and Blu-ray (Score:4, Interesting)

      by LingNoi (1066278) on Sunday November 30, @01:12AM (#25930863)

      In the UK this stuff is patent free because there are no software patents in England. It depends very much on where you live.

      If Canonical made a UK distribution which included all the patented free software it would also create prior art in case of any changes in UK patent law.

      • 1. If you remove someone else's name and add your own, that's plagiarism, not theft.
        2. If you remove someone else's license, and the license doesn't give you permission to do that, that's copyright infringement, not theft.
        3. If you add a new license and list yourself as an author, and the old license didn't give you permission to do that, that's copyright infringement, not theft.
        4. If you don't enforce your copyright, that's nothing. Copyright gives you the right to sue, if you punt, that's your choice, stop moaning.

    • by TheRaven64 (641858) on Sunday November 30, @08:28AM (#25932633) Homepage Journal

      You are confusing blobs with firmware. Firmware is software run by the hardware's processor. It used to be stored in ROM, but ROM is expensive, and if the host has a lot of RAM (which any computer does in comparison to a WiFi card) it's cheaper to just give some of the RAM to the device and let it use that instead. This also has the advantage that it's easier to fix bugs in the firmware - just download a new version, rather than replacing the chip (some old cards had the ROM in a socket for doing this, but it was quite rare for anyone to actually do it).

      This is not firmware, however, it is a blob. The kernel module originally just took commands from a userspace driver and passed them over the bus, much like the DRI modules. Unlike the DRI driver, the HAL was binary-only. It was originally claimed that this was required by the FCC, since with the source code anyone could modify the driver to push the card out of regulatory compliance. It was a far from satisfactory solution, however, since it meant that no one could fix the blob, and it was limited to x86-only.