

The Problem With Driver-Loaded Firmware 229
Kadin2048 writes "If you've gone to a big-box store and purchased a wireless card recently, you might have had some trouble getting it to work under Linux, or any non-Windows OS for that matter. One reason for this is that more and more manufacturers are producing hardware that are useless without proprietary firmware. While these new designs allow for lower parts counts and thus lower cost, it presents a serious problem for F/OSS software because it can sometimes guarantee no out-of-the-box compatibility. Jem Matzan has produced a detailed article, "The battle for wireless network drivers," on the subject, including interviews with manufacturers' representatives and OS developers, including Theo de Raadt. The bottom line? In general, Asian hardware manufacturers were far more responsive and liberal about firmware than U.S. manufacturers (Intel included). Look for more firmware issues in the future, as not only wireless hardware, but regular wired Ethernet cards, take the driver-loaded firmware approach."
firmware (Score:4, Insightful)
So Boycott the A-holes (Score:2)
The only way companies that hold things so close to the chest can be influenced is by hurting their cash flow. This is capitalism in action. If they realize they are pissing people off with their attitude, and it is costing them money, then they will change. Until then, you can howl at the moon until the cows come home and they won't stop actively shutting out open source developers.
I would suggest that it might be an option to use the collective IT experience and position of Slashdotters to effect a b
Re: (Score:2)
Re: (Score:2)
Pet Peeve -usb flashdrives with crap software (Score:2)
Re: (Score:2)
Best Buy loves Linux (Score:3, Informative)
Re: (Score:2)
that useful public service announcement couched in sarcasm...
Re: (Score:2)
Perhaps you named him 'droid' for a reason ;) . There should not be any coherent answer there - Best Buy droids are not educated in any way by company. Best Buy basically is a box pusher.
you think that's bad... (Score:2)
If you think problems with those are bad, you should see the "license" problems with a lot of bluetooth devices. [geekzone.co.nz]
Is it a hardware hacker's paradise? (Score:3, Insightful)
Correct me if I'm wrong -- the problem is that the firmware doesn't come preloaded on the hardware. So basically you have a hardware platform with no driving software -- essentially one big, blank programmable ASIC with specialty hardware depending on what the card is.
One of the major complaints seems to be that the loadable firmware is not redistributable, and anyway it's full of bugs and other crazy stuff. It occurs to me that maybe these cards are like CPU platforms -- lots of hardware, no driving software. For one particular piece of hardware -- Intel CPU's -- some bright guy named Linus wrote some "firmware" to make that platform run.
So couldn't some bright people get together, use the programmable hardware as a starting point, and develop their own firmware? I guess you wouldn't have to develop firmware for every blank hardware platform that was manufactured. Just the ones with the neatest hardware features.
--Rob
Re:Is it a hardware hacker's paradise? (Score:5, Informative)
Well, it's certainly a nice idea, and in an ideal world, it would be a good plan. Unfortunately, Linus couldn't have written Linux in a vacuum. He had access to an architecture reference manual or similar information about PC's and IA32. He had access to a compiler which would allow him to program in a standard language, which would automatically generate the machine code for IA32. He had access to book on how to write operating systems, and he had access to Minix to get some ideas of how it could be done.
And it still took a few years before it was really a decent operating system.
Now, imagine if he had access to only DOS. He didn't have any documentation about the hardware, he didn't have a compiler for it. He just had a copy of DOS. It was all he knew about PC's. It was his only example of how to do an OS. It probably would have taken more than just a few years to turn Linux into a decent OS.
That's basically all you have when you want to write a firmware. No functional specs. No hardware documentation. Is it possible to make a working irmware for a wireless card? Sure, I don't see why it wouldn't be possible. But, when you have a variety of manufacturers making a variety of cards, and you want to support them all before they stop being relevant to the market, and it takes probably several years of tinkering for any given card, then "hackers GO!" isn't really a viable hardware support plan.
The US FCC seems to be in no hurry to do anything that would support community efforts to write firmware, given their apparent hostility toward HAMs, and I expect it will be a good many years before the FCC is completely realigned. It isn't really a hot button issue, so I wouldn't even expect a hardcore Democrat president to bother with it just for the sake of being different from Bush. If it won't happen in this or the next administration, then it will be a minimum of six to ten years before we can even dream about regulations causing us to just be handed hardware documentation. Consequently, folks like Theo have made firmware a personal issue. I applaud them, and really hope that he is able to make some headway with this.
Re: (Score:2)
Re: (Score:2)
That's a good thing. It means that a strong information campaign might change some minds. I think we'd have a chance with any of the current Democratic frontrunners (Clinton, Obama, Edwards), though my money is still on Edwards, who seems to "get it" in a way the other two don't.
Unfortunately, the continued survival of FOSS relies on our political action. You've seen it with software patents and DRM, and now we have hardware to deal with. They're trying to beat us with
Re: (Score:2)
Re: (Score:3, Informative)
Not surprising (Score:2)
FHF (Score:2, Interesting)
Now don't say it's not possible, since there's really difference in producing SW or HW for free from the economical point of view.
If you think there is, you are wrong.
Re: FHF (Score:2)
The FHF might be a possibility when we
Let's look at this another way ... (Score:5, Interesting)
Let's take this from a slightly different perspective:
In general American hardware manufacturers were far more pigheaded and close-mouthed about firmware than Asian manufacturers (Intel especially.) Look for more firmware issues in the future, as Asian corporations continue to take over the remnants of the U.S. manufacturing sector, with U.S. companies stubbornly trying to hang on to their "intellectual property".
Maybe if these idiots stopped listening their legal teams (and Microsoft!) so much, started worrying less about developers using their oh-so-precious "intellectual property" to make their own products useful to even more customers we wouldn't be in this fix. American tech companies are shooting themselves in the foot, having forgotten that continuous innovation and fresh ideas, not hordes of attorneys, are what drive a tech sector to competitiveness. Meanwhile, China is walking off with the the entire candy store.
There are only two ways to beat your competition in the modern world: out-lawyer them or out-think them. We used to be in the latter camp (Yankee ingenuity, and all that) but not any more.
Rather depressing, really.
Re: (Score:2)
Maybe if these idiots stopped listening their legal teams (and Microsoft!) so much, started worrying less about developers using their oh-so-precious "intellectual property" to make their own products useful to even more customers we wouldn't be in this fix.
Well, there's certainly an aspect of companies trying to protect their IP. But the other problem is that companies are often outsourcing the writing of their firmware, (like the Atmel guy mentioned). With the normal product-development methods of close
Re: (Score:2)
No, the sad thing is that American companies are still earning that bad reputation by continuing to make poor quality cars! My dad owned a 2003 Chevy Astro that was a total POS. I imagine a 2003 Chevy Aveo (made in Korea) might be better...
History is littered with the ... (Score:2)
You could work with the http://www.gnu.org/software/gnuradio/ [gnu.org] and come up with a generic framework that could run most any kind of dsp related tranceiver be it wire
Re: (Score:2)
Wireless tech is becoming ubiquitous and commoditized. That's what happens when a market reaches this stage. Margins are dropping, unit sales are going up, and it is becoming more and more difficult for a particular vendor to achieve any significant degree of product differentiation. Worse, all of these guys are having to play the interoperab
Re: (Score:2)
The thing I
Re: (Score:2)
This is a non issue (mostly) (Score:2)
Re: (Score:2)
This is NOT how things have always been. In the past, the firmware was part of the device. The driver was simply the means to communicate with that device. Loadable firmware is a new(ish) thing, having only popped up around the time of the winmodems some years back.
The good list (Score:3, Insightful)
Ralink Technology [ralinktech.com]
Atmel Corporation [atmel.com]
Realtek [realtek.com.tw] Linux drivers here [sourceforge.net]
Vote with your money, folks. If you would like to see companies cooperate with the free software community, reward the companies that do so by buying their products.
If you know of a particular piece of WiFi hardware that works particularly well in Linux or BSD, please follow up here so we all know what to buy. (See also this list [seattlewireless.net].)
MOD PARENT DOWN, PLAGIARIZED COMMENT! (Score:2, Informative)
Parent is stealing comments to salvage his poor karma. Notice his extensive "Score: 0" comment history [slashdot.org].
Re: (Score:2)
The problem is that Windows users also vote with their money and there are a lot more of them than us.
Re:The good list (Score:4, Insightful)
More votes for the wealthy is not a good goal. (Score:3, Informative)
I'm all for letting cooperative organizations know why I'm purchasing their equipment and not their uncooperative competitors (and notifying their uncooperative competitors to the contrary), but I don't expect it to mean that I'm in any way "voting" or leveraging some kind of democratic control over what is essentially a private tyranny.
However, if you read Theo de Raadt's informative talk slides [openbsd.org], you'd see another reason why "voting" with your money isn't what it is made out [openbsd.org]
Re: (Score:2)
If you know of a particular piece of WiFi hardware that works particularly well in Linux or BSD, please follow up here so we all know what to buy.
I've got a laptop with the Intel 3945 chipset in it. And while the article mentions problems with Intel and re-distribution of firmware, this is by far the best Wi-Fi card I've used under linux. My success with this card also might be related to running Ubuntu on it, but whatever the case I can report no problems with this card. It was detected on install, the
big problem for EVERYBODY (Score:2)
For an OS to drive the hardware, it has to include the firmware. That's no serious problem for driving a few devices after you've installed the OS.
Problem is, the OS doesn't just support YOUR devices. It has to support ALL devices, with ALL hardware revisions and board layouts. So, how many devices could exist...?
Now you're talking about real disk space. This could get into the gigabytes.
What about at install time? It's all going to have to fit.
Re: (Score:2)
Re: (Score:2)
For some devices it's just a killobyte. For some it's multiple megabytes.
As a rule, newer devices need bigger firmware.
Sometimes the firmware contains a whole OS.
Re: (Score:2)
Re: (Score:3, Interesting)
sure it is a problem (Score:2)
FYI, a cheap and semi-compatible (single-layer, single-side) DVD is something like 2 to 5 GB depending on type.
Normal OS installs are meant to work from CD media, which is about 700 MB. Often, the install is meant to run from a ramdisk.
Storage space isn't the only problem here. Reading all that data takes time.
Even if I do have well over 100 GB of drive space, I'd rather not devote a few percent of that to firmware for devices I don't even own. In other
Which card? (Score:5, Insightful)
My ancient orinoco silver pcmcia card stopped working with ubuntu as of edgy. I don't know why. It works with other distros. But it's not 802.11g, and it doesn't do WPA, and although it's not important to me, it's not great for scanning.
So I want to buy a card. I'd order one today, but I don't know what to get.
I know our buying power as a community is small, but I'd think that some no-name card manufacturer would find it worthwhile to make a card that has a picture of a penguin on it, and that is fully supported by free software. I'd pay a little more for a card that I know will just work, and that will continue to work.
Re: (Score:2)
Re: (Score:2)
Sometimes it's hard to tell whether that just means that they released a binary blob for one particular kernel version and tested it once on some version of Fedora.
Whereas what I want to know is: is the driver completely free software, is it included in the mainline kernel, and if it's gotta have proprietary firmware, is that at least freely redistributable? Because i
Yep (Score:3, Insightful)
I must have half a dozen w
Re: (Score:2)
So don't buy mystery-meat hardware. Choose products with stability.
Perhaps the ASUS WL-107g or DLink DWL-G122? (Score:2)
Re: (Score:2)
I'm running Edgy, and the WMP54G 4.1 seems fine. 4.0 was fine too with a different Ralink chipset I think.
The problem with not using the search facility (Score:3, Insightful)
Remember? (Score:2)
not a new problem (Score:3, Insightful)
Building a standards compliant intelligent machine is often more expensive than building an ad hoc machine, if for no other reason than the cheapest parts can always be used, and there is no need to support all users. The flip side is that a specific driver must be created for each device.
I had an incident that nicely illustrated this point. I bought a very cheap digital camera a few couple years ago. Now, any standard camera with a USB port should work with my Mac with no additional drivers. Perhaps not all the bells and whistles, but the PTP should work. As it turned out, this camera was not standards based, and, even worse, had undergone a revision so, even thought the model number was the same, it did not work with the drivers I did have. There only way to determine that this camera was not in fact the same camera was to open the hermetically sealed bomb proof packaging, open the camera, and use a magnifying glass to inspect the product code.
Which just shows that if one wants the cheapest products, then MS Windows is the way to go. Manufacturers can design to the platform, write a few drivers, and sell to the masses. So the point of *nix, and perhaps the Mac,is not to provide the cheapest product, but instead long term stability. I have every reason to believe that Canon camera will work with my computer for a long time, because I am not going to lose connectivity when the next OS upgrade comes around. The standards will still be supported. I have SCSI devices from the OS 9 days that still work perfectly with OS X. I have no idea if those same devices, which required a special driver for MS Window, have continued support for current MS products.
So really all that can be said is don't buy the cheap products. If one has a choice between the standard printer and generic printer, pay the extra money for the generic printer. Support the standards that will allow *nix to prosper.
To specifically address the wireless thing, the standard is certainly in flux, and no one can be expected to support a standard that does not necessarily exist. That said, it should still be possible to assemble a standard compliant box that is not targeted towards the MS Windows OS, perhaps at additional costs.
This isn't news (Score:2)
WinModem (Score:2)
If you don't remember the WinModem problem, this might seem absurd. This has been a problem for a long time. It never really went away. People just started using networks connected to telephone supplied DSL modems, cable modems, or cheap external USB modems, and forgot about the problem.
I was that scum (Score:3, Interesting)
Not only that, I have written OS/2 and FreeBSD drivers for it outside of work hours (but with permission).
There is ABSOLUTELY NO REASON why a FOSS driver cannot install the firmware. This is NOT the problem. There MAY be a problem with distribution rights, or with documenting how to load the firmware, but these are NOT what TFA described.
While one might like to have the spec for writing one's own GPL firmware, and I dont see prob;lems with that, I do see a problem with expecting $100,000 worth of firmware development for free, when the hardware can be replicat4ed for a $10, and the combination normally sells for $100. Ie there are products on the market where the majority of the value is in the firmware. and Yes, it does sometimes take more than three man-years of $100/day consultants to write firmware for a product with a predicted lifetime of 8-months. (Graphics card, anyone?)
Re: (Score:2)
Thank you. RMS and Theo have whipped people up into such a frenzy, that they now think closed source firmware is evil. The real problem is with the drivers. As long as I've got enough specs to load the firmware and write a driver, I'm hunky dory. But once you start putting hardware functionality in the software driver, you're crossing the line.
Re: (Score:2)
Sigh. This gets "insightful"?
Anne Thwacks:
TFA:
Please read before you rant.
You've miss-understood the article. (Score:3, Informative)
Proprietors do users no favors by locking them out (Score:2)
Theo de Raadt's requests are quite clear: he's not asking for gratis firmware development (and how much that development costs is wildly overestimated so long as people are willing to do this unpaid). He and other OpenBSD
Re: (Score:2)
Please mod the parent down as "flamebait" or "troll". Anne Thwacks either has shockingly low reading comprehension or is deliberately misrepresenting the article [*]:
The article says:
Re: (Score:3, Interesting)
Re: (Score:2)
Re: (Score:2)
There is ABSOLUTELY NO REASON why a FOSS driver cannot install the firmware. This is NOT the problem. There MAY be a problem with distribution rights, or with documenting how to load the firmware, but these are NOT what TFA described.
If only! Even though it would cost NOTHING to put the firmware in a convieniant .bin file somewhere on the CDs, instead, it's inevitably buried inside some Windows installer.
I can't think of any loss whatsoever for allowing the file to be freely distributed under a licens
Looking for a wireless card right about now... (Score:3, Interesting)
Any clear winners? Does it matter which router I will be using? For that matter, I need to get a router as well.
(I figure I might as well ask here, since the topic is here. I would otherwise have just gone to the Ubuntu forum.)
Re: (Score:3, Informative)
Firmware != Drivers (Score:5, Informative)
Quick clarification, seeing some of the posts here about "winmodems" and junkware-infested drivers:
Drivers run on your computer and let it talk to the device.
Firmware is "software" that runs on the device - typically code for on-board microcontrollers, Field Programmamble Gate Arrays (FPGA) and other "soft hardware".
There is nothing wrong with the idea of using driver-loaded firmware - it simplifies the device (no need for on-board flash memory) and makes it easier to fix "hardware" issues with an updated driver (with less risk of "bricking" a device by muffing a firmware update). Linux can actually cope with it quite happily - A lot of digital TV cards rely on driver-loaded firmware and its all fine and dandy provided that either (a) the manufacturer offers a download of the firmware or (b) it can be extracted from the windows driver CD or (c) some evil pirate has selfishly conspired to increase the manufacturer's customer base by posting an iffy copy.
There is an interesting question as to the status of such a "firmware blob" vis. the GPL (especialy the anti-TiVOization clauses of V3). Is it part of the software (thus tainting the free-ness of any drivers that require it) or part of the hardware (FPGA "software" is more like a circuit diagram than a program - and the "source code" might be useless without proprietary software from the FPGA manufacturer - and tweaking it might void the FCC/CE certification of the device)?
MOD PARENT UP! (Score:2)
The only thing I disagree with is the method of distribution of firmware (and is one of the central complaints of the article). Unless distributions have the ability to freely re-distribute firmware, they're sunk. It's just simply too difficult or too much a pain-in-the-ass for end users to go find firmware from a windows CD, a manufacturer, etc. I'm no stranger to Linux and have been using it for 10+ years no
Driver-loaded firmware isn't a problem (Score:2)
It's a bit of a pain if the manufacturer doesn't allow redistribution of the firmware, because it means your brand-new wireless card doesn't work until you'v
Another example of Driver-Loaded Firmware: M-Audio (Score:3, Insightful)
From http://www.theory.physics.ubc.ca/transit.html [physics.ubc.ca]:
The card requires firmware to be downloaded to the card first for it to work as a soundcard. While it appears on the usb bus with Vendor/ProductID of 0763/2806 this is a very primative usb device that does nothing except wait for firmware.
A firmware loader for M-Audio audio devices is available at http://usb-midi-fw.sourceforge.net/ [sourceforge.net]. Interestingly enough, the set-up procedure involves copying the firmware bin file from the Windows driver installation, which is subsequently used by the firmware loader.
Anyways, TFA makes some interesting points:
The firmware, although its being loaded to the device, is still firmware. Do distributions that demand an entirely free sofware environment ship drivers for devices with proprietary firmware? Of course they do. I'm not convinced that this should be any different.
I think that Theo de Raadt, of OpenBSD, has it right:
-azzurro
Using a Wireless Bridge may be easier (Score:2)
VMWare to the rescue... (Score:2)
Re: (Score:2)
I can relate (Score:2)
Re: (Score:3, Interesting)
List wireless cards, vendors, and prices that I can obtain today, which do work with Linux.
The compatability lists on the linux wireless sites are useless -- sure there are lots of cards that work, but many of them
have been discontinued for years, some were only available in certain locales, and some, if you found the model, have had their
chipsets changes.
I know of no resource that would allow me to successfully pursue wither of the following use
Re:Vote with your wallet (Score:5, Informative)
There's also an emerging (well, maybe they exist for ages, but I've not known the company up until recently) manufacturer for networking gear called "TP-LINK" which sells virtually everything from RaLink. I happen to have a "TP-LINK TL-WN321G" (usb2 full speed) adapter which features a RaLink chip supported by the rt73-usb driver just perfectly. Cost me 9 Euro in germany.
Hth.
Atheros (Score:2)
Re: (Score:2)
> [Detailed list of some compatible cards, and some general guidelines]
But this is exactly the problem! When people ask this question, they get details, and perhaps a link to a list or two. But there is no single up-to-date reliable hardware list that a Linux-user can really rely on. This should be a simple URL of a website
Re: (Score:3, Informative)
Re: (Score:3, Informative)
I think you're missing the point about what exactly tuxpatible.info is meant to be.
Yes, th
Re: (Score:3, Insightful)
It blows my mind how the linux community continues to make the low grade hardware work instead of universa
Re: (Score:2)
Re: (Score:2)
USB [ebay.co.uk]
PCI [ebay.co.uk]
PCMCIA [ebay.co.uk]
All should Just Work on, say, Ubuntu Dapper onwards (they did for me, at least), but I should note that I have not tried WPA with them. Obviously, eBay auctions are not exactly appropriate for corporate acquisitions, but hopefully this will help you in your search!
Re: (Score:2, Insightful)
That is exactly the problem. Our organization has found compatable devices in the past, only to reorder by exact model number to receive incompatable units. It has happened twice with two manufacturers, and it contributed to linux being abandoned for a project.
Re: (Score:2)
I know incompatible chipset changes in anything would make me nervous, from a support standpoint. Perhaps some pressure could be applied to vendors to abandon the practice?
Re: (Score:2)
Trying to get an exhaustive list of all WLAN adapters supported under Linux is the wrong way to approach the pb because there are literally hundreds of them on the market. However they are all based on only a dozen or so of common WLAN chipsets: Zydas ZD12xx, Atheros, Intel PRO/Wireless 2xxx, etc. It's easier to assemble a list of supported chipsets rather than a list of supported adapters.
Firstly, you can have a look at the drivers/net/wireless [kernel.org] directory of the kernel source code. From there look at th
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Yes, unfortunately sometimes vendors silently change the chipset used in a particular model. But honestly I think that googling for 10 min before buying is all you need to confirm that you won't run into this pb for the model you are about to buy.
No, this is not true. Look, 6 months
Re: (Score:2)
Re: (Score:2)
Let me give you a concrete example. 8 months ago I did my research, settled on the Atheros chipset, decided to buy an SMC card because newegg had plenty of them, in particular their PCI model SMCWPCI-G. At this point I was about to buy it, so I googled for '''SMCWPCI-G linux problems''', '''SMCWPCI-G linux "not detected"''', '''SMCW
Re: (Score:2)
Re: (Score:3, Insightful)
The OpenBSD-folks have developed a free as in speech replacement for the binary-only HAL provided by
Re: (Score:2, Informative)
Looks like RaLink [ralinktech.com] might be the only player on the block soon enough...
Re: (Score:2)
Who cares about HAL? Do you want to reprogram chip to use frequencies not allowed in your country?
I don't care.
Otherwise Atheros drivers are free - BSD and GPL licensed.
Re: (Score:3, Interesting)
I write together with others the ZD1211 WLAN driver for the Linux kernel and though we have a lot of useful information from the vendor, we have huge trouble to match the performance of the Windows driver. If you think that is our faul
Re: (Score:2)
Sadly, yes. Speaking about the desktop, fact is, 99% of hardware is already made particularly to run Windows; the fact that the Linux community got nearly all of it to run - well, that just means we were lucky I guess. Microsoft seems bent on continuing the trend of closing the hardware more and more, knowing f
Re: (Score:2)
Just look at RealTek.... (Score:3, Insightful)
There's several reasons for this.
It's cheap.
It works VERY well, though not the best that money can buy.
It's completely open in it's documentation and relatively easy to design with.
Those three things make me think of using their part first- especially the open information part.
It's no different for any other engineer. I can assure you, they're about to get a batch of people
on the scene that are customers that
Not exactly (Score:3, Interesting)
With these, the cards actually still do processing for themselves, but the manufacture
toxic solution (Score:2)
Would your real name happen to be Ballmer?
Re: (Score:2)
I can see an easy solution:
1) Download new flash image
2) Reboot computer
3) Before card is loaded, it gets flashed
4) Update done
and at least with flash, you would have some working firmware out of the box.
Open Standard for Firmware Download (Score:2)
There are sound economic reasons to use firmware that must be loaded at boot time rather than the slightly more exp