Skip to contentSkip to conversation

Kernel Driver Automation

DISCUSSION Pete Zaitcev 1 participant 1 message Feb 16, 2005 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 3 lines · Chris White

Ironically, if the network card driver is not working, there's no way to google around for information on what modules to compile in for various drivers. [...]

I always google for the PCI IDs which lspci -n shows.

Quoted 3 lines

The basic idea would be to have a userspace program that would be run before the kernel compile process and check the device identification string (using /proc?) and match it up against the correct module. [...]

We already do have such a program, it's called /sbin/hotplug. The missing piece for your scheme, however, is that the maps which govern hotplug are generated from C files. Therefore, the code is patched to add new IDs. AFAIK, Greg Kroah worked on a more configurable way to match drivers with devices within the hotplug framework. You might want to talk to Greg about this.

By the way, Greg is a Gentoo developer as well, but pleas keep this to a common forum. I'm sure folks from other distros are be interested.

Jaa ne,
-- Pete