MultimediaKeys and key: Problems with Compaq Presario V2417LA Notebook (All serie V2000)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hotkey-setup (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
Not Work MultimediaKeys:
Fn+F9 = Play/Pause
Fn+F10 = Stop
Fn+F11 = Prev
Fn+F12 = Next
Not Work fine:
* keybindings:
Fn+F3=WWW [In notebook open www and show info of battery, ]
* Other Keys:
Hardware Volume (Work, don't turn on the light)
Bottom Wireless (Not work, don't turn on the light, problem with driver (broadcom43xx)
Info:
https:/
Many thanks,
Caravena
Cristian Aravena Romero (caravena) wrote : | #1 |
description: | updated |
Cristian Aravena Romero (caravena) wrote : Re: ACPI problems with Compaq Presario V2417LA Notebook | #2 |
Table of content
* Info hardware
* Solution temp
* Solution end?? (I' don't understand : -(
Info:
caravena@hefesto:~$ sudo dmidecode --string system-manufacturer
Hewlett-Packard
caravena@hefesto:~$ sudo dmidecode --string system-product-name
Presario V2000 (EK571LA#ABM)
caravena@hefesto:~$ sudo dmidecode --string system-version
Rev 1
Solution:
* Temporality:
(Add/update name="gnome_
-------
caravena@hefesto:~$ vi ~/.gconf/
[...]
[...]
-------
Cristian Aravena Romero (caravena) wrote : Solution end?? | #3 |
- Solution end?? Edit (1.7 KiB, text/plain)
-------
* caravena@hefesto:~$ vi /usr/share/
# Help
setkeycodes e059 138
# Another help key
setkeycodes e031 138
# Fn+Escape?
setkeycodes e001 148
# DVD
setkeycodes e00e 226
# Music
setkeycodes e00c 213
# Lock
setkeycodes e00a 152
# Presentation (Misc 1)
setkeycodes e008 148
# Battery
setkeycodes e009 230
##### ADD setkeycodes #####
[ I' don't understand : -(...]
-------
Paul Sladen (sladen) wrote : Re: ACPI problems with Compaq Presario V2417LA Notebook | #4 |
Hi, if the keys generate normal key events, they need to go into 'hotkey-setup' along with your dmi-decode details for that laptop.
If the keys generate ACPI events (sudo tail -0f /var/log/acpid) then they need to go into 'acpi-support'.
Could you confirm what the key code for the play button is? You can do this by going to a console (Ctrl-Alt-F1) and then running:
sudo showkey -u | tee keycodes.txt
pressing the keys in turn and and then pasting the contents of that file (wait 10 seconds for the program to finish after you've stopped typing).
Many Thanks, Paul
Cristian Aravena Romero (caravena) wrote : | #5 |
Information:
* Many thanks PaulSladen :-] for information
* Test in console (Ctrl+Alt+F1) "sudo showkey -u | tee keycodes.txt"
* Test key for key and save in file. (sudo showkey -u | tee Fn+F1.txt, sudo showkey -u | tee Fn+F2.txt, etc.)
Reppeat in all keys
"kb mode was UNICODE
press any key (program terminates after 10s of last keypress)..."
Combination of keys: Fn+esc
Operation: None
Found: Not
0x9c
0xe0 0x1f
0xe0 0x9f
Combination of keys: Fn+F1
Operation: Help Gnome
Found: Yes
0x9c
0xe0 0x75
0xe0 0xf5
Combination of keys: Fn+F2
Found:Operation: Print
Found: Yes
0x9c
0x1d 0x19 0x99 0x9d
Combination of keys: Fn+F3
Operation: It opens to navigator Web
Found: Yes
0x9c
0xe0 0x32 0xe0 0xb2
Combination of keys: Fn+F4
Operation: Exteral monitor - Refresh
Revise: http://
Found: Yes
0x9c
Combination of keys: Fn+F5
Operation: Suspend
Found: Yes
0x9c
0xe0 0x5f
0xe0 0xdf
Combination of keys: Fn+F6
Operation: Block Monitor
Found: Yes (No default!, change with hotkey-setup)
0x9c
0xe0 0x12 0xe0 0x92
Combination of keys: Fn+F7
Operation: Monitor - Down Light
Found: Yes
0x9c
Combination of keys: Fn+F8
Operation: Monitor - Up Light
Found: Yes
0x9c
Combination of keys: Fn+F9
Operation: Play/Pause
Found: Yes (No default!, change with hotkey-setup)
0x9c
0xe0 0x22
0xe0 0xa2
Combination of keys: Fn+F10
Operation: Stop
Found: Yes (No default!, change with hotkey-setup)
0x9c
0xe0 0x24 0xe0 0xa4
Combination of keys: Fn+F11
Operation: Prev
Found: Yes (No default!, change with hotkey-setup)
0x9c
0xe0 0x10 0xe0 0x90
Combination of keys: Fn+F12
Operation: Next
Found: Yes (No default!, change with hotkey-setup)
0x9c
0xe0 0x19 0xe0 0x99
=======
Combination of keys: Fn+despl
Operation: bloq num
Found: Yes
0x9c
0x45 0xc5
Combination of keys: Fn+pausa
Operation: ?
Found:
0x9c
0xe1 0x1d 0x45 0xe1 0x9d 0xc5
Combination of keys: Fn+ins
Operation: imp pnt (print screen)
Found: Yes
0x9c
0xe0 0x2a 0xe0 0x37 0xe0 0xaa 0xe0 0xb7
Combination of keys: Fn+supr
Operation: ?
Found:
0x9c
0xe0 0x2a 0xe0 0x37 0xe0 0xaa 0xe0 0xb7
Combination of keys: Fn+Enter
Operation: ?
Found:
0x9c
0xe0 0x1c 0xe0 0x9c
=======
Image of the pannel:
http://
Button Wireless
Operation: On/Off Wirelles (On: ignited light)
Found: Not
0x9c
Button: Sound Down
Operation: Sound Down
Found: Yes
0x9c
0xe0 0x2e
0xe0 0xae
Button: Sound Up
Operation: Sound Up
Found: Yes
0x9c
0xe0 0x30
0xe0 0xb0
Button: Sound on/off
Operation: On/Off(Mute) Sound (Off/Mute: ignited light)
Found: Partial (Not ligh in mute)
0x9c
0xe0 0x20
0xe0 0xa0
Paul Sladen (sladen) wrote : Re: [Bug 31238] ACPI problems with Compaq Presario V2417LA Notebook | #6 |
Fantastic! That's the best report I've seen in a while! The only thing I
don't understand is what the 'Found: Not/Yes' line means.
To help you understand them '0x9c' is the enter key being released after
you've type the command. The two similar sequences are sent, the second of
which is 128 higher than the first, these translate into push; release with
the extra top-bit set.
> Combination of keys: Fn+esc 0xe0 0x1f
Is there any writing/picture associated with this key. Does it do anything
in MS Windows? I Got most of the other unclear meanings from:
http://
but I can't see Fn-Esc on there (too far off the left side).
> Combination of keys: Fn+F1 0xe0 0x75 Help
> Combination of keys: Fn+F2 0x1d 0x19 0x99 0x9d Print
Literally: Ctrl-down, 'P'-down... a plain Ctrl-P, easy!
> Combination of keys: Fn+F3 0xe0 0x32 Web
> Combination of keys: Fn+F4 ??? External VGA
Can you do a 'sudo tail -0f /var/log/acpid' in the background (maybe over
SSH if the system dies). Pressing it again should rotate between Internal,
External and Both. It should produce an ACPI event ...hopefully.
> Combination of keys: Fn+F5 0xe0 0x5f Suspend
> Combination of keys: Fn+F6 0xe0 0x12 Lock Screen
> Combination of keys: Fn+F7 ??? Brightness Down
> Combination of keys: Fn+F8 ??? Brightness Up
Brightness Controls are probably ACPI.
> Combination of keys: Fn+F9 0xe0 0x22 Media Play/Pause
> Combination of keys: Fn+F10 0xe0 0x24 Media Stop
> Combination of keys: Fn+F11 0xe0 0x10 Media Previous Song
> Combination of keys: Fn+F12 0xe0 0x19 Media Next Song
> Combination of keys: Fn+despl 0x45
Literally, 'Num_Lock' ...which X will probably misinterpret and use to turn
on MouseKeys. When you press this under X, does the 'Num Lock' LED come on?
> Combination of keys: Fn+pausa 0xe1 0x1d 0x45 0xe1 0x9d 0xc5 Pause/Break
> Combination of keys: Fn+ins 0xe0 0x2a 0xe0 0x37 PrintScreen
> Combination of keys: Fn+supr 0xe0 0x2a 0xe0 0x37 PrintScreen
> Combination of keys: Fn+Enter 0xe0 0x1c Keypad_Enter
These are the 'normal' Pause/Break and PrintScreen keys and Keypad_Enter
sequences, they are just moved because there isn't space for them normally.
> Button Wireless: ??? On/Off Wireless (On: ignited light)
Check 'sudo tail -0f /var/log/acpid' for an ACPI event. If the LED is tied
to the keypress it may well be a "hardware" rf_kill switch.
> Sound Down: 0xe0 0x2e Volume Down
> Sound Down: 0xe0 0x30 Volume Up
> Sound on/off: 0xe0 0x20 Volume Mute
Can you check that if Mute allows sends the same keycode, or if it sends two
different keycodes depending on whether it's going Mute->Unmute or instead
Unmute->Mute.
Finally, could you run the following:
for s in system-
so that I can identify your laptop.
Many Thanks, that is an aweful lot of good-quality data you provided!
-Paul
Cristian Aravena Romero (caravena) wrote : | #7 |
2006/2/21, Paul Sladen <email address hidden>:
[...]
> The only thing I
> don't understand is what the 'Found: Not/Yes' line means.
'Found: Not/Yes' = Work?: [Not|Yes] (Default: Untested)
> > Combination of keys: Fn+esc 0xe0 0x1f
>
> Is there any writing/picture associated with this key. Does it do anything
> in MS Windows? I Got most of the other unclear meanings from:
>
> http://
No use Windows...
Many images of notebook V2417LA in:
https:/
> > Combination of keys: Fn+F3 0xe0 0x32 Web
> > Combination of keys: Fn+F4 ??? External VGA
>
> Can you do a 'sudo tail -0f /var/log/acpid' in the background (maybe over
> SSH if the system dies). Pressing it again should rotate between Internal,
> External and Both. It should produce an ACPI event ...hopefully.
Test a:
Press Fn+F4(Refresh external monitor)
caravena@
Password:
[Tue Feb 21 16:13:00 2006] received event "video VGA 00000080 00000000"
[Tue Feb 21 16:13:00 2006] notifying client 4039[108:108]
[Tue Feb 21 16:13:00 2006] completed event "video VGA 00000080 00000000"
> > Combination of keys: Fn+F5 0xe0 0x5f Suspend
> > Combination of keys: Fn+F6 0xe0 0x12 Lock Screen
> > Combination of keys: Fn+F7 ??? Brightness Down
> > Combination of keys: Fn+F8 ??? Brightness Up
>
> Brightness Controls are probably ACPI.
Not!
Test:
Press Fn+F7 and Fn+F8:
caravena@
[Empy...]
Working in report. Whats package? acpi, acpi-support, hal, etc.?
> > Combination of keys: Fn+F9 0xe0 0x22 Media Play/Pause
> > Combination of keys: Fn+F10 0xe0 0x24 Media Stop
> > Combination of keys: Fn+F11 0xe0 0x10 Media Previous Song
> > Combination of keys: Fn+F12 0xe0 0x19 Media Next Song
> > Combination of keys: Fn+despl 0x45
>
> Literally, 'Num_Lock' ...which X will probably misinterpret and use to turn
> on MouseKeys. When you press this under X, does the 'Num Lock' LED come on?
In console (Ctrl+Alt+F1), press Fn+despl(Num_Lock), works? yes, work
in console(
> > Button Wireless: ??? On/Off Wireless (On: ignited light)
>
> Check 'sudo tail -0f /var/log/acpid' for an ACPI event. If the LED is tied
> to the keypress it may well be a "hardware" rf_kill switch.
Change to console(
press button_wireless.
Test b)
Press button_wireless:
caravena@
[Empy...]
> > Sound Down: 0xe0 0x2e Volume Down
> > Sound Down: 0xe0 0x30 Volume Up
> > Sound on/off: 0xe0 0x20 Volume Mute
>
> Can you check that if Mute allows sends the same keycode, or if it sends two
> different keycodes depending on whether it's going Mute->Unmute or instead
> Unmute->Mute.
Button mute/unmute(Volume on/off) use = keycode.
Test c)
Press button volume on/off:
caravena@hefesto:~$ sudo showkey -u | tee volume_
kb mode was UNICODE
press any key (program terminates after 10s of last keypress)...
0x9c
0xe0 0x20
0xe0 0xa0
0xe0 0x20
0xe0 0xa0
...
Paul Sladen (sladen) wrote : Re: ACPI problems with Compaq Presario V2417LA Notebook | #8 |
Does:
http://
and then:
(. /usr/share/
do useful stuff for you? You can undo it with:
sudo /etc/init.
Cristian Aravena Romero (caravena) wrote : File: Problem in sudo sh ./compaq.hk | #9 |
- File: Problem in sudo sh ./compaq.hk Edit (3.2 KiB, text/plain)
download compaq.hk
$rm -rf ~./gconf
$sudo sh ./compaq.hk
[Problem...]
Cristian Aravena Romero (caravena) wrote : $sudo dumpkeycodes | #10 |
Cristian Aravena Romero (caravena) wrote : Re: ACPI problems with Compaq Presario V2417LA Notebook | #11 |
$cat /etc/init.
#!/bin/bash
manufacturer=
name=`dmidecode --string system-
version=`dmidecode --string system-version`
echo 1;
case "$1" in
start)
echo 2;
/usr/
if [ $? -gt 0 ]; then
rm /var/run/
fi
[...]
$sudo ./hotkey-setup
1
$
[And 2???]
What is:
-------
case "$1" in
start)
-------
What is: "$1"
Cristian Aravena Romero (caravena) wrote : hotkey-setup v0.1 (No Work) | #12 |
- hotkey-setup v0.1 (No Work) Edit (1.1 KiB, text/plain)
Edit file /etc/init.
Add:
case "$name" in
Presario*)
. /usr/share/
;;
esac
Cristian Aravena Romero (caravena) wrote : compaq.hk v0.1 (No Work) | #13 |
Paul Sladen (sladen) wrote : Re: ACPI problems with Compaq Presario V2417LA Notebook | #14 |
Ah, 'key-constants' isn't in the version of hotkey-setup you have, but there's a copy in the 'acpi-support' package, please run:
/usr/
Please run:
(. /usr/share/
This should loads the symbols out of 'key-constants' and then run the script with them actually in.
Paul Sladen (sladen) wrote : | #15 |
"$1" is the first parameter; $2, the second, etc. So when:
/etc/
is called $0 = "/etc/init.
Cristian Aravena Romero (caravena) wrote : File create for paul compaq.hk | #16 |
- File create for paul compaq.hk Edit (1.0 KiB, text/plain)
Paul Sladen:
Does:
compaq.hk
and then:
(. /usr/share/
do useful stuff for you? You can undo it with:
sudo /etc/init.
Cristian Aravena Romero (caravena) wrote : Re: ACPI problems with Compaq Presario V2417LA Notebook | #17 |
= No Work key of soud (Play/Pause, Stop, Prev, Next) =
* Logout Gnome
* Change to console(
* caravena@
total 16K
700347 4,0K drwxr-xr-x 2 caravena caravena 4,0K 2006-02-24 12:17 .
699010 4,0K drwxr-xr-x 34 caravena caravena 4,0K 2006-02-24 12:17 ..
700348 4,0K -rw-r--r-- 1 caravena caravena 1,1K 2006-02-24 10:44 compaq.hk
700355 4,0K -rwxr--r-- 1 caravena caravena 183 2006-02-24 12:07 run.sh
* caravena@
# Compaq (pre-HP merger)
# From Compaq Presario LV2417LA, Thanks to Cristian Aravena Romero
setkeycodes e01f $KEY_PROG1 # Fn-Esc Unknown
setkeycodes e075 $KEY_HELP # Fn-F1 Help
[...]
* caravena@
#!/bin/bash
sudo /etc/init.d/gdm stop
rm -rf ~/.gconf
sudo /etc/init.
. /usr/share/
sudo /etc/init.d/gdm start
* caravena@
[Ok]
= Result =
Not work Fn+[F[9|10|11|12]], Play/pause, Stop, Prev, Next.
Pliss help. (My english no is good, I copy/paste script...
Paul Sladen (sladen) wrote : | #18 |
You don't need to restart gdm or anything, changes will take effect immediately because they go through the input layer:
Stick this in a 'run.sh':
#!/bin/sh
. /usr/share/
. ./compaq.hk
then:
sudo ./run.sh
from a GNOME terminal. Then run:
xev
what keys to do see now when you press the buttons?
Cristian Aravena Romero (caravena) wrote : Re: [Bug 31238] ACPI problems with Compaq Presario V2417LA Notebook | #19 |
2006/2/24, Paul Sladen <email address hidden>:
> Comment:
> You don't need to restart gdm or anything, changes will take effect
> immediately because they go through the input layer:
Ok
> Stick this in a 'run.sh':
>
> #!/bin/sh
> . /usr/share/
> . ./compaq.hk
Ok.
> then:
>
> sudo ./run.sh
Ok,
> from a GNOME terminal. Then run:
>
> xev
>
> what keys to do see now when you press the buttons?
* Press:
Fn+F9(Play/Pause), Fn+F10(Stop), Fn+F11(
Fn+F12(NextSong) and Alt+F4(Close xev)
caravena@
state 0x0, keycode 162 (keysym 0x0, NoSymbol), same_screen YES,
X connection to :0.0 broken (explicit kill or server shutdown).
state 0x0, keycode 162 (keysym 0x0, NoSymbol), same_screen YES,
state 0x0, keycode 232 (keysym 0x0, NoSymbol), same_screen YES,
state 0x0, keycode 232 (keysym 0x0, NoSymbol), same_screen YES,
state 0x0, keycode 144 (keysym 0x0, NoSymbol), same_screen YES,
state 0x0, keycode 144 (keysym 0x0, NoSymbol), same_screen YES,
state 0x0, keycode 153 (keysym 0x0, NoSymbol), same_screen YES,
state 0x0, keycode 153 (keysym 0x0, NoSymbol), same_screen YES,
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
caravena@
Many Thanks,
Caravena
Cristian Aravena Romero (caravena) wrote : | #20 |
Test: Press F10(Stop):
caravena@
caravena@
[...]
KeyPress event, serial 26, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 2848393909, (340,399), root:(341,468),
state 0x0, keycode 232 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 26, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 2848393909, (340,399), root:(341,468),
state 0x0, keycode 232 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
[...]
caravena@
Password:
caravena@
[...]
KeyPress event, serial 26, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 2848532099, (322,691), root:(323,760),
state 0x0, keycode 232 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 26, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 2848532099, (322,691), root:(323,760),
state 0x0, keycode 232 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
[...]
caravena@
caravena@
[...]
KeyPress event, serial 26, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 2848644511, (348,687), root:(349,756),
state 0x0, keycode 232 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 26, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 2848644511, (348,687), root:(349,756),
state 0x0, keycode 232 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
[...]
description: | updated |
Cristian Aravena Romero (caravena) wrote : Guide of hardware - Compaq.com | #21 |
- Guide of hardware - Compaq.com Edit (1.8 MiB, application/pdf)
Information for all notebooks _Compaq_
Many thanks,
caravena
Cristian Aravena Romero (caravena) wrote : | #22 |
Not work and revise point guide of hardware:
2-1 TouchPad vetcial/horizontal scrolling region
2-6 HotKey Quick Reference
4-2 Volume Controls (Light of on/off)
4-7 CD and DVD procedures
Many Thanks,
caravena
Sorry, function is "sleep", not hibernate. Not problem in Fn+F5 = Sleep. Ok