Re: enabling kms for i915 disables brightness control and xrandr

From: Soeren Sonnenburg
Date: Sun Mar 29 2009 - 09:23:03 EST


On Sun, 2009-03-29 at 14:07 +0100, Sitsofe Wheeler wrote:
> (CC'ing dri-devel, Eric Anholt and Jesse Barnes)
>
> On Sun, Mar 29, 2009 at 12:34:01PM +0200, Soeren Sonnenburg wrote:
> > Dear all,
> >
> > I am not sure if this is just a user error/ too old userspace problem,
>
> [User stated that 2.6.3 intel driver is being used in another email]

Just to not cause any (further?) confusion, I was using 2.6.1 when I
wrote that email and after compiling/upgrading to 2.6.3 a number of
problems vanished (like Xv works, screen resolution is correct, things
are *a lot* faster with UXA). However, brightness still only works via
setpci and xrandr only shows the 1024x600 modeline.

> > but I recognized that when I enable kernel based modesetting on a intel
> > 945 based samsung nc 10 netbook, I loose brightness control from within
> > X and X resolutions are wrong (instead of 1024x600 it is 1024x1024) and
> > xrandr does no longer have the all the modelines ranging from 1024x600
> > to 640x350... Trying to change resolutions / setting the brightness via
> > xrandr results in error messages being printed.
> >
> > Furthermore, this same flag disables Xv support..
> >
> > However, screen switches between terminal and X are quite fast now
> > (without any flicker) and suspend and everything works stably.
> >
> > I recognized that I can set the brightness via
> >
> > setpci -s 00:02.1 F4.B=XX
> >
> > (XX ranging from 00 to FF) just fine...

Soeren.
--
For the one fact about the future of which we can be certain is that it
will be utterly fantastic. -- Arthur C. Clarke, 1962
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/