LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why linux distribute firmware? (https://www.linuxquestions.org/questions/linux-newbie-8/why-linux-distribute-firmware-4175438408/)

sluge 11-23-2012 04:36 AM

Why linux distribute firmware?
 
Hello!
When I browse throught packages in linux dvd, I found a lot of packages that contains firmware, for example, atmel-firmware.
As I know, firmware is a kind of software that works under some device, like WI-FI adapter. Why linux contains such kind of packages?

273 11-23-2012 05:34 AM

Some distributions contain them because without the firmware the device would not work. This is especially problematic to people who only have wireless internet access so can't get the firmware either way.

snowday 11-23-2012 06:49 AM

Why? So people can use their hardware...

guyonearth 11-23-2012 09:58 AM

Because they want it to be reasonably useful. A system that can't be set up in isolation is minimally useful to a lot of people. These "pure" distros that don't include stuff that people commonly need are not useful to someone that, for example, mainly uses laptops with wireless connections (like me). It would be impossible to get a working system in many cases without having another computer to get the things you needed before the install. Thats why some of us prefer to stick to distros that include everything they can.

suicidaleggroll 11-23-2012 10:34 AM

As far as I can tell, the responses above me are all talking about drivers, not firmware. Firmware runs ON the device in question, drivers tell the OS how to USE the device in question. The OS only needs drivers, not firmware. Firmware is only used when you're actually reprogramming or updating the device itself, such as reflashing a new firmware for your BIOS, or updating the firmware on your SSD.

As far as why the OS DVD includes firmware, I don't know. Maybe it's actually a driver that's been mislabeled?

Soadyheid 11-23-2012 11:00 AM

I first came across firmware these firmware files when trying to install a Freecom DVB Digital TV USB stick in Linux. The firmware file is loaded onto the device during boot - not flashed like BIOS. I believe there's a firmware directory somewhere in the Linux filesystem where similar files are kept.

It's like Apple's toolbox which used to contain all the code to draw windows, sliders, scroll arrows, etc. In older kit with Motorola 68000 CPUs, the toolbox was held in ROM, the OS just called up a window routine and supplied various parameters, size, etc. Windows 3.1 had to generate their windows from the OS on disk so wasn't so fast. Laterly, on PowerPC systems, Apple ended up with a Firmware file which, like the devices mentioned in Linux, was loaded into RAM on boot and accessed from there.

I can just tell you're facinated now, :D

Play Bonny! :hattip:

273 11-23-2012 01:41 PM

Quote:

Originally Posted by suicidaleggroll (Post 4835565)
As far as I can tell, the responses above me are all talking about drivers, not firmware. Firmware runs ON the device in question, drivers tell the OS how to USE the device in question. The OS only needs drivers, not firmware. Firmware is only used when you're actually reprogramming or updating the device itself, such as reflashing a new firmware for your BIOS, or updating the firmware on your SSD.

As far as why the OS DVD includes firmware, I don't know. Maybe it's actually a driver that's been mislabeled?

So the people on the Debian project don't know what they're talking about then?
For example: http://packages.debian.org/sid/atmel-firmware

suicidaleggroll 11-23-2012 02:56 PM

Quote:

Originally Posted by 273 (Post 4835666)
So the people on the Debian project don't know what they're talking about then?
For example: http://packages.debian.org/sid/atmel-firmware

If you read the description, you'll see that that's a special case device where the firmware is located in volatile storage, which means the OS does need to reload the device with its own firmware every time it's powered up. This is what Soadyheid was referring to in his post, and is different than the OS drivers for the device.

This is by far the exception, not the rule. I didn't even realize that devices like this still existed, but it does explain/answer the OP's question.

273 11-23-2012 03:06 PM

My apologies, my post was a little rude, I was just a bit miffed at being misunderstood to have misunderstood.
My first post was written referring to just this type of situation as I have seen it many times for wireless cards and a at least a couple of times for other devices (one was a TV card the other[s] I don't recall).

suicidaleggroll 11-23-2012 04:36 PM

Quote:

Originally Posted by 273 (Post 4835710)
My apologies, my post was a little rude, I was just a bit miffed at being misunderstood to have misunderstood.
My first post was written referring to just this type of situation as I have seen it many times for wireless cards and a at least a couple of times for other devices (one was a TV card the other[s] I don't recall).

I didn't realize those were the cases you were referring to in your original post, my apologies.


All times are GMT -5. The time now is 11:32 PM.