Skip to contentSkip to conversation

Dell Vostro V131: special hotkey not working

DISCUSSION Matthew Garrett 2 participants 7 messages Apr 25, 2012 – Jun 12, 2014 1 message not in the archive x86 platform drivers

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 7 lines · Peter Meiser

Hello,

I've bought a Dell Vostro V131. This model has 3 special hotkeys (quick launch keys).
The keys are:
1. "Windows mobility center" -> This hotkey generates Mod+X
2. "Dell support center" -> This hotkey generates keycode 0xEE
3. "Dell instant launch manager" -> This hotkey doesn't generate anything, neither through dell-wmi nor i8042

If you run

watch -n 0.1 cat /proc/interrupts

does one of them increase reliably when you hit the key?

Signature · 1 line
Matthew Garrett | [email protected]
#2 lore raw

Hello Matthew,

Am 25.04.2012 15:53, schrieb Matthew Garrett:

Quoted 1 line

watch -n 0.1 cat /proc/interrupts

When running "watch -n 0,1 cat /proc/interrupts" (watch -n 0.1 errors out, maybe because of German environment???), the following row increases after each press:

9: 5 0 0 0 IO-APIC-fasteoi acpi

Others increase more quickly, but they are iwlwifi, i915, "Local timer interrupts" and "Rescheduling interrupts" which are out of interest, right?

Best regards,
Peter

#3 lore raw
Quoted 8 lines · Peter Meiser

Hello Matthew,

Am 25.04.2012 15:53, schrieb Matthew Garrett:

Quoted 1 line

watch -n 0.1 cat /proc/interrupts

When running "watch -n 0,1 cat /proc/interrupts" (watch -n 0.1 errors out, maybe because of German environment???), the following row increases after each press:

9: 5 0 0 0 IO-APIC-fasteoi acpi

Ok, so it's definitely being handled by ACPI somehow - probably via WMI, but unsure. Rez, any chance you can look at the original message and let us know if this is expected to work with the current driver?

Signature · 1 line
Matthew Garrett | [email protected]
#4 lore raw

Hi Rez,

any news on this topic?

Thanks a lot in advance,
Peter

Am 25.04.2012 16:22, schrieb Matthew Garrett:

Quoted 14 lines · Peter Meiser
Quoted 8 lines

Hello Matthew,

Am 25.04.2012 15:53, schrieb Matthew Garrett:

Quoted 1 line

watch -n 0.1 cat /proc/interrupts

When running "watch -n 0,1 cat /proc/interrupts" (watch -n 0.1 errors out, maybe because of German environment???), the following row increases after each press:

9: 5 0 0 0 IO-APIC-fasteoi acpi

Ok, so it's definitely being handled by ACPI somehow - probably via WMI, but unsure. Rez, any chance you can look at the original message and let us know if this is expected to work with the current driver?

#5 lore raw
In reply to Matthew Garrett

Hi Matthew,

this topic is still valid. Could you help me debugging the hotkeys?

There're two issues:
1. The "Dell support center" hotkey generates keycode 0xEE, but this is done forever. That means that I don't see a release event.
2. The "Dell instant launch manager" hotkey doesn't generate anything.

Thanks a lot in advance,
Peter

Am 25.04.2012 16:22, schrieb Matthew Garrett:

Quoted 14 lines · Peter Meiser
Quoted 8 lines

Hello Matthew,

Am 25.04.2012 15:53, schrieb Matthew Garrett:

Quoted 1 line

watch -n 0.1 cat /proc/interrupts

When running "watch -n 0,1 cat /proc/interrupts" (watch -n 0.1 errors out, maybe because of German environment???), the following row increases after each press:

9: 5 0 0 0 IO-APIC-fasteoi acpi

Ok, so it's definitely being handled by ACPI somehow - probably via WMI, but unsure. Rez, any chance you can look at the original message and let us know if this is expected to work with the current driver?

#6 lore raw

Hi again,

I found a solution for the 1st issue. It needs a udev quirk to force_release. Please find attached a patch against current udev in Ubuntu 12.04.

For the 2nd issue, I still can't find a way to generate a keycode.

Thanks for your help!
Best regards,
Peter

Am 19.01.2013 11:38, schrieb Peter Meiser:

Quoted 4 lines

Hi Matthew,

this topic is still valid. Could you help me debugging the hotkeys?

Quoted 22 lines

