Re: Generic battery interface

2006-07-28 Thread Johan Vromans
Brown, Len [EMAIL PROTECTED] writes: good for shell scripts, not clear it is better for C programs that have to open a bunch of files by name. Moreover, it means that the factual data is only made available as a nice textual string, that then has to be parsed by shell scripts and other

Re: ACPI: SBS in linux-2.6.18-rc1 - Works for me!

2006-07-13 Thread Johan Vromans
Berthold Cogel [EMAIL PROTECTED] writes: I've tested linux-2.6.18-rc1 with Smart Battery System enabled. It works for my Acer Extensa 3002 WLMi. That's good to hear! Is it possible to load sbs and i2c-ec automatically together with the other ACPI modules? On my Debian system I had to load

Re: [patch 4/5] ACPI: disable SBS by default

2006-07-07 Thread Johan Vromans
[EMAIL PROTECTED] writes: Kconfig help even says that SBS is pretty rare and already obsolete so it does not make sence to keep it enabled. SBS is needed by some laptops of just a year old (and hopefully some more years to go), and I've been told even today laptops are sold that require SBS.

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 benefit

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, but

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 list:

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

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/write

Re: swsusp problems with 2.6.17-1.2139_FC5

2006-06-30 Thread Johan Vromans
Pavel Machek [EMAIL PROTECTED] writes: Stop right here. Can you reproduce the problem without ATI driver? Reproducing it on vanilla kernel (not -FC5) would be nice, too. A lot of suspend/reboot/resumes later... The problem does not seem to be related to the ATI driver, but whether or not the

Re: Acer smart battery: acpi_sbs and linux-2.6.17

2006-06-28 Thread Johan Vromans
Berthold Cogel [EMAIL PROTECTED] writes: But I seem to have lost the ability to hibernate/resume. I consistently get swsusp: not enough free memory. Does 2.6.17 take so much more memory than 2.6.16? For my System it's only about 1 MB difference in runlevel 1 with 2.6.17.1 compared with

Re: Acer smart battery: acpi_sbs and linux-2.6.17

2006-06-27 Thread Johan Vromans
Berthold Cogel [EMAIL PROTECTED] writes: I've tried the modified acpi_sbs patch (acpi_sbs-20060422, modified by Johan Vromans) for linux-2.6.16 with linux-2.6.17. Just did the same for my WLMi4001. The patch applies and builds without a problem. The same for both modules (acpi_sbs and i2c

Re: Was: Re: UBUNTU - acpi battery on ACER TRAVELMATE 4000 WLMI

2006-04-22 Thread Johan Vromans
Matthew Garrett [EMAIL PROTECTED] writes: On Thu, Apr 20, 2006 at 12:43:16PM +0200, Johan Vromans wrote: Berthold Cogel [EMAIL PROTECTED] writes: What is the recommended way to solve the problem with the smart battery for newer kernels? The right solution is hal, but I don't know

Re: Was: Re: UBUNTU - acpi battery on ACER TRAVELMATE 4000 WLMI

2006-04-21 Thread Johan Vromans
Berthold Cogel [EMAIL PROTECTED] writes: Johan Vromans wrote: https://sourceforge.net/project/showfiles.php?group_id=129330 Thanks! I've overlooked the patches at Sourceforge. Is there any chance to get the patch into the kernel somehow? There are two patches required. One patch is to allow

Re: Was: Re: UBUNTU - acpi battery on ACER TRAVELMATE 4000 WLMI

2006-04-20 Thread Johan Vromans
Berthold Cogel [EMAIL PROTECTED] writes: What is the recommended way to solve the problem with the smart battery for newer kernels? The right solution is hal, but I don't know whether it has been picked up yet. For the time being, I ported Rich' sbs-cm approach[1] to 2.6.16 and it seems to

Re: UBUNTU - acpi battery on ACER TRAVELMATE 4000 WLMI

2006-02-01 Thread Johan Vromans
Brown, Len [EMAIL PROTECTED] writes: It would provide power savings when on AC power. While you might not notice this in your utility bill, you may notice it in the tempearture or fan speed of the system. Interesting. Would that be different (more, less, or otherwise different) from playing