|
Bugzilla – Full Text Bug Listing |
| Summary: | brightness hotkey no more work with beta2 and beta3 (works with beta1) | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.3 | Reporter: | Perret Florian <f-perret> |
| Component: | Mobile Devices | Assignee: | Christian Zoz <zoz> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | forgotten_B-7XM5iatA, forgotten_eSTct29jGv, jmatejek |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE 10.3 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
lshal
Complete lshal messages acpidump dmesg dmesg acpidump lsmod and xorg-x11-driver-video |
||
|
Description
Perret Florian
2007-08-24 07:48:38 UTC
What exactly do you mean and how did you detect this problem (which desktop/tools/etc.)? With beta1, if I use Fn+F5/F6 I can set different level of brightness. With beta2 it doesn't work anymore. I'm using GNOME with default install on an Asus W7 laptop. On the same computer with OpenSuse 10.2, Fn+F5/F6 keys work only if compiz isn't install. 1) attach output of lshal to the bug (as attachment) 2) start 'lshal -m' and press Fn+F5/F6 keys and post the output to this bug 3) did you an update from Beta1 or a new installation? In case of update: check if consolekit is running. If not do as root: - insserv /etc/init.d/consolekit - restart your X-session (e.g. via 'init 3; init 5' on a console) Created attachment 160568 [details]
lshal
lshal -m doesn't give any respond with Fn+F5/F6 : "lshal -m Start monitoring devicelist: -------------------------------------------------" F5/F6 alone give something but Fn alone nothing. And my beta2 install is a fresh one but I've tried "insserv /etc/init.d/consolekit" and nothing change. (In reply to comment #4 from Perret Florian) > Created an attachment (id=160568) [details] > lshal This attachment is complete useless, it doesn't provide the complete lshal output. Do this: lshal > /tmp/lshal attach the file /tmp/lshal to this bug (In reply to comment #5 from Perret Florian) > lshal -m doesn't give any respond with Fn+F5/F6 : Check /var/log/messages if there are any messages about unknown scancodes if you press Fn+F5/F6. Created attachment 160697 [details]
Complete lshal
Created attachment 160698 [details]
messages
Can't see something about FN+key in messages.
1) try hal from this repo: http://download.opensuse.org/repositories/home:/dkukawka/openSUSE_Factory/ 2) start 'acpi_listen', press the brightness button. Is there any output? No output for Fn+F5/F6 (brightness) No output for "Super" key But there is an output for sound hotkey but they have no action on the sound ! : enable/disable sound : hotkey ATKD 00000032 00000002 low sound : hotkey ATKD 00000031 00000002 up sound : hotkey ATKD 00000030 00000002 low sound : hotkey ATKD 00000031 00000007 up sound : hotkey ATKD 00000030 00000012 @Timo: please investigate this, I don't think that hal is the problem (no acpi events, no other events and also no unknown keycodes). May a hotkey-setup or a g-p-m problem. Alright. I'll have a look at this next week. Ok, thanks. To summarize : * OpenSuse 10.2 : No hotkey for sound and brigtness with or whithout XGL/Compiz * OpenSuse 10.3 beta 1 without XGL/Compiz (don't have test with XGL/Compiz) : Hotkey for brigtness works Hotkey for sound doesn't work * OpenSuse 10.3 beta 2 (don't have test with XGL/Compiz) : Hotkey for brightness doesn't work Hotkey for sound doesn't work With acpi_listen on beta 2, here the result for all hotkey : To control the sound, there is to mean, the "roll" is the easier one : hotkey ATKD 00000032 00000003 : Roll switch on/off sound (doesn't work) hotkey ATKD 00000031 00000002 : Roll low sound (doesn't work) hotkey ATKD 00000030 00000002 : Roll up sound (doesn't work) hotkey ATKD 00000032 00000002 : Fn+F10 switch on/off sound (doesn't work) hotkey ATKD 00000031 00000001 : Fn+F11 low sound (doesn't work) hotkey ATKD 00000030 00000001 : FN+F12 up sound (doesn't work) "Super" key : no result "Right menu" key : no result Brigtness key down : FN+F5 no result Brigtness key up : FN+F6 no result hotkey ATKD 00000034 00000000 : Fn+F7 switch off LCD (works) hotkey ATKD 00000033 00000000 : Fn+F7 switch on LCD (works) hotkey ATKD 00000061 00000000 : Fn+F8 switch output screen (can't test here but works in 10.2) hotkey ATKD 0000005f 00000000 : Fn+F2 switch off networks (works partially : can't make a distinction between wifi and bluetooth : all on or all off !) hotkey ATKD 0000007e 00000000 : automaticelly activated by the precedent hotkey hotkey ATKD 0000005e 00000000 : Fn+F2 switch on networks (works partially : can't make a distinction between wifi and bluetooth : all on or all off) hotkey ATKD 0000007d 00000000 : automaticelly activated by the precedent hotkey hotkey ATKD 00000050 00000000 : Fn+F2 start internet browser (doesn't work) hotkey ATKD 00000051 00000000 : FN+F3 start mail client (doesn't work) button/sleep SLPB 00000080 00000001 : FN+F1 sleep mode (seems to work but ram sleep doesn't work on this computer) Same problem in beta 3. "super" key now works with gnome (but not with kde). It will be great if at least sound and brightness key work in 10.3. It's a big lack for power saving... I've fixed the hotkey integration for ASUS laptops. Volume handling and such should work. That, however, does not fix the issue about brightness handling. On your system the ACPI events for brightness up and down are not being reported. As long as this does not get reported by asus-laptop there is nothing I can do on the userspace side. Reassigning to the kernel maintainers. With RC1: - sound hotkeys make appears the 'sound bar' but they don't change really the sound level (seems to change the mic-in level instead), - acpi_listen doesn't give result with brightness hotkeys, - acpi_listen doesn't give result with 'Super' key (GNOME and KDE, beta 3 worked with GNOME), - Fn+F8 switch screen output (LCD/external/LCD+external) doesn't work. I've test with a videoprojector : hotkey ATKD 00000061 00000007 Same problem in GM than RC1. The reason why brightness keys don't work is that recent ASUS BIOSes use "the Vista way" for changing brightness, instead of letting hardware do it. In Linux this is handled by the "video" kernel module, which is disabled by default in openSUSE 10.3. To re-enable it, comment out the line in /etc/modprobe.d/xorg-x11-driver-video with a #, then do modprobe video. It is then highly possible that pressing the brightness keys will increase/decrease it with a step of two. See this bug for a solution: https://bugzilla.novell.com/show_bug.cgi?id=331599 this applies (and solution works) for MSI PR200 as well why exactly is the video module disabled? The same problem on my Lenovo 3000 N 100 (BYG 0768). Brightness hotkeys and the brightness support in KPowersave works in openSUSE 10.3 Beta1. Both doesn't work anymore in all versions after. In case of Lenovo the brightness hotkeys are Fn+F10 and Fn+F11. lshal -m doesn't give any response with Fn+F10/F11. I'm using openSuSE 10.3 x86. Norman, Did you try steps from #19? If this does not help, please provide acpidump and dmesg outputs. Created attachment 194256 [details]
acpidump
Created attachment 194257 [details]
dmesg
(In reply to comment #22 from Alexey Starikovskiy) > Norman, > Did you try steps from #19? > If this does not help, please provide acpidump and dmesg outputs. > There is only one entry in /etc/modprobe.d/xorg-x11-driver-video only this one: install video /bin/true Is this to comment out ??? Which (video) kernel-module should be enabled ? Another importend information: Brightness hotkeys are working until the GRUB Bootscreen. After systemboot brightness hotkey are non-effective. Created attachment 194264 [details]
dmesg
Norman, did you try steps from #19? Your acpidump is truncated from the beginning, please repost. Please do "lsmod | grep video" If "video" is present, try to unload it with "rmmod video" If it is not present, try to load it with "modprobe video" lsmod | grep video video is not present after modprobe video video is likewise not present Created attachment 194269 [details]
acpidump
yes, please comment entry in /etc/modprobe.d/xorg-x11-driver-video -- modprobe video should work after. Created attachment 194471 [details]
lsmod and xorg-x11-driver-video
Here lsmod and xorg-x11-driver-video after systemboot and after modprobe video
In both cases I can't locate a kernelmodul video or a difference in xorg-x11-driver-video
Norman, please put '#' at the beginning of xorg-x11-driver-video, it will comment out the first string, thus allowing 'video' module to load. yes, after comment out the string "install video /bin/true" in xorg-x11-driver-video it's possible to load the kernelmodul video. After modul loading the brightness hotkeys and the brightness support in KPowersave is working again. After system reboot kernelmodul video will loaded automatic. Very good job ! Thank you very much Alexey, today I made the test from comment 31 a second time because I forgot a space to make before "modprobe". After that I attempted to load the modul video. I got a errormessage that modprobe video will ignored. Alas I can't remember the exactly wording sorry. Then I comment out the line in /etc/modprobe.d/xorg-x11-driver-video again. But now it was impossible to load the modul video. linux-laptop:/home/norman # modprobe video -v install /bin/true with and without "#" before line install video /bin/true in /etc/modprobe.d/xorg-x11-driver-video The only way to load the modul was linux-laptop:/home/norman # modprobe video -i -v insmod /lib/modules/2.6.22.16-0.2-default/kernel/drivers/acpi/video.ko linux-laptop:/home/norman # lsmod | grep video video 21640 0 What did I wrong ? After Systemboot modul video is now not loaded. please do a 'grep video /etc/modprobe.d/*'. linux-laptop:/home/norman # grep video /etc/modprobe.d/*
/etc/modprobe.d/blacklist:# sed -e '/\/drivers\/video\/.*\.\(o\|ko\)$/{s@^.*/@@;s@\..*$@@;p};d'
/etc/modprobe.d/blacklist:# look in /usr/src/linux/Documentation/video4linux/CARDLIST.bttv.
/etc/modprobe.d/xorg-x11-driver-video:install video /bin/true
After that I comment out the line install video /bin/true in /etc/modprobe.d/xorg-x11-driver-video and attempted to load the modul video again. Now it was possible to load the module video. I can't understand this because I did not other as the day before. I made no changes in any files only the "#" before install /bin/true. I want understand this but I have no idea why this functioned today. Info provided as per comment #37 & comment #38 this works now |