You are not logged in.

#226 2009-09-11 19:32:09

xpaolo
Member
From: Spresiano (TV) - Italy
Registered: 2009-09-11
Posts: 17
Website

Re: Arch on Samsung NC10 ?

For brightness control I can say that the keys work. If i run xev i get:

KeyPress event, serial 31, synthetic NO, window 0xe00001,
    root 0x104, subw 0x0, time 1687214, (843,473), root:(847,498),
    state 0x0, keycode 233 (keysym 0x1008ff02, XF86MonBrightnessUp), same_screen YES,                                                                           
    XLookupString gives 0 bytes:                                               
    XmbLookupString gives 0 bytes:                                             
    XFilterEvent returns: False                                                 

KeyRelease event, serial 31, synthetic NO, window 0xe00001,
    root 0x104, subw 0x0, time 1687215, (843,473), root:(847,498),
    state 0x0, keycode 233 (keysym 0x1008ff02, XF86MonBrightnessUp), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0xe00001,
    root 0x104, subw 0x0, time 1688633, (843,473), root:(847,498),
    state 0x0, keycode 232 (keysym 0x1008ff03, XF86MonBrightnessDown), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0xe00001,
    root 0x104, subw 0x0, time 1688633, (843,473), root:(847,498),
    state 0x0, keycode 232 (keysym 0x1008ff03, XF86MonBrightnessDown), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

but xbacklights sey "No outputs have backlight property". So i think there are no backlight support in the video driver yet.

For fan, i hear it everytime even if:
cat /proc/acpi/fan/FAN0/state
status:                  off

but it is really noiseless and my nc10 temperature is around 43-45 degrees so i don't care about it.

Glxgears report around 170 fps with compositing enable and around 190 fps if disabled. I use kde 4.3.1

Offline

#227 2009-09-12 08:15:10

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: Arch on Samsung NC10 ?

xpaolo wrote:

but xbacklights sey "No outputs have backlight property". So i think there are no backlight support in the video driver yet.

This message you already receive with Kernel 2.6.30 and KMS enabled. AFAIK KMS is enabled by default in 2.6.31 and I also assume that this error is related to the intel driver.

Offline

#228 2009-09-16 22:24:13

xpaolo
Member
From: Spresiano (TV) - Italy
Registered: 2009-09-11
Posts: 17
Website

Re: Arch on Samsung NC10 ?

News of today: i've updated the firmware of the netbook and now i see kernel backlight support:

root@nomad /home/paolo # ls /sys/class/backlight/
totale 0
lrwxrwxrwx 1 root root 0 16 set 23:32 acpi_video0 -> ../../devices/virtual/backlight/acpi_video0

I can change the brightness using:

root@nomad /home/paolo # echo 2 > /sys/class/backlight/acpi_video0/brightness
root@nomad /home/paolo # echo 7 > /sys/class/backlight/acpi_video0/brightness

but still:

root@nomad /home/paolo # xbacklight
No outputs have backlight property

and so Fn+Up/Down don't work.

Offline

#229 2009-09-16 23:32:07

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: Arch on Samsung NC10 ?

Mazur wrote:

Hi there,
I have bought Samsung NC10 and installed Arch on it via Pendrive. As today with kernel 2.6.30 and alsa 1.0.20 almost everything works ok. Wireless works perfect, sound etc works great. Also hibernation and suspend works fine from that what I see. FN keys works great (I am using Gnome) but there is one thing. I can't get microphone and camera to work. I tried skype, vlc and nothing. Any ideas? Btw. KMS works great too but anybody got idea how to watch DivX movies (Anime) without lags?

Install mplayer, use gl video output and disable deinterlacing filter. Solved.
However, dont *ever* think watching a HDTV movie.


They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.

Offline

#230 2009-09-16 23:34:30

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: Arch on Samsung NC10 ?

xpaolo wrote:

News of today: i've updated the firmware of the netbook and now i see kernel backlight support:

