LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-23-2012, 04:36 AM   #1
sluge
Member
 
Registered: Dec 2006
Location: Russia,52
Posts: 128

Rep: Reputation: 6
Question 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?
 
Old 11-23-2012, 05:34 AM   #2
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,644

Rep: Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366
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.
 
Old 11-23-2012, 06:49 AM   #3
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1410Reputation: 1410Reputation: 1410Reputation: 1410Reputation: 1410Reputation: 1410Reputation: 1410Reputation: 1410Reputation: 1410Reputation: 1410
Why? So people can use their hardware...
 
Old 11-23-2012, 09:58 AM   #4
guyonearth
Member
 
Registered: Jun 2012
Location: USA
Distribution: Ubuntu
Posts: 424

Rep: Reputation: 83
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.
 
Old 11-23-2012, 10:34 AM   #5
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141
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.
 
Old 11-23-2012, 11:00 AM   #6
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,628

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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,

Play Bonny!
 
Old 11-23-2012, 01:41 PM   #7
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,644

Rep: Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366
Quote:
Originally Posted by suicidaleggroll View Post
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
 
Old 11-23-2012, 02:56 PM   #8
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141
Quote:
Originally Posted by 273 View Post
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.

Last edited by suicidaleggroll; 11-23-2012 at 03:01 PM.
 
Old 11-23-2012, 03:06 PM   #9
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,644

Rep: Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366Reputation: 2366
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).
 
Old 11-23-2012, 04:36 PM   #10
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141
Quote:
Originally Posted by 273 View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Distribute Linux using PXE! ftornell Linux - Server 4 06-06-2011 12:14 AM
Need to distribute linux in Kenya mburu Linux - General 1 11-02-2010 05:18 AM
kernel26-firmware conflicts with linux-firmware conflicts with nvidia-96xx Bratmon Arch 3 06-26-2010 07:42 PM
LXer: Distribute Software on a Linux LiveCD LXer Syndicated Linux News 0 02-07-2006 11:01 AM
How to distribute update to SUSE Enterprise Linux 9.3 SP2. btk667 Linux - Enterprise 1 12-15-2005 07:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration