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

Aaron Plattner aplattner at nvidia.com
Wed Sep 26 09:52:10 PDT 2007


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.

-- Aaron



More information about the xorg mailing list