Atheros Hardware Abstraction Layer Source Is Released 117
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."
YAY (Score:5, Interesting)
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.
Re: (Score:2)
i have a similar issue. it usually works on mine (first gen intel macbook pro) and i am in fact using it now, but often it won't connect properly and i get the syslog fill with 'calibration' errors. hopefully this will help with that :)
Re: (Score:1)
Yippee!! Will KisMAC finally work on MacBooks? (Score:3, Interesting)
I really hope the programmers behind KisMAC are reading this thread.
We MacBook users are really hoping that we can run injections and other advanced features using our built-in network cards now. Until now, all our packets were trash and we couldn't work out the SSID.
Sad days they have been, but now we have reason to be optimistic!
Re: (Score:1)
Interesting (Score:5, Interesting)
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
Re:Interesting (Score:5, Interesting)
Actually ath9k is fully open source by Atheros.
http://mobile.slashdot.org/article.pl?sid=08/07/26/2138228 [slashdot.org]
No firmware, no HAL, nothing.
I've bought two of the cards to support Atheros even though the drivers arent 100% just yet.
I also have a older b/g card which works superbly.
Re:Interesting (Score:5, Informative)
I have a new Acer Aspire One, with Atheros wireless, and have mostly got it running Debian properly - the biggest bugs I'm seeing may be in Debian Lenny rather than anything about Aspire One. A nice thing about this HAL release is that it makes Sam's virtual WAP software unquestionably Free - even from the BSD perspective. Did you ever want to connect to all of the WAPs you can reach at once, and be two or three different WAPs for others at the same time, all without carrying extra hardware? Sam's code can do that.
Being someone who speaks publicly about Open Source, I want to be seen using 100% Open Source. If you're going to talk the talk, you should walk the walk too.
Re: (Score:2)
Re: (Score:2)
Did you ever want to connect to all of the WAPs you can reach at once, and be two or three different WAPs for others at the same time, all without carrying extra hardware? Sam's code can do that.
This is something that I never knew was possible.
Thanks for spreading this knowledge!
Re: (Score:2, Insightful)
I had to recompile the kernel using the latest 7.1 source snapshot to get the Atheros card working. The link/activity light doesn't work (no big deal, really!), but the wireless connection 'kill switch' on the front of the case works. I haven't tried running it as a WAP yet, but now I want to give it a try! The ath kernel modules in BSD have supported AP mode for some time now; if it doesn't w
Re: (Score:3, Insightful)
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.
I dont quite get the point of this then TBH, i mean it is nice to open source their code, but given that it has pretty much been reverse engineered already, isn't it a bit late!?
Re:Interesting (Score:5, Informative)
Especially since the kernel developers aren't going to let anything with a HAL into Linus' tree, entirely for architectural reasons. But it makes the best version of the driver at the moment fully free.
Re: (Score:2)
I dont quite get the point of this then TBH, i mean it is nice to open source their code, but given that it has pretty much been reverse engineered already, isn't it a bit late!?
Full feature support
Support for more chip revisions
Manufacturer supported testing and debugging
I'm speaking in general here, since I don't know if the reverse engineered version supported 11n, was stable, and offered high performance, but wireless is one area where I would much rather use a driver developed with full knowledge of th
Re: (Score:3, Funny)
BLOBs - binary loadable objects
Idiot.
Instrumentation Digital On-Line Transcriber ? Really, you should have been more creative. How about,
Blathering Retard Uttering Crass Euphemisms -- Probably Expects Responding Erudite Nameless Slashdotters
Now that sounds like a foolish person ;)
(with apologies to B.P.)
Sweet (Score:3, Informative)
Working sleep mode? (Score:4, Interesting)
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.
Re:Working sleep mode? (Score:5, Interesting)
Re:Working sleep mode? (Score:4, Informative)
Re:Working sleep mode? (Score:4, Informative)
Re: (Score:3, Interesting)
Re: (Score:2)
No, open sourcing this means nothing much and I doubt that now it's open source any part of the code will be changed because it's firmware.
Re:Working sleep mode? (Score:4, Insightful)
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.
Re:Working sleep mode? (Score:5, Insightful)
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
Re: (Score:2)
Interesting, i wonder if anyone has done any benchmarks with intel graphics comparing linux/windows/osx?
Re: (Score:2)
The only time i've seen intels integrated chips neglect to tear the screen when things move is under OS X, it does it in Vista, and has done it in X under Linux for as long as i've had the machine.
I think this has more to do with the windowing system or perhaps the drivers integration with that windowing system than the hardware though.
For 3D the 945gms are acceptable in a few games for casual stuff, i've even played GTA san andreas on mine a few times.
Re: (Score:2)
Tears the screen... you mean the monitor loses horizontal sync?
Re: (Score:2)
No, OSX doesn't use X, although X is easily installable.
Re: (Score:2)
OS X uses something they developed specifically to avoid using X11 :D There is a comment here on slashdot from a few years back about why, the guy who was involved in developing it had a LONG list of reasons.
By tearing i mean, move a window, watch a video, anything that moves across the screen tears. Basically if you move a window, it should remain solid and not move across the screen in segments etc.
Re: (Score:2)
Re: (Score:2)
I have Linux running on an Intel 950 running Compiz and the only screen tearing that ever happens is when I try to run Blender, which is a known Compiz issue. Other than that it's rock solid.
Re: (Score:1)
Re: (Score:2)
Re: (Score:1)
Re:Working sleep mode? (Score:5, Interesting)
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)
Re: (Score:2)
WTF! i mean WTF!!! how did this get modded insightful? Any Linux system that is properly configured can hibernate there is no need for any hardware support for hibernate to work, all dodge drivers can just be unloaded reloaded!
Now if you meant suspend to ram, well madwifi has never given my system any problems when suspending to ram but this does (in theory) mean that the developers can delve deeper into the code should there be any.
Re: (Score:1)
Draining batteries only while in sleep? Luxury! My old Fujitsu L1300 will drain its batteries in a day even when it has been completely shut down. Removing the battery makes it last for weeks.
Re: (Score:2)
Re: (Score:2)
Re:DVD and Blu-ray (Score:4, Interesting)
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.
Re: (Score:2)
Re: (Score:2)
duh.. Hence why I said patented free software..
UK does have software patents (Score:3, Insightful)
I really wish people would stop repeating this myth that the UK (and Europe) are free of software patents. There many, many software patents here - you just have to write the patent in a certain way that gets around the very weak restrictions. See http://eupat.ffii.org/patents/samples/index.en.html [ffii.org] for sample of these patents with summaries, from an anti-patent group.
Re: (Score:3, Informative)
I didn't say Europe I said the UK.
because you didn't read it the first time..
I can't believe you were modded up. What stupid mods.
Re: (Score:2)
Re: (Score:2)
And I really really wish people like you would claim they are valid.
Yes software patents has been granted all over EU, however, just because it has been granted, doesn't make it valid, it would be thrown out of court if it ever got to that point since as the GP said, they aren't valid (yet).
Re: (Score:2)
You left out one important fact, that enforceability of patents in the EU is up to each member nation to decide on. This little fact you forgot to mention means that software patents are null and void for the majority of the EU states.
The sole exceptions seem to be the 52rd state of the US, commonly referred to as the UK and to a lesser degree Germany.
Still, both German and UK courts are in a great flux regarding the entire software patent issue so the overall state of patents in the EU is that they are mor
Re: (Score:2, Insightful)
Because those movies are shit? Your local library has a better selection of Hollywood titles than the site you reference. Most of these have never been in circulation, and for a very good reason.
Not to mention some of the movies on this site are in formats that are not "free and open" like Linux. AVI, DIVX, MPEG4? Hell, one I looked at was itself a 4 gig ISO file of MPEG2 video. How far must one dig through the site before finding the OGG format videos?
Rederiving our movies to Ogg Theora and more (Score:2)
Because those movies are shit?
Linux was shit once, even compared to Windows NT.
Not to mention some of the movies on this site are in formats that are not "free and open" like Linux.
The page I linked contained a link to a page titled Rederiving our movies to Ogg Theora and more [wordpress.com].
Improved HAL (Score:2, Interesting)
Re: (Score:1)
It was probably modded troll because you posted a spam-protected email in plain text without thinking.
Well, this should brighten up Theo's day... (Score:1)
Re: (Score:1)
Re: (Score:1, Troll)
To all the stupid mods, the truth hurts, doesn't it?
Re: (Score:1)
One O two Ls and you don't have to wear it ... eh'.
Re:Well, this should brighten up Theo's day... (Score:4, Insightful)
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.
Re: (Score:3, Informative)
Very good. You can go take the bar exam. Meanwhile, in the real world, English is my fourth language. I'm a simple man using simple words.
So, just to double check with you - do you support or do you not support what the madwifi fuckers did with Reyk's code - specifically the reverse engineered bits?
Re: (Score:2)
If English is your fourth language then I'm sure you won't mind being corrected from time to time. Using the word theft here to describe intellectual property is kind of a hot-button issue; there may not be a distinction to the common man, but there is a legal distinction which people take very seriously here. I'm not defending anyone here for coming down on you like that, but a poor choice of words here is likely to draw that kind of response.
Since Mr. Reyk hasn't filed suit, it's totally academic what the
Re: (Score:3, Interesting)
Since Mr. Reyk hasn't filed suit, it's totally academic what the 'madwifi fuckers' did or did not do.
For someone who make such strong claims on being intellectually correct, this is an interesting position to take. So, in your world, as long as no suit is filed, any action taken is just "totally academic"?
If you have an axe to grind, take it up with them.
I don't really have an axe to grind. It's just two people in the madwifi group that did that "totally academic" but unethical thing. And have not apologized for it.
If, alternately, you have a thoughtful and reasoned criticism (and preferably some strong evidence for your allegations), please share it.
Umm... you did not manage to follow the original link that I had originally responded to? Would you like a signed and sealed piece of pape
Re: (Score:2)
Go read the link again - note that Theo was talking about the OpenHAL code. http://kerneltrap.org/mailarchive/openbsd-misc/2007/9/13/259448/thread [kerneltrap.org]
OK, I read the entire thread. As I did so, I realized that it looked familar. I think that I read the whole thing a year ago in response to an earlier posting here. It struck me then as a tempest in a teapot. It still does.
Since Mr. Reyk hasn't filed suit, it's totally academic what the 'madwifi fuckers' did or did not do.
In other words, if a copyright owner chooses not to bring a lawsuit, no one else can bring one on his/her behalf. So yes, any discussion of what happened is academic, just like discussions about Lori Drew or Hans Reiser. You can discuss and argue all that you want, but nothing you s
Re: (Score:2)
OK, I read the entire thread. As I did so, I realized that it looked familar. I think that I read the whole thing a year ago in response to an earlier posting here. It struck me then as a tempest in a teapot. It still does.
Of course. It's not the end of the free world. However, in the Free Software world, or in the Open Source world, people who are supposed to give a shit about principles, apparently do not. And couldn't understand why other people feel pissed off.
And who the fuck's talking about legal standing? For some reason, you seem to live in the world where the only thing that matters is a lawsuit.
Re: (Score:2)
They made something new from something old. I, personally, don't give a shit about the legal issues, or the ego issues.
OpenWRT and DD-WRT porting boosted by this? (Score:5, Interesting)
Re: (Score:1, Informative)
Now that's just not right. OpenWrt works well with Atheros chips...
Re: (Score:2)
Re: (Score:2)
the v7 problem is likely tied to the horribly low 2MB FLASH, 8MB RAM compared to the earlier versions of the router.
dd-wrt is indeed supported on many ath systems, I suggest you search the term "redboot"
Re: (Score:2)
Thats odd because all the Atheros chips are very open, and I think this is was the last bit that was closed.
I dont think there is anything left that is closed.
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.
Re: (Score:3, Informative)
Atheros-based access points do work with OpenWRT. It works better than Broadcom-based devices. I replaced a Broadcom-based device with an Atheros-based one so it would work better, and run with the Linux 2.6 kernel. Only very recently has OpenWRT been able to run a 2.6 kernel with Broadcom-based wifi because the open drivers are getting up to scratch, and even then some things still dont work as well as Atheros wifi.
The Atheros wifi on OpenWRT uses the madwifi driver, so this opening up of the HAL will stil
Re: (Score:2)
Re: (Score:2)
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.
Just the opposite. Broadcom-based routers work, but they use a binary driver and hence they are stuck with a 2.4 kernel. Which makes them unusable for those of us trying e.g. to build IPv6 firewalls.
The Atheros-based routers, on the other hand, are rock solid under 2.6.25. I'm running 10 of those in an experimental mesh network [jussieu.fr].
Re: (Score:1)
http://wiki.villagetelco.org/index.php/How_to_use_the_software_build_environment [villagetelco.org]
OpenWRT on a D-Link DIR-300 (Atheros AR2317):
http://wiki.villagetelco.org/index.php/Interesting_Atheros_SoC_based_low-cost_device_with_4_port_switch [villagetelco.org]
QA (Score:2)
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.
Who is Sam Leffler? (Score:2, Interesting)
From the article apparaently he had "an agreement with Atheros" to "access to information about their devices". Does that mean he developed the HAL with little help from the company? (And apparaently he'll have no more access since the agreement is "concluded".)
It is nice to have an open source driver released, but it is NOT nice that an individual have to go jump through hoops and write it himself to make it happen.
Re:Who is Sam Leffler? (Score:5, Informative)
That's how a lot of them happen. What's worse is when an individual, or team of individuals, work for years to make some proprietary code unnecessary, all of the time knowing that only when they are done will the manufacturer of the proprietary code place it in Open Source.
Re:Who is Sam Leffler? (Score:5, Funny)
Good news; but blob related? (Score:3, Interesting)
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:Good news; but blob related? (Score:4, Informative)
Why are there blobs? (Score:2)
Can someone please explain to me what the advantage (presumably to the hw manufacturer) there is by having binary loadable code on the computer? Why not just store it on the hardware? Is the h/w somehow cheaper to manufacture because this is done? I really don't see how that could be.. the things have flash memory already.
Re: (Score:3, Informative)
If you make the customer load up the bits, you don't have to do it in the factory.
If the manufacturers could figure out a way to make the software build the card at install time and still manage to milk the customer of money, they'd do it.
Re: (Score:3, Informative)
Re:Why are there blobs? (Score:4, Informative)
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.
Re: (Score:2)
ICS? (Score:2)
What's the ICS license [wikipedia.org]? I think someone may have got their acronyms mixed up... of course, that person may be me.
Re: (Score:2)
Re: (Score:1, Interesting)
And please don't let any money grubbing developer who only cares about money do any more "open source" work for you in the future! Sam stood up at Usenix and told the OpenBSD guys to stop their efforts to reverse-engineer HAL or else there would be no open source support at all. Now they've succeeded and not only is there open source support for Atheros, there's more support for it because now Sam's forced to open source HAL in order to keep the money stream coming in from a formerly proprietary monopoly si
Nice, but can this be built and dropped in? (Score:1)
As for existing installs, can it be used as a drop-in replacement for an existing blob hal?
This should have come a lot earlier, not when it is marked legacy.
Open HALs and a bit of history (Score:1, Informative)
Sam deserves a huge round of applause for all the work he has put in to wireless drivers and support. The long standing criticism of his work, that it was released as a BLOB, was Atheros' choice, not his. Sam stopped direct involvement in Linux drivers a while back, but continued to release BLOBs for many platforms. His release of the HAL source was accompanied by the announcement that his HAL was no longer the reference. Thanks a Whole Lot, Sam, you sure took a lot of grief that wasn't rightfully yours
Not only free as in speech, but hassle free (Score:2)
As a user I found open source to be a lot more hassle free than closed source. Usually it open source is supported better and longer. I can download everything from Debian mirrors. When I used Nvidia I always had to do some additional steps.
legacy HAL (Score:2, Informative)
Just say thank you! (Score:1)
Another really good idea: change the name! (Score:2)
Another really good idea would be changing the name. Every time I hear "atheros", I think of atheos, beos, skyos, and then, eventually, remember it's some obscure wifi driver.
Re: (Score:2)
Ah, thanks -- I didn't know that was a company. Thought it was a chipset family, to be precise. I still think it sounds too much like an OS though ;)