Re: ACPI patches for Linux-2.6.25-rc2

2008-02-21 Thread Holger Macht
On Thu 21. Feb - 04:37:45, Len Brown wrote: > sorry if this is a repeat. > backing down to git 1.5.4 to see if it can send > messages that vger.kernel.org likes... Any specific reason why the patch I sent one week ago should not not go into 2.6.25-rc2? ACPI: Do not pass NULL to acpi_get_handle(

[PATCH] ACPI: Do not pass NULL to acpi_get_handle() when looking for _EJD

2008-02-14 Thread Holger Macht
When trying to get the acpi_handle from an acpi_buffer, pass ACPI_ROOT_OBJECT instead of NULL to acpi_get_handle(). This fixes the detection of dock dependent bays. Signed-off-by: Holger Macht <[EMAIL PROTECTED]> --- diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index 3fac011..d

Re: [PATCH] ACPI: dock: Send key=value pair instead of plain value

2007-07-22 Thread Holger Macht
On Tue 12. Jun - 00:12:00, Holger Macht wrote: > Send key=value pair along with the uevent instead of a plain value so that > userspace (udev) can handle it like common environment variables. > > Signed-off-by: Holger Macht <[EMAIL PROTECTED]> Len, maybe this on accidentally sl

[PATCH] ACPI: dock: Send key=value pair instead of plain value

2007-06-11 Thread Holger Macht
Send key=value pair along with the uevent instead of a plain value so that userspace (udev) can handle it like common environment variables. Signed-off-by: Holger Macht <[EMAIL PROTECTED]> --- Patch applies to recent acpi-test tree diff --git a/drivers/acpi/bay.c b/drivers/acpi/bay.c diff

Re: Docking support?

2007-06-09 Thread Holger Macht
On Fri 08. Jun - 09:04:03, Kristen Carlson Accardi wrote: > On Fri, 7 Nov 2036 16:00:45 +0100 > Holger Macht <[EMAIL PROTECTED]> wrote: > > > On Fri 08. Jun - 18:47:06, Samuel Thibault wrote: > > [...] > > > Also, I'd really like to receive ACPI dockin

Re: Docking support?

2007-06-08 Thread Holger Macht
cute a kobject_uevent(). So wouldn't it be save to execute the dock_event() _after_ actually undocking? Something like the following? Signed-off-by: Holger Macht <[EMAIL PROTECTED]> --- diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c index 4546bf8..46df53e 100644 --- a/driver

Re: CONFIG_IBM_BAY

2007-03-20 Thread Holger Macht
On Tue 20. Mar - 09:19:32, Kristen Carlson Accardi wrote: > On Tue, 20 Mar 2007 16:53:21 +0100 > Holger Macht <[EMAIL PROTECTED]> wrote: > > > On Mon 19. Mar - 11:04:12, Kristen Carlson Accardi wrote: > > > On Sun, 18 Mar 2007 19:55:30 +0100 > > >

Re: CONFIG_IBM_BAY

2007-03-20 Thread Holger Macht
On Tue 20. Mar - 17:07:07, Holger Macht wrote: > On Mon 19. Mar - 11:11:09, Kristen Carlson Accardi wrote: > > On Mon, 19 Mar 2007 15:37:46 +0100 > > Holger Macht <[EMAIL PROTECTED]> wrote: > > > > > Sure. What actually bothers me is that in its current

Re: CONFIG_IBM_BAY

2007-03-20 Thread Holger Macht
On Mon 19. Mar - 11:11:09, Kristen Carlson Accardi wrote: > On Mon, 19 Mar 2007 15:37:46 +0100 > Holger Macht <[EMAIL PROTECTED]> wrote: > > > Sure. What actually bothers me is that in its current state, the dock > > station driver signals 'green' on

Re: CONFIG_IBM_BAY

2007-03-20 Thread Holger Macht
On Mon 19. Mar - 11:04:12, Kristen Carlson Accardi wrote: > On Sun, 18 Mar 2007 19:55:30 +0100 > Holger Macht <[EMAIL PROTECTED]> wrote: > > > On Sun 18. Mar - 15:36:52, Henrique de Moraes Holschuh wrote: > > > On Sun, 18 Mar 2007, Holger Macht wrote: > > &g

Re: CONFIG_IBM_BAY

2007-03-19 Thread Holger Macht
On Mon 19. Mar - 12:36:59, Henrique de Moraes Holschuh wrote: > On Mon, 19 Mar 2007, Matthew Garrett wrote: > > > But you still have to deal with mounted filesystems, no matter if it a > > > cardbus or a cdrom. Wouldn't we need something like 'save removal' > > > triggered from userspace like you m

Re: CONFIG_IBM_BAY

2007-03-19 Thread Holger Macht
On Mon 19. Mar - 14:04:03, Matthew Garrett wrote: > On Mon, Mar 19, 2007 at 02:48:22PM +0100, Holger Macht wrote: > > > 1. libata integration into the bay driver > > It actually makes sense to tie all PATA/SATA devices to their ACPI > handles where appropriate - there

Re: CONFIG_IBM_BAY

2007-03-19 Thread Holger Macht
On Mon 19. Mar - 13:22:43, Matthew Garrett wrote: > On Sun, Mar 18, 2007 at 09:27:51AM +0100, Holger Macht wrote: > > > I don't prefer any solution, whether doing it inside the kernel, or doing > > it in userspace. What would be good would be to know what's the '

Re: CONFIG_IBM_BAY

2007-03-18 Thread Holger Macht
On Sun 18. Mar - 15:36:52, Henrique de Moraes Holschuh wrote: > On Sun, 18 Mar 2007, Holger Macht wrote: > > those ThinkPads where it is needed. Afterwards it does the corresponding > > dock/undock request on ibm_acpi. And this works reliably good what I can > > see from the f

Re: CONFIG_IBM_BAY

2007-03-18 Thread Holger Macht
On Sun 18. Mar - 14:38:42, Tejun Heo wrote: > Hello, > > Kristen Carlson Accardi wrote: > >> 1. It will handle all device types (ATAPI, PATA, SATA, batteries); > >> > >> 2. It will do the right thing on plug and unplug. This means telling the > >> rest of the kernel to disable the device in the b

Re: [PATCH] ACPI: ibm-acpi: allow module to load when acpi notifiers can't be set

2007-03-15 Thread Holger Macht
On Thu 15. Mar - 12:37:32, Kristen Carlson Accardi wrote: > On Thu, 15 Mar 2007 12:17:21 -0700 > Chris Wedgwood <[EMAIL PROTECTED]> wrote: > > > On Thu, Mar 15, 2007 at 02:51:14PM -0300, Henrique de Moraes Holschuh wrote: > > > > > This patch allows for ibm-acpi to coexist (with diminished > > >

Re: [GIT PATCH] ACPI patches for 2.6.21

2007-02-10 Thread Holger Macht
On Sat 10. Feb - 10:27:14, Ismail Dönmez wrote: > On Wednesday 07 February 2007 21:18:50 Len Brown wrote: > > Hi Linus, > > > > please pull from: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git > > release > > > > ACPICA Core version 2070126 simplifies the ACPI table m

Re: [patch 2/3] acpi: Add a docked sysfs file to the dock driver.

2006-12-13 Thread Holger Macht
On Mon 11. Dec - 12:05:08, Kristen Carlson Accardi wrote: > On Sat, 9 Dec 2006 12:59:58 +0100 > Holger Macht <[EMAIL PROTECTED]> wrote: > > > Well, I like to have them ;-) > > Ok - how is this? Looks good to me, thanks! > Send a uevent to indicate a device chang

Re: [patch 2/3] acpi: Add a docked sysfs file to the dock driver.

2006-12-09 Thread Holger Macht
On Mon 04. Dec - 14:49:58, Kristen Carlson Accardi wrote: > From: [EMAIL PROTECTED] > > Add 2 sysfs files for user interface. > 1) docked - 1/0 (read only) - indicates whether the software believes the > laptop is docked in a docking station. > 2) undock - (write only) - writing to this file caus

Re: Comments about commit 'PCI: docking station: remove dock uevents'?

2006-11-13 Thread Holger Macht
On Mon 13. Nov - 11:54:23, Kristen Carlson Accardi wrote: > On Mon, 13 Nov 2006 12:14:37 + > Matthew Garrett <[EMAIL PROTECTED]> wrote: > > > On Sun, Nov 12, 2006 at 03:07:37PM +0100, Holger Macht wrote: > > > > > I'm currently looking at docking

Re: Comments about commit 'PCI: docking station: remove dock uevents'?

2006-11-13 Thread Holger Macht
On Mon 13. Nov - 19:50:25, Matthew Garrett wrote: > On Mon, Nov 13, 2006 at 08:43:27PM +0100, Holger Macht wrote: > > > What I'm doing at the moment (for about a week ;-) is to echo "- - -" to > > /sys/class/scsi_host/host*/scan for all unoccupied hosts on a dock

Re: Comments about commit 'PCI: docking station: remove dock uevents'?

2006-11-13 Thread Holger Macht
On Mon 13. Nov - 12:14:37, Matthew Garrett wrote: > On Sun, Nov 12, 2006 at 03:07:37PM +0100, Holger Macht wrote: > > > I'm currently looking at docking station support for various > > laptops/vendors and what can be done to get them working. At the moment, > > users

