Gentoo Archives: gentoo-laptop

From: Valmor de Almeida <val.gentoo@×××××.com>
To: gentoo-user@l.g.o
Cc: gentoo-laptop@l.g.o
Subject: [gentoo-laptop] Re: [gentoo-user] coretemp and smartbatt drivers for lm_sensors
Date: Sat, 28 Mar 2009 23:42:39
Paul Hartman wrote:

> > Also, if you are new to lm_sensors, beware that sensors-detect only > works on a subset of the supported sensor chipsets. On my computer, > for example, it detected the wrong chipsets which "sort of" worked > (gave wrong/incomplete readings). I had to manually tell it which > sensor chipset my motherboard uses. > >
Okay. I got i2c_i801.ko and coretemp.ko created and loaded in the kernel. The CONFIG_ACPI_SBS=m parameter creates two modules: sbs.ko and sbshc.ko; modprobe sbs loades both; hence no smartbatt. The relevant section from sensors-detect output is Next adapter: SMBus I801 adapter at 18a0 (i2c-0) Do you want to scan it? (YES/no/selectively): YES Client found at address 0x0b Probing for `Smart Battery'... Success! (confidence 5, driver `smartbatt') Client found at address 0x19 Probing for `Analog Devices ADM1021'... No Probing for `Analog Devices ADM1021A/ADM1023'... No Probing for `Maxim MAX1617'... No Probing for `Maxim MAX1617A'... No Probing for `Maxim MAX1668'... No Probing for `Maxim MAX1805'... No and it calls for smartbatt. Instead I loaded sbs.ko. The current output of sensors is -> sensors coretemp-isa-0000 Adapter: ISA adapter Core 0: +56°C (high = +100°C) Should the output show also info on the battery? Am I still missing something configuring ls_sensors? Thanks, -- Valmor