[NC10] Kernel 2.6.31
RE: [NC10] Kernel 2.6.31
Only now I've noticed your post update.
Well, I'm glad everything is working for you.
Well, I'm glad everything is working for you.
RE: [NC10] Kernel 2.6.31
Main post updated.
RE: [NC10] Kernel 2.6.31
New kernel 2.6.31-6 available (based on 2.6.31-rc6).
RE: [NC10] Kernel 2.6.30* and all the related stuff
If that's still a problem... for the backlight you can use setpci to directly write the values because xbacklight also broke for me since I started using KMS. So this is rather a dirty workaround...voRia wrote:Kernel 2.6.30-10 enables KMS by default, breaking screen backlight support.slasher-fun wrote: Hi,
Screen Backlight support seems not working with 2.6.30-10. Works fine with -9.
You can disable KMS by creating a new .conf file in /etc/modprobe.d/ containing this line:or you can use the kernel 2.6.30-10 from my repository, in which I've disabled KMS by default.Code: Select all
options i915 modeset=0
Code: Select all
# setpci -s 00:02.1 F4.B=xx
But I'm using Arch Linux, so don't know what the current situtation on Ubuntu is
I also wrote a script to handle this. If anybody wants to have it, I can post it...
Btw, voRia should still know me as I wrote you an E-Mail some long time ago...
Last edited by crocomo on 18 Aug 2009, 02:17, edited 1 time in total.
RE: [NC10] Kernel 2.6.30* and all the related stuff
Here you can find a kernel module which enables the backlight control when KMS is in use (more info in this bug report).crocomo wrote: If that's still a problem... for the backlight you can use setpci to directly write the values because xbacklight also broke for me since I started using KMS. So this is rather a dirty workaround...
Where xx ranges from 00 to ff. (00 being minimum, ff the maximum).Code: Select all
# setpci -s 00:02.1 F4.B=xx
It enables gnome-power-manager to control the brightness, but xbacklight is broken yet. This led to other problems in my case: for example my script for toggling the screen backlight with Fn-F5 does not work anymore, because it uses xbacklight to do its work.
So, for now I prefer to disable KMS, avoiding all these little problems.
For getting a 1024x600 framebuffer, I continue to use the method described in this howto, by using the 'i915resolution' utility and the 'uvesafb' kernel module.
I remember youcrocomo wrote: Btw, voRia should still know me as I wrote you an E-Mail some long time ago...
If I'm not wrong your idea was to create a repository/wiki for using ArchLinux on the NC10, right?
If you did it, please give us some links!
Last edited by voria on 18 Aug 2009, 10:20, edited 1 time in total.
RE: [NC10] Kernel 2.6.30* and all the related stuff
Ok, didn't know about this bug report. Should have searched morevoRia wrote: Here you can find a kernel module which enables the backlight control when KMS is in use (more info in this bug report)....
But the solution via setpci on KMS works like a charm for me. So I'll stick with that for now...
Yep! That's mevoRia wrote: I remember you
If I'm not wrong your idea was to create a repository/wiki for using ArchLinux on the NC10, right?
If you did it, please give us some links!
But since everything is working just fine out of the box (as far as the hardware goes) there is no need for having extra packages in AUR... and there already was an wiki entry, which can be found here. Only describes some general stuff, nothing special.
RE: [NC10] Kernel 2.6.30* and all the related stuff
Ok, didn't know about this bug report. Should have searched more'voRia' pid='1761' dateline='1250586200' wrote: Here you can find a kernel module which enables the backlight control when KMS is in use (more info in this bug report)....
But the solution via setpci on KMS works like a charm for me. So I'll stick with that for now...
Yep! That's me'voRia' pid='1761' dateline='1250586200' wrote: I remember you
If I'm not wrong your idea was to create a repository/wiki for using ArchLinux on the NC10, right?
If you did it, please give us some links!
But since everything is working just fine out of the box (as far as the hardware goes) there is no need for having extra packages in AUR... and there also was an wiki entry, which can be found here. Only describes some general stuff...
RE: [NC10] Kernel 2.6.30* and all the related stuff
Can you post your script? Maybe I can merge it with my current scripts in order to have different ways to control backlight?crocomo wrote: But the solution via setpci on KMS works like a charm for me. So I'll stick with that for now...
Good to know that everything works out of the box with Arch.crocomo wrote: Yep! That's me
But since everything is working just fine out of the box (as far as the hardware goes) there is no need for having extra packages in AUR... and there also was an wiki entry, which can be found here. Only describes some general stuff...
RE: [NC10] Kernel 2.6.31
Sure. No problem.voRia wrote: Can you post your script? Maybe I can merge it with my current scripts in order to have different ways to control backlight?
Code: Select all
#!/bin/sh
# adjust backlight via setpci and dpms via vbetool
# Check if root called this script
USER=`whoami`
if [ $USER != "root" ]; then
echo "Need to be root to run this script."
exit 1
fi
# Get old value
OLD=$[16#`setpci -s 00:02.1 F4.B`]
case "$1" in
inc)
# Check if value given
if [ -z "$2" ]; then
echo "Usage: $0 $1 <value>"
exit 1
fi
# Take second argument as value to increment
NEW=$[$OLD+$2]
# Set new value
$0 set $NEW
;;
dec)
# Check if value given
if [ -z "$2" ]; then
echo "Usage: $0 $1 <value>"
exit 1
fi
# Take second argument as value to decrement
NEW=$[$OLD-$2]
# Set new value
$0 set $NEW
;;
set)
# Check if value given
if [ -z "$2" ]; then
echo "Usage: $0 $1 <value>"
exit 1
fi
# Take second argument as value to set
NEW=$2
# Check if value less than 0
if [ "$NEW" -lt "0" ]; then
NEW=0
fi
# Check if value greater than 255
if [ "$NEW" -gt "255" ]; then
NEW=255
fi
# Set new value
setpci -s 00:02.1 F4.B=`echo "obase=16; ibase=10; $NEW" | bc`
;;
toggle)
# Path to logfile
LOG=/tmp/backlight.log
# Check if logfile does not exist
if [ ! -f $LOG ]; then
vbetool dpms off
touch $LOG
else
vbetool dpms on
rm -rf $LOG
fi
;;
*)
echo "Usage: $0 (inc <value>|dec <value>|set <value>|toggle)"
exit 1
;;
esac
exit 0
RE: [NC10] Kernel 2.6.31
Kernel updated to version 2.6.31-7 (based on vanilla 2.6.31-rc7).
RE: [NC10] Kernel 2.6.31
It seems there are problems when shutting down the pc with the latest kernel (2.6.31-7).
I suggest to stick with the 2.6.31-6 while waiting for a fix.
I suggest to stick with the 2.6.31-6 while waiting for a fix.
RE: [NC10] Kernel 2.6.31
I've removed the broken kernel 2.6.31-7, and updated the 2.6.31-6 to the latest available for karmic.
RE: [NC10] Kernel 2.6.31
Kernel updated to version 2.6.31-8.
RE: [NC10] Kernel 2.6.31
Kernel updated to version 2.6.31-9 (based on vanilla 2.6.31-rc8).
RE: [NC10] Kernel 2.6.31
Kernel updated to version 2.6.31-10 (based on vanilla 2.6.31-rc9).