Slackware This Forum is for the discussion of Slackware Linux.
|
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
08-07-2012, 08:24 PM
|
#1
|
Member
Registered: May 2010
Posts: 621
Rep:
|
Suggestion: install kernel firmware into /lib/firmware/$(uname -r)
I noticed that udev shipped with Slackware 13.37 picks up firmware in this order:
Code:
Firmware files are looked up in:
/lib/firmware/updates/$(uname -r)
/lib/firmware/updates
/lib/firmware/$(uname -r)
/lib/firmware
IMHO, it would make sense to have the firmware in /lib/firmware/$(uname -r). It would be irrelevant to people who use the stock kernel (aside from the necessity to update their custom scripts, if any). At the same time, it would make the life of folks who upgrade the kernel a bit easier, by making the firmware loading a bit more predictable. Moreover, it seems to be the place where Linus thinks firmware should be placed, so it would be in line with the Slackware philosophy.
|
|
|
08-07-2012, 08:35 PM
|
#2
|
Slackware Maintainer
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,755
|
Quote:
Originally Posted by qweasd
Moreover, it seems to be the place where Linus thinks firmware should be placed, so it would be in line with the Slackware philosophy.
|
Wait, did Linus really say that? That seems hard to believe. Everyone ships it in /lib/firmware, and I can't think of a good reason to do otherwise, since firmware runs on the hardware that uses it and is not tied in any way to the machine architecture.
|
|
|
08-07-2012, 08:56 PM
|
#3
|
LQ Veteran
Registered: May 2008
Posts: 7,013
|
I was under the impression that the firmware from the firmware git repo was a superset of that shipped in the kernel src tree. If so then I think /lib/firmware is the appropriate place to put it.
/usr/lib/firmware/$(uname -r) seems like it'd be the correct place if one were only using the firmware included in the kernel src repo, but not for that taken from the separate git repo.
But, I could be getting the wrong end of the stick.
|
|
|
08-07-2012, 09:00 PM
|
#4
|
Member
Registered: May 2010
Posts: 621
Original Poster
Rep:
|
Sorry to drag Linus into this, that was uncalled for Still, I thought this idea was worth airing, and I am not at all dissuaded by the fact that everyone else is doing it the lame way. I didn't pick Slackware because it was a consensus distro
|
|
|
08-07-2012, 09:06 PM
|
#5
|
Member
Registered: May 2010
Posts: 621
Original Poster
Rep:
|
Quote:
Originally Posted by GazL
I was under the impression that the firmware from the firmware git repo was a superset of that shipped in the kernel src tree.
|
May be it's just my ignorance showing. What firmware git repo are you talking about?
|
|
|
08-08-2012, 02:54 AM
|
#6
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
This is where Slackware -current (i.e. 14.0 and onwards) pulls its kernel firmware from: git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git .
Eric
|
|
|
08-08-2012, 01:22 PM
|
#7
|
Member
Registered: May 2010
Posts: 621
Original Poster
Rep:
|
What is the difference between firmware set from git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git and the one that comes with git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git ?
|
|
|
08-08-2012, 02:12 PM
|
#8
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
Quote:
Originally Posted by qweasd
What is the difference between firmware set from git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git and the one that comes with git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git ?
|
RTFM is the most educational answer as always: http://git.kernel.org/?p=linux/kerne...README;hb=HEAD
OK, here is a copy:
Code:
This repository contains all these firmware images which have been
extracted from older drivers, as well various new firmware images which
we were never permitted to include in a GPL'd work, but which we _have_
been permitted to redistribute under separate cover.
Eric
|
|
|
All times are GMT -5. The time now is 02:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|