Any "awk" experts around here?
I believe I've fixed the problem, but it'd be nice to get a second opinion on my patch (attached to the bug):
https://bugzilla.novell.com/show_bug.cgi?id=335445
On Fri, 2007-10-26 at 16:46 -0600, Boyd Timothy wrote:
I believe I've fixed the problem, but it'd be nice to get a second opinion on my patch (attached to the bug):
Hub's sample output from hwinfo has lines like these:
10: PCI 02.0: 0300 VGA compatible controller (VGA) [has driver info] 11: PCI 02.1: 0380 Display controller [doesn't have driver info that I can see]
Your patch seems to make the awk script match both lines (0300 and 0380; anything after that but before "controller"). If that's the intention, then the patch seems right --- but I don't actually know anything about how drivers are supposed to be chosen :)
Federico