From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Delvare Subject: Re: Generic battery interface Date: Thu, 3 Aug 2006 11:20:54 +0200 Message-ID: <20060803112054.54d2b591.khali@linux-fr.org> References: <20060727221632.GE3797@elf.ucw.cz> <41840b750607271556n1901af3by2e4d046d68abcb94@mail.gmail.com> <20060727230801.GA30619@kroah.com> <20060727232426.GI3797@elf.ucw.cz> <20060730142943.2537124e.khali@linux-fr.org> <20060802195107.GB8124@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from smtp-104-thursday.nerim.net ([62.4.16.104]:62989 "EHLO kraid.nerim.net") by vger.kernel.org with ESMTP id S932409AbWHCJUq (ORCPT ); Thu, 3 Aug 2006 05:20:46 -0400 In-Reply-To: <20060802195107.GB8124@elf.ucw.cz> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Pavel Machek Cc: Greg KH , lm-sensors@lm-sensors.org, Shem Multinymous , "Brown, Len" , Matthew Garrett , vojtech@suse.cz, kernel list , linux-thinkpad@linux-thinkpad.org, linux-acpi@vger.kernel.org Hi Pavel, > > I guess we never felt any need for an "infrastructure", else we would > > have created it. I have no idea what the "input infrastructure" looks > > like so I can't compare. If you have something to propose which would > > refactor some code amongst the hardware monitoring drivers or would > > otherwise makes thing better, speak up :) > > I'm not sure if it is practical for hwmon, but having > report_voltage(x,y) is probably easier than coding sysfs stuff by > hand. I can't figure out what it would look like in practice. Do you have some code to show? Thanks, -- Jean Delvare