> 1) What should be detected, what should not ?
I think its good to detect everything, that let a
Kernel work after the installation. I mean it the
autoconfiguration should't be only for Kernel-Hackers.
Maybe its good idea to make two type of detection
1. which detects only the HW(For Kernel-Hackers)
2. which detects all the HW and configure everything
that let the Kernel work.(for beginners)
> But, as Boddo Eggert pointed out (if I
> understood well), all the
> hardware which is lying outside of the box (printer,
> scanner, usb key,
> ...) could be detected if plugged when the
> autoconfig is ran.
> Should we trust these informations (as theses
> devices can be removed at
> any time) ? Shouldn't we let the user make these
> choices by himself ?
I think it should be included, since it is up to the
user has to plug the HW in to those Ports so the
autoconfig can be detected.
> What is the limit of the devices we can assume to be
> part of the machine
> when building this autoconfig ?
All the needed HW that the user wants or need must at
least be detected and configured.
> 2) What is the surest and the most stable way to
> detect the hardware ?
>
> lspci, lsusb, dmidecode (or /proc and /sys) have
> been mentioned. This
> brings two sub-questions:
> - What kind of software environment / kernel release
> can we assume ?
The best was is to use HW-Detection-Tools that are in
naked Kernel. But I dont know if is lspci is in the
Kernel. I mean dmidecode is good for detecting all the
HW but it has to be installed first. And its no good
to let the user install first of all some tools so the
autoconfigure can work.
How do we get the HW detected from a naked Kernel
without any Distrubotion or whatever.
> - How to minimize the dependencies of the detection
> from other tools ?
> (changing all the Kconfigs just because the syntax
> of the output of one
> of these command has changed would be quite
> painful).
If something like that hapend we can put a filter in
the script, that changes the Parameter in to a new
one.
> 3) Can this hardware detection be included in other
> interfaces ?
>
> It would be nice to have this detection to be ran
> when no pre existing
> .config is detected in all other interfaces
> (menuconfig, config, ...).
I dont understand your question. What you mean with
interfaces??
Regards
Ahmad Reza Cheraghi
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
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]
|
|