1. 10 10月, 2007 1 次提交
  2. 26 9月, 2007 2 次提交
  3. 24 9月, 2007 7 次提交
  4. 17 9月, 2007 2 次提交
    • H
      ACPI: thinkpad-acpi: bump up version to 0.16 · 3b0c6485
      Henrique de Moraes Holschuh 提交于
      Name it thinkpad-acpi version 0.16 to avoid any confusion with some 0.15
      thinkpad-acpi development snapshots and backports that had input layer
      support, but no hotkey_report_mode support.
      Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      3b0c6485
    • H
      ACPI: thinkpad-acpi: revert new 2.6.23 CONFIG_THINKPAD_ACPI_INPUT_ENABLED option · ff80f137
      Henrique de Moraes Holschuh 提交于
      Revert new 2.6.23 CONFIG_THINKPAD_ACPI_INPUT_ENABLED Kconfig option because
      it would create a legacy we don't want to support.
      
      CONFIG_THINKPAD_ACPI_INPUT_ENABLED was added to try to fix an issue that is
      now moot with the addition of the netlink ACPI event report interface to
      the ACPI core.
      
      Now that ACPI core can send events over netlink, we can use a different
      strategy to keep backwards compatibility with older userspace, without the
      need for the CONFIG_THINKPAD_ACPI_INPUT_ENABLED games.  And it arrived
      before CONFIG_THINKPAD_ACPI_INPUT_ENABLED made it to a stable mainline
      kernel, even, which is Good.
      
      This patch is in sync with some changes to thinkpad-acpi backports, that
      will keep things sane for userspace across different combinations of kernel
      versions, thinkpad-acpi backports (or the lack thereof), and userspace
      capabilities:
      
      Unless a module parameter is used, thinkpad-acpi will now behave in such a
      way that it will work well (by default) with userspace that still uses only
      the old ACPI procfs event interface and doesn't care for thinkpad-acpi
      input devices.
      
      It will also always work well with userspace that has been updated to use
      both the thinkpad-acpi input devices, and ACPI core netlink event
      interface, regardless of any module parameter.
      
      The module parameter was added to allow thinkpad-acpi to work with
      userspace that has been partially updated to use thinkpad-acpi input
      devices, but not the new ACPI core netlink event interface.  To use this
      mode of hot key reporting, one has to specify the hotkey_report_mode=2
      module parameter.
      
      The thinkpad-acpi driver exports the value of hotkey_report_mode through
      sysfs, as well.  thinkpad-acpi backports to older kernels, that do not
      support the new ACPI core netlink interface, have code to allow userspace
      to switch hotkey_report_mode at runtime through sysfs.  This capability
      will not be provided in mainline thinkpad-acpi as it is not needed there.
      Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      Cc: Michael S. Tsirkin <mst@dev.mellanox.co.il>
      Cc: Hugh Dickins <hugh@veritas.com>
      Cc: Richard Hughes <hughsient@gmail.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      ff80f137
  5. 29 8月, 2007 1 次提交
  6. 24 8月, 2007 5 次提交
    • G
      asus-laptop: Fix rmmod of asus_laptop · e1996a69
      Guillaume Chazarain 提交于
      The asus laptop driver conditionnaly registers leds in asus_led_register()
      depending on their availability, but unconditionnaly unregisters them all at
      exit time or when the module fails to load. Unregistering not registered leds
      result in the following Oops. So we should check before unregistering.
      
       [<c032d2f9>] do_page_fault+0x511/0x5e9
       [<c032bae2>] error_code+0x6a/0x70
       [<c026abf8>] device_unregister+0x26/0x32
       [<f8864218>] led_classdev_unregister+0x58/0x94 [led_class]
       [<f88a90f8>] asus_led_exit+0x17/0x41 [asus_laptop]
       [<f88a91c9>] asus_laptop_exit+0xd/0x3f [asus_laptop]
       [<c013cee1>] sys_delete_module+0x17b/0x1a2
       [<c0106eae>] sysenter_past_esp+0x6b/0xa1
      
      EIP: [<c026a9a3>] device_del+0xb/0x23a SS:ESP 0068:f594ef0c
      Signed-off-by: NGuillaume Chazarain <guichaz@yahoo.fr>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      e1996a69
    • M
      sony-laptop: call sonypi_compat_init earlier · 015a916f
      Mattia Dongili 提交于
      sonypi_compat uses a kfifo that needs to be present before _SRS is
      called to be able to cope with the IRQs triggered when setting
      resources.
      Signed-off-by: NMattia Dongili <malattia@linux.it>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      015a916f
    • M
      sony-laptop: enable Vaio FZ events · f46d1604
      Mattia Dongili 提交于
      Signed-off-by: NMattia Dongili <malattia@linux.it>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      f46d1604
    • L
      ACPI: Schedule /proc/acpi/event for removal · 14e04fb3
      Len Brown 提交于
      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: NLen Brown <len.brown@intel.com>
      14e04fb3
    • Z
      ACPI: don't duplicate input events on netlink · 962ce8ca
      Zhang Rui 提交于
      The previous events patch added a netlink event for every
      user of the legacy /proc/acpi/event interface.
      
      However, some users of /proc/acpi/event are really input events,
      and they already report their events via the input layer.
      
      Introduce a new interface, acpi_bus_generate_netlink_event(),
      which is explicitly called by devices that want to repoprt
      events via netlink.  This allows the input-like events
      to opt-out of generating netlink events.  In summary:
      
      events that are sent via netlink:
      	ac/battery/sbs
      	thermal
      	processor
      	thinkpad_acpi dock/bay
      
      events that are sent via input layer:
      	button
      	video hotkey
      	thinkpad_acpi hotkey
      	asus_acpi/asus-laptop hotkey
      	sonypi/sonylaptop
      Signed-off-by: NZhang Rui <rui.zhang@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      962ce8ca
  7. 19 8月, 2007 1 次提交
  8. 08 8月, 2007 1 次提交
  9. 04 8月, 2007 3 次提交
  10. 25 7月, 2007 1 次提交
  11. 24 7月, 2007 2 次提交
  12. 22 7月, 2007 14 次提交