02 Aug, 2008
1 commit
-
Some module parameters with only one line have the '\n' at the end of the
description. This is not needed nor wanted as after the description the
type (i.e. int) is followed by a newline.Some modules contain a multi-line description, these are not affected
by this patch.Signed-off-by: Niels de Vos
Acked-by: Randy Dunlap
Cc: John W. Linville
Cc: Ed L. Cashin
Cc: Dave Airlie
Cc: Roland Dreier
Acked-by: Mauro Carvalho Chehab
Cc: Jeff Garzik
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
18 Mar, 2008
1 commit
-
led_out is boolean, so there is no functional change here,
but apparently an extra mask with 1 caused some style checkers
to flag this as logic bug.Signed-off-by: Julia Lawall
Acked-by: Luca Tettamanti
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown
07 Feb, 2008
1 commit
-
Add support for ASUS F3Sa notebook. Features:
- LCD on/off
- Brightness
- Wifi kill
- Bluetooth killSigned-off-by: Luca Tettamanti
Cc: Corentin Chary
Cc: Karol Kozimor
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown
24 Aug, 2007
1 commit
-
Schedule /proc/acpi/event for removal in 6 months.
Re-name acpi_bus_generate_event() to acpi_bus_generate_proc_event()
to make sure there is no confusion that it is for /proc/acpi/event only.Add CONFIG_ACPI_PROC_EVENT to allow removal of /proc/acpi/event.
There is no functional change if CONFIG_ACPI_PROC_EVENT=ySigned-off-by: Len Brown
04 Aug, 2007
1 commit
-
Signed-off-by: Jesper Juhl
Signed-off-by: Len Brown
24 Jul, 2007
1 commit
-
modpost is going to use these to create e.g. acpi:ACPI0001
in modules.alias.Signed-off-by: Thomas Renninger
Signed-off-by: Len Brown
02 Jul, 2007
1 commit
-
If asus_acpi_init doesn't find any device it knows about, it mistakenly
returns a "success" error code even though it cleans up after itself. Later
when trying to rmmod asus_acpi, the module_exit routine would try to clean up
one more time and we would end up calling
acpi_bus_unregister_driver(&asus_hotk_driver) twice. This patch addresses
this first problem by returning -ENODEV when no appropriate device is found.Then there was also another bug with the code handling the return value of
backlight_device_register. If this function ever failed, the driver would
cleanup by calling the module_exit routine from module_init, but it would
still return "success". So any attempt to rmmod this module would result in
asus_acpi_exit being called twice but it's not ready to handle it (I haven't
hit this bug, just found it by code inspection). This patch fixes that by
inserting a return -ENODEV; at the end of this error handling path.Signed-off-by: Maxime Austruy
Cc: Len Brown
Cc: Richard Purdie
Cc: Jan Engelhardt
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
01 Jun, 2007
1 commit
-
Fix following section mismatch warnings in acpi
WARNING: drivers/acpi/asus_acpi.o(.init.text+0xb7): Section mismatch: reference to .exit.text: (after 'init_module')
WARNING: o-i386/drivers/acpi/toshiba_acpi.o(.init.text+0x13a): Section mismatch: reference to .exit.text: (after 'init_module')The exit function is used in the init function during an error codition.
As __exit may be discarded during link-time / run-time this is no good.
Do not mark the exit function __exit.Note: This warning is only seen by my local copy of modpost
but the change will soon hit upstream.Signed-off-by: Sam Ravnborg
Cc: Len Brown
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
20 Feb, 2007
2 commits
-
Per device data such as brightness belongs to the indivdual device
and should therefore be separate from the the backlight operation
function pointers. This patch splits the two types of data and
allows simplifcation of some code.Signed-off-by: Richard Purdie
-
Remove uneeded owner field from backlight_properties structure.
Nothing uses it and it is unlikely that it will ever be used. The
backlight class uses other means to ensure that nothing references
unloaded code.Based on a patch from Dmitry Torokhov
Signed-off-by: Richard Purdie
17 Feb, 2007
3 commits
-
Conflicts:
arch/x86_64/pci/mmconfig.c
drivers/acpi/bay.cSigned-off-by: Len Brown
-
Signed-off-by: Len Brown
13 Feb, 2007
1 commit
-
It was erroneously used as a description rather than a name.
ie. turn this:
lenb@se7525gp2:/sys> ls bus/acpi/drivers
ACPI AC Adapter Driver ACPI Embedded Controller Driver ACPI Power Resource Driver
ACPI Battery Driver ACPI Fan Driver ACPI Processor Driver
ACPI Button Driver ACPI PCI Interrupt Link Driver ACPI Thermal Zone Driver
ACPI container driver ACPI PCI Root Bridge Driver hpetinto this:
lenb@se7525gp2:~> ls /sys/bus/acpi/drivers
ac battery button container ec fan hpet pci_link pci_root power processor thermalSigned-off-by: Len Brown
09 Feb, 2007
1 commit
-
Adds support in asus_acpi for the Asus Z81SP laptop. This preserves all
old functionality when improperly detected as well as enabling Bluetooth
support.Signed-off-by: Matthew C Campbell
Acked-by: Corentin Chary
Cc: Karol Kozimor
Cc:
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown
03 Feb, 2007
1 commit
-
Signed-off-by: Len Brown
21 Dec, 2006
1 commit
-
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown
20 Dec, 2006
2 commits
-
This patch set adds generic abstract layer support for acpi video driver to
have generic user interface to control backlight and output switch control by
leveraging the existing backlight sysfs class driver, and by adding a new
video output sysfs class driver.This patch:
Add dev argument for backlight_device_register to link the class device to
real device object. The platform specific driver should find a way to get the
real device object for their video device.[akpm@osdl.org: build fix]
[akpm@osdl.org: fix msi-laptop.c]
Signed-off-by: Luming Yu
Cc: "Antonino A. Daplas"
Cc: Greg KH
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown
16 Dec, 2006
1 commit
-
Conflicts:
drivers/acpi/button.c
drivers/acpi/ec.c
drivers/acpi/osl.c
drivers/acpi/sbs.c
21 Oct, 2006
1 commit
-
Add support for the generic backlight interface below /sys/class/backlight.
Keep the procfs brightness handling for backward compatibility.[apw@shadowen.org: backlight users need to select BACKLIGHT_CLASS_DEVICE]
Signed-off-by: Holger Macht
Signed-off-by: Andy Whitcroft
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown
14 Oct, 2006
4 commits
-
This reporting is useless (we errno anyway).
Signed-off-by: Alexey Dobriyan
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown -
ICC complains about a "Pointless comparsion of unsigned interger with zero"
@ line 760 & 808 of asus_acpi.cparse_arg() mentioned below returns -E but it's copied into unsigned variable...
Signed-off-by: Darren Jenkins
Signed-off-by: Alexey Dobriyan
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown -
Signed-off-by: Jan Engelhardt
Signed-off-by: Len Brown -
Add support for W3000 (W3V) and indirectly fixes an issue with kmilo under KDE
(it was triggering excessive LCD read error messages by querying asus_acpi
module) allowing people (I am probably the only one who tested this) with
W3000 to run kmilo.Cc: Karol Kozimor
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown
02 Jul, 2006
1 commit
-
This patch switches back the display nodes for M6R and M6N -- this happened
a while ago when a patch was misapplied (only the in-tree version was
affected).Signed-off-by: Karol Kozimor
Signed-off-by: Len Brown
01 Jul, 2006
9 commits
-
This small patch adds back WLED control for S1N models, this was
accidentally removed a while ago.Signed-off-by: Karol Kozimor
Signed-off-by: Len Brown -
This patch reworks laptop model detection.
This addresses the Samsung P30 issue, where the INIT method would return no
object, but the implicit return in the AML interpreter would confuse the
driver. It also accounts for a newer batch of Asus models whose INIT
returns ACPI_TYPE_BUFFER instead of STRING.The handling is now much leaner, if we get a buffer or a string, we check
against known values, in every other case we use a different path
(currently DSDT signatures). The bulk of this patch is separating the
string matching from asus_hotk_get_info() into a separate function.This patch properly fixes http://bugme.osdl.org/show_bug.cgi?id=5067 and
http://bugme.osdl.org/show_bug.cgi?id=5092 and makes the driver fully
functional again with acpi=strict on all machines.Signed-off-by: Karol Kozimor
Signed-off-by: Len Brown -
This patch adds support for Asus L5D and thus fixes
http://bugme.osdl.org/show_bug.cgi?id=4695Signed-off-by: Karol Kozimor
Signed-off-by: Len Brown -
This patch creates a new file named "bluetooth" under /proc/acpi/asus/.
This file controls both the internal Bluetooth adapter's presence on the
USB bus and the associated LED.echo 1 > /proc/acpi/asus/bluetooth to enable, 0 to disable.
Additionally, the patch add support for Asus W5A, the first model that uses
this feature.Patch originally by Fernando A. P. Gomes.
Signed-off-by: Karol Kozimor
Signed-off-by: Len Brown -
This patch adds support for Asus A4G.
Originally by Giuseppe Rota.Signed-off-by: Karol Kozimor
Signed-off-by: Len Brown -
This patch adds support for Asus W3400N.
Signed-off-by: Karol Kozimor
Signed-off-by: Len Brown -
This patch adds handling for front LED displays found on W1N and the like.
Additionally, W1N is given its own model_data instance.Patch originally by Éric Burghard.
Signed-off-by: Karol Kozimor
Signed-off-by: Len Brown -
This patch adds support for Asus A3G.
Signed-off-by: Karol Kozimor
Signed-off-by: Len Brown -
This patch updates the version string, copyright notices and does
whitespace cleanup (it looks weird, blame Lindent).Signed-off-by: Karol Kozimor
Signed-off-by: Len Brown
30 Jun, 2006
1 commit
-
Signed-off-by: Len Brown
27 Jun, 2006
1 commit
-
Cc: Bjorn Helgaas
Acked-by: Francois Romieu
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown
16 Jun, 2006
3 commits
-
Conflicts:
drivers/acpi/asus_acpi.c
drivers/acpi/scan.c