Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jul 2013 10:41:28 +0200
From:      Matthias Petermann <matthias@d2ux.net>
To:        freebsd-current@freebsd.org
Subject:   Re: Fixing X220 Video The Right Way (and trying to apply the same fix to X121e)
Message-ID:  <20130708104128.Horde.4uMDgEJsnvTlAjpUPueiyQ1@d2ux.org>
In-Reply-To: <201306141139.16728.jhb@freebsd.org>
References:  <512A6FFF.2060603@gmail.com> <201302281209.45170.jhb@freebsd.org> <51394952.9030700@gmail.com> <201306141139.16728.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Hello,

I applied the patch, trying to get brightness controls for my X121e.

But it looks like I need a different loader.conf setting.

     hw.pci0.0.2.0.handle="\\\\_SB_.PCI0.PEG.VID"

doesn't work. In my ASl there is only one device providing DOD / DOS:

Scope (_SB.PCI0)
      {
      Device (GFX0)
          {
              Name (_ADR, 0x00020000)  // _ADR: Address
              Method (_DOS, 1, NotSerialized)  // _DOS: Disable Output  
Switching
              {
                  Store (And (Arg0, 0x07), DSEN)
                  If (LEqual (And (Arg0, 0x03), Zero))
                  {
                      If (CondRefOf (HDOS))
                      {
                          HDOS ()
                      }
                  }
              }

              Method (_DOD, 0, NotSerialized)  // _DOD: Display Output Devices
              {
                  If (CondRefOf (IDAB))
                  {
                      IDAB ()
                  }
                  Else
                  {
           [truncated]

Unfortunately I'm far away from understanding the ASL, so I can only  
guess this is the part where my graphics device is described. Also,  
because I don't have a PEG device with DOD / DOS, I fear the described  
patch for the X220 will not solve the problem for me?

My ASL is located here:  
https://d2ux.org/owncloud/public.php?service=files&t=7022f90cea5e48da7fa65806c0d66091

I would really appreciate if someone with more ACPI background could  
take a look at it and
tell me what I should try next.

Thanks & kind regards,
Matthias




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130708104128.Horde.4uMDgEJsnvTlAjpUPueiyQ1>