Re: Invalid PnP ACPI reserved MMIO areas on Supermicro boards

2007-10-09 Thread Len Brown
On Tuesday 09 October 2007 20:01, Robert Hancock wrote: > Some people with certain Supermicro boards (at least the H8DCE, it > seems) have reported that the sata_nv driver fails to attach to some of > the controllers due to resource conflicts: > > https://bugzilla.redhat.com/show_bug.cgi?id=2806

[PATCH 3/4] ACPICA: hw: remove use_lock flag from acpi_hw_register_{read, write}

2007-10-09 Thread Len Brown
From: Alexey Starikovskiy <[EMAIL PROTECTED]> use_lock flag is used once for acpi_hw_register_read, and never for acpi_hw_register_write. It will greatly simplify understanding of locking if we just drop this use_lock altogether, and wrap the only call to ..._read in lock/unlock. Signed-off-by: A

[PATCH 4/4] ACPICA: hw: Don't carry spinlock over suspend

2007-10-09 Thread Len Brown
From: Alexey Starikovskiy <[EMAIL PROTECTED]> ACPI uses acpi_get_register() in order to get into suspend. This function is guarded by acpi_gbl_hardware_lock, which will be carried into resume phase. At resume interrupts are enabled and first ACPI interrupt deadlocks on this lock. Solution seems to

[PATCH 2/4] ACPI: cpuidle: port idle timer suspend/resume workaround to cpuidle

2007-10-09 Thread Len Brown
From: Len Brown <[EMAIL PROTECTED]> Some timers stop during C2 and C3, and so there are various generations of timer broadcast workarounds to deal with that. But that (already complex) code gets confused during suspend. As it is unlikely that deep C-states would save much power during the actual

ACPI patches on test branch, which are not on release branch

2007-10-09 Thread Len Brown
- 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

[PATCH 36/37] Hibernation: Make sure that ACPI is enabled in acpi_hibernation_finish

2007-10-09 Thread Len Brown
From: Rafael J. Wysocki <[EMAIL PROTECTED]> If the BIOS does not enable ACPI and the "acpi=off" command line parameter is passed to the boot kernel, ACPI may be disabled when the (restored) image kernel attempts to execute acpi_hibernation_finish(). To prevent this from happening we can call acpi

[PATCH 37/37] ACPI: clean up acpi_enter_sleep_state_prep

2007-10-09 Thread Len Brown
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Remove some redundant code from acpi_enter_sleep_state_prep() and clean up a comment in there. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> Acked-by: Pavel Machek <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by

[PATCH 34/37] ACPI: thinkpad-acpi: skip blanks before the data when parsing sysfs

2007-10-09 Thread Len Brown
From: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> Skip blanks not just at the tail of sysfs writes, but also at the head. Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/misc/thinkpad_acpi.c |2 ++ 1 files changed, 2

[PATCH 35/37] ACPI: suppress uninitialized var warning

2007-10-09 Thread Len Brown
From: Andrew Morton <[EMAIL PROTECTED]> drivers/acpi/tables/tbutils.c: In function `acpi_tb_parse_root_table': drivers/acpi/tables/tbutils.c:403: warning: `rsdt_address' may be used uninitialized in this function Reported-by: Uwe Bugla <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PRO

[PATCH 33/37] ACPI: AC: Add sysfs interface

2007-10-09 Thread Len Brown
From: Alexey Starikovskiy <[EMAIL PROTECTED]> Refer to Documentation/power_supply_class.txt for interface description. Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/Kconfig |2 +- drivers/acpi/ac.c| 33 +

[PATCH 32/37] ACPI: SBS: Add sysfs alarm

2007-10-09 Thread Len Brown
From: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/sbs.c | 36 1 files changed, 32 insertions(+), 4 deletions(-) diff --git a/drivers/acpi/sbs.c

[PATCH 31/37] ACPI: SBS: Add ACPI_PROCFS around procfs handling code.

2007-10-09 Thread Len Brown
From: Alexey Starikovskiy <[EMAIL PROTECTED]> Make procfs support optional under ACPI_PROCFS Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/sbs.c | 25 + 1 files changed, 25 insertions(+), 0 deletions

[PATCH 30/37] ACPI: SBS: Add support for power_supply class (and sysfs)

2007-10-09 Thread Len Brown
From: Alexey Starikovskiy <[EMAIL PROTECTED]> Add support for power_supply class and sysfs interface of it. Refer to Documentation/power_supply_class.txt for interface description. Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acp

