Feature #11

avatar

Einarc: make autoguessing in einarc-install

Added by Mikhail Yakshin 3260 days ago. Updated 3251 days ago.

Status:Closed Start:01/14/2009
Priority:Normal Due date:
Assigned to:avatarMikhail Yakshin % Done:

0%

Category:-
Target version:1.4

Description

Now we have post-build-time install for proprietary drivers in Einarc, it would be nice to have some sort of auto-detection that would choose which drivers should be used based on PCI data and recommend which drivers to download.

It may be implemented as following:
  • User install a package "einarc".
  • User runs "einarc-install --modules=detect", where "detect" is some sort of magic value of modules (just as "none" and "all") that runs autodetection routines.
Autodetection routines are implemented as following:
  • Every module would include a constant with a list of PCI identifiers to look for.
  • A list of all PCI devices (derived using lspci, for example, or from read /sys or /proc) is scanned for these identifiers, if a match is found, then module that corresponds to found PCI device should be activated => proprietary utilities would be downloaded during execution on "einarc-install".

History

Updated by Mikhail Yakshin 3258 days ago

avatar
  • Project changed from Inquisitor to Einarc
  • Target version deleted (3.1)

Updated by Mikhail Yakshin 3251 days ago

avatar
  • Status changed from New to Closed
  • Assigned to set to Mikhail Yakshin
  • Target version set to 1.4

Implemented, seems to work in most cases. Needs more testing.

Also available in: Atom PDF