1. 07 2月, 2008 2 次提交
  2. 14 12月, 2007 1 次提交
  3. 19 11月, 2007 1 次提交
  4. 15 11月, 2007 5 次提交
  5. 13 10月, 2007 1 次提交
  6. 19 9月, 2007 2 次提交
    • M
      ACPI: video: remove dmesg spam · 7f10cc4e
      Maik Broemme 提交于
      i am actually heavily using the ACPI video extension for my Thinkpad X61
      Tablet. I have bound the input events triggered by the brightness
      up/down keys to a simple
      
      echo <value> > /sys/class/backlight/acpi_video1/brightness
      
      but everytime the event is triggered and acpi_video_device_lcd_set_level()
      is called i got a notificication in my kernel log like:
      
      set_level status: 0
      set_level status: 0
      set_level status: 0
      set_level status: 0
      ...
      Signed-off-by: NMaik Broemme <mbroemme@plusserver.de>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      7f10cc4e
    • Z
      ACPI: video: _DOS=0 by default to prevent hotkey hang · a21101c4
      Zhang Rui 提交于
      In the past, the Linux/ACPI video driver invoked _DOS
      (Display Output Switch) with the parameter 1
      to tell the BIOS to switch the video output display for us.
      
      But this conflicts with Linux native graphics drivers,
      and can cause all sorts of issues, including hanging the system.
      
      http://bugzilla.kernel.org/show_bug.cgi?id=6001
      
      Here we change the Linux default to evaluate _DOS=0,
      which tells the BIOS to simply send us a hotkey event
      and not touch the graphics hardware.
      
      The acpi video driver sends the display switch hotkey
      event up through the intput layer, and X can interpret
      that and use its native graphics driver to switch the display.
      
      For the case where Linux has no native graphics driver running,
      or the graphics driver doesn't know how to switch video and
      the BIOS (safely) does, the previous behaviour can be restored with:
      
      # echo 1 > /proc/acpi/video/*/DOS
      Signed-off-by: NZhang Rui <rui.zhang@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      a21101c4
  7. 06 9月, 2007 2 次提交
  8. 25 8月, 2007 2 次提交
  9. 24 8月, 2007 2 次提交
  10. 24 7月, 2007 1 次提交
  11. 16 7月, 2007 1 次提交
  12. 03 7月, 2007 1 次提交
  13. 10 5月, 2007 1 次提交
    • L
      ACPI: video: output switch sysfs support · 23b0f015
      Luming Yu 提交于
      Requires CONFIG_VIDEO_OUTPUT_CONTROL and CONFIG_ACPI_VIDEO.
      
      After loading output.ko and video.ko, you would have
      /sys/class/video_output and several device acpi_videoNum there.
      
      For example, I got acpi_video0, acpi_video1,acpi_video2,and acpi_video3
      under /sys/class/video_output on my T40.
      I can query the status of  output device0 by running " cat
      /sys/class/video_output/acpi_video0
      " The return value is defined in ACPI SPEC B.5.5 _DCS(Return the
      Status of Output Device).  Also you can turn off video1 and turn on
      video0  by " echo 0 > acpi_video1; echo 0x80000000 > acpi_video0".
      Please reference ACPI SPEC  B.5.7 _DSS for the parameter definition.
      
      Please note that it may or may NOT works purely depending on if
      your vendor providing correct ACPI video extension support in bios.
      the driver output.ko and video.ko just works like a interface to
      invoke BIOS.
      Signed-off-by: NLuming Yu <Luming.yu@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      23b0f015
  14. 10 3月, 2007 1 次提交
  15. 20 2月, 2007 2 次提交
  16. 13 2月, 2007 3 次提交
    • L
      ACPI: delete extra #defines in /drivers/acpi/ drivers · 7cda93e0
      Len Brown 提交于
      Cosmetic only.
      
      Except in a single case, #define ACPI_*_DRIVER_NAME
      were invoked 0 or 1 times.
      Signed-off-by: NLen Brown <len.brown@intel.com>
      7cda93e0
    • L
      ACPI: fix acpi_driver.name usage · c2b6705b
      Len Brown 提交于
      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: NLen Brown <len.brown@intel.com>
      c2b6705b
    • L
      ACPI: clean up ACPI_MODULE_NAME() use · f52fd66d
      Len Brown 提交于
      cosmetic only
      
      Make "module name" actually match the file name.
      Invoke with ';' as leaving it off confuses Lindent and gcc doesn't care.
      Fix indentation where Lindent did get confused.
      Signed-off-by: NLen Brown <len.brown@intel.com>
      f52fd66d
  17. 23 1月, 2007 1 次提交
  18. 04 1月, 2007 1 次提交
  19. 21 12月, 2006 2 次提交
  20. 20 12月, 2006 1 次提交
    • T
      ACPI: Implement acpi_video_get_next_level() · f4715189
      Thomas Tuttle 提交于
      acpi_video_get_next_level was supposed to implement an algorithm to select
      a new brightness level based on the old brightness level of an ACPI video
      device, but it simply says "/* Fix me */" and returns the current
      brightness.
      
      This patch implements acpi_video_get_next_level properly.  It had to change
      a few constants at the top of the file because they were (apparently)
      wrong, but it appears to work on my Dell Inspiron e1405 (with BIOS A05
      only--BIOS A04 doesn't seem to send ACPI video hotkey events).
      
      [akpm@osdl.org: cleanups]
      Signed-off-by: NThomas Tuttle <linux-kernel@ttuttle.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      f4715189
  21. 16 12月, 2006 1 次提交
  22. 14 10月, 2006 1 次提交
  23. 30 6月, 2006 4 次提交
  24. 27 6月, 2006 1 次提交