[PATCH 29/37] ACPI: SBS: Make SBS reads table-driven.

2007-10-09 Thread Len Brown
From: Alexey Starikovskiy <[EMAIL PROTECTED]> Re-factor SBS functions to use tables and cycles for repeated operations. Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/sbs.c | 1292 +++

[PATCH 27/37] ACPI: SBS: Split host controller (ACPI0001) from SBS driver (ACPI0002)

2007-10-09 Thread Len Brown
From: Alexey Starikovskiy <[EMAIL PROTECTED]> Replace poll-based host controller driver with the notify-based one. Split it out of sbs.c. Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/Makefile |1 + drivers/acpi/sbs.c|

[PATCH 28/37] ACPI: SBS: Simplify data structures in SBS

2007-10-09 Thread Len Brown
From: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/sbs.c | 282 +--- 1 files changed, 135 insertions(+), 147 deletions(-) diff --git a/

[PATCH 26/37] ACPI: EC: Add new query handler to list head.

2007-10-09 Thread Len Brown
From: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/ec.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 3f7935a..e

[PATCH 25/37] ACPI: Add acpi_bus_generate_event4() function

2007-10-09 Thread Len Brown
From: Alexey Starikovskiy <[EMAIL PROTECTED]> acpi_bus_generate_event() takes two strings out of passed device object. SBS needs to supply these strings directly. Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/bus.c | 2

[PATCH 23/37] ACPI: Battery: Add sysfs support

2007-10-09 Thread Len Brown
From: Alexey Starikovskiy <[EMAIL PROTECTED]> Refer to Documentation/power_supply_class.txt for interface description. Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/Kconfig |2 +- drivers/acpi/battery.c | 186 +

[PATCH 24/37] ACPI: Battery: add sysfs alarm

2007-10-09 Thread Len Brown
From: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/battery.c | 33 - 1 files changed, 32 insertions(+), 1 deletions(-) diff --git a/drivers/acpi/batte

[PATCH 21/37] ACPI: Battery: simplify update scheme

2007-10-09 Thread Len Brown
From: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/battery.c | 280 ++-- 1 files changed, 57 insertions(+), 223 deletions(-) diff --git a/d

[PATCH 22/37] ACPI: Battery: Misc clean-ups, no functional changes

2007-10-09 Thread Len Brown
From: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/battery.c | 342 ++-- 1 files changed, 125 insertions(+), 217 deletions(-) diff --git a/

[PATCH 20/37] ACPI: Battery: don't use acpi_extract_package()

2007-10-09 Thread Len Brown
From: Alexey Starikovskiy <[EMAIL PROTECTED]> acpi_extract_package() creates more problems with memory management than it solves as helper for package handling. Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/battery.c | 359 +

[PATCH 19/37] ACPI: Hibernate erroneously disabled Suspend wakeup devices

2007-10-09 Thread Len Brown
From: Alexey Starikovskiy <[EMAIL PROTECTED]> S4 suspend to disk will disable GPE's permanently because acpi_gpe_sleep_prepare() does not have a counterpart at resume time. Thus, those devices became unavailable for wakeup from subsequent S3 suspend-to-ram. Here acpi_gpe_sleep_prepare() is remov

[PATCH 17/37] ACPI: thinkpad-acpi: use a separate platform device for hwmon and name it (v2)

2007-10-09 Thread Len Brown
From: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> Use a separate platform device and driver ("thinkpad_hwmon") to attach hwmon attributes and class, and add a name attribute of "thinkpad" to it, which defines the hwmon device name for libsensors4. This makes thinkpad-acpi compatible with libs

[PATCH 18/37] ACPI: thinkpad-acpi: duplicate driver attributes to new hwmon pdrv

2007-10-09 Thread Len Brown
From: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> Thinkpad-acpi has some driver attributes (debug level, sysfs interface version, etc) that also belong to the new hwmon driver. Duplicate them there. Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMA

[PATCH 15/37] ACPI: thinkpad-acpi: dequeue all pending hot key events at once (v2.2)

2007-10-09 Thread Len Brown
From: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> Receive all pending HKEY events at once from a single notification, and don't complain if the queue is empty. Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/misc/thinkpa

[PATCH 16/37] ACPI: thinkpad-acpi: fix regression on HKEY LID event handling

2007-10-09 Thread Len Brown
From: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> We were letting ThinkPad-specific LID events through to userspace again, instead of dropping them. Fix it. We don't want to give userspace the option of not using generic LID handling. Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTE

[PATCH 14/37] ACPI: thinkpad-acpi: check version of hot key firmware

