Re: Fixing X220 Video The Right Way (and trying to apply the sam
On Monday, July 08, 2013 4:41:28 am Matthias Petermann wrote:
>
> 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
> {
So this is the \_SB_.PCI0.GFX0 device. However, you should kldload acpi_video
and see if it already attaches to this device (devinfo -v can be helpful here
as it will show the ACPI handle of the parent of the acpi_video device). If
it does, then this patch can't help you.
--
John Baldwin
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 3 之 4 篇):