brightness hardware control on Samsung R510 doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hal (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
hello i have a notebook samsung r510 centrino 2 with nvidia geforce 9200m gs 256 MB . I installed ubuntu 8.10 and the brightness control doesn't work. the brightness are set to maximum level and battery life its too short and my eyes tired is caused by too brightness. i try to use applet gnome brightness but is only software control not hardware control . with nvidia driver 177.80 or 173 the gnome applet doesn't work .
help!
Ian Weisser (ian-weisser) wrote : | #1 |
Grzegorz Śliwiński (fizyk) wrote : | #2 |
- hal.log trying to dimm screen with Fn combinations Edit (654.0 KiB, text/plain)
I'm not on Centrino 2, however same model and Graphic card, and adjusting brightness doesn't work for me too (as well as several other Fn combinations). Also, screen's nod dimming automaticly when I'm working only on battery, which result in only 2 hours of work compared to about 3,5 under Vista ;/
I'll be attaching files requested in hawto to which Ian pointed out.
I pressed Fn-up, and Fn-down trying to change screen brightness during preparing hal attachments. (also pressed fn-F9 (wireless on/off) and Fn-F10 (touchpad on/off)).
Grzegorz Śliwiński (fizyk) wrote : | #3 |
Grzegorz Śliwiński (fizyk) wrote : | #4 |
Grzegorz Śliwiński (fizyk) wrote : Re: [Bug 297962] Re: brightness hardware control doesn't work | #5 |
Dnia 2008-11-19, śro o godzinie 02:50 +0000, IanW pisze:
> ** Changed in: hal (Ubuntu)
> Sourcepackagename: None => hal
> Status: Incomplete => New
>
> ** Summary changed:
>
> - brightness hardware control doesn't work
> + brightness hardware control on Samsung R510 doesn't work
>
--
Fizyk
@: <email address hidden>
w: http://
MoMaT (momat) wrote : | #6 |
I'm confirming this bug. It is present on my R510 with Intel GMA X4500 graphics.
The interesting parts of the kern.log are:
Apr 5 21:25:46 momat-laptop kernel: [ 9712.515578] atkbd.c: Unknown key pressed (translated set 2, code 0x88 on isa0060/serio0).
Apr 5 21:25:46 momat-laptop kernel: [ 9712.515585] atkbd.c: Use 'setkeycodes e008 <keycode>' to make it known.
Apr 5 21:25:47 momat-laptop kernel: [ 9714.308367] atkbd.c: Unknown key pressed (translated set 2, code 0x89 on isa0060/serio0).
Apr 5 21:25:47 momat-laptop kernel: [ 9714.308374] atkbd.c: Use 'setkeycodes e009 <keycode>' to make it known.
Apr 5 21:25:49 momat-laptop kernel: [ 9716.229171] atkbd.c: Unknown key pressed (translated set 2, code 0x84 on isa0060/serio0).
Apr 5 21:25:49 momat-laptop kernel: [ 9716.229177] atkbd.c: Use 'setkeycodes e004 <keycode>' to make it known.
The key press order is: Fn+Up (increase brightness), Fn+Down (decrease brightness), Fn+F5 (backlight on/off).
Changed in hal (Ubuntu): | |
status: | New → Confirmed |
MoMaT (momat) wrote : | #7 |
As a next step I have modified the HAL keymap file:
/usr/share/
I've just added my laptop model:
> lshal | grep system.
system.
to the list of samsung models, making it:
<match key="/org/
<match key="/org/
I have restarted HAL and now when I press one of the brightness combinations I see a notification with a screen icon and a bar in max position that can't be changed. The side effect of this is that the laptop keyboard got blocked now and I'm typing this from an external one. Still some things kept working like suspend (Fn+Esc) or keypad lock (Fn+F10).
Now, what would be a next step to diagnose the cause of the problem?
MoMaT (momat) wrote : | #8 |
I forgot to mention that I'm using fresh install of Jaunty Beta with current upgrades.
After the HAL was restarted I've also noticed that the dmesg warnings present before:
> dmesg | grep
[ 1259.684668] atkbd.c: Unknown key pressed (translated set 2, code 0x84 on isa0060/serio0).
[ 1259.684674] atkbd.c: Use 'setkeycodes e004 <keycode>' to make it known.
[ 1261.774481] atkbd.c: Unknown key pressed (translated set 2, code 0x89 on isa0060/serio0).
[ 1261.774488] atkbd.c: Use 'setkeycodes e009 <keycode>' to make it known.
[ 1262.706702] atkbd.c: Unknown key pressed (translated set 2, code 0x88 on isa0060/serio0).
[ 1262.706709] atkbd.c: Use 'setkeycodes e008 <keycode>' to make it known.
are gone now and HAL shows the keymap data not shown before:
> lshal | grep keymap.data
input.keymap.data = {'e002:
Grzegorz Śliwiński (fizyk) wrote : | #9 |
Jaunty jackalope can operate backlight as long as user doesn't install nvidia drivers. I noticed that when I launched live cd and installed it on my laptop. Backlight was changing when power was unplugged as well as I could operate it by using brightness applet (however it claimed it cannot read the brightness level). As soon as nvidia drivers (180.44) were installed, I lost control over the backlight.
tags: | added: backlight nvidia samsung |
MoMaT (momat) wrote : | #10 |
"Jaunty jackalope can operate backlight as long as user doesn't install nvidia drivers"
This is not correct. I'm using Samsung R510 with Intel GMA X4500 graphics card and thus I have no nvidia drivers installed and still I can't operate the brigthness. Neither power cabe unplugged nor the brightness applet does change anything.
Grzegorz Śliwiński (fizyk) wrote : | #11 |
Tell me one thing. Do you have compiz enabled by default? maybe it's the case with Intel drivers as well? I know that these are turned on by default on my other, older laptop with intel graphic
MoMaT (momat) wrote : | #12 |
Yes, I was using compiz. Unfortunately disabling it didn't help. Power cable or brightness applet makes no difference.
I've found that I can manually change the brightness settings:
> echo 2 > /sys/class/
However, the backlight doesn't change, although the change is reflected here:
> cat /proc/acpi/
levels: 35 45 60 70 80 90
current: 60
I'm guessing this means it's a driver issue.
Grzegorz Śliwiński (fizyk) wrote : | #13 |
I guess that's becouse open source drivers are installed and beeing used from the beginning, when for nvidia I have onlu closed source drivers that need to be installed through jockey. Anyway, since the problem is with both drivers, intel as well as nvidia, and probably not with the default whatever it's called, it might get easier to determine couse for someone familiar with that part of ubuntu.
MoMaT (momat) wrote : | #14 |
OK, I'm not so sure if this is a driver fault anymore. I've found a way to somewhat fix it using extra boot parameter - "acpi_backlight
Same switching trick helps when the keyboard gets locked on the first use of backlight fn keys. Now I can see that it's because of some kind of loop. When I press the key the brightness goes up/down until it reaches the end of scale, despite the fact that I pressed the key only once. After the switching trick, it starts working as expected, that is brightness goes up/down just by a little bit and the keyboard is not getting locked anymore.
Grzegorz Śliwiński (fizyk) wrote : | #15 |
well... that doesn't work for me though.
You've added that parameter at the end of the kernel line in menu.lst, right?
Valliet Emmanuel (emmanuel-valliet) wrote : | #16 |
- brightness.sh Edit (347 bytes, text/x-sh)
Hi all!
I recently bought a R510 laptop, installed jaunty onto, and encoutered the same problem...
I had it finally working, perhaps not the properly way, but working...
Here's how I did:
at boot time, I add to attach keycodes to the brightness keys (adding fdi definitions in hal does not seem to work):
. /usr/share/
setkeycodes e009 $KEY_BRIGHTNESSDOWN
setkeycodes e008 $KEY_BRIGHTNESSUP
(tu put in bootmisc.sh or another script in /etc/init.d you then add to the runlevel scripts)
Then there is another problem, the same encoutered here: https:/
So I patched the kernel, using same code as here: http://
I recompiled the kernel (using http://
After that, the key works, but brightness does no adjust, it seeems there is a bug/missing feature in the nvidia driver.
After some googling, I tried smartdimmer (using nvclock should also work), and that one works. I wrote a little script (brightness.sh, see attachment), and then binded the brightness down/up keys to that script, using the gnome key-binding utility.
I currently do not have other key working yet (wifi on/off, backlight...), I will try to have them working and keep you informed.
cheers,
-manu
Viktor Hollmann (vh-klikni) wrote : | #17 |
I can confirm the same situation on Samsung Q320 with nVidia GeForce 105M (Korean version, Q320-BS21, there is only 01LH firmware at the moment) and 64bit Jaunty.
The keys for backlight/
Viktor Hollmann (vh-klikni) wrote : | #18 |
There is another solution for brightness regulation for Samsung Q320 and (probably) for other Samsung notebooks:
http://
http://
Žygimantas Beručka (zygis) wrote : | #19 |
Maybe someone can get this fixed for the upcoming Karmic?
It seems that the problem is related to the keys not sending events. Quoting the above mentioned link:
"After a while I discovered the problem was that some of the fn-keys weren’t sending key release events (easy to see in xev or with lshal -m). Turns out this is a problem with lots of laptop keyboards: look at the thousands of lines of hacks in drivers/
Apply this patch to a 2.6.30 kernel and rebuild. Voila! And the problem is gone!
--- drivers/
+++ drivers/
@@ -1550,6 +1550,15 @@
},
{
+ .ident = "Samsung Q320/P320",
+ .matches = {
+ DMI_MATCH(
+ DMI_MATCH(
+ },
+ .callback = atkbd_setup_
+ .driver_data = atkbd_samsung_
+ },
+ {
I found the DMI_PRODUCT_NAME using dmidecode if you were wondering."
This patch needs hardcoding, if I understand correctly. For example, in this case it requires to set "Q320/P320" in the patch. I don't want to compile my own kernel so I'm unable to test if this works actually, however, I do have Samsung R522 and it's eveident from the output of "xev" or with "lshal -m" that at least Fn+Up/Down (brightness up/down) and Fn+F5 (brightness on/off) keys do not send any events on my laptop too. Is there any way to fix this on Samsung laptops in general, without harcoding each model in the kernel?
Besides, as my quote seems to be contain a patch for the linux kernel, it might be wise to assign this one to the kernel package.
Žygimantas Beručka (zygis) wrote : | #20 |
Adding my excerpt from Samsung R522's dmidecode output:
"Manufacturer: SAMSUNG ELECTRONICS CO., LTD.
Product Name: R520/R522/R620"
MoMaT (momat) wrote : | #21 |
The key events are just a part of the problem. You can set the right mapping in HAL quite easily (read my previous comment #7), but this alone won't give you brightness control.
Georgiy Miroshnikov (laggy-luke) wrote : | #22 |
I have the same issues with backlight and I would like to stress that this issue is not specific to nVidia adapters, but also Intel.
Following the instructions in this bug, I've managed to make backlight brightness adjustable via Fn-Up/Fn-Down combination and via brightness applet, but Fn-F5 (toggle backlight) and Fn-F9 (toggle wireless) still does not work.
Apart from that, the "sticky Fn key" problem is solved only partially and sometimes it still sticks.
The sensitivity of Fn-Up and Fn-Down (brightness) is twice lower as the sensitivity of Fn-Left and Fn-Right (volume) which is also not very convenient.
Other keys like Fn-F5 (toggle backlight) and Fn-F9 (toggle wireless) still doesn't work, but now they are not reported in /var/log/kern.log
Unfortunately, non of the described solutions helped to accomplish this on it's own, so I had to use the combination of them: added setkeycodes to bootmisc.sh, patched the kernel with above patch and added acpi_backlight=
I didn't find anything particulary interesting in my logs, but I can provide them upon request.
Hope this info helps to fix this issue.
tags: | added: intel laptop |
Žygimantas Beručka (zygis) wrote : | #23 |
How about getting someone with more knowledge on Linux internals to triage the bug? It is taking way too long to have a bug of high importance even to have its "importance" status set. Sadly, I don't even know which package/project is also affected by the bug. Is anyone able to answer is this bug 100% percent related to the $PLEASE_
RickB (rick-777) wrote : | #24 |
New Samsung R620 has arrived today: this suffers from this bug.
+1 for a speedy fix.
scottnn (scottnn) wrote : | #25 |
Can confirm this bug exists in Samsung Q320. Give me a shout if any files/info are required in order to help fix the problem.
toox (toox82) wrote : | #26 |
Same as scottnn for Samsung Q320.
Aldo Latino (aldolat) wrote : | #27 |
I confirm this bug on my Samsung R510.
I would add that only the combination Fn+F6 (disable/enable audio) works as expected - all other combinations, like Fn+Up for Brightness, don't work.
Hope in a fix.
Salvy (no-censura-) wrote : | #28 |
Help please..
Same problem as Scottnn and Toox for Samsung Q320.
I'm sorry but I'm too ignorant to fix it on my own, would you be so kind as to patch it in a kernel for clumsy people like me please?
I do not want to go back to micros-uffering..
Thanks and cheers!
skalka (skalka) wrote : | #29 |
I can confirm this on my new Samsung R519 equipped with the GM45 Intel chipset. With a pathed and recompiled kernel by me I can use fn buttons but brightness doesn't change. With /usr/share/
skalka (skalka) wrote : | #30 |
I think problem is that BIOS controls video card and brightness so ACPI cannot. But, I don't know how to solve cos in BIOS settings I can't deactivate this control and I don't want to deactivate ACPI.
skalka (skalka) wrote : | #31 |
@ MoMaT I've tried acpi_backlight=
elio (elio-mussi) wrote : | #32 |
I've installed nvclock and issuing nvclock -S xx where x is a number between 15 and 100, I CAN set the brightness of the display. Although not a complete soilution, at least I can manually set the brightness to the desired level. MIND: I've not disabled ACPI, nor I have set any parameters to grub. It just works as desired.
I should add that Vista, also installed on my Q320, works fine with the brightness. That the Fn keys for the brightness are easily trappable. see http://
Hope that Koala can treat our brightness as it should, anyway I'm eventually done with this annoying problem.
Cheers
Elio
Grzegorz Śliwiński (fizyk) wrote : | #33 |
I've just upgraded to 9.10 RC (fresh install actually), and brightness problem still persists. Since hal is supposed to be depreciated, I'm not sure if it still has anything to do with brightness.
Well.. I think I'll stick to "smartdimmer -s " for a while, since I don't want to accidentally tweak my graphic card ;)
Kytrix (kytrix) wrote : | #34 |
Still get the problem on Samsung Q320 with 9.10 final :/
the worst is if I try Fn+brightness it make my keyboard locked !
On Jaunty I made this tricks https:/
but it works very strangely : when I press UP or Down brightness, it was like I keep pressing ... despite of uping one level it raise to max for infinite or for min :/
If you need some tests or anythings ..I'm here :)
Grzegorz Śliwiński (fizyk) wrote : | #35 |
what does ubuntu use to dim screen light anyway? can't it use smartdimmer itself or whatever smartdimmer is using to play with screen light?
b3nn0 (agib) wrote : | #36 |
also having this problem with a R580
http://
backlight control won't work. smartdimmer and nvclock are bringing error:
Unable to shadow the video bios
Error!
Javier Rodriguez (javirodcal) wrote : | #37 |
Hi to all, Samsung R522 with ATI HD4330, same problem in Lucid final and Maverick daily
Grzegorz Śliwiński (fizyk) wrote : | #38 |
Since Lucid, I'm able to change the brightness with the gnome brightness applet, although it still can't read the brightness back ;)
Foobar (ron-gamr7) wrote : | #39 |
This works for the nouveau driver, but not for the nvidia driver in Lucid.
Macarena (marcoaasilva) wrote : | #40 |
I have this problem with Samsung R430 (Intel GMA 4500 MHD).
dino99 (9d9) wrote : | #41 |
Changed in hal (Ubuntu): | |
status: | Confirmed → Invalid |
filosp (filosp) wrote : really great things | #42 |
Yo!
I've got some really great things from that store, they are so cool, just take a look http://
Sincerely yours, filippo spada
filosp (filosp) wrote : Re: great news | #43 |
- D625C7282159B9EF380663D7026CA95A.jpg Edit (22.4 KiB, image/jpeg; name="D625C7282159B9EF380663D7026CA95A.jpg")
Hi friend!
We've got some great news for you! Just take a look http://
Bests, filippo spada
From: Bug 297962 [mailto:<email address hidden>]
Sent: Wednesday, May 17, 2017 11:39 AM
To: <email address hidden>
Subject: MyPackage are amazing!
Actually no. I don't want them to do things different.
I'd love it if they fixed existing issues. There are so many things which only partially work (iCloud photos, Maps, Health app), things which have been abandoned (podcasts, OS X App store), and things which are still buggy as hell (Handoff, Airdrop).
Sent from Mail for Windows 10
filosp (filosp) wrote : Re: try this stuff | #44 |
- 814501D879E61B92A2E3A6840B8893D7.jpg Edit (17.4 KiB, image/jpeg; name="814501D879E61B92A2E3A6840B8893D7.jpg")
Hello,
I wanted to share with you my experience about using that cool stuff, just take a look http://
Sincerely yours, filippo spada
From: Bug 297962 [mailto:<email address hidden>]
Sent: Sunday, June 25, 2017 1:14 AM
To: <email address hidden>
Subject: People are weird
1. They might talk about it later on the show considering the cliff hanger, what are you talking about with Alishia flirting with Aaron, and as far as you know is she doing it for game or does she have feelings for Aaron?
2. Do you regret not trying to campaign to John knowing now that he change his vote twice before the results.
3. Did Katie tell you Randy's true identity (I'm pretty sure she knows)?
4. Did they two votes to save me, the vote to save Jullian and the vote to save Katie screw with people or did people figure it out quickly.
5. Are mad about the Button twist extra vote sending you home, especially because all you got from the button was an (easily anticipated) reserve vote (Side Note, though I don't think you ever said so in the DR, I assume you figured out what the button did for you considering your vote)?
6. If you were change any of the eliminations before you went home to eliminate the other nominee, which one would you pick? (Be honest, I don't care if it's not mine).
7. If you were in jury with the information you had when you left the house what would be your voting Priority?
Sent from Mail for Windows 10
filosp (filosp) wrote : ✉what a surprise! | #45 |
- B450D9C39FC0A871AE2E9BE2FB1BADAE.jpg Edit (18.4 KiB, image/jpeg; name="B450D9C39FC0A871AE2E9BE2FB1BADAE.jpg")
Hello!
I've met a friend recently and he had told me something really surprising, here is the full story http://
Best Wishes, filippo spada
From: Bug 297962 [mailto:<email address hidden>]
Sent: Friday, June 30, 2017 10:49 PM
To: <email address hidden>
Subject: ayy lmao
I second what drawingdwarf said about cup sizes being relative to band size. A "C" cup means nothing unless you know the band size. A 28C is tiny while a 32C is much bigger.
You should try the Freya Deco Soft Cup in 28C, 28D, and 28DD just in case. It's a good diagnostic bra for people who are otherwise sized out of other brands and styles.
Sent from Mail for Windows 10
filosp (filosp) wrote : ❤some useful stuff | #46 |
Dear friend!
Have you already seen that stuff? It may be really useful for you, please take a look http://
Sincerely yours, filippo spada
filosp (filosp) wrote : ☠wow! | #47 |
Greetings,
Have you seen that stuff? It's something crazy, just take a look http://
filippo spada
filosp (filosp) wrote : surprising news | #48 |
- E6C7C920BC1AB339FECA73F434A37152.jpg Edit (20.8 KiB, image/jpeg; name="E6C7C920BC1AB339FECA73F434A37152.jpg")
Hey,
We've got some surprising news, you're going to love it! Just read it here http://
filippo spada
Sent from Mail for Windows 10
filosp (filosp) wrote : Blake Shelton's secret revealed | #49 |
Content-
Content-Type: text/plain; charset="utf-8"
SGV5ISANClN0ZWZ
IFB1cmUgTmF0dXJ
aWQgdGFsa2VkIHR
bnkgIHNvIGZhc3Q
Z2FsLiBIZSBzaG9
LiBIZSBkb2Vzbid
LiIgIFRha2UgYSB
aHA/VUU4eU9UYzV
filosp (filosp) wrote : a good gift from a friend | #50 |
I'd prefer to show you a nice gift a friend of mine gave me recently , it's something really cool ) ) Please look and feel http://
filosp (filosp) wrote : ✈The world's travel search engine Skyscanner compares millions of flights to find you the cheapest deal, fast. | #51 |
Whether you want to go to Tenerife or Tokyo, we'll find low cost flights to get you there.
We also find the cheapest hotels and car hire deals.<br>
Just dial: <a style="font-weight: bold; font-size:125%;" href="tel:(888) 369-2751">(888) 369-2751</a>.
Skyscanner is free! When you find your flights and dial (888) 369-2751, we redirect your call through directly to the airline or travel agent.<br>We never charge you commission. Nor do we add hidden fees. See more ways we put you first.
Acclaimed flight comparison Skyscanner is an award winning site recommended by: The Independent, The Guardian, Which? Travel, BBC Radio 1 and more!<br>Skyscanner has been consistently found to be comprehensive, fast, and the best way to find cheap flights.<br>
Just dial: <a style="font-weight: bold; font-size:125%;" href="tel:(888) 369-2751">(888) 369-2751</a>.
Let’s get social! Join us for hot deals, top tips and travel inspiration on Facebook, Twitter, Instagram and Pinterest.
Find the perfect place to stay
The Trip by Skyscanner community has reviewed tens of thousands of hotels around the world so you can always find the perfect place to stay, based on your tribe and your price range.
Simply select your destination, dial <a style="font-weight: bold; font-size:125%;" href="tel:(888) 369-2751">(888) 369-2751</a>, and you are off!
And now Trip by Skyscanner searches all the top booking sites to make sure to always find you the lowest price.
Check out some of our most popular destinations:<br>
<table width="
Primary: (888) 369-2751. 2...
filosp (filosp) wrote : ✈Re: The world's travel search engine Skyscanner compares millions of flights to find you the cheapest deal, fast. | #52 |
Whether you want to go to Tenerife or Tokyo, we'll find low cost flights to get you there.
We also find the cheapest hotels and car hire deals.<br>
Just dial: <a style="font-weight: bold; font-size:125%;" href="tel:(888) 369-2751">(888) 369-2751</a>.
Skyscanner is free! When you find your flights and dial (888) 369-2751, we redirect your call through directly to the airline or travel agent.<br>We never charge you commission. Nor do we add hidden fees. See more ways we put you first.
Acclaimed flight comparison Skyscanner is an award winning site recommended by: The Independent, The Guardian, Which? Travel, BBC Radio 1 and more!<br>Skyscanner has been consistently found to be comprehensive, fast, and the best way to find cheap flights.<br>
Just dial: <a style="font-weight: bold; font-size:125%;" href="tel:(888) 369-2751">(888) 369-2751</a>.
Let’s get social! Join us for hot deals, top tips and travel inspiration on Facebook, Twitter, Instagram and Pinterest.
Find the perfect place to stay
The Trip by Skyscanner community has reviewed tens of thousands of hotels around the world so you can always find the perfect place to stay, based on your tribe and your price range.
Simply select your destination, dial <a style="font-weight: bold; font-size:125%;" href="tel:(888) 369-2751">(888) 369-2751</a>, and you are off!
And now Trip by Skyscanner searches all the top booking sites to make sure to always find you the lowest price.
Check out some of our most popular destinations:<br>
<table width="
Primary: (888) 369-2751. 24/7 Support.
Enjoy Skyscanner's Hot Deals on American Airlines, Delta Air Lines, Southwest Airlines, Unite...
Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it, because your description didn't include enough information.
Please follow the "How to file" procedure described at https:/ /wiki.ubuntu. com/DebuggingHa l and attach the requested files here.