On Tue, 2008-02-26 at 14:45 +0800, David Brownell wrote:
> On Monday 25 February 2008, Zhang, Rui wrote:
> > > + if (!ACPI_FAILURE(status)) {
> > > + int ret;
> > > +
> > > + ret = sysfs_create
he ACPI device has
> instead
> a "physical_node" link pointing back to the PNP device. Other
> firmware
> frameworks, like OpenFirmware, could do the same thing to couple their
> firmware tables to the rest of the system.
>
> (Based on a patch from Zhang Rui. This versio
Show the temperature in Millidegree Celsius.
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
---
drivers/acpi/thermal.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
Index: linux-2.6.25-rc2/drivers/acpi/the
Add hwmon sys I/F for the generic thermal device.
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
---
Documentation/thermal/sysfs-api.txt | 22 +
drivers/thermal/Kconfig |1
drivers/thermal/thermal.c | 86
include
On Sat, 2008-02-23 at 16:29 +0800, Jean Delvare wrote:
> On Fri, 22 Feb 2008 11:54:06 +0100, Hans de Goede wrote:
> > Zhang, Rui wrote:
> > > Hi, Hans,
> > >
> > > On Fri, 2008-02-22 at 16:00 +0800, Hans de Goede wrote:
> > >
> > >> I thi
Hi, Hans,
On Fri, 2008-02-22 at 16:00 +0800, Hans de Goede wrote:
> I think all that is really needed and asked for is for the new thermal
> ACPI
> code to:
> 1) provide temp readings in the same format as hwmon (so milli degrees
> celcius,
> not degrees celcius
Agree.
> 2) provide a hwmon interf
Hi, henrique,
On Sun, 2008-02-03 at 10:26 +0800, Henrique de Moraes Holschuh wrote:
> The new thermal managemeny sysfs class that was just merged into
> acpi-test,
> especially when dealing with temperature measurement and fan control,
> has a
> lot of common ground with the hwmon interface.
Yes,
From: Zhang Rui <[EMAIL PROTECTED]>
Call notifier chain for display/brightness switch events.
The kernel mode graphics driver is interested in this.
Sign-off-by: Zhang Rui <[EMAIL PROTECTED]>
---
drivers/acpi/video.c |2 ++
1 file changed, 2 insertions(+)
Index: linux-2.6/
From: Zhang Rui <[EMAIL PROTECTED]>
Display switching via ACPI control methods are known to work on none
platform AFAIK.
And graphics people want to control the display switching all by themselves.
Prevent ACPI from handling display switch hotkey events in this patch.
Signed-off-by: Zha
From: Zhang Rui <[EMAIL PROTECTED]>
This patch is needed by the kernel mode graphics drivers.
Create an ACPI notifier chain so that they can get
notified upon hotkey events.
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
---
drivers/acpi/event.c| 28 +
From: Zhang Rui <[EMAIL PROTECTED]>
Introduce new module parameter for brightness control.
"brightness_switch_enabled" is set by default which means
nothing changes upon brightness switch events.
When "brightness_switch_enabled" is cleared via
"echo 0
> >> You can just eliminate variable result, because result will be
> >> -ENODEV only.
> > I disagree. "result" is required to store the return value from
> acpi_bus_register_driver which may be different from ENODEV. Otherwise
> it's all -ENODEV.
> &g
On Thu, 2008-01-17 at 20:02 +0800, Matthew Garrett wrote:
> On Thu, Jan 17, 2008 at 11:57:11AM +0100, Thomas Renninger wrote:
>
> > Does it make sense to add this as a separate function, searching for
> a
> > physical PCI device for an ACPI device may pop up more often in the
> > future? This is a
On Wed, 2007-12-26 at 02:03 +, Matthew Garrett wrote:
> The sysfs backlight class provides no mechanism for querying the
> acceptable brightness for a backlight. The ACPI spec states that values
> are only valid if they are reported as available by the firmware. Since
> we can't provide that
Hi, Matthew,
On Fri, 2008-01-18 at 09:42 +0800, Matthew Garrett wrote:
> On Fri, Jan 18, 2008 at 09:31:40AM +0800, Zhang Rui wrote:
>
> > Just like I don't think lcd should be used for ACPI thermal
> management
> > before I saw it is listed in _TZD and intel_menlow req
On Sat, 2008-01-12 at 14:08 +0100, giggz wrote:
> Matthew Garrett a écrit :
> > On Sat, Jan 12, 2008 at 01:33:38PM +0100, giggz wrote:
> >
> >> What is the acpi video module ?
> >
> > If you have /proc/acpi/video, it's loaded.
> >
> >> I don't have any /var/log/acpid.log
> >
> > In that case, t
ust {} for the terminating entry, right?
Yes, I use this just to be consistent with other ACPI device drivers.
Thanks for your comments, please review the patch below,
From: Thomas Sujith <[EMAIL PROTECTED]>
Intel menlow platform specific driver for thermal management extension.
Signed-off-b
Hi, Mattew,
thanks for your comments.
On Thu, 2008-01-17 at 20:24 +0800, Matthew Garrett wrote:
> On Thu, Jan 17, 2008 at 03:51:22PM +0800, Zhang Rui wrote:
> > From: Zhang Rui <[EMAIL PROTECTED]>
> >
> > Register ACPI video device as thermal cooling devices as they
From: Zhang Rui <[EMAIL PROTECTED]>
Change the ACPI thermal action upon notification 0x81 and 0x82.
According to the ACPI spec, we should:
re-evaluate _PSV and _ACx methods upon notification 0x81
re-evaluate _PSL and _ALx and _TZD upon notificaiton 0x82.
But the current code re-evaluates a
From: Zhang Rui <[EMAIL PROTECTED]>
Register ACPI processor as thermal cooling devices.
A combination of processor T-state and P-state are used for thermal throttling.
the processor will reduce the frequency first and then set the T-state.
we use cpufreq_thermal_reduction_pctg to calcula
From: Zhang Rui <[EMAIL PROTECTED]>
Register ACPI Fan as thermal cooling device.
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
Signed-off-by: Thomas Sujith <[EMAIL PROTECTED]>
---
drivers/acpi/fan.c | 90 -
1 file changed, 8
From: Zhang Rui <[EMAIL PROTECTED]>
Intel menlow driver needs to get the pointer of themal_zone_device
structure of an ACPI thermal zone.
Attach this to each ACPI thermal zone device object.
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
Signed-off-by: Thomas Sujith <[
From: Zhang Rui <[EMAIL PROTECTED]>
Register ACPI video device as thermal cooling devices as they may be listed
in _TZD method and the backlight control can be used for throttling.
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
Signed-off-by: Thomas Sujith <[EMAIL PROTECTED]>
From: Zhang Rui <[EMAIL PROTECTED]>
Fix an imprecision in CELSIUS_TO_KELVIN and move these
two macroes to a proper place.
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
Signed-off-by: Thomas Sujith <[EMAIL PROTECTED]>
---
drivers/acpi/thermal.c |3 ---
include/linux/therma
From: Thomas Sujith <[EMAIL PROTECTED]>
Intel menlow platform specific driver for thermal management.
Signed-off-by: Thomas Sujith <[EMAIL PROTECTED]>
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
---
drivers/misc/Kconfig| 10
drivers/misc/Makefile |
From: Zhang Rui <[EMAIL PROTECTED]>
The alias name may be used in _PSL, _ALx and _TZD,
so we bind the cooling device only if the acpi_device node matches.
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
Signed-off-by: Thomas Sujith <[EMAIL PROTECTED]>
---
drivers/acp
From: Zhang Rui <[EMAIL PROTECTED]>
The Generic Thermal sysfs driver for thermal management.
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
Signed-off-by: Thomas Sujith <[EMAIL PROTECTED]>
---
Documentation/thermal/sysfs-api.txt | 247
drivers/Kconfig
From: Zhang Rui <[EMAIL PROTECTED]>
Register ACPI thermal zone as thermal zone device.
the new sys I/F for ACPI thermal zone will be like this:
/sys/class/thermal:
|thermal_zone1:
|-type: "ACPI thermal zone". RO
|-temp:
Hi, all,
This patch series introduces a new generic thermal sysfs driver
which provides a set of interfaces for thermal zone devices (sensors)
and thermal cooling devices (fan, processor...) to register with the
thermal management solution and to be a part of it.
And it also includes the implemen
From: Zhang Rui <[EMAIL PROTECTED]>
"/sys/devices/LNXSYSTM:00/.../eject" is used to evaluate _EJx method
and eject a device in user space.
But "echo 1 > eject" causes deadlock because
the device hot-removal code will try to remove the "eject" file as a resu
From: Zhang Rui <[EMAIL PROTECTED]>
Flush kacpi_notify_wq before notify handler is removed.
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
---
drivers/acpi/osl.c |1 +
1 file changed, 1 insertion(+)
Index: linux-2.6/driver
From: Zhang Rui <[EMAIL PROTECTED]>
Introduce new acpi_execute_type OSL_DEVICE_HOTPLUG_HANDLER for device hotplug.
so that we can move the device hotplug notify handler to keventd_wq
and flush kacpi_notify_wq before removing the per-device notify handler.
Signed-off-by: Zhang Rui &
el.org/show_bug.cgi?id=2884
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
---
drivers/acpi/bus.c | 58 +-
drivers/acpi/scan.c | 123 +++-
include/acpi/acpi_bus.h |2
3 files changed, 168 insertions(+), 15 deletions(-)
Inde
Hi, all,
This patch series is for battery hotplug support.
Please refer to http://bugzilla.kernel.org/show_bug.cgi?id=2884
Patch 01 flushes kacpi_notify_wq before removing the notify handler
as well as the kacpid_wq.
Patch 02 adds a new acpi execute type, OSL_DEVICE_HOTPLUG_HANDLER,
function+0x0/0x30
> [] system_call+0x7e/0x83
>
> ACPI Exception (video-1721): UNKNOWN_STATUS_CODE, Cant attach device
> [20070126]
> input: Video Bus as /class/input/input7
>
Please try this patch first.
From: Zhang Rui <[EMAIL PROTECTED]>
acpi_video_bus_get_one_device() i
On Thu, 2008-01-10 at 09:43 +0200, Maxim Levitsky wrote:
> On Thursday, 10 January 2008 00:21:46 Yi Yang wrote:
> > Subject: ACPI: convert procfs to sysfs for /proc/acpi/wakeup
> > From: Yi Yang <[EMAIL PROTECTED]>
> >
> > /proc/acpi/wakeup is deprecated but it has to exist because
> > we haven't
Hi, Sergio,
Please open a bug at http://bugzilla.kernel.org/enter_bug.cgi?product=ACPI
And attach the dmesg and acpidump output.
Thanks,
Rui
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Sergio Monteiro Basto
>Sent: Thursday, December 27, 2007 4:43
>-Original Message-
>From: Sergio Monteiro Basto [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, November 27, 2007 3:39 AM
>To: Wang, Zhenyu Z
>Cc: Zhang, Rui; linux-acpi@vger.kernel.org
>Subject: Re: No blacklight Re: [patch] remove debug info in acpi video
>
>
>
gt; >-Original Message-
> >From: Len Brown [mailto:[EMAIL PROTECTED]
> >Sent: Tuesday, November 20, 2007 10:43 AM
> >To: Moore, Robert
> >Cc: linux-acpi@vger.kernel.org; Zhang, Rui; Alexey Starikovskiy
> >Subject: ACPI: disable stray GPE, prevent ACPI interrupt
From: Zhang Rui <[EMAIL PROTECTED]>
The current code only disable the GPE by judging the
GPE type, which is one of WAKE, RUNTIME and WAKE_RUN.
In bug 6217, GPE 17 is enabled by the AML code ...
And it will be triggerred when an extra CRT is connected.
As GPE 17 is not ec gpe, and there is n
On Mon, 2007-11-19 at 15:32 +0800, Zhang Rui wrote:
> From: Zhang Rui <[EMAIL PROTECTED]>
>
> The current code only disable the GPE by judging the
> GPE type, which is one of WAKE, RUNTIME and WAKE_RUN.
> In bug 6217, GPE 17 is enabled by the AML code ...
> And it will be
From: Zhang Rui <[EMAIL PROTECTED]>
The current code only disable the GPE by judging the
GPE type, which is one of WAKE, RUNTIME and WAKE_RUN.
In bug 6217, GPE 17 is enabled by the AML code ...
And it will be triggerred when an extra CRT is connected.
As GPE 17 is not ec gpe, and there is n
On Thu, 2007-11-15 at 11:38 +0100, Frank Munsche wrote:
> Hello,
>
> I've got a Sony Vaio SZ61 running gentoo, 2.6.22-gentoo-r9 . Although there
> is
> acpi - information available in /proc/acpi (e.g. battery, ac_adapter,
> processor) I never get apci - events reported.
> If I pull the ac - ca
On Tue, 2007-11-06 at 00:43 +0800, Dmitry Torokhov wrote:
> ACPI: video - fix permissions on some proc entries
>
> POST and DOS are supposed to be writable but permissions
> did not allow it.
The same reason as patch 6. :)
> Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]>
> ---
> drivers/acpi/
On Tue, 2007-11-06 at 00:43 +0800, Dmitry Torokhov wrote:
> ACPI: video - more cleanups
>
> Remove unneeded checks and initializations, implement proper
> unwinding after errors in initialization code, get rid of
> unneeded casts, adjust formatting.
A big patch with a large number of minor cleanup
On Tue, 2007-11-06 at 00:43 +0800, Dmitry Torokhov wrote:
> ACPI: video - properly handle errors when registering proc elements
>
> Have acpi_video_device_add_fs() and acpi_video_bus_add_fs()
> properly unwind proc creation after error.
Hi, Dmitry,
The patch is good.
But I'm afraid we don't need
On Tue, 2007-11-06 at 00:43 +0800, Dmitry Torokhov wrote:
> ACPI: video - simplify handling of attached devices
>
> The old code needlessly stored invalid entries in attached_array list.
>
> Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]>
Acked-by: Zhang
On Tue, 2007-11-06 at 00:43 +0800, Dmitry Torokhov wrote:
> ACPI: video - convert semaphore to a mutex
>
> Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]>
Acked-by: Zhang Rui <[EMAIL PROTECTED]>
> ---
> drivers/acpi/video.c | 21 +++--
> 1 file
g accessed from several threads.
>
> Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]>
Acked-by: Zhang Rui <[EMAIL PROTECTED]>
> ---
> drivers/acpi/video.c | 71
> ---
> 1 file changed, 34 insertions(+), 37 delet
()
> and handle input_allocate_device() failures.
>
> Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]>
Acked-by: Zhang Rui <[EMAIL PROTECTED]>
> ---
> drivers/acpi/video.c | 71
> +--
> 1 file changed, 35 inserti
On Tue, 2007-11-06 at 00:43 +0800, Dmitry Torokhov wrote:
> ACPI: video - fit input device into sysfs tree
>
> Properly set up parent on input device registered by the video driver.
>
> Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]>
Acked-by: Zhang Rui <[EMAIL PROT
On Tue, 2007-11-06 at 00:43 +0800, Dmitry Torokhov wrote:
> Hi Len, Rui,
>
> Here is a group of cleanups and patches to the acpi video driver.
> Originally I just wanted to fix sysfs placement of input devices
> created by the driver, but then I saw some more potential issues.
>
> The patches are
On Tue, 2007-11-13 at 08:50 +0800, Zhenyu Wang wrote:
>
> Remove acpi video debug message.
>
> Signed-off-by: Zhenyu Wang <[EMAIL PROTECTED]>
Acked-by: Zhang Rui <[EMAIL PROTECTED]>
> ---
> drivers/acpi/video.c |3 ---
> 1 files changed, 0 insertions(+),
Hi, Ryan,
Please open a bug in
http://bugzilla.kernel.org/enter_bug.cgi?product=ACPI
And attach the dmesg and lspci output. acpidump is needed as well.
Thanks,
Rui
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan May
Sent: Thursday, October 11, 2007
Hi, Grzeniek,
Please open a bug in
http://bugzilla.kernel.org/enter_bug.cgi?product=ACPI
And attach the dmesg and "cat /proc/interrupt" both with and without
"acpi=off" boot parameter. acpidump may be needed as well.
Thanks,
Rui
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL P
On Fri, 2007-10-05 at 22:50 +0100, Peter Clifton wrote:
> Hi,
>
> I've been investigating some backlight vs. lidswitch problems with my HP
> Compaq nc6432 laptop, and have been digging in video.c
>
> At start of the video driver, the _DOS method is executed, and similarly
> when the driver is unl
Hi, Jedrzej,
Please attach the acpidump and dmesg output.:).
The latest acpidump tools can be found at:
http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/
Thanks,
Rui
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jedrzej Solecki
Sent: Satur
On Thu, 2007-09-27 at 14:33 +0800, Alexey Starikovskiy wrote:
> Shaohua Li wrote:
> > On Thu, 2007-09-27 at 10:24 +0400, Alexey Starikovskiy wrote:
> >> Shaohua Li wrote:
> >>> On Thu, 2007-09-27 at 11:30 +0800, Zhang Rui wrote:
> >>>> Hi, all,
&g
On Thu, 2007-09-27 at 12:53 +0800, Alexey Starikovskiy wrote:
> Zhang Rui wrote:
> > Attachment is the patch for battery hotplug support.
> There is it?
Oops, the battery hotplug patch is attached.
Thanks,
Rui
--- Begin Message ---
add battery hotplug support for ACPI battery
Hi, all,
I found a bug that linux/acpi may execute notify handler that
has been removed.
When a system notify(0~0x7f) is received, linux/acpi will
first invoke the generic system notify handler (acpi_bus_notify)
and then invoke the per-device notify handler if present.
In my case, I add some cod
On Sun, 2007-06-17 at 08:02 +0800, Daniel Drake wrote:
> Dell laptops seem to address video devices without the
> device_id_scheme bit,
> which means that Linux doesn't know the device types of the video
> devices.
>
> This patch makes the ACPI video driver guess the device type based on
> the
> d
Acked-by: Zhang Rui <[EMAIL PROTECTED]>
On Wed, 2007-09-12 at 14:04 +0400, Alexey Starikovskiy wrote:
> Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]>
> ---
>
> drivers/acpi/sleep/poweroff.c |1
> drivers/acpi/sleep/sleep.h|1
> driver
Subject: set _DOS to 0 by default
From: Zhang Rui <[EMAIL PROTECTED]>
Many ACPI machines currently reprogram the active display output
automatically when the user presses the display toggle switch on
the keyboard. However, this behavior violates the ACPI spec,
because the system modifie
On Mon, 2007-09-10 at 15:49 +0800, Andrew Morton wrote:
> On Mon, 20 Aug 2007 23:50:05 +0800 Zhang Rui <[EMAIL PROTECTED]>
> wrote:
>
> > Hi, Oliver,
> > Thanks for your comments,
> >
> > On Mon, 2007-08-20 at 18:45 +0800, Oliver Neukum wrote:
> >
On Mon, 2007-09-03 at 20:06 -0300, Henrique de Moraes Holschuh wrote:
> On Mon, 03 Sep 2007, Len Brown wrote:
> > Wow, do you really build with CONFIG_NET=n,
> > or did randconfig find this?
>
> My build-it-quick config for thinkpad-acpi has CONFIG_NET=n :-)
>
> It is not a kernel I use to test a
can either handle the events itself or
do nothing but export them to userspace.
eg. the X people surely want to
"echo 0 > /sys/module/video/parameters/auto_handle" so that
they can take full charge of the video switch thing. :P
Note: auto_handle is disabled by default.
Signed-off-by: Zhan
On Sat, 2007-08-25 at 07:37 +0800, Len Brown wrote:
> On Friday 24 August 2007 04:07, Zhang Rui wrote:
> > On Fri, 2007-08-24 at 03:20 -0400, Len Brown wrote:
> > > please speak up if you see any problem with these patches.
> > > Also, please let me know if I've
On Fri, 2007-08-24 at 03:20 -0400, Len Brown wrote:
> please speak up if you see any problem with these patches.
> Also, please let me know if I've missed something you
> think needs to make 2.6.23.
>
What about the latest patch in bug 8798?
It can fix the duplicate name problem without changing t
On Fri, 2007-08-24 at 02:32 +0100, Matthew Garrett wrote:
> > +static int acpi_fuj02b1_get_volume_state(void *data)
>
> This probably wants to be exported as an ALSA mixer rather than a
> special device in /proc.
>
> > +static int acpi_fuj02b1_get_brightness_state(void *data)
>
> And this certa
?
Thanks,
Rui
-Original Message-
From: Bernd Bartmann [mailto:[EMAIL PROTECTED]
Sent: Monday, August 20, 2007 10:48 PM
To: Zhang, Rui
Cc: linux-acpi@vger.kernel.org
Subject: Re: Getting ACPI data like CPU and FBDIMM temperature / fan
speeds on ASUS DSBV-DX/SAS
On 8/20/07, Zhang, Rui wrote
thinkpad_acpi hotkey events
button events
asus_acpi/asus-laptop hotkey events
sonypi/sonylaptop events
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
---
drivers/acpi/ac.c |3 +++
drivers/acpi/battery.c|3 +++
drivers/acpi
Hi, Oliver,
Thanks for your comments,
On Mon, 2007-08-20 at 18:45 +0800, Oliver Neukum wrote:
> Am Montag 20 August 2007 schrieb Zhang Rui:
> > Files name must be unique in the same directory.
> >
> > Bug is reported here:
> > http://bugzilla.kernel.org/show_bug.cgi?id
Files name must be unique in the same directory.
Bug is reported here:
http://bugzilla.kernel.org/show_bug.cgi?id=8798
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
---
fs/proc/generic.c |8
1 file changed, 8 insertions(+)
Index: linux-2.6.23-rc3/fs/proc/gen
From: Yu Luming <[EMAIL PROTECTED]>
Export ACPI video hotkey events via input layer.
Signed-off-by: Yu Luming <[EMAIL PROTECTED]>
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
---
drivers/acpi/video.c | 90 ++-
1 file changed, 8
Both ACPI_VIDEO_NOTIFY_SWITCH and ACPI_VIDEO_NOTIFY_PROBE
are valid for video bus devices only. Actually ACPI video output
device should never be notified for a output device switch/probe.
ACPI bus devices notify handler already has the code to
handle these kinds of events.
Signed-off-by: Zhang
From: Yu Luming <[EMAIL PROTECTED]>
Add keycode for ACPI video driver hotkey events.
Signed-off-by: Yu Luming <[EMAIL PROTECTED]>
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
---
include/linux/input.h |7 +++
1 file changed, 7 insertions(+)
Index: linux-2.6.23-rc3/inc
Hi, Bernd,
First please set the ACPI version to 2.0 and see if there is any
difference.
And please attach the acpidump output when you are running ACPI 2.0.
Thanks,
Rui
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bernd Bartmann
Sent: Monday, August 2
On Fri, 2007-08-17 at 13:11 +0800, Alexey Starikovskiy wrote:
> Zhang Rui wrote:
> > On Thu, 2007-08-16 at 18:03 +0400, Alexey Starikovskiy wrote:
> >> From: Alexey Starikovskiy <[EMAIL PROTECTED]>
> >>
> >> acpi_bus_generate_event() takes two strings out
On Thu, 2007-08-16 at 18:03 +0400, Alexey Starikovskiy wrote:
> From: Alexey Starikovskiy <[EMAIL PROTECTED]>
>
> acpi_bus_generate_event() takes two strings out of passed device object.
> SBS needs to supply these strings directly.
>
This doesn't make sense.
acpi_dev->dev.bus_id is the name we a
Files name should be unique in the same directory.
Bug is reported here:
http://bugzilla.kernel.org/show_bug.cgi?id=8798
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
---
fs/proc/generic.c |8
1 file changed, 8 insertions(+)
Index: linux-2.6.23-rc3/fs/proc/gen
On Thu, 2007-08-16 at 11:36 +0800, Len Brown wrote:
> On Tuesday 31 July 2007 19:00, Zhang Rui wrote:
> > Use GFP_KERNEL instead of GFP_ATOMIC.
> >
> > GFP_ATOMIC is still needed by the sonypi and sony-laptop driver.
>
> Why?
> Sony can't events from user-conte
On Tue, 2007-08-14 at 18:43 +0800, Zhang Rui wrote:
> On Tue, 2007-08-14 at 19:58 +0800, Richard Hughes wrote:
> >
> > On Wed, 2007-08-08 at 14:37 +0800, Zhang Rui wrote:
> > > On Mon, 2007-07-30 at 12:47 +0100, Richard Hughes wrote:
> > > > On 30/07/07, Matth
On Tue, 2007-08-14 at 19:58 +0800, Richard Hughes wrote:
>
> On Wed, 2007-08-08 at 14:37 +0800, Zhang Rui wrote:
> > On Mon, 2007-07-30 at 12:47 +0100, Richard Hughes wrote:
> > > On 30/07/07, Matthew Garrett <[EMAIL PROTECTED]> wrote:
> > > > On Sun, Jul
Hi, Len,
I can take charge of the ACPI video driver.
Thanks,
Rui
-Original Message-
From: Len Brown [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 14, 2007 1:16 PM
To: [EMAIL PROTECTED]; Zhang, Rui
Cc: [EMAIL PROTECTED]; Yu, Luming;
[EMAIL PROTECTED]; linux-acpi@vger.kernel.org
From: Yu Luming <[EMAIL PROTECTED]>
Export ACPI video hotkey events via input layer.
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
---
drivers/acpi/video.c | 87 ++-
1 file changed, 86 insertions(+), 1 deletion(-)
Index: linux-2.6.23
Both ACPI_VIDEO_NOTIFY_SWITCH and ACPI_VIDEO_NOTIFY_PROBE
are valid for video Display Devices only.
ACPI video output devices should not handle these kinds of events.
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
---
drivers/acpi/video.c |4
1 file changed, 4 deletions(-)
Index:
From: Yu Luming <[EMAIL PROTECTED]>
Add keycode for ACPI video hotkey event.
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
---
include/linux/input.h |5 +
1 file changed, 5 insertions(+)
Index: linux-2.6.23-rc2/include/l
On Thu, 2007-08-09 at 10:54 +0200, Robert Lemmen wrote:
> hi folks,
>
> i got a new mainboard, an asrock conroe1333 (intel socket 775 thing). so
> far everything is nice except the cpu fan, which is always spinning at
> top speed. from what i understand, it should be possible to change this
> with
On Mon, 2007-07-30 at 12:47 +0100, Richard Hughes wrote:
> On 30/07/07, Matthew Garrett <[EMAIL PROTECTED]> wrote:
> > On Sun, Jul 29, 2007 at 12:40:16PM -0400, Luming Yu wrote:
> > > switch (event) {
> > > case ACPI_VIDEO_NOTIFY_SWITCH: /* User requested a switch,
> > >
On Mon, 2007-07-30 at 01:50 +0100, Matthew Garrett wrote:
> On Sun, Jul 29, 2007 at 12:40:16PM -0400, Luming Yu wrote:
> > switch (event) {
> > case ACPI_VIDEO_NOTIFY_SWITCH: /* User requested a switch,
> > * most likely via hotkey. */
> > a
On Mon, 2007-07-30 at 12:47 +0100, Richard Hughes wrote:
> On 30/07/07, Matthew Garrett <[EMAIL PROTECTED]> wrote:
> > On Sun, Jul 29, 2007 at 12:40:16PM -0400, Luming Yu wrote:
> > > switch (event) {
> > > case ACPI_VIDEO_NOTIFY_SWITCH: /* User requested a switch,
> > >
On Mon, 2007-07-30 at 01:50 +0100, Matthew Garrett wrote:
> On Sun, Jul 29, 2007 at 12:40:16PM -0400, Luming Yu wrote:
> > switch (event) {
> > case ACPI_VIDEO_NOTIFY_SWITCH: /* User requested a switch,
> > * most likely via hotkey. */
> > a
/proc/acpi/... won't be removed in a short time,
I still think it's worth doing.
Does this patch miss something?
Or are there any better ideas to make the ACPI device name
unique in procfs?
Any comments are appreciated. Thanks.
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]&
Use GFP_KERNEL instead of GFP_ATOMIC.
GFP_ATOMIC is still needed by the sonypi and sony-laptop driver.
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
---
drivers/acpi/ac.c |3 ++-
drivers/acpi/asus_acpi.c |2 +-
drivers/acpi/battery.c
On Tue, 2007-07-24 at 22:34 +0100, Chris Rankin wrote:
> Hi,
>
> I have noticed the following problems with the ACPI video functionality on my
> Thinkpad T60p
> laptop:
>
> - The kernel is likely to lock up when the video.ko modules loads, if
> nmi_watchdog=1
> - The VID/ directory appears twic
Oops. Sorry.
Attached here. :)
Thanks,
Rui
-Original Message-
From: Len Brown [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 22, 2007 1:01 PM
To: Zhang, Rui
Cc: linux-acpi@vger.kernel.org; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Re: [PATCH] ACPI: export ACPI events via acpi_mc_group
s' help on developing this patch and
the user space demo.
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
---
drivers/acpi/event.c | 29 +
1 file changed, 9 insertions(+), 20 deletions(-)
Index: linux-2.6.22
On Fri, 2007-07-20 at 04:25 +0800, Andrew Morton wrote:
>
> It's quite sad that this uses GFP_ATOMIC. Because GFP_ATOMIC is quite
> unreliable.
>
> Is it just not possible to use GFP_KERNEL here?
I thought of this problem before,
but GFP_ATOMIC is required in some cases.
> If _any_ of the calle
ACPI sysfs conversion is not finished yet and
some user space tools still depend on the ACPI proc I/F.
We plan to finish all the sysfs conversion by January 2008
and remove the ACPI proc I/F in July 2008.
Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
---
Documentation/feature-r
Hi, Patrizio,
> > ACPI Exception (processor_core-0781): AE_NOT_FOUND, Processor Device
is
> > not present [20070126]
> > ACPI Exception (processor_core-0781): AE_NOT_FOUND, Processor Device
is
> > not present [20070126]
This is just a debug message output and should have no impact on the
cpufreq d
1 - 100 of 232 matches
Mail list logo