There're two issues:
1. The "Dell support center" hotkey generates keycode 0xEE, but this is done forever. That means that I don't see a release event.
2. The "Dell instant launch manager" hotkey doesn't generate anything.

Thanks a lot in advance,
Peter

Am 25.04.2012 16:22, schrieb Matthew Garrett:

Quoted 14 lines · Peter Meiser
Quoted 8 lines

Hello Matthew,

Am 25.04.2012 15:53, schrieb Matthew Garrett:

Quoted 1 line

watch -n 0.1 cat /proc/interrupts

When running "watch -n 0,1 cat /proc/interrupts" (watch -n 0.1 errors out, maybe because of German environment???), the following row increases after each press:

9: 5 0 0 0 IO-APIC-fasteoi acpi

Ok, so it's definitely being handled by ACPI somehow - probably via WMI, but unsure. Rez, any chance you can look at the original message and let us know if this is expected to work with the current driver?

extras/keymap/keymaps/dell +1 -0
@@ -25,5 +25,6 @@
 0xA2 playpause # Front panel play/pause
 0xA4 stopcd # Front panel stop
 0xED media # MediaDirect button
+0xEE screenlock # FIXME: Dell Support Center button
 0xD8 screenlock # FIXME: Tablet lock button
 0xD9 f21 # touchpad toggle
extras/keymap/95-keyboard-force-release.rules +1 -0
diff -Naur a/extras/keymap/95-keyboard-force-release.rules b/extras/keymap/95-keyboard-force-release.rules
@@ -24,6 +24,7 @@
 ENV{DMI_VENDOR}=="Dell Inc.", ATTR{[dmi/id]product_name}=="Studio 1557|Studio 1558", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
 ENV{DMI_VENDOR}=="Dell Inc.", ATTR{[dmi/id]product_name}=="*Latitude*|*Precision*", RUN+="keyboard-force-release.sh $devpath dell-touchpad"
 ENV{DMI_VENDOR}=="Dell Inc.", ATTR{[dmi/id]product_name}=="XPS*", RUN+="keyboard-force-release.sh $devpath dell-xps"
+ENV{DMI_VENDOR}=="Dell Inc.", ATTR{[dmi/id]product_name}=="*Vostro*", RUN+="keyboard-force-release.sh $devpath dell-vostro"
 
 ENV{DMI_VENDOR}=="FUJITSU SIEMENS", ATTR{[dmi/id]product_name}=="AMILO*", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
 
extras/keymap/force-release-maps/dell-vostro +1 -0
diff -Naur a/extras/keymap/force-release-maps/dell-vostro b/extras/keymap/force-release-maps/dell-vostro
@@ -0,0 +1 @@
+0xEE # Dell Support Center button
#7 lore raw

Hi again,

can anyone please help me debugging this issue? I'd like to get special key working. The "Dell instant launch manager" hotkey still doesn't generate anything.

I'm running Ubuntu 14.04 right now (kernel 3.13).

Thanks a lot in advance,
Peter

Am 20.07.2013 07:03, schrieb Peter Meiser:

Quoted 37 lines

Hi again,

I found a solution for the 1st issue. It needs a udev quirk to force_release. Please find attached a patch against current udev in Ubuntu 12.04.

For the 2nd issue, I still can't find a way to generate a keycode.

Thanks for your help!
Best regards,
Peter

Am 19.01.2013 11:38, schrieb Peter Meiser:

Quoted 26 lines

Hi Matthew,

this topic is still valid. Could you help me debugging the hotkeys?

There're two issues:
1. The "Dell support center" hotkey generates keycode 0xEE, but this is done forever. That means that I don't see a release event.
2. The "Dell instant launch manager" hotkey doesn't generate anything.

Thanks a lot in advance,
Peter

Am 25.04.2012 16:22, schrieb Matthew Garrett:

Quoted 14 lines · Peter Meiser
Quoted 8 lines

Hello Matthew,

Am 25.04.2012 15:53, schrieb Matthew Garrett:

Quoted 1 line

watch -n 0.1 cat /proc/interrupts

When running "watch -n 0,1 cat /proc/interrupts" (watch -n 0.1 errors out, maybe because of German environment???), the following row increases after each press:

9: 5 0 0 0 IO-APIC-fasteoi acpi

Ok, so it's definitely being handled by ACPI somehow - probably via WMI, but unsure. Rez, any chance you can look at the original message and let us know if this is expected to work with the current driver?