Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,644
Rep:
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.
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.
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?
Last edited by suicidaleggroll; 11-23-2012 at 10:37 AM.
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,628
Rep:
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.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,644
Rep:
Quote:
Originally Posted by suicidaleggroll
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?
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.
Last edited by suicidaleggroll; 11-23-2012 at 03:01 PM.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,644
Rep:
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).
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.