> > 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|