1. 24 9月, 2007 2 次提交
  2. 23 9月, 2007 9 次提交
  3. 22 9月, 2007 1 次提交
  4. 21 9月, 2007 16 次提交
  5. 20 9月, 2007 10 次提交
  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