From: Ahmad Reza Cheraghi <a_r_cheraghi@yahoo.com>
To: chriswhite@gentoo.org, marekw1977@yahoo.com.au
Cc: linux-kernel@vger.kernel.org
Subject: Re: Automatic Configuration of a Kernel
Date: Thu, 15 Sep 2005 00:58:00 -0700 (PDT) [thread overview]
Message-ID: <20050915075801.13000.qmail@web51001.mail.yahoo.com> (raw)
In-Reply-To: <200509151753.21971.chriswhite@gentoo.org>
> > Something that can do the hardware detection, then
> maps that to drivers
> > would be very useful.
>
> well, in theory this works as well. If you do this
> in the kernel source
> directory:
>
> make allmodconfig
>
> that makes a kernel with all possible configure
> options that can be built as
> modules enabled.
>
> make install
>
> and you have a couple of nice files in
> /lib/modules/(version)/modules.*map
>
> -rw-r--r-- 1 root root 73 Sep 14 23:15
> modules.ieee1394map
> -rw-r--r-- 1 root root 132 Sep 14 23:15
> modules.inputmap
> -rw-r--r-- 1 root root 81 Sep 14 23:15
> modules.isapnpmap
> -rw-r--r-- 1 root root 7834 Sep 14 23:15
> modules.pcimap
> -rw-r--r-- 1 root root 43 Sep 14 23:15
> modules.seriomap
> -rw-r--r-- 1 root root 80010 Sep 14 23:15
> modules.usbmap
>
> the usual favorite of mine is modules.pcimap, which,
> when compined with lspci
> can give you the proper module for your pci device.
> Granted it has the fault
> of a) how to figure out the configure option.
> Sometimes it's CONFIG_[name],
> sometimes it's not (grepping maybe?)
For that reason I thought the best way is: using the
option-name given out, by make menuconfig or make
config... And you can even easily upgraded it if the
option-name(for the same Hardware) is changed by a new
Kernel. By only putting this new option-name in the
rules_list with the same rule.
b) sometimes
> two drivers do the same
> thing, but if enabled together will cause kittens to
> cry and babies to pull
> flowers. Therein lies one of the main issues. I'm
> going to assume by seeing
> the rules_file bit that you address it in that way.
> However, seeing the
> development model of the kernel, trying to keep that
> updated may get a little
> weird.
Yes your right. The idea(eventhuogh it is a dream) is
that, this Framework might be hopefully in the future,
a part of the Kernel. So it can be updated everytime
before a new Kernel will be releases.
> My 1.5 $denomination
> Chris White
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
next prev parent reply other threads:[~2005-09-15 7:58 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-14 22:38 Ahmad Reza Cheraghi
2005-09-14 22:53 ` Michal Piotrowski
2005-09-14 23:49 ` Daniel Thaler
2005-09-15 0:09 ` Marek W
2005-09-15 0:37 ` Hua Zhong
2005-09-15 2:03 ` David Lang
2005-09-15 3:04 ` Lee Revell
2005-09-15 3:37 ` Daniel Thaler
2005-09-15 4:16 ` Lee Revell
2005-09-15 8:12 ` Ahmad Reza Cheraghi
2005-09-15 11:20 ` Masoud Sharbiani
2005-09-15 20:58 ` Ahmad Reza Cheraghi
2005-09-15 21:04 ` Jesper Juhl
2005-09-15 4:18 ` Marek W
2005-09-15 6:18 ` Valdis.Kletnieks
2005-09-15 7:33 ` Marek W
2005-09-15 9:48 ` Ahmad Reza Cheraghi
2005-09-15 10:44 ` David Lang
2005-09-15 10:26 ` David Lang
2005-09-15 14:58 ` Nix
2005-09-15 17:08 ` David Lang
2005-09-15 20:36 ` Valdis.Kletnieks
2005-09-15 20:50 ` Nix
2005-09-15 8:53 ` Chris White
2005-09-15 7:58 ` Ahmad Reza Cheraghi [this message]
2005-09-15 9:12 ` Emmanuel Fleury
2005-09-15 9:56 ` Ahmad Reza Cheraghi
2005-09-16 4:02 ` Chris White
2005-09-16 7:12 ` Emmanuel Fleury
2005-09-16 17:38 ` Pavel Machek
2005-09-16 17:50 ` Enrico Weigelt
2005-09-15 11:21 ` Roman Zippel
2005-09-15 12:01 ` Emmanuel Fleury
2005-09-15 13:02 ` Ahmad Reza Cheraghi
2005-09-15 13:28 ` Emmanuel Fleury
2005-09-15 13:03 ` Ahmad Reza Cheraghi
2005-09-17 1:27 ` Roman Zippel
2005-09-16 8:11 ` Coywolf Qi Hunt
2005-09-16 8:19 ` Emmanuel Fleury
2005-09-16 8:32 ` Ahmad Reza Cheraghi
2005-09-16 8:50 ` Emmanuel Fleury
2005-09-16 9:19 ` Ahmad Reza Cheraghi
2005-09-26 12:08 Ahmad Reza Cheraghi
2005-09-26 13:57 ` Michal Piotrowski
2005-09-26 14:06 ` Michal Piotrowski
2005-09-27 8:05 ` Coywolf Qi Hunt
2005-09-27 8:11 ` Emmanuel Fleury
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050915075801.13000.qmail@web51001.mail.yahoo.com \
--to=a_r_cheraghi@yahoo.com \
--cc=chriswhite@gentoo.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marekw1977@yahoo.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome