Re: SMBus access

2006-07-01 Thread Randy.Dunlap
On Sat, 01 Jul 2006 22:57:34 +0200 Johan Vromans wrote: > To get battery readings on some laptops it is necessary to interface > with the SMBus that hangs of the EC. However, the current > implementation of the EC driver does not permit other modules > read/write access. > > A trivial solution

Re: SMBus access

2006-07-01 Thread Randy.Dunlap
On Sat, 1 Jul 2006 14:10:15 -0700 Randy.Dunlap wrote: > On Sat, 01 Jul 2006 22:57:34 +0200 Johan Vromans wrote: > > > To get battery readings on some laptops it is necessary to interface > > with the SMBus that hangs of the EC. However, the current > > implementation of the EC driver does not per

Re: SMBus access

2006-07-02 Thread Johan Vromans
"Randy.Dunlap" <[EMAIL PROTECTED]> writes: > a. patch should also be sent to linux-acpi@vger.kernel.org (cc-ed) > b. patch does not apply cleanly to latest kernel > c. missing Signed-off-by: line (see Documentation/SubmittingPatches) > d. incorrect patch filename directory level (see Submittin

Re: SMBus access

2006-07-02 Thread Randy.Dunlap
On Sun, 02 Jul 2006 10:41:56 +0200 Johan Vromans wrote: > "Randy.Dunlap" <[EMAIL PROTECTED]> writes: > > > a. patch should also be sent to linux-acpi@vger.kernel.org (cc-ed) > > b. patch does not apply cleanly to latest kernel > > c. missing Signed-off-by: line (see Documentation/SubmittingPat

RFC [PATCH] acpi: allow SMBus access

2006-07-02 Thread Johan Vromans
From: Johan Vromans <[EMAIL PROTECTED]> To get battery readings on some laptops it is necessary to interface with the SMBus that hangs of the EC. However, the current implementation of the EC driver does not permit other modules read/write access. A trivial solution is to change acpi_ec_read/writ

Re: RFC [PATCH] acpi: allow SMBus access

2006-07-02 Thread Yu Luming
On Monday 03 July 2006 05:12, Johan Vromans wrote: > From: Johan Vromans <[EMAIL PROTECTED]> > > To get battery readings on some laptops it is necessary to interface > with the SMBus that hangs of the EC. However, the current > implementation of the EC driver does not permit other modules > read/wr

Re: RFC [PATCH] acpi: allow SMBus access

2006-07-03 Thread Bruno Ducrot
On Sun, Jul 02, 2006 at 11:12:21PM +0200, Johan Vromans wrote: > From: Johan Vromans <[EMAIL PROTECTED]> > > To get battery readings on some laptops it is necessary to interface > with the SMBus that hangs of the EC. However, the current > implementation of the EC driver does not permit other modu

Re: RFC [PATCH] acpi: allow SMBus access

2006-07-03 Thread Bruno Ducrot
On Mon, Jul 03, 2006 at 09:51:29AM +0800, Yu Luming wrote: > On Monday 03 July 2006 05:12, Johan Vromans wrote: > > From: Johan Vromans <[EMAIL PROTECTED]> > > > > To get battery readings on some laptops it is necessary to interface > > with the SMBus that hangs of the EC. However, the current > >

Re: RFC [PATCH] acpi: allow SMBus access

2006-07-03 Thread Johan Vromans
Bruno Ducrot <[EMAIL PROTECTED]> writes: > I don't think this patch is correct, or else I would have already > asked this patch being added to mainline. You've been standing at the origins of where this patch came from. Can you provide a better alternative? -- Johan - To unsubscribe from this li

Re: RFC [PATCH] acpi: allow SMBus access

2006-07-03 Thread Bruno Ducrot
On Mon, Jul 03, 2006 at 01:14:22PM +0200, Johan Vromans wrote: > Bruno Ducrot <[EMAIL PROTECTED]> writes: > > > I don't think this patch is correct, or else I would have already > > asked this patch being added to mainline. > > You've been standing at the origins of where this patch came from. Ca

Re: RFC [PATCH] acpi: allow SMBus access

2006-07-04 Thread Johan Vromans
Bruno Ducrot <[EMAIL PROTECTED]> writes: > I wanted to provide a real bus access via the EC driver, including > the interrupt driven ones. Yes, that would be the right way to go. But it is a longer term solution and AFAIK noone is currently working on it. In the mean time, several users can bene

Re: RFC [PATCH] acpi: allow SMBus access

2006-07-04 Thread Bruno Ducrot
On Tue, Jul 04, 2006 at 10:09:06AM +0200, Johan Vromans wrote: > Bruno Ducrot <[EMAIL PROTECTED]> writes: > > > I wanted to provide a real bus access via the EC driver, including > > the interrupt driven ones. > > Yes, that would be the right way to go. But it is a longer term > solution and AFAI

Re: RFC [PATCH] acpi: allow SMBus access

2006-07-04 Thread Johan Vromans
Bruno Ducrot <[EMAIL PROTECTED]> writes: > An intermediate solution would be to use the already existing > ec_read|write instead of the one you want to use. The original > SMBus driver used acpi_ec_read because the author wanted to be > sure that driver will support laptops with more than one EC,

Re: RFC [PATCH] acpi: allow SMBus access

2006-07-06 Thread Johan Vromans
Johan Vromans <[EMAIL PROTECTED]> writes: Progress! http://lkml.org/lkml/2006/7/1/76 -- Johan - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html