From 7794ae9b81c6e06751da87c19f14b323d9341ef8 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sat, 29 Nov 2008 17:53:05 +0000 Subject: [PATCH] Suggest the sbs driver for smart batteries. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5455 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 1 + prog/detect/sensors-detect | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 23e81d5f..782fafd7 100644 --- a/CHANGES +++ b/CHANGES @@ -29,6 +29,7 @@ SVN-HEAD Fix handling of bus driver names with an underscore Simplify loading of bus drivers Fix bus number prediction logic (#2327) + Suggest the sbs driver for smart batteries 3.0.3 (2008-09-28) libsensors: Avoid namespace pollution diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 57da9c91..d73f0395 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -1304,7 +1304,7 @@ use vars qw(@i2c_adapter_names); }, { name => "Smart Battery", - driver => "smartbatt", + driver => "sbs", # ACPI driver, not sure if it always works i2c_addrs => [0x0b], i2c_detect => sub { smartbatt_detect(@_); }, },