Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LCD brightness control on samsung Q45 does not work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
hans_da
n00b
n00b


Joined: 09 Mar 2007
Posts: 64

PostPosted: Sun May 18, 2008 11:51 pm    Post subject: LCD brightness control on samsung Q45 does not work Reply with quote

In short, the LCD brightness control of Samsung Q45 does not work on my box. System is x86_64, kernel 2.6.24-gentoo-r8.

Several things.

1. The brightness control keys of Q45 is Fn+Up and Fn+Down. When I pressed these two, the dmesg told me:
atkbd.c: Unknown key pressed (translated set 2, code 0x88 on isa0060/serio0).
atkbd.c: Use 'setkeycodes e008 <keycode>' to make it known.
atkbd.c: Unknown key pressed (translated set 2, code 0x89 on isa0060/serio0).
atkbd.c: Use 'setkeycodes e009 <keycode>' to make it known.

2. According to the http://gentoo-wiki.com/HOWTO_Power_Management#Adjust_LCD_brightness I should compile the ACPI/Video module. But this option simply does not exist in menuconfig. Does the new kernel changed something?

3. When start the X, xorg.0.log reports:
expected keysym, got XF86KbdLightOnOff: line 70 of pc
expected keysym, got XF86KbdBrightnessDown: line 71 of pc
expected keysym, got XF86KbdBrightnessUp: line 72 of pc
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server

For me, it seems that 1. the kernel support for the backlight has some problem and 2. the key pressing is not recognized properly. Any suggestion would be very helpful!
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Thu May 22, 2008 4:25 pm    Post subject: Reply with quote

I have one these arriving tomorrow so have been checking up on it and linux, i have read that you can loose this feature in x but drop to console and it work!

Worth trying to see if if this is so?

cheers
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
hans_da
n00b
n00b


Joined: 09 Mar 2007
Posts: 64

PostPosted: Fri May 23, 2008 8:00 am    Post subject: Reply with quote

Switching to console also does not help. I think the center problem is that there is NO kernel module to support changing the LCD brightness. As I said there is no such ACPI kernel option in kernel 2.6.24. I don't know why. Perhaps it is moved to somewhere else?

I also read about that switching to console problem. This problem only applies to Q45 with nvidia cards. In my case I am using the intel X3100.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Fri May 23, 2008 8:16 am    Post subject: Reply with quote

There is kernel support, you just have to know where to look for it. Also, the referenced document is just a wee bit out of date. To be able to control the LCD brightness, you need to select:
Code:
Graphics support -->
[*]Backlight & LCD device support -->
Lowlevel Backlight controls [*]
Lowlevel LCD controls[*]

From my experience, it's best to just use the function keys to get the job done. Having Linux do the job leads to some pretty serious annoyances.

Good luck.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
hans_da
n00b
n00b


Joined: 09 Mar 2007
Posts: 64

PostPosted: Sat May 24, 2008 10:41 pm    Post subject: Reply with quote

pappy_mcfae wrote:

From my experience, it's best to just use the function keys to get the job done. Having Linux do the job leads to some pretty serious annoyances.


I totally agree!

But then how to let the Fn keys do the job? When still in the grub, the Fn keys function nicely to regulate the bightness. But as soon as the kernel is started, the Fn key does not work anymore. Should I try just disable all the LCD control drivers in the kernel?
Back to top
View user's profile Send private message
hans_da
n00b
n00b


Joined: 09 Mar 2007
Posts: 64

PostPosted: Sat May 24, 2008 11:00 pm    Post subject: Reply with quote

Just tried out. This does not help.

There are at least three combinations not working:
Fn + F5 : turn on/off the LCD backlight
Fn + Up/Down : change the backlight brightness

All these keys are working nicely just in the grub stage. Just when the kernel is loaded, all keys stop to function. I think the functionality of these keys is directly related to the BIOS, while the linux kernel has somehow stopped passing the right signal to the BIOS.

I will try to dig a little bit on this:
http://gunnarwrobel.de/wiki/Linux-and-the-keyboard.html
Back to top
View user's profile Send private message
hans_da
n00b
n00b


Joined: 09 Mar 2007
Posts: 64

PostPosted: Sun May 25, 2008 12:18 am    Post subject: Reply with quote

a little bit search gives the following:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/216436

I think the problem is that the new linux kernel can sense and intercept these special keyboard signals. The keyboard signal does not reach the BIOS, thus no reaction to the LCD. Of course one can still try to catch the signal and do all the job with ACPI or HAL or whatever, but this is a completely different story, and it is also not preferable.

Well, any walk around? Or where should I report in upstream if this is really a problem?
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Sun May 25, 2008 6:33 am    Post subject: Reply with quote

I honestly don't know. I guess I dodged another bullet. This system doesn't suffer that problem.

What might help is to look through my kernel .config and compare it with yours. Since everything works on my system, you might be able to use some of my settings to fix yours.

Good luck.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Sun May 25, 2008 11:37 am    Post subject: Reply with quote

pappy_mcfae wrote:
I honestly don't know. I guess I dodged another bullet. This system doesn't suffer that problem.

What might help is to look through my kernel .config and compare it with yours. Since everything works on my system, you might be able to use some of my settings to fix yours.

Good luck.

Blessed be!
Pappy


I am planning Q45 install and was looking through your config and see you did use mcore2 but pentiumM as cpu choice, i take this because it is a mobile cpu?


Do they not do mcore2 for mobile cpu?

cheers
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Sun May 25, 2008 7:02 pm    Post subject: Reply with quote

Yes, this machine has a P-IV Celeron M, and no, I don't think they shave the CPU settings that closely. However, you can always do a bit of experimentation.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Sun May 25, 2008 8:19 pm    Post subject: Reply with quote

pappy_mcfae wrote:
Yes, this machine has a P-IV Celeron M, and no, I don't think they shave the CPU settings that closely. However, you can always do a bit of experimentation.

Blessed be!
Pappy



Ok, so with my Intel Core 2 Duo 7100 i would choose mcore2?

You say every thing else is working on you q45 does this include web cam and modem?


cheers
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Mon May 26, 2008 6:12 am    Post subject: Reply with quote

I'm sorry. I misunderstood you. I only offer my config as a general setup for yours. My system is a Compaq C504US. The settings (apart from the hardware) allow me to use my keyboard to its fullest, and it allows me to set my LCD brightness. If you follow the basics in my kernel, you should be able to use the keyboard to change brightness after kernel initialization.

Once again, I apologize for being inaccurate. That was my fault and I apologize if I confused you. My .config is to be a guide, since I can control my LCD screen.

Also, if you'd like, I can set up a kernel for you. Just post your .config and the results of lspci.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Mon May 26, 2008 10:38 am    Post subject: Reply with quote

pappy_mcfae wrote:
I'm sorry. I misunderstood you. I only offer my config as a general setup for yours. My system is a Compaq C504US. The settings (apart from the hardware) allow me to use my keyboard to its fullest, and it allows me to set my LCD brightness. If you follow the basics in my kernel, you should be able to use the keyboard to change brightness after kernel initialization.

Once again, I apologize for being inaccurate. That was my fault and I apologize if I confused you. My .config is to be a guide, since I can control my LCD screen.

Also, if you'd like, I can set up a kernel for you. Just post your .config and the results of lspci.

Blessed be!
Pappy



Hello, sorry i thought you posting config for q45, thanks for the offer though but will do it myself after some research.

cheers
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum