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/linux
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/thermal.c
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 version is modified to not
depend on the patch makig ACPI initialize driver model wakeup flags.)
Signed-off
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 think all that is really needed and asked for is for the new
thermal
ACPI
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,
management extension.
Signed-off-by: Thomas Sujith [EMAIL PROTECTED]
Signed-off-by: Zhang Rui [EMAIL PROTECTED]
---
drivers/misc/Kconfig|9
drivers/misc/Makefile |1
drivers/misc/intel_menlow.c | 526
3 files changed, 536
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 /sys/module/video/parameters
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: Zhang Rui
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
include/acpi
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/drivers/acpi/video.c
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
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 kind of
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, try catting
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 requires to
throttle
it when
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 may be
listed
in _TZD method
, please review the patch below,
From: Thomas Sujith [EMAIL PROTECTED]
Intel menlow platform specific driver for thermal management extension.
Signed-off-by: Thomas Sujith [EMAIL PROTECTED]
Signed-off-by: Zhang Rui [EMAIL PROTECTED]
---
drivers/misc/Kconfig|9
drivers/misc/Makefile
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,
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 [EMAIL PROTECTED
?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(-)
Index: linux-2.6
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 result.
Queues the hot-removal function for deferred
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
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 |2
drivers
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: the current
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 |1
drivers/misc/intel_menlow.c
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/acpi/thermal.c | 42
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 [EMAIL PROTECTED]
---
drivers/acpi
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]
---
drivers/acpi/video.c
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 calculate
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, 83 insertions(+), 7
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 all
as /class/input/input7
Please try this patch first.
From: Zhang Rui [EMAIL PROTECTED]
acpi_video_bus_get_one_device() is returning -errno style status,
but acpi_video_bus_get_devices() is expecting an ACPICA style status
Fix this and check the return value of acpi_video_device_enumerate as well
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 a sysfs
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 AM
-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
On Mon, 2007-11-26 at 09:20 +0800
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 no _Lxx
]
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 storm
Bob,
Rui's Linux patch below modifies an ACPICA file.
thanks,
-Len
commit
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 triggerred when an extra CRT
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 no _Lxx
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 - cable,
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
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 insertions(+), 36 deletions(-)
Index: work/drivers/acpi/video.c
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 changed, 11 insertions(+), 10 deletions
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
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/video.c
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
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
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 unloaded.
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:
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,
I found a bug that linux/acpi may execute notify handler
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
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
---BeginMessage---
add battery hotplug support for ACPI battery driver.
http
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
device
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
drivers/acpi/sleep/wakeup.c | 117
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 modifies some
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:
Am Montag 20 August 2007 schrieb Zhang Rui:
Files name must
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 anything
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: Zhang Rui [EMAIL PROTECTED
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 the
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 missed something you
think needs to make
?
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
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 certainly
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/bus.c|4
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/include/linux/input.h
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]
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, 89 insertions(+), 1
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/generic.c
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=8798
Then I'd say fix the callers
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
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 of passed device
object.
SBS needs to supply
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/generic.c
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 are
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, Matthew Garrett [EMAIL PROTECTED] wrote:
On Sun
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-context like everybody else does?
Mattia has
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/linux/input.h
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: linux
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 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. */
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. */
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,
/... 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]
---
drivers/acpi/bus.c| 29
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 twice in the
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
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/drivers/acpi/event.c
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-removal-schedule.txt
interface
When: July 2007
Why:After ACPI sysfs conversion, ACPI attributes will be duplicated
in sysfs and the ACPI procfs interface should be removed.
Who:Zhang Rui [EMAIL PROTECTED]
The button driver uses acpi_root_dir which won't be available if acpi is
removed this month
From: Zhang Rui [EMAIL PROTECTED]
ACPI sysfs conversion is not finished yet and
some user space tools still depends on the ACPI procfs I/F.
Change the ACPI_PROCFS removal schedule to Jan 08.
Signed-off-by: Zhang Rui [EMAIL PROTECTED]
---
Documentation/feature-removal-schedule.txt |2 +-
1
From: Zhang Rui [EMAIL PROTECTED]
The /sys/firmware/acpi/namespace has already been removed in 2.6.21.
Signed-off-by: Zhang Rui [EMAIL PROTECTED]
---
Documentation/feature-removal-schedule.txt | 14 --
1 file changed, 14 deletions(-)
Index: linux-2.6.22/Documentation/feature
Hi, Norman,
Please submit a new bug at http://bugzilla.kernel.org/
and attach all the information you sent here.
Thanks,
Ray
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Norman Ziert
Sent: 2007年7月11日 5:36
To: linux-acpi@vger.kernel.org
Subject: Re:
On Wed, 2007-07-04 at 14:01 +0200, Johannes Berg wrote:
On Tue, 2007-07-03 at 15:45 -0400, Len Brown wrote:
Thanks for including the demo program, Rui, it works for me (tm).
Applied -- with the incremental patch below, which I think
is correct because the only caller is bus.c, which is
On Thu, 2007-06-21 at 15:42 +0900, Mattia Dongili wrote:
On Wed, Jun 20, 2007 at 12:33:04PM -0400, Alan Stern wrote:
On Wed, 20 Jun 2007, Mattia Dongili wrote:
Just as with Raphael, I suggest you build a kernel with
CONFIG_USB_DEBUG turned on and then post the dmesg log showing the
On Sun, 2007-05-20 at 15:14 +0900, Mattia Dongili wrote:
On Sat, May 19, 2007 at 12:04:13AM -0700, Andrew Morton wrote:
On Sat, 19 May 2007 15:48:29 +0900 Mattia Dongili [EMAIL PROTECTED] wrote:
On Fri, May 18, 2007 at 12:22:40AM -0700, Andrew Morton wrote:
On Fri, 18 May 2007
On Tue, 2007-06-19 at 18:30 +0900, Mattia Dongili wrote:
On Tue, Jun 19, 2007 at 04:57:55PM +0800, Zhang Rui wrote:
On Sun, 2007-05-20 at 15:14 +0900, Mattia Dongili wrote:
On Sat, May 19, 2007 at 12:04:13AM -0700, Andrew Morton wrote:
On Sat, 19 May 2007 15:48:29 +0900 Mattia Dongili
On Mon, 2007-06-18 at 11:01 -0400, jamal wrote:
On Fri, 2007-15-06 at 09:01 +0800, Zhang Rui wrote:
I dont have much time to look at your code given travel, but did you
try to use your group id instead of the controller's?
i.e:
rtnl_open_byproto(rth, nl_mgrp(mydiscoveredacpiid
From: Zhang Rui [EMAIL PROTECTED]
Export ACPI events via Generic Netlink.
An acpi_event genetlink family message is sent
when an ACPI event is generated.
Note: The behavior of how ACPI event works nowadays is not changed.
Use genetlink to export ACPI event instead of
/proc/acpi
and only parses the
ones sent by acpi_event genl family.
Thanks,
Rui
On Sun, 2007-05-27 at 09:34 -0400, jamal wrote:
On 5/27/07, Zhang Rui [EMAIL PROTECTED] wrote:
I need to write a user application to test my patch.
Netlink messages can be sent/received using the standard socket API.
sure
From: Zhang Rui [EMAIL PROTECTED]
This is the basic functionality of exposing ACPI tables in sysfs.
Only static tables are exposed to user space in this patch.
Every static table has a file under /sys/firmware/acpi/tables/.
The file name is constituted of the table signature and instance number
On Thu, 2007-06-14 at 07:28 -0400, jamal wrote:
On Thu, 2007-14-06 at 16:59 +0800, Zhang Rui wrote:
Hi, Jamal,
Now the genl utility can find the acpi event genetlink family.
And a simple user space demo is finished for handling acpi event.
I really appreciate your help. :)
np.
I
On Thu, 2007-06-14 at 08:31 -0300, Henrique de Moraes Holschuh wrote:
Will we get the dynamic tables exported in a later patch?
Yes. I send the patch for static tables first in hopes of
it can hit 2.6.23.
The patch for dynamic tables needs some hooks in ACPICA code.
And it may take some time,
From: Zhang Rui [EMAIL PROTECTED]
Well, first of all, I don't want to change so many files either.
What I do:
Adding a new parameter struct bin_attribute * in the
.read/.write methods for the sysfs binary attributes.
In fact, only the four lines change in fs/sysfs/bin.c
1 - 100 of 189 matches
Mail list logo