Last visit was: It is currently 23/07/2014, 4:44


All times are UTC [ DST ]




Post new topic Reply to topic  [ 108 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Author Message
 Post subject: RE: [NC10] Kernel 2.6.31
PostPosted: 03/08/2009, 13:22 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
Only now I've noticed your post update.
Well, I'm glad everything is working for you. ;)

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Top
 Profile  
 
 Post subject: RE: [NC10] Kernel 2.6.31
PostPosted: 11/08/2009, 20:45 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
Main post updated.

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Top
 Profile  
 
 Post subject: RE: [NC10] Kernel 2.6.31
PostPosted: 15/08/2009, 9:23 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
New kernel 2.6.31-6 available (based on 2.6.31-rc6).

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Top
 Profile  
 
 Post subject: RE: [NC10] Kernel 2.6.30* and all the related stuff
PostPosted: 18/08/2009, 2:12 
Newbie
Newbie

Joined: 18/08/2009, 2:02
Posts: 7
voRia wrote:
slasher-fun wrote:
Hi,

Screen Backlight support seems not working with 2.6.30-10. Works fine with -9.


Kernel 2.6.30-10 enables KMS by default, breaking screen backlight support.
You can disable KMS by creating a new .conf file in /etc/modprobe.d/ containing this line:
Code:
options i915 modeset=0

or you can use the kernel 2.6.30-10 from my repository, in which I've disabled KMS by default.


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...

Code:
# setpci -s 00:02.1 F4.B=xx


Where xx ranges from 00 to ff. (00 being minimum, ff the maximum).

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... :D


Last edited by crocomo on 18/08/2009, 2:17, edited 1 time in total.

Top
 Profile  
 
 Post subject: RE: [NC10] Kernel 2.6.30* and all the related stuff
PostPosted: 18/08/2009, 10:03 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
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...

Code:
# setpci -s 00:02.1 F4.B=xx


Where xx ranges from 00 to ff. (00 being minimum, ff the maximum).


Here you can find a kernel module which enables the backlight control when KMS is in use (more info in this bug report).
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.

crocomo wrote:
Btw, voRia should still know me as I wrote you an E-Mail some long time ago... :D


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! :D

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Last edited by voRia on 18/08/2009, 10:20, edited 1 time in total.

Top
 Profile  
 
 Post subject: RE: [NC10] Kernel 2.6.30* and all the related stuff
PostPosted: 18/08/2009, 13:03 
Newbie
Newbie

Joined: 18/08/2009, 2:02
Posts: 7
voRia wrote:
Here you can find a kernel module which enables the backlight control when KMS is in use (more info in this bug report)....


Ok, didn't know about this bug report. Should have searched more ;)
But the solution via setpci on KMS works like a charm for me. So I'll stick with that for now...

voRia 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! :D


Yep! That's me :D
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.


Top
 Profile  
 
 Post subject: RE: [NC10] Kernel 2.6.30* and all the related stuff
PostPosted: 18/08/2009, 13:36 
Newbie
Newbie

Joined: 18/08/2009, 2:02
Posts: 7
'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)....


Ok, didn't know about this bug report. Should have searched more ;)
But the solution via setpci on KMS works like a charm for me. So I'll stick with that for now...

'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! :D


Yep! That's me :D
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...


Top
 Profile  
 
 Post subject: RE: [NC10] Kernel 2.6.30* and all the related stuff
PostPosted: 18/08/2009, 13:49 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
crocomo wrote:
But the solution via setpci on KMS works like a charm for me. So I'll stick with that for now...


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:
Yep! That's me :D
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...


Good to know that everything works out of the box with Arch. :)

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Top
 Profile  
 
 Post subject: RE: [NC10] Kernel 2.6.31
PostPosted: 18/08/2009, 14:12 
Newbie
Newbie

Joined: 18/08/2009, 2:02
Posts: 7
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?


Sure. No problem.

Code:
#!/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


Top
 Profile  
 
 Post subject: RE: [NC10] Kernel 2.6.31
PostPosted: 25/08/2009, 8:33 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
Kernel updated to version 2.6.31-7 (based on vanilla 2.6.31-rc7).

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Top
 Profile  
 
 Post subject: RE: [NC10] Kernel 2.6.31
PostPosted: 25/08/2009, 9:50 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
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.

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Top
 Profile  
 
 Post subject: RE: [NC10] Kernel 2.6.31
PostPosted: 25/08/2009, 19:17 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
I've removed the broken kernel 2.6.31-7, and updated the 2.6.31-6 to the latest available for karmic.

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Top
 Profile  
 
 Post subject: RE: [NC10] Kernel 2.6.31
PostPosted: 28/08/2009, 17:33 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
Kernel updated to version 2.6.31-8.

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Top
 Profile  
 
 Post subject: RE: [NC10] Kernel 2.6.31
PostPosted: 05/09/2009, 18:52 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
Kernel updated to version 2.6.31-9 (based on vanilla 2.6.31-rc8).

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Top
 Profile  
 
 Post subject: RE: [NC10] Kernel 2.6.31
PostPosted: 08/09/2009, 18:57 
Administrator
Administrator
User avatar

Joined: 12/02/2009, 18:08
Posts: 1377
Location: Italy
Kernel updated to version 2.6.31-10 (based on vanilla 2.6.31-rc9).

_________________
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 108 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net & kodeki