root@nomad /home/paolo # ls /sys/class/backlight/
totale 0
lrwxrwxrwx 1 root root 0 16 set 23:32 acpi_video0 -> ../../devices/virtual/backlight/acpi_video0

I can change the brightness using:

root@nomad /home/paolo # echo 2 > /sys/class/backlight/acpi_video0/brightness
root@nomad /home/paolo # echo 7 > /sys/class/backlight/acpi_video0/brightness

but still:

root@nomad /home/paolo # xbacklight
No outputs have backlight property

and so Fn+Up/Down don't work.

You can set the brightness by using setpci. Look for the nc10 article on the wiki. By the way, xbacklight does work on my computer. What fw. revision do you have? Mine is 10CA, and everything is working perfectly. 11CA has been relased, but depending on your answer, I'm going to update.


They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.

Offline

#231 2009-09-17 07:50:33

makimaki
Member
From: Ireland
Registered: 2009-04-02
Posts: 109

Re: Arch on Samsung NC10 ?

kjon wrote:
xpaolo wrote:

News of today: i've updated the firmware of the netbook and now i see kernel backlight support:

root@nomad /home/paolo # ls /sys/class/backlight/
totale 0
lrwxrwxrwx 1 root root 0 16 set 23:32 acpi_video0 -> ../../devices/virtual/backlight/acpi_video0

I can change the brightness using:

root@nomad /home/paolo # echo 2 > /sys/class/backlight/acpi_video0/brightness
root@nomad /home/paolo # echo 7 > /sys/class/backlight/acpi_video0/brightness

but still:

root@nomad /home/paolo # xbacklight
No outputs have backlight property

and so Fn+Up/Down don't work.

You can set the brightness by using setpci. Look for the nc10 article on the wiki. By the way, xbacklight does work on my computer. What fw. revision do you have? Mine is 10CA, and everything is working perfectly. 11CA has been relased, but depending on your answer, I'm going to update.

There are issues with using kms, xbacklight works fine for me when I don't turn on kms, and doesnt't when I do. None of the solutions in the forum work for me so I just use setpci, and use a little script to use the brightness keys.


====* -- Joke
    O
    \|/ --- Me
    / \             Whooooosh

Offline

#232 2009-09-17 13:21:20

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: Arch on Samsung NC10 ?

makimaki wrote:
kjon wrote:
xpaolo wrote:

News of today: i've updated the firmware of the netbook and now i see kernel backlight support:

root@nomad /home/paolo # ls /sys/class/backlight/
totale 0
lrwxrwxrwx 1 root root 0 16 set 23:32 acpi_video0 -> ../../devices/virtual/backlight/acpi_video0

I can change the brightness using:

root@nomad /home/paolo # echo 2 > /sys/class/backlight/acpi_video0/brightness
root@nomad /home/paolo # echo 7 > /sys/class/backlight/acpi_video0/brightness

but still:

root@nomad /home/paolo # xbacklight
No outputs have backlight property

and so Fn+Up/Down don't work.

You can set the brightness by using setpci. Look for the nc10 article on the wiki. By the way, xbacklight does work on my computer. What fw. revision do you have? Mine is 10CA, and everything is working perfectly. 11CA has been relased, but depending on your answer, I'm going to update.

There are issues with using kms, xbacklight works fine for me when I don't turn on kms, and doesnt't when I do. None of the solutions in the forum work for me so I just use setpci, and use a little script to use the brightness keys.

11CA fw adds the required interfaces on /sys to handle correcly the lcd's backlight, however, the keyboard update really screwed my xbindkeys: I couldn't capture control + [up/down] correctly due to the modifier was captured as a single key most times, avoiding the correct detection of the combination.

I don't know if it was my impression but, xbacklight didn't work the way I was used to. It refused to change brightness sometimes with no explanation at all. I created a tiny script to handle this situation, which needs to be executed through sudo in order to work.