Comments about commit 'PCI: docking station: remove dock uevents'?

2006-11-12 Thread Holger Macht
Hi, > commit 5669021e40964303994a20633548732c6bb26636 > Author: Kristen Carlson Accardi <[EMAIL PROTECTED]> > Date: Tue Aug 1 14:59:19 2006 -0700 > > PCI: docking station: remove dock uevents > > Remove uevent dock notifications. There are no consumers > of these events at present,

Re: [PATCH] Add support for the generic backlight device to the IBM ACPI driver

2006-10-13 Thread Holger Macht
On Wed 11. Oct - 20:10:27, Andrew Morton wrote: > On Mon, 9 Oct 2006 13:32:35 +0200 > Holger Macht <[EMAIL PROTECTED]> wrote: > > > @@ -200,6 +200,7 @@ config ACPI_ASUS > > config ACPI_IBM > > tristate "IBM ThinkPad Laptop Extras" > > dep

[PATCH 3/3] Add support for the generic backlight device to the TOSHIBA ACPI driver

2006-10-13 Thread Holger Macht
. Signed-off-by: Holger Macht <[EMAIL PROTECTED]> --- diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index f0bd84a..d9bb370 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -227,6 +227,7 @@ config ACPI_IBM_DOCK config ACPI_TOSHIBA tristate "Toshiba La

[PATCH 2/3] Add support for the generic backlight device to the ASUS ACPI driver

2006-10-13 Thread Holger Macht
Add support for the generic backlight interface below /sys/class/backlight. The patch keeps the procfs brightness handling for backward compatibility. Signed-off-by: Holger Macht <[EMAIL PROTECTED]> --- diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 19b0d22..f0bd84a 100644

[PATCH 1/3] Add support for the generic backlight device to the IBM ACPI driver

2006-10-13 Thread Holger Macht
related methods. Signed-off-by: Holger Macht <[EMAIL PROTECTED]> --- This is an updated version of the patch earlier sent which selects the right Kconfig option BACKLIGHT_DEVICE. diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 0f9d4be..19b0d22 100644 --- a/drivers/acpi/Kconfig

[PATCH] Add support for the generic backlight device to the IBM ACPI driver

2006-10-09 Thread Holger Macht
related methods. Signed-off-by: Holger Macht <[EMAIL PROTECTED]> --- diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 0f9d4be..6e47501 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -200,6 +200,7 @@ config ACPI_ASUS config ACPI_IBM tristate "IBM Thin

Re: [PATCH 2.6.18-mm2] acpi: add backlight support to the sony_acpi driver

2006-10-02 Thread Holger Macht
On Sun 01. Oct - 17:19:12, Andrew Morton wrote: > On Sat, 30 Sep 2006 19:08:10 +0200 > Alessandro Guido <[EMAIL PROTECTED]> wrote: > > > Make the sony_acpi use the backlight subsystem to adjust brightness value > > instead of using the /proc/sony/brightness file. > > (Other settings will still hav

Re: kernel vs user power management

2006-05-17 Thread Holger Macht
On Wed 17. May - 11:41:16, Brown, Len wrote: > > >> I installed SL10.1 today on a P3M laptop (Dell D600) > >> and it defaults to the "Powersave" scheme which includes > >> "Dynamic Frequency Scaling" (ondemand), so that is good. > >> > >> However, by defaulit "Allow Throttling" is CHECKED > >> a

Re: kernel vs user power management

2006-05-17 Thread Holger Macht
On Wed 17. May - 00:20:12, Brown, Len wrote: > > >> >> I'm happy to see that clock throttling is not enabled by > >> >> default in recent SuSE release, at least on my laptop > >> >> which supports P-states. > >> >> > >> >> I'd like to see no option to enable clock-throttling on > >> >> systems t

Re: kernel vs user power management

2006-04-10 Thread Holger Macht
On Sat 08. Apr - 23:06:54, Brown, Len wrote: > >On Sat 08. Apr - 02:42:12, Brown, Len wrote: > >> Timo, Holger, > >> Andi pointed me to your FOSDEM Linux Power Management presentation: > >> > >> http://en.opensuse.org/FOSDEM2006 > >> > >> http://files.opensuse.org/opensuse/en/b/b5/One_step_opende

Re: kernel vs user power management

2006-04-08 Thread Holger Macht
On Sat 08. Apr - 02:42:12, Brown, Len wrote: > Timo, Holger, > Andi pointed me to your FOSDEM Linux Power Management presentation: > > http://en.opensuse.org/FOSDEM2006 > > http://files.opensuse.org/opensuse/en/b/b5/One_step_opendesign.pdf > > And I'm glad to see you working on Linux Power Manag