Hi,
This patch seems ok for me.
Thanks for your work Fabien ;)
-
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
On Wednesday 30 January 2008 19:21:46 Eric Cooper wrote:
On Wed, Jan 30, 2008 at 07:10:46PM +0100, Corentin CHARY wrote:
I'm the maintener of asus_acpi and asus-laptop.
On Saturday 26 January 2008 15:48:24 Eric Cooper wrote:
I happened to look at the patched asus_acpi.c module
Hi,
I'm the maintener of asus_acpi and asus-laptop.
On Saturday 26 January 2008 15:48:24 Eric Cooper wrote:
I happened to look at the patched asus_acpi.c module that was posted
by Asus for the Eee PC and noticed that it's 75% dead code
Where and when asus has posted that patch ?
So I cleaned
On Thursday 17 January 2008 11:52:23 Len Brown wrote:
On Wednesday 16 January 2008 10:57, Corentin CHARY wrote:
From: Corentin CHARY [EMAIL PROTECTED]
Note: All this work have been done by Fabien Crespel and the original
patch was from him. Thks again ;).
Then the From: line above
Hi Len,
Here is two patch for asus-laptop.
Wlan/Bluetooth and LEDs should work better now.
Thanks to Fabien Crespel
--
Corentin 'Iksaif' CHARY
http://xf.iksaif.net
-
To unsubscribe from this list: send the line unsubscribe linux-acpi in
the body of a message to [EMAIL PROTECTED]
More majordomo
From: Corentin CHARY [EMAIL PROTECTED]
Just a little modification of write_acpi_int
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
asus-laptop.c | 24 +++-
1 file changed, 15 insertions(+), 9 deletions(-)
--- a/drivers/misc/asus-laptop.c2008-01-15 23:08
Le Monday 05 November 2007 13:19:20 Alexander Pugachev, vous avez écrit :
Hello.
I see in dmesg output this lines:
[ 34.68] Asus Laptop ACPI Extras version 0.30
[ 34.68] BSTS called, 0x7f returned
[ 34.68] unsupported model A6Rp, trying default values
[ 34.68]
Le Wednesday 21 November 2007 23:50:10 [EMAIL PROTECTED], vous avez
écrit :
From: Luca Tettamanti [EMAIL PROTECTED]
Add support for ASUS F3Sa notebook. Features:
- LCD on/off
- Brightness
- Wifi kill
- Bluetooth kill
I don't think it's a good idea to add features to the old driver. We
Le Sunday 03 June 2007 18:50:17 Jérôme Benoit, vous avez écrit :
Hello,
By dmesg resquet, i'm just sending out the dsdt file to ACPI list et main
developer. This is with the latest BIOS version from ASUS (705).
Thanks.
--
Jérôme Benoit aka fraggle
La Météo du Net - http://grenouille.com
Le Tuesday 08 May 2007 02:08:26 [EMAIL PROTECTED], vous avez écrit :
Hi everyone!
run modprobe asus_acpi, there is no entry in the dmesg or
modprobe asus-laptop
asus_acpi is the old driver.
Can you send your dsdt ?
Thanks
--
CHARY 'Iksaif' Corentin
http://xf.iksaif.net
-
To unsubscribe
That is strange. I compiled acpi4asus-0.41, and this is the output when I
try to modprobe asus-laptop: [EMAIL PROTECTED] acpi4asus-0.41]# modprobe
asus-laptop
FATAL: Error inserting asus_laptop
(/lib/modules/2.6.20-1.2948.fc6/acpi/asus-laptop.ko): No such device
# rmmod asus_acpi
# modprobe
Hum ... it's a motherboard not a laptop ...
So, you can't use asus_acpi/asus-laptop ..
Anyway, it's probably easy to make a driver to use this Message LED, but
without the motherboard on my desk, it will be hard ^^
--
CHARY 'Iksaif' Corentin
http://xf.iksaif.net
-
To unsubscribe from this
Hi Len,
Some asus-laptop patchs for 2.6.22 =).
--
CHARY 'Iksaif' Corentin
http://xf.iksaif.net
-
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
From: Corentin Chary [EMAIL PROTECTED]
We need to handle all events, because some dsdt use events = 0x80
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
asus-laptop.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/drivers/misc/asus-laptop.c2007-05-04 21:44
From: Corentin Chary [EMAIL PROTECTED]
Just adds GPS support found in R2H thanks to Sam Lin. It will
make a gps file in /sys/devices/platform/asus-laptop/.
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
asus-laptop.c | 55 ++-
1 file
From: Corentin Chary [EMAIL PROTECTED]
Fix a stupid light sens detection bug.
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
asus-laptop.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/misc/asus-laptop.c2007-05-05 09:31:05.0 +0200
+++ b/drivers
From: Corentin Chary [EMAIL PROTECTED]
Version bump, lindent, etc ..
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
asus-laptop.c | 29 +++--
1 file changed, 15 insertions(+), 14 deletions(-)
--- a/drivers/misc/asus-laptop.c2007-05-05 09:33:12.0
Le Wednesday 11 April 2007 11:33:48 Jiri Slaby, vous avez écrit :
asus_acpi, support F2JE model
Just use the new asus-laptop driver =)
(see acpi4asus-0.40)
--
CHARY 'Iksaif' Corentin
http://xf.iksaif.net
-
To unsubscribe from this list: send the line unsubscribe linux-acpi in
the body of a
Mail cced to linux-acpi@vger.kernel.org, they may be able to help us =)
Le Saturday 24 March 2007 13:43:26 Szymon Olko, vous avez écrit :
Dear *,
Finally I found some time to play with buttons in my V1j. At first
thanks for great work!!!
I'm not acpi nor dsdt guru, but I looked into the
Hi,
There's not much to tell ... It would be nice if these patch could be merged
before 2.6.21 =).
These patch are against acpi-test, and can probably be applied on 2.6.21.
Thanks
--
CHARY 'Iksaif' Corentin
http://xf.iksaif.net
-
To unsubscribe from this list: send the line unsubscribe
From: Corentin Chary [EMAIL PROTECTED]
Use acpi_evaluate_integer() instead of read_acpi_int()
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
asus-laptop.c | 68 +-
1 file changed, 34 insertions(+), 34 deletions(-)
--- a/drivers
From: Corentin Chary [EMAIL PROTECTED]
Clean the write_status function, and implement special case with
a switch inside write_status. It also make sure bt and wl status
are right when booting with the hardware switch off.
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
asus-laptop.c | 48
From: Corentin Chary [EMAIL PROTECTED]
Add the wapf param. This param allows to define the behavior
of the Fn F2 key (wlan switch).
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
asus-laptop.c | 16
1 file changed, 16 insertions(+)
--- a/drivers/misc/asus-laptop.c
From: Corentin Chary [EMAIL PROTECTED]
Version and copyright bump.
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
asus-laptop.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/drivers/misc/asus-laptop.c2007-03-10 16:35:10.0 +0100
+++ b/drivers/misc/asus
if this patch is realy usefull, as there is the new asus-laptop
driver (in acpi-test), but let's Ack this ...
Signed-off-by: Matthew C Campbell [EMAIL PROTECTED]
Cc: Corentin Chary [EMAIL PROTECTED]
Acked-by: Corentin Chary [EMAIL PROTECTED]
Cc: Karol Kozimor [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED
1-7 applied to acpi-test
I also ran scripts/Lindent over it to fix the whitespace.
Then, after merging into acpi-test I also applied the patch below.
Your choice if you want to make future updates with incremental patches
on top of acpi-test or re-send the series.
incremental patches on top
wups, my message about LED CLASS was garbled.
What I should have written is:
Both of these select's should be depends on
select is generally considered evil and should be avoided if at all
possible.
Yep, but : asus_acpi and ibm-acpi use select. But if select is considered
evil, I think I
Le vendredi 26 janvier 2007 09:04, Len Brown a écrit :
On Thursday 25 January 2007 06:54, Corentin CHARY wrote:
/sys/.../asus-laptop/display can now be used to switch displays like the
old /proc/acpi/asus/disp does
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
asus-laptop.c | 82
Le vendredi 26 janvier 2007 08:51, Len Brown a écrit :
On Thursday 25 January 2007 06:54, Corentin CHARY wrote:
Hi,
I've done a lot of work on asus_acpi
Excellent.
A couple of nits on e-mail patch format:
Please fit the comments within 80 lines.
ie. pipe them through fmt -w 68
From: Corentin Chary [EMAIL PROTECTED]
Adds the new driver and make ASUS_LAPTOP and ACPI_ASUS
incompatible. It may be strange to use ASUS_CREATE_DEVICE_ATTR
and ASUS_SET_DEVICE_ATTR now, but these macro will be very
usefull in next patchs. ASUS_HANDLE and ASUS_HANDLE_INIT comes
from IBM_HANDLE
From: Corentin Chary [EMAIL PROTECTED]
Add led support, using generic led class. Thomas Tuttle's patch
http://lkml.org/lkml/2006/7/6/247 was very usefull. We use
hotk-status to store led status because it's very hard to find
acpi method to get the right status... To reduce the code,
I use
From: Corentin Chary [EMAIL PROTECTED]
WLED and BLED are not handled like other leds (MLED, etc ..),
because sometime they also control the wlan/bluetooth device.
If the method for wireless_status is found, it's used to get the
status, otherwise hotk-status is used. We also use the HWRS
method
From: Corentin Chary [EMAIL PROTECTED]
Adds backlight support using backlight class. We now
change the brightness *and toggle the backlight !* via
/sys/class/backlight/asus-laptop/.
If the user switchs the backlight using the keyboard,
asus_hotk_notify looks for ATKD_LCD_OFF and ATKD_LCD_ON
From: Corentin Chary [EMAIL PROTECTED]
/sys/.../asus-laptop/display can now be used to switch displays
like the old /proc/acpi/asus/disp does
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
drivers/misc/asus-laptop.c | 82 +++
1 file changed, 82 insertions
From: Corentin Chary [EMAIL PROTECTED]
/proc/acpi/asus/lslvl is now /sys/.../asus-laptop/ls_level
/proc/acpi/asus/lssw is now /sys/.../asus-laptop/ls_switch nothing
else ..
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
drivers/misc/asus-laptop.c | 84
Hi,
I've done a lot of work on asus_acpi, see :
diff asus_acpi.c asus-laptop.c -u | diffstat
asus-laptop.c | 1663
--
1 file changed, 711 insertions(+), 952 deletions(-)
So because the new driver work in a very different way, and have a
, and will also be used in next patchs.
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
acpi/Kconfig |7
misc/Kconfig | 17 +
misc/Makefile |1
misc/asus-laptop.c | 530 +
4 files changed, 553 insertions(+), 2
, etc
...), because
the code is the same for all leds ...
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
Kconfig |1
asus-laptop.c | 146 ++
2 files changed, 147 insertions(+)
---
diff -Naur a/drivers/misc/asus-laptop.c b/drivers
is present
or not.
This patch show why we need a ASUS_SET_DEVICE_ATTR macro : if there is a
bluetooth device,
/sys/dev.../asus-laptop/bluetooth is usable, else it's not but it's clean.
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
asus-laptop.c | 117
Ledd is a special led ... /sys/.../asus-laptop/ledd works like
/proc/acpi/asus/ledd
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
asus-laptop.c | 38 ++
1 file changed, 38 insertions(+)
---
diff -Naur a/drivers/misc/asus-laptop.c b/drivers/misc/asus
/proc/acpi/asus/lslvl is now /sys/.../asus-laptop/ls_level
/proc/acpi/asus/lssw is now /sys/.../asus-laptop/ls_switch
nothing else ..
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
asus-laptop.c | 92 +++---
1 file changed, 88 insertions
the new display class.
thanks,
-Len
diff --git a/MAINTAINERS b/MAINTAINERS
index d708702..68f72c0 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -404,13 +404,13 @@ L: netdev@vger.kernel.org
S: Maintained
ASUS ACPI EXTRAS DRIVER
+P: Corentin Chary
+M: [EMAIL PROTECTED]
P
Le jeudi 21 décembre 2006 10:12, Enrico Zini a écrit :
Hello,
When I modprobe asus_acpi I get this message:
Asus Laptop ACPI Extras version 0.30
unsupported model U5F, trying default values
send /proc/acpi/dsdt to the developers
I googled around and I figured out that this could
:
On Tuesday 19 December 2006 16:18, Corentin CHARY wrote:
@@ -485,9 +485,9 @@
len += sprintf(page, ACPI_HOTK_NAME ASUS_ACPI_VERSION \n);
len += sprintf(page + len, Model reference: %s\n,
hotk-methods-name);
- /*
-* The SFUN method
Le mercredi 20 décembre 2006 08:42, Len Brown a écrit :
On Tuesday 19 December 2006 16:17, Corentin CHARY wrote:
Hi,
This set of patch is against 2.6.19. It add support for many
models, /sys/class/backlight/, Light Sens, etc ... There is also a lot of
cleanups. And the most important
Le mercredi 20 décembre 2006 23:49, vous avez écrit :
Karol and Julien are listed as the MAINTAINERS for asus_acpi.
Why do I not see their Signed-off-by or Acked-by lines on this patch
series?
Julien and Karol are not active any more.
--
CHARY 'Iksaif' Corentin
http://xf.iksaif.net
-
To
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
asus_acpi.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
--- a/drivers/acpi/asus_acpi.c 2006-12-15 16:19:24.0 +0100
+++ b/drivers/acpi/asus_acpi.c 2006-12-15 16:19:08.0 +0100
@@ -177,8 +177,8
Change the version, and the maintainers.
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
asus_acpi.c |7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
--- a/drivers/acpi/asus_acpi.c 2006-12-13 20:59:36.0 +0100
+++ b/drivers/acpi/asus_acpi.c 2006-12-15 10:23
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
asus_acpi.c | 29 +
1 file changed, 29 insertions(+)
--- a/drivers/acpi/asus_acpi.c 2006-12-15 16:20:12.0 +0100
+++ b/drivers/acpi/asus_acpi.c 2006-12-15 16:21:36.0 +0100
@@ -179,6 +179,8
Remove the deprecated asus_uid and asus_gid parameters.
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
asus_acpi.c | 29 +
1 file changed, 5 insertions(+), 24 deletions(-)
--- a/drivers/acpi/asus_acpi.c 2006-12-15 10:36:09.0 +0100
+++ b/drivers/acpi
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
asus_acpi.c | 45 +
1 file changed, 45 insertions(+)
--- a/drivers/acpi/asus_acpi.c 2006-12-15 16:17:12.0 +0100
+++ b/drivers/acpi/asus_acpi.c 2006-12-15 16:16:09.0 +0100
This patch change the methods name from mt_xxx to xxx_set as I think it's
easier to understand like that.
---
asus_acpi.c | 174
++--
1 file changed, 87 insertions(+), 87 deletions(-)
--- a/drivers/acpi/asus_acpi.c 2006-12-15
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
asus_acpi.c | 13 +
1 file changed, 13 insertions(+)
--- a/drivers/acpi/asus_acpi.c 2006-12-15 16:22:26.0 +0100
+++ b/drivers/acpi/asus_acpi.c 2006-12-15 16:23:38.0 +0100
@@ -182,6 +182,7 @@
W5F
Only remove some useless cast ...
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
asus_acpi.c |7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
--- a/drivers/acpi/asus_acpi.c 2006-12-15 13:05:46.0 +0100
+++ b/drivers/acpi/asus_acpi.c 2006-12-15 13:06:38.0
This Patch adds a clean way to handle methods with parameters (like for the
L3H). See Patch 6 for an example.
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
asus_acpi.c | 63
+---
1 file changed, 52 insertions(+), 11 deletions
Add /sys/class/backlight support.
I needed to add this ugly hack
asus_backlight_device-props-update_status = NULL;
berfore backlight_unregister, because if i don't the brightness
will be set to 0 on module unload ...
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
Kconfig |9
Now, if a model is unsupported, the module will not be loaded.
But, the user can force it to load, and use default values with :
modprobe asus_acpi unsupported=1
This will avoid bugs like
http://lists.kde.org/?l=kde-bugs-distm=114846987006116w=2.
Signed-off-by: Corentin Chary [EMAIL PROTECTED
Hi,
This set of patch is against 2.6.19. It add support for many
models, /sys/class/backlight/, Light Sens, etc ... There is also a lot of
cleanups. And the most important, a new system to handle unsupported models.
Patch from 0 to 10 are change and cleanups in the driver.
Patch from 11t to 21
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
asus_acpi.c | 14 ++
1 file changed, 14 insertions(+)
--- a/drivers/acpi/asus_acpi.c 2006-12-15 15:58:27.0 +0100
+++ b/drivers/acpi/asus_acpi.c 2006-12-15 15:59:43.0 +0100
@@ -147,6 +147,7 @@
A3F
Remove some trailing whitespace.
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
asus_acpi.c | 46 +++---
1 file changed, 23 insertions(+), 23 deletions(-)
--- a/drivers/acpi/asus_acpi.c 2006-12-15 10:35:29.0 +0100
+++ b/drivers/acpi
Add basic support for the light sensor found in some models, like M7A/M7V.
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
asus_acpi.c | 90
1 file changed, 90 insertions(+)
--- a/drivers/acpi/asus_acpi.c 2006-12-15 13:14
Just look the code ;)
- printk(KERN_WARNING asus_uid and asus_gid parameters
are - deprecated, use chown and chmod
instead!\n); - }
Le mardi 19 décembre 2006 22:45, vous avez écrit :
On Tue, 19 Dec 2006 22:18:55 +0100 Corentin CHARY wrote
Sorry, I forget .. It's just because 5 comes after 3, and the list is ordered.
Le mardi 19 décembre 2006 22:46, vous avez écrit :
On Tue, 19 Dec 2006 22:20:35 +0100 Corentin CHARY wrote:
Signed-off-by: Corentin Chary [EMAIL PROTECTED]
---
Please tell us _why_ you are making a change
Le mardi 19 décembre 2006 23:22, Randy Dunlap a écrit :
On Tue, 19 Dec 2006 23:18:10 +0100 Corentin CHARY wrote:
Just look the code ;)
- printk(KERN_WARNING asus_uid and asus_gid
parameters are - deprecated, use chown and
chmod instead!\n
Hi,
There is a new acpi4asus release, the first since january ...
Changelog :
New default values to avoid errors
Added support for A6J
Added support for A6R
Added support for A6B, A6K
Added support for A6V
Added support for F3J
Added support for A3N, A3L
Added support for A3E
Added support for A3F
Le samedi 9 décembre 2006 10:41, Marc Hansen a écrit :
Hi,
here I got a message in dmesg
Asus Laptop ACPI Extras version 0.30
unsupported model A6JC, trying default values
send /proc/acpi/dsdt to the developers
The file is attached.
Regards
Marc
Use the last version from
ACPI: AC Adapter [AC0] (on-line)
Asus Laptop ACPI Extras version 0.31b2
Error calling BSTS
Z96F model detected, supported
The Error is normal .. It will be fixed ...
Now files is /proc/acpi/asus/ should work (and maybe /sys/class/backlight/ if
you kernel support it).
--
CHARY 'Iksaif'
Corentin Chary
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -26,20 +27,37 @@
* Pontus Fuchs - Helper functions, cleanup
* Johann Wiesner - Small compile fixes
* John Belmonte - ACPI
Le samedi 2 décembre 2006 00:46, Stephen Clark a écrit :
Asus Laptop ACPI Extras version 0.30
Error calling BSTS
unsupported model Z96F, trying default values
send /proc/acpi/dsdt to the developers
Please send /proc/acpi/dsdt, not dmidecode output :)
cat /proc/acpi/dsdt /tmp/dsdt
--
With the current default values, unsuported laptops usualy get a lot of Asus
ACPI: Error reading LCD status in dmesg. And it's also a problem for apps
like kmilo : http://bugs.kde.org/show_bug.cgi?id=102374 .
So, I think default values should be changed..
For example :
---
A6J have LCD, CRT, TV-Out AND DVI ... So /proc/acpi/asus/disp work like this :
+---+-+-+-+-+-+
| Bin | Val | DVI | TV | CRT | LCD |
+---+-+-+-+-+-+
+ + 0 + + + + +
+---+-+-+-+-+-+
+ 0001
71 matches
Mail list logo