Juan Jose Pablos wrote: > Pierre Bourgin escribió: >> >> What I'm thinking about is to use the Linux PCI devices informations >> (from /sys/bus/pci/devices) on the hardware platform to install and >> try to >> guess which .inf Windows drivers can match for each of these PCI >> devices via >> their PCI_{VENDOR,DEVICE,SUBSYS,SUBDEV,CLASS} values. >> > > Funny, I have the same thought a while back, and I start a script but I > did not finish it. > > It is just a start point so do not expect it to work..
OK, I have a bloated perl script that do the trick: scan PCI devices (via lspci), compare with content of win drivers "database" and return a list of matching folders (verbose output also list the non-matching device(s) ;-) My windows drivers database is not stored below /z/os/<os>/ (of course), but into /z/win_drivers/ . Now I have to integrate this script call into install.pl and copy these matching folders on the hard driver, below /c/$ARCH/$oem$/$1/drivers/. , and update OemPnPDriversPath content .... how can I do this ? As far as I understand, content of os/<os>/$ARCH/$oem$/$1/ is "brute force" copied via the used installation method, eg dosemu or nt5x-install: no selection is done on its content. That means in my case I'll have to update all of these methods, since the list of drivers is generated on run-time and its initial location is not below os/<os>/$ARCH/$oem$/$1/ but have to copied onto hard drive (into /c/$ARCH/$oem$/$1/drivers/) ? Did I miss some functionality in install.pl and libs to fill $oem$/ content or do I have to modify the install.pl & co. to provide it ? Thanks for your return. Pierre Bourgin ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ unattended-devel mailing list unattended-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-devel