Re: [PATCH] ACPI: battery: add sysfs serial number

2008-02-05 Thread Len Brown
Applied. thanks, -Len On Tuesday 22 January 2008 13:00, Alexey Starikovskiy wrote: > ACK > maximilian attems wrote: > > egrep serial /proc/acpi/battery/BAT0/info > > serial number: 32090 > > > > serial number can tell you from the imminent danger > > of beeing set on fire. > > > > Sig

Re: [PATCH] ACPI: battery: add sysfs serial number

2008-02-03 Thread maximilian attems
Dear Len Brown, could you please merged acked patch, don't feel like merging sysfs file patches in Debian on my own. thanks for feedback -- maks On Tue, 22 Jan 2008, Alexey Starikovskiy wrote: > ACK > maximilian attems wrote: >> egrep serial /proc/acpi/battery/BAT0/info >> serial number:

Re: [PATCH] ACPI: battery: add sysfs serial number

2008-01-23 Thread Sjoerd Simons
On Wed, Jan 23, 2008 at 02:01:34PM +0300, Alexey Starikovskiy wrote: > maximilian attems wrote: >> got the following question: >> ~/src/hal$ egrep 'voltage_(max|min)_design' -r . >> ./hald/linux/device.c: if (hal_util_get_int_from_file (path, >> "voltage_max_design", &voltage_design, 10)) { >> >>

Re: [PATCH] ACPI: battery: add sysfs serial number

2008-01-23 Thread Alexey Starikovskiy
Sjoerd Simons wrote: On Wed, Jan 23, 2008 at 02:01:34PM +0300, Alexey Starikovskiy wrote: maximilian attems wrote: got the following question: ~/src/hal$ egrep 'voltage_(max|min)_design' -r . ./hald/linux/device.c: if (hal_util_get_int_from_file (path, "voltage_max_design", &voltage_design, 1

Re: [PATCH] ACPI: battery: add sysfs serial number

2008-01-23 Thread Alexey Starikovskiy
maximilian attems wrote: got the following question: ~/src/hal$ egrep 'voltage_(max|min)_design' -r . ./hald/linux/device.c: if (hal_util_get_int_from_file (path, "voltage_max_design", &voltage_design, 10)) { any particular reason the kernel is calling it cat /sys/class/power_supply/BAT0/volta

Re: [PATCH] ACPI: battery: add sysfs serial number

2008-01-23 Thread maximilian attems
[ added debian hal maintainer on cc ] On Tue, 22 Jan 2008, Alexey Starikovskiy wrote: > maximilian attems wrote: >> while checking the missing bits of ACPI_SYSFS_POWER versus >> ACPI_PROCFS_POWER i also noticed capacity granularity. >> is that used by anyone? > IMHO, nobody cares about it. ack,

Re: [PATCH] ACPI: battery: add sysfs serial number

2008-01-22 Thread Alexey Starikovskiy
maximilian attems wrote: On Tue, Jan 22, 2008 at 09:00:09PM +0300, Alexey Starikovskiy wrote: ACK thanks for your quick response! while checking the missing bits of ACPI_SYSFS_POWER versus ACPI_PROCFS_POWER i also noticed capacity granularity. is that used by anyone? IMHO, nobody cares about

Re: [PATCH] ACPI: battery: add sysfs serial number

2008-01-22 Thread maximilian attems
On Tue, Jan 22, 2008 at 09:00:09PM +0300, Alexey Starikovskiy wrote: > ACK thanks for your quick response! while checking the missing bits of ACPI_SYSFS_POWER versus ACPI_PROCFS_POWER i also noticed capacity granularity. is that used by anyone? if yes i can send another patch for that too. want

Re: [PATCH] ACPI: battery: add sysfs serial number

2008-01-22 Thread Alexey Starikovskiy
ACK maximilian attems wrote: egrep serial /proc/acpi/battery/BAT0/info serial number: 32090 serial number can tell you from the imminent danger of beeing set on fire. Signed-off-by: maximilian attems <[EMAIL PROTECTED]> --- drivers/acpi/battery.c |5 + drivers/pow

[PATCH] ACPI: battery: add sysfs serial number

2008-01-22 Thread maximilian attems
egrep serial /proc/acpi/battery/BAT0/info serial number: 32090 serial number can tell you from the imminent danger of beeing set on fire. Signed-off-by: maximilian attems <[EMAIL PROTECTED]> --- drivers/acpi/battery.c |5 + drivers/power/power_supply_sysfs.c |1