#! /bin/sh
ruta=/sys/class/backlight/acpi_video0
maximo=$(cat $ruta/max_brightness)
actual=$(cat $ruta/brightness)
case $1 in
    sube)
    if [ $actual -le $maximo ]
    then
        echo $(expr $actual + 1) > $ruta/brightness    
    fi
    ;;
    baja)
    if [ $actual -le 1 ]
    then
        echo $(expr $actual - 1) > $ruta/brightness
    fi
    ;;
    0)
        echo 0 > $ruta/brightness
    ;;
esac

'sube' means *up* and 'baja' is *down*.

Last edited by kjon (2009-09-17 13:25:02)


They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.

Offline

#233 2009-09-17 14:01:32

makimaki
Member
From: Ireland
Registered: 2009-04-02
Posts: 109

Re: Arch on Samsung NC10 ?

@kjon, thanks for that I might update the firmware this evening.

The scripts I use for controlling the brightness are here if they are of any use to you.


====* -- Joke
    O
    \|/ --- Me
    / \             Whooooosh

Offline

#234 2009-09-17 23:01:12

xpaolo
Member
From: Spresiano (TV) - Italy
Registered: 2009-09-11
Posts: 17
Website

Re: Arch on Samsung NC10 ?

kjon wrote:
xpaolo wrote:

News of today: i've updated the firmware of the netbook and now i see kernel backlight support:

root@nomad /home/paolo # ls /sys/class/backlight/
totale 0
lrwxrwxrwx 1 root root 0 16 set 23:32 acpi_video0 -> ../../devices/virtual/backlight/acpi_video0

I can change the brightness using:

root@nomad /home/paolo # echo 2 > /sys/class/backlight/acpi_video0/brightness
root@nomad /home/paolo # echo 7 > /sys/class/backlight/acpi_video0/brightness

but still:

root@nomad /home/paolo # xbacklight
No outputs have backlight property

and so Fn+Up/Down don't work.

You can set the brightness by using setpci. Look for the nc10 article on the wiki. By the way, xbacklight does work on my computer. What fw. revision do you have? Mine is 10CA, and everything is working perfectly. 11CA has been relased, but depending on your answer, I'm going to update.

setpci works only for root not for regular user. Now i have 11CA fw.

I want to use hotkeys in KDE to control the display brightness vis Fn+Up/Down for normal user. I can not do this with setpci or other script i saw around this forum.

Offline

#235 2009-09-17 23:13:46

xpaolo
Member
From: Spresiano (TV) - Italy
Registered: 2009-09-11
Posts: 17
Website

Re: Arch on Samsung NC10 ?

makimaki wrote:
kjon wrote:
xpaolo wrote:

News of today: i've updated the firmware of the netbook and now i see kernel backlight support:

root@nomad /home/paolo # ls /sys/class/backlight/
totale 0
lrwxrwxrwx 1 root root 0 16 set 23:32 acpi_video0 -> ../../devices/virtual/backlight/acpi_video0

I can change the brightness using:

root@nomad /home/paolo # echo 2 > /sys/class/backlight/acpi_video0/brightness
root@nomad /home/paolo # echo 7 > /sys/class/backlight/acpi_video0/brightness

but still:

root@nomad /home/paolo # xbacklight
No outputs have backlight property

and so Fn+Up/Down don't work.

You can set the brightness by using setpci. Look for the nc10 article on the wiki. By the way, xbacklight does work on my computer. What fw. revision do you have? Mine is 10CA, and everything is working perfectly. 11CA has been relased, but depending on your answer, I'm going to update.

There are issues with using kms, xbacklight works fine for me when I don't turn on kms, and doesnt't when I do. None of the solutions in the forum work for me so I just use setpci, and use a little script to use the brightness keys.

