Re: Nouveau and Nvidia backlight brightness

2010-11-13 Thread Matt Simmons
When using the nouveau driver, there is a folder in
/sys/class/backlight/nv_backlight/ which contains the max_brightness (1025)
and
brightness as expected. After digging around a bit, in the kernel source I
found these lines of code:

/* We do not have any information about which values are allowed, thus we
used safe values
 */
#define MIN_LEVEL 0x158 (344 decimal)
#define MAX_LEVEL 0x534 (1332 in decimal)

In the file linux/drivers/video/nvidia/nv_backlight.c (picked up from
apt-get source linux-2.6)

Based on the filename and how close those numbers are to 1025, I would guess
that this is the code determining my max brightness. More like hoping, than
guessing really.

Can anyone provide any insight about this, perhaps? Might hacking this file
with a kernel recompile change the max_brightness?

Thanks,
Matt

On Fri, Nov 12, 2010 at 1:16 PM, Camaleón  wrote:

> On Fri, 12 Nov 2010 08:51:39 -0500, Matt Simmons wrote:
>
> > I am running Squeeze on my laptop: a macbook pro 7,1.Most is going well,
> > except the backlight screen brightness. Using the nouveau driver (this
> > laptop has a 320M), it sets my max_brightness to 1025 according to
> > /sys/. Unfortunately, a brightness of 1025 is extremely dim, and
> > supposedly the brightness should be more like 40,000 on this guy.
> > Anyway, installing the NVidia proprietary driver yields strange results
> > (download from NVidia, not debian repos), there is nothing in the folder
> > /sys/class/backlight at all! Kernel 2.6.32-5 amd64.
>
> Maybe related to this (message #25)?
>
> pommed: brightness control no longer working on macbook pro
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591264
>
> Greetings,
>
> --
> Camaleón
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/pan.2010.11.12.18.16...@gmail.com
>
>


Newbie alert: Single package from unstable

2010-11-12 Thread Matt Simmons
Hi, how can I install a package from unstable? (currently running testing)
For example, I know it should be something like:
# apt-get install uswsusp/unstable

However, my output is:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Release 'unstable' for 'uswsusp' was not found

But I konw that uswsusp has a package in unstable. Do I need to set
something up in sources.list? If so, this is my current sources.list:
deb http://ftp.gtlib.gatech.edu/debian/ testing main non-free contrib
deb-src http://ftp.gtlib.gatech.edu/debian/ testing main non-free contrib

deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free

Do I add another line that just contains the same thing, but with sid or
unstable? Like:
deb http://ftp.gtlib.gatech.edu/debian/ unstable main non-free contrib
deb-src http://ftp.gtlib.gatech.edu/debian/ unstable main non-free contrib

 If so, how does apt differentiate between testing and unstable when I want
to install a package? Do I always need to explicitly state /testing
or /stable?

Thank you for your time.


Nouveau and Nvidia backlight brightness

2010-11-12 Thread Matt Simmons
Hello,
I am running Squeeze on my laptop: a macbook pro 7,1.Most is going well,
except the backlight screen brightness. Using the nouveau driver (this
laptop has a 320M), it sets my max_brightness to 1025 according to /sys/.
Unfortunately, a brightness of 1025 is extremely dim, and supposedly the
brightness should be more like 40,000 on this guy. Anyway, installing the
NVidia proprietary driver yields strange results (download from NVidia, not
debian repos), there is nothing in the folder /sys/class/backlight at all!
Kernel 2.6.32-5 amd64.

Thanks,
Matt