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

    Niels de Vos
     

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

    Julia Lawall
     

07 Feb, 2008

1 commit

  • Add support for ASUS F3Sa notebook. Features:
    - LCD on/off
    - Brightness
    - Wifi kill
    - Bluetooth kill

    Signed-off-by: Luca Tettamanti
    Cc: Corentin Chary
    Cc: Karol Kozimor
    Signed-off-by: Andrew Morton
    Signed-off-by: Len Brown

    Luca Tettamanti
     

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=y

    Signed-off-by: Len Brown

    Len Brown
     

04 Aug, 2007

1 commit


24 Jul, 2007

1 commit


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

    Maxime Austruy
     

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

    Sam Ravnborg
     

20 Feb, 2007

2 commits


17 Feb, 2007

3 commits


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 hpet

    into this:

    lenb@se7525gp2:~> ls /sys/bus/acpi/drivers
    ac battery button container ec fan hpet pci_link pci_root power processor thermal

    Signed-off-by: Len Brown

    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

    Matthew C Campbell
     

03 Feb, 2007

1 commit


21 Dec, 2006

1 commit


20 Dec, 2006

2 commits

  • Len Brown
     
  • 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

    Yu Luming
     

16 Dec, 2006

1 commit


21 Oct, 2006

1 commit


14 Oct, 2006

4 commits


02 Jul, 2006

1 commit


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

    Karol Kozimor
     
  • 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

    Karol Kozimor
     
  • This patch adds support for Asus L5D and thus fixes
    http://bugme.osdl.org/show_bug.cgi?id=4695

    Signed-off-by: Karol Kozimor
    Signed-off-by: Len Brown

    Karol Kozimor
     
  • 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

    Karol Kozimor
     
  • This patch adds support for Asus A4G.
    Originally by Giuseppe Rota.

    Signed-off-by: Karol Kozimor
    Signed-off-by: Len Brown

    Karol Kozimor
     
  • This patch adds support for Asus W3400N.

    Signed-off-by: Karol Kozimor
    Signed-off-by: Len Brown

    Karol Kozimor
     
  • 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

    Karol Kozimor
     
  • This patch adds support for Asus A3G.

    Signed-off-by: Karol Kozimor
    Signed-off-by: Len Brown

    Karol Kozimor
     
  • 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

    Karol Kozimor
     

30 Jun, 2006

1 commit


27 Jun, 2006

1 commit


16 Jun, 2006

3 commits