Don't forget i'm using kernel 2.6.31 from testing. I disable KMS (it's not default enabled ) and now xbacklight works, I hope i can use KDE keyboard shortcuts to adjust brightness. If i enable KMS xbacklights don't work.
But i want KMS enabled !

Offline

#236 2009-09-22 21:28:59

cell
Member
Registered: 2007-10-23
Posts: 111

Re: Arch on Samsung NC10 ?

Hi, I am curious to how you all doing on power management? I get ~1 hour less compared to windows, if anyone else is comparing I would be curious to hear how you are doing? (:

I got a N120 and just to let anyone who might be wondering know everything is running pretty smooth, suspend, resume, display turn off on close lid etc. Only thing I am really miss is to bind  the FN key to brightness, but I hear that support are coming in a kernel near me soon. And well that ~1 hour...

Offline

#237 2009-09-22 22:08:56

knedlyk
Member
From: L'viv, Ukraine
Registered: 2009-04-14
Posts: 163
Website

Re: Arch on Samsung NC10 ?

I made Fn brightness key work on N120, using receipt from ubuntu page https://help.ubuntu.com/community/NC10 , namely this (I changed NC10 to N120):

Alternative: add ";NC10" to the list of Samsung models in /usr/share/hal/fdi/information/10freedesktop/30-keymap-misc.fdi

i.e.

<match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains_outof="SP55S;SQ45S70S;SX60P;R59P/R60P/R61P;Q310;X05">

becomes

<match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains_outof="SP55S;SQ45S70S;SX60P;R59P/R60P/R61P;Q310;X05;NC10">

Last edited by knedlyk (2009-09-23 17:03:51)

Offline

#238 2009-09-23 16:42:29

cell
Member
Registered: 2007-10-23
Posts: 111

Re: Arch on Samsung NC10 ?

@knedlyk, for some reason that crashes X for me and the volume applet acts kind of screwy.
Did it just work of the bat for you? I am on gnome...

Offline

#239 2009-09-23 17:02:44

knedlyk
Member
From: L'viv, Ukraine
Registered: 2009-04-14
Posts: 163
Website

Re: Arch on Samsung NC10 ?

I'm using gnome too, X works well without xorg.conf.
Volume applet and others work well too in gnome. I don't understand reasons why adding N120 to the list of known keycodes by hal  can affect sound applet and Xorg?

Offline

#240 2009-09-23 18:01:30

cell
Member
Registered: 2007-10-23
Posts: 111

Re: Arch on Samsung NC10 ?

Don't know how come I said volume, makes no sense, I meant to say brightness applet!! (:
Neither do I, I will see if I can solve it somehow. Thanks for letting me know.(:

Offline

#241 2009-09-23 18:31:59

knedlyk
Member
From: L'viv, Ukraine
Registered: 2009-04-14
Posts: 163
Website

Re: Arch on Samsung NC10 ?

BTW, I have sometimes problem with brightness applet too, for example when I'm trying to make brightness lower, it rapidly goes down to the black screen, After that it is not so easy get back to the normal screen. As a partial solution I'm using switch to console mode (Ctrl+Alt+F1) and immediately switch back to graphic mode. Then I can make the brightness put up by Fn+uparrow.

Actuall I gave up experiments with brightness applet, it is enaugh for me to set up brightness level in /etc/rc.local (setpci -s 00:02.1 F4.B=50), it gives me about 9 Watt power usage.

Offline

#242 2009-09-23 21:34:42

AngryKoala
Member
Registered: 2009-01-22
Posts: 197

Re: Arch on Samsung NC10 ?

I use KDE so for brightness I just bound ctrl+up to xbacklight -inc 15     and ctrl+down to xbacklight -dec 15

Also, to get my brightness toggle button, I made a dirty script for it if it would be useful to anyone.

if [ `xbacklight -get | cut -d "." -f1` -gt 0 ]
then
  `xbacklight -get | cut -d "." -f1 > .backlighttog` && xbacklight -set 0
else
  xbacklight -set `cat .backlighttog`
fi

feel free to edit whatever or post suggestions to make it better


I also couldn't get my sound keys to work, and since I use oss, I bound fn+left to "ossmix -- vmix0-outvol -1", I bound fn+right to "ossmix vmix0-outvol +1"

For the volume toggle button, I made another lil script that uses a text file to save the volume...

if [ `ossmix vmix0-outvol | cut -d " " -f10 | cut -d "." -f1` -gt 0 ]
then
  `ossmix vmix0-outvol | cut -d " " -f10 | cut -d "." -f1 > .soundtog` && ossmix vmix0-outvol 0
else
  ossmix vmix0-outvol `cat .soundtog`
fi

Last edited by AngryKoala (2009-09-24 06:28:58)

Offline

#243 2009-10-11 15:25:16

Mazur
Member
Registered: 2009-06-10
Posts: 103
Website

Re: Arch on Samsung NC10 ?

I get my microphone, camera and video to work perfect. I can even watch HD movies! I have installed mplayer and watching it from console, it works awesome.

Offline

#244 2009-10-11 19:59:35

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: Arch on Samsung NC10 ?

The latest intel-driver form AUR (xf86-intel-video-newest) brings back xbacklight even when KMS is enabled.

My problem: After updating the firmware fn+up isn't working anymore. I bound fn+up/down via xbindkeys to xbacklight +/- 10. But now xbindkeys -k doesn't give me an event for fn+up anymore. For fn+down I don't get an event, too, but the brightness is still going down.

Offline

#245 2009-10-12 06:16:08

AngryKoala
Member
Registered: 2009-01-22
Posts: 197

Re: Arch on Samsung NC10 ?

Barghest wrote:

The latest intel-driver form AUR (xf86-intel-video-newest) brings back xbacklight even when KMS is enabled.

My problem: After updating the firmware fn+up isn't working anymore. I bound fn+up/down via xbindkeys to xbacklight +/- 10. But now xbindkeys -k doesn't give me an event for fn+up anymore. For fn+down I don't get an event, too, but the brightness is still going down.

fn didnt work for brightness for me either, which is why I made it ctrl and not fn

Offline

#246 2009-10-12 08:38:19

john_schaf
Member
From: France
Registered: 2007-02-24
Posts: 104

Re: Arch on Samsung NC10 ?

Latest kernel upgrade report (2.6.31.3) :
everything works now !
- webcam ok
- wifi led status reflects wifi connection (not that I really care)
- suspend to ram and suspend to disk work flawlessly (it always worked for me on kernel <2.6.31)
- brightness keys work (without KMS, or you need v2.9 of intel video driver)

Is suspend to ram still broken for some of you (as reported by the wiki) ?

Last edited by john_schaf (2009-10-12 08:40:11)

Offline

#247 2009-10-12 09:31:45

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: Arch on Samsung NC10 ?

john_schaf wrote:

Latest kernel upgrade report (2.6.31.3) :
- suspend to ram and suspend to disk work flawlessly (it always worked for me on kernel <2.6.31)
- brightness keys work (without KMS, or you need v2.9 of intel video driver)

Is suspend to ram still broken for some of you (as reported by the wiki) ?

S2R worked for me before. But how did you manage that the brightness keys work? What firmware do you use?

Offline

#248 2009-10-12 16:03:09

john_schaf
Member
From: France
Registered: 2007-02-24
Posts: 104

Re: Arch on Samsung NC10 ?

I did not upgrade the firmware, and I don't use KMS (I don't see the benefits...)

Last edited by john_schaf (2009-10-12 16:04:03)

Offline

#249 2009-10-14 19:47:03

Teshadael
Member
Registered: 2008-04-06
Posts: 29

Re: Arch on Samsung NC10 ?

Just got my NC10 back from repair for a battery issue.  They updated the firmware 11CA and I too can confirm that the brightness hotkeys are no longer working (Fn+ Up/Down scancodes not detected).

Edit:  Well not sure why it wasn't showing up before, but now the keycodes appear properly.  Having wierd behavior with the brightness though...after configuring xbindkeys, BrightnessDown works, but BrightnessUp doesn't.  Also, using xbacklight, brightness at 0 leaves the screen on still.

Last edited by Teshadael (2009-10-14 21:42:36)

Offline

#250 2009-10-15 07:07:36

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: Arch on Samsung NC10 ?

I can confirm this strange behaviour.  Even after e.g. xbacklight -set 10 xbacklight still gives the value 0.

I will try to downgrade the firmware - I hope this is possible.

Offline

Board footer

Powered by FluxBB