Bug 24262 – incorrect battery recall warning for Lenovo T61

According to
http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=BATT-LENOVO

the Sony batteris are only recalled on some particular models.
This commit is contained in:
Martin Pitt 2009-10-14 13:20:58 +02:00 committed by Richard Hughes
parent a4dce7f43b
commit 54f37398c0

View file

@ -16,6 +16,9 @@ ATTR{type}!="Battery", GOTO="dkp_battery_recall_ibm_end"
# only match correct manufacturer
ATTR{manufacturer}!="SONY", GOTO="dkp_battery_recall_ibm_end"
# only recalled on some particular models
ATTR{[dmi/id]product_version}!="*R60*|*T60*|*Z60m*|*Z61e*|*Z61m*|*Z61p*", GOTO="dkp_battery_recall_ibm_end"
ATTR{model_name}=="92P1072", ENV{DKP_RECALL_NOTICE}="1"
ATTR{model_name}=="92P1073", ENV{DKP_RECALL_NOTICE}="1"
ATTR{model_name}=="92P1088", ENV{DKP_RECALL_NOTICE}="1"