Re: Re: first shoot for smartbattery

François Valenduc
2005-01-01T22:33:10Z

Johan Vromans a écrit :

> Happy New Year to y'all!
>
> Mathias Weyland <mweyland-vpGm2Noi6jeZvKxeG3EEhw@public.gmane.org> writes:
>
>> corcovado:/usr/src/smartbatt# ./smartbattery
>> Error: No i2c-bus specified!
>> Syntax: smartbatt I2CBUS
>> Installed I2C busses:
>> i2c-1 unknown ACPI EC SMBus adapter at 0018
>> Algorithm unavailable
>> i2c-0 unknown SMBus I801 adapter at 1880
>> Algorithm unavailable
>
>
> I only have one bus i2c-0 (ACPI EC SMBus adapter at 0018) here.
>
>> corcovado:/usr/src/smartbatt# ./smartbattery 1
>> current: 65535 mA
>> remain: 65535 mA or mWh
>> time to empty: 65535 minutes
>> time to full: 65535 minutes
>> temperature: 6280.5 C
>> voltage: 65535 mV
>
>
> Same here (with bus 0).
> I also get a lot of spinlock errors in my system log.
>
>> Loading the module shows:
>>
>> i2c_acpi_ec: disagrees about version of symbol struct_module
>> base: 0x18 alert: 0x20
>> i2c-acpi-ec.c: ACPI EC SMBus adapter at 0x18
>
>
> Same here, except for the disagreement.
>
>> corcovado:/home/lea# i2cdetect 1
>> WARNING! This program can confuse your I2C bus, cause data loss and
>> worse!
>> I will probe file /dev/i2c-1.
>> I will probe address range 0x03-0x77.
>> Continue? [Y/n]
>> 0 1 2 3 4 5 6 7 8 9 a b c d e f
>> 00: XX XX XX XX XX XX XX XX XX XX XX XX XX
>
>
> Same here (also with a lot of spinlock errors).
>
> Thanks for the good work!
>
> -- Johan
>
Hello everybody,
I also get the same results when I run the smartbattery or the i2cdetect
program. Nevertheless, I don't get error in symbol while loading the
i2c-acpi-ec module. I only get the base: 0x18 alert: 0x20 message.
Nevertheless thanks a lot for your effort. Unfortunately, I don't have
any knowledge in kernel programming so I can't help you to improve the
driver.

Sincerely yours,
François Valenduc