[PATCH] xf86-video-nv: enable backlight toggling for GeForce2 Go

Giuseppe Bilotta giuseppe.bilotta at gmail.com
Wed Sep 26 15:20:13 PDT 2007


On 9/26/07, Aaron Plattner <aplattner at nvidia.com> wrote:
> On Wed, Sep 26, 2007 at 10:11:38AM +0200, Giuseppe Bilotta wrote:
> > On 9/26/07, Aaron Plattner <aplattner at nvidia.com> wrote:
> > > Unfortunately, this is one of those things that's likely to work fine on
> > > your laptop and break horribly on everbody else's.
> >
> > That bad? Wow.
> >
> > > It *might* be okay if
> > > you restrict it to the subsystem vendor and card ID for your laptop.
> >
> > I've tried looking around but I cannot find how to access this information,
> > the only information I can access is the vendor id/device (0x10de, 0x112).
>
> They're available in the pciVideoRec as subsysVendor and subsysCard.
> libpciaccess has something similar in struct pci_device.

Excellent. I'll add macros to access the data and rewrite the patch to only
trigger on systems like mine.

-- 
Giuseppe "Oblomov" Bilotta



More information about the xorg mailing list