acerhdf: BIOS product mismatch due to whitespace

From: Ian E. Morgan
Date: Sun Dec 06 2009 - 00:34:26 EST


Peter,

Having just upgraded my AOA150 to 2.6.32, acerhdf was complaining:

acerhdf: Acer Aspire One Fan driver, v.0.5.18
acerhdf: unknown (unsupported) BIOS version Acer/AOA150
/v0.3310, please report, aborting!

DMI reports the product as "AOA150 " (i.e. 9 spaces after the
6-character model name). This causes the product match to fail, so I
had to use force_product="AOA150".

acerhdf: Acer Aspire One Fan driver, v.0.5.18
acerhdf: forcing BIOS product: AOA150

Then all was happy again. Any chance you could strip leading/trailing
whitespace in the product match to avoid this issue?

--
Ian Morgan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/