2007-10-09 Thread Len Brown
From: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> Check the HKEY firmware version (HKEY.MHKV handler), and refuse to load if it is unknown. Use this instead of the presence of HKEY.DHKV to detect hot key mask capability. Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> Signed-o

[PATCH 13/37] ACPI: thinkpad-acpi: keep track of module state

2007-10-09 Thread Len Brown
From: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> Keep track of module state (init, running, exit). This makes it trivially easy to avoid running any interrupt handlers, threads, or any other async activity before we are ready, or when we want to go away. Signed-off-by: Henrique de Moraes Ho

[PATCH 12/37] ACPI: thinkpad-acpi: add mutex-based locking to input device event send path

2007-10-09 Thread Len Brown
From: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> Protect the input device event sending path with a mutex, since hot key input events are not atomic and require an cohesive event block to be sent together. Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> Signed-off-by: Len Brow

[PATCH 11/37] ACPI: thinkpad-acpi: issue EV_SYNC after EV_SWITCH

2007-10-09 Thread Len Brown
From: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> We were missing a input_sync on the radio switch event report path. Add it. Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/misc/thinkpad_acpi.c |4 +++- 1 files chan

[PATCH 10/37] ACPI: thinkpad-acpi: make room for more features in tp_features bitfield

2007-10-09 Thread Len Brown
From: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> Increase tp_features to 32 bits. It is too close to running out of room. Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/misc/thinkpad_acpi.h | 30 +++-

[PATCH 07/37] ACPI: EC: Drop ECDT-based boot_ec as soon as we find DSDT-based one.

2007-10-09 Thread Len Brown
From: Alexey Starikovskiy <[EMAIL PROTECTED]> ASUS notebooks have numerous problems with EC initialization This patch tries to work around three known issues reported in bugzilla 8598, 8709 and 8909/8919. Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROT

[PATCH 09/37] acpi_video: kernel build error if !INPUT

2007-10-09 Thread Len Brown
From: Andreas Herrmann <[EMAIL PROTECTED]> Commit e9dab1960ac9746fa34eff726b81635147615a79 (ACPI video hotkey: export missing ACPI video hotkey events via input layer) exports ACPI video hotkey events via input layer. But this breaks kernel build if ACPI_VIDEO && !INPUT: LD .tmp_vmlinux1 dr

[PATCH 06/37] ACPI: VIDEO: Adjust current level to closest available one.

2007-10-09 Thread Len Brown
From: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/video.c | 13 - 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/drivers/acpi/video.c b/drivers/acpi/vide

[PATCH 08/37] sony-laptop/thinkpad-acpi: fix INPUT=n build

2007-10-09 Thread Len Brown
From: Andreas Herrmann <[EMAIL PROTECTED]> Build errors if CONFIG_SONY_LAPTOP && !INPUT or if CONFIG_THINKPAD_ACPI && !INPUT: LD vmlinux ... drivers/built-in.o: In function `sony_laptop_remove_input': sony-laptop.c:(.text+0x768fb): undefined reference to `input_unregister_device' ..

[PATCH 04/37] ACPI: Thermal: Drop concurrent thermal checks

2007-10-09 Thread Len Brown
From: Alexey Starikovskiy <[EMAIL PROTECTED]> Fix for #3686, where get_temperature() may cause thermal notify, which causes one more get_temperature(). Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/thermal.c | 15 ++

[PATCH 05/37] ACPI: video: Don't call absent methods

2007-10-09 Thread Len Brown
From: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Ryan May <[EMAIL PROTECTED]> Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/video.c | 18 ++ 1 files changed, 10 insertions(+), 8 deletions(-) diff

[PATCH 02/37] fujitsu-laptop: create Fujitsu laptop platform specific driver

2007-10-09 Thread Len Brown
From: Jonathan Woithe <[EMAIL PROTECTED]> Signed-off-by: Jonathan Woithe <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/misc/Kconfig | 15 ++ drivers/misc/Makefile |1 + drivers/misc/fujitsu-laptop.c | 358 +

[PATCH 03/37] ACPI: thermal: use round_jiffies when thermal zone polling is enabled

2007-10-09 Thread Len Brown
From: Len Brown <[EMAIL PROTECTED]> Properly functioning systems do not use thermal zone polling, they use event-based notification. However, some users enable periodic thermal zone polling to work around bugs on their platforms, and at least one platform exists with a real _TZP that requests pol

ACPI patch candidates for 2.6.24 merge window

2007-10-09 Thread Len Brown
- 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

[PATCH 01/37] sony-laptop: old Vaio models contain 2 IO port entries

2007-10-09 Thread Len Brown
From: Mattia Dongili <[EMAIL PROTECTED]> Make the driver aware of this case and manage the existence of a second separate IO port. Signed-off-by: Mattia Dongili <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/misc/sony-laptop.c | 204

Re: [PATCH] ACPI: idle: delete access to ACPI_BITREG_BUS_MASTER_RLD

2007-10-09 Thread Len Brown
I've been told that BM_RLD is not a NOP in the PIIX4 - ICH4-M generations; and that those chips follow the 1st description in the ACPI spec, not the second. (I've also submitted a bug against the ACPI spec:-) So the patch below is no good. But the old code still isn't quite right. It seems we sho

Re: [PATCH] ACPI:avoid printing the error message that processor device is not present

2007-10-09 Thread Len Brown
On Sunday 07 October 2007 23:35, Zhao Yakui wrote: > Subject: ACPI: avoid printing the info that processor device is not present > From: Zhao Yakui <[EMAIL PROTECTED]> > > Four processors are defined in the DSDT table, which means that quad-core cpu > is supported. But dual-core cpu is installed

How to distinguish between general ACPI video driver module and brightness/display providing vendor specific ACPI modules

2007-10-09 Thread Thomas Renninger
On Tue, 2007-10-09 at 11:29 -0300, Henrique de Moraes Holschuh wrote: > On Tue, 09 Oct 2007, Thomas Renninger wrote: > > On Tue, 2007-10-09 at 10:47 -0300, Henrique de Moraes Holschuh wrote: > > > On Tue, 09 Oct 2007, Thomas Renninger wrote: > > > > No, all the _BCL poking should vanish. > > > > >

Re: halt does not shut the system down

2007-10-09 Thread Remy Bohmer
Hello John, > John Sigler wrote: > > When I run 'halt' the kernel prints: > > Halting. > > Shutdown: hdc > > ACPI: PCI interrupt for device :01:05.0 disabled > > ACPI: PCI interrupt for device :01:04.0 disabled > > ACPI: PCI interrupt for device :01:03.0 disabled > > ACPI: PCI interrup

Re: [PATCH 3/4] ACPI: thinkpad-acpi: disable backlight handler if ACPI generic could do it

2007-10-09 Thread Henrique de Moraes Holschuh
On Tue, 09 Oct 2007, Thomas Renninger wrote: > On Tue, 2007-10-09 at 10:47 -0300, Henrique de Moraes Holschuh wrote: > > On Tue, 09 Oct 2007, Thomas Renninger wrote: > > > No, all the _BCL poking should vanish. > > > > I need to *somehow* find out if the thinkpad supports the video extensions. >

Re: [PATCH 3/4] ACPI: thinkpad-acpi: disable backlight handler if ACPI generic could do it

2007-10-09 Thread Thomas Renninger
On Tue, 2007-10-09 at 10:47 -0300, Henrique de Moraes Holschuh wrote: > On Tue, 09 Oct 2007, Thomas Renninger wrote: > > > Error prone how? Please expand, because right now I am not inclined to > > > remove that variable. It is optional, and disabled by default. Distros > > > are > > > not goin

Re: [PATCH 3/4] ACPI: thinkpad-acpi: disable backlight handler if ACPI generic could do it

2007-10-09 Thread Matthew Garrett
On Tue, Oct 09, 2007 at 03:47:06PM +0200, Thomas Renninger wrote: > Yep, I just realized that :( > Maybe all required funcs (_BCM,_BCL,...) should get checked, but must > not be invoked or I am pretty sure brightness switch through buttons > won't work because the notify handler isn't used. I'm n

Re: [PATCH 3/4] ACPI: thinkpad-acpi: disable backlight handler if ACPI generic could do it

2007-10-09 Thread Henrique de Moraes Holschuh
On Tue, 09 Oct 2007, Thomas Renninger wrote: > > Error prone how? Please expand, because right now I am not inclined to > > remove that variable. It is optional, and disabled by default. Distros are > > not going to enable it unless they have a damn good reason to, and it is not > > even somethi

Re: [PATCH 3/4] ACPI: thinkpad-acpi: disable backlight handler if ACPI generic could do it

2007-10-09 Thread Thomas Renninger
On Tue, 2007-10-09 at 14:34 +0100, Matthew Garrett wrote: > On Tue, Oct 09, 2007 at 03:29:12PM +0200, Thomas Renninger wrote: > > static const struct acpi_device_id dummy_vid_device_ids[] = { > > {"LNXVIDEO", 0}, > > {"", 0}, > > }; > > No. This will match if any of the video extension is

Re: [PATCH 3/4] ACPI: thinkpad-acpi: disable backlight handler if ACPI generic could do it

2007-10-09 Thread Matthew Garrett
On Tue, Oct 09, 2007 at 03:29:12PM +0200, Thomas Renninger wrote: > static const struct acpi_device_id dummy_vid_device_ids[] = { > {"LNXVIDEO", 0}, > {"", 0}, > }; No. This will match if any of the video extension is implemented. We only want it to match if backlight control is imple

Re: [PATCH 3/4] ACPI: thinkpad-acpi: disable backlight handler if ACPI generic could do it

2007-10-09 Thread Thomas Renninger
On Tue, 2007-10-09 at 08:14 -0300, Henrique de Moraes Holschuh wrote: > On Tue, 09 Oct 2007, Matthew Garrett wrote: > > On Tue, Oct 09, 2007 at 11:46:48AM +0200, Thomas Renninger wrote: > > > > > More important: CONFIG_THINKPAD_ACPI_BACKLIGHT_DESIRED variable is error > > > prone and should not ge

Re: [ibm-acpi-devel] [PATCH 2/4] ACPI: thinkpad-acpi: support 16 levels of brightness (v2)

2007-10-09 Thread Henrique de Moraes Holschuh
On Tue, 09 Oct 2007, Thomas Renninger wrote: > On Mon, 2007-10-08 at 10:12 -0300, Henrique de Moraes Holschuh wrote: > > Lenovo ThinkPads with ACPI Video brightness control often have 16 > > brightness levels in EC, and not just eight levels like older ThinkPads. > > > > We detect the number of br

Re: [PATCH 3/4] ACPI: thinkpad-acpi: disable backlight handler if ACPI generic could do it

2007-10-09 Thread Henrique de Moraes Holschuh
On Tue, 09 Oct 2007, Matthew Garrett wrote: > On Tue, Oct 09, 2007 at 11:46:48AM +0200, Thomas Renninger wrote: > > > More important: CONFIG_THINKPAD_ACPI_BACKLIGHT_DESIRED variable is error > > prone and should not get introduced, right? Error prone how? Please expand, because right now I am no

Re: High resolution timers on ACPI-less kernel

2007-10-09 Thread John Sigler
Thomas Gleixner wrote: On Tue, 9 Oct 2007, John Sigler wrote: Alessio Igor Bogani wrote: On Tue, 2007-10-09 at 11:06 +0200, John Sigler wrote: I enabled high resolution timer support and disabled ACPI support. http://www.mail-archive.com/[EMAIL PROTECTED]/msg00375.html There are other clo

Re: [PATCH 3/4] ACPI: thinkpad-acpi: disable backlight handler if ACPI generic could do it

2007-10-09 Thread Matthew Garrett
On Tue, Oct 09, 2007 at 11:46:48AM +0200, Thomas Renninger wrote: > More important: CONFIG_THINKPAD_ACPI_BACKLIGHT_DESIRED variable is error > prone and should not get introduced, right? I agree that I can't see any reason to ever want to use the thinkpad backlight functionality if it can be con

Re: [PATCH 3/4] ACPI: thinkpad-acpi: disable backlight handler if ACPI generic could do it

2007-10-09 Thread Thomas Renninger
On Tue, 2007-10-09 at 09:33 +0100, Matthew Garrett wrote: > On Tue, Oct 09, 2007 at 10:25:51AM +0200, Thomas Renninger wrote: > > On Tue, 2007-10-09 at 08:59 +0100, Matthew Garrett wrote: > > > On Tue, Oct 09, 2007 at 08:21:14AM +0200, Thomas Renninger wrote: > > > > > > > IMO a config variable th

Re: High resolution timers on ACPI-less kernel

2007-10-09 Thread Alessio Igor Bogani
Hi John, On Tue, 2007-10-09 at 11:06 +0200, John Sigler wrote: [...] > I enabled high resolution timer support and disabled ACPI support. [...] http://www.mail-archive.com/[EMAIL PROTECTED]/msg00375.html Ciao, Alessio - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in t

Re: High resolution timers on ACPI-less kernel

2007-10-09 Thread John Sigler
Thomas Gleixner wrote: On Tue, 9 Oct 2007, John Sigler wrote: I'm using a -rt kernel with high resolution timer support. http://rt.wiki.kernel.org/index.php/Main_Page Linux version 2.6.22.1-rt9 ([EMAIL PROTECTED]) (gcc version 3.4.6) #1 PREEMPT RT Tue Oct 9 10:02:45 CEST 2007 I enabled high

Re: High resolution timers on ACPI-less kernel

2007-10-09 Thread Thomas Gleixner
On Tue, 9 Oct 2007, John Sigler wrote: > Alessio Igor Bogani wrote: > > On Tue, 2007-10-09 at 11:06 +0200, John Sigler wrote: > > [...] > > > I enabled high resolution timer support and disabled ACPI support. > > [...] > > > > http://www.mail-archive.com/[EMAIL PROTECTED]/msg00375.html > > Ther

Re: High resolution timers on ACPI-less kernel

2007-10-09 Thread John Sigler
Alessio Igor Bogani wrote: On Tue, 2007-10-09 at 11:06 +0200, John Sigler wrote: [...] I enabled high resolution timer support and disabled ACPI support. [...] http://www.mail-archive.com/[EMAIL PROTECTED]/msg00375.html There are other clock sources on my system. The timestamp counter is r

Re: High resolution timers on ACPI-less kernel

2007-10-09 Thread Thomas Gleixner
On Tue, 9 Oct 2007, John Sigler wrote: > Hello everyone, > > I'm using a -rt kernel with high resolution timer support. > http://rt.wiki.kernel.org/index.php/Main_Page > Linux version 2.6.22.1-rt9 ([EMAIL PROTECTED]) (gcc version 3.4.6) #1 PREEMPT > RT Tue > Oct 9 10:02:45 CEST 2007 > > I enable

Re: High resolution timers on ACPI-less kernel

2007-10-09 Thread John Sigler
John Sigler wrote: I'm using a -rt kernel with high resolution timer support. http://rt.wiki.kernel.org/index.php/Main_Page Linux version 2.6.22.1-rt9 ([EMAIL PROTECTED]) (gcc version 3.4.6) #1 PREEMPT RT Tue Oct 9 10:02:45 CEST 2007 I enabled high resolution timer support and disabled ACPI s

High resolution timers on ACPI-less kernel

2007-10-09 Thread John Sigler
Hello everyone, I'm using a -rt kernel with high resolution timer support. http://rt.wiki.kernel.org/index.php/Main_Page Linux version 2.6.22.1-rt9 ([EMAIL PROTECTED]) (gcc version 3.4.6) #1 PREEMPT RT Tue Oct 9 10:02:45 CEST 2007 I enabled high resolution timer support and disabled ACPI suppo

Re: [PATCH 3/4] ACPI: thinkpad-acpi: disable backlight handler if ACPI generic could do it

2007-10-09 Thread Matthew Garrett
On Tue, Oct 09, 2007 at 10:25:51AM +0200, Thomas Renninger wrote: > On Tue, 2007-10-09 at 08:59 +0100, Matthew Garrett wrote: > > On Tue, Oct 09, 2007 at 08:21:14AM +0200, Thomas Renninger wrote: > > > > > IMO a config variable that compiles out brightness control totally makes > > > more sense (a

Re: [PATCH 3/4] ACPI: thinkpad-acpi: disable backlight handler if ACPI generic could do it

2007-10-09 Thread Thomas Renninger
On Tue, 2007-10-09 at 08:59 +0100, Matthew Garrett wrote: > On Tue, Oct 09, 2007 at 08:21:14AM +0200, Thomas Renninger wrote: > > > IMO a config variable that compiles out brightness control totally makes > > more sense (and video, is there any functionality in ThinkPad acpi > > driver that does n

Re: [PATCH 3/4] ACPI: thinkpad-acpi: disable backlight handler if ACPI generic could do it

2007-10-09 Thread Matthew Garrett
On Tue, Oct 09, 2007 at 08:21:14AM +0200, Thomas Renninger wrote: > IMO a config variable that compiles out brightness control totally makes > more sense (and video, is there any functionality in ThinkPad acpi > driver that does not get supported by the video driver?). No, older Thinkpads don't i

Re: halt does not shut the system down

2007-10-09 Thread John Sigler
John Sigler wrote: When I run 'halt' the kernel prints: Halting. Shutdown: hdc ACPI: PCI interrupt for device :01:05.0 disabled ACPI: PCI interrupt for device :01:04.0 disabled ACPI: PCI interrupt for device :01:03.0 disabled ACPI: PCI interrupt for device :01:02.0 disabled Powe