Pressing the eject key on my Dell Studio 1555 does not work and dmesg produces this message : dell-wmi: Unknown key 0 pressed
I've added a debugging printk in dell-wmi after line 222 like this :
printk(KERN_INFO "dell:wmi 0x%x , 0x%x \n", buffer_entry, buffer_entry);
Dmesg now shows :
dell:wmi 0x0 , 0xe009
dell-wmi: Unknown key 0 pressed
So for some reason buffer_entry is used although it is empty.
Created attachment 26579 [details]
Fallback to buffer_entry 2 in case 1 is 0x0
The attached patch fixes the eject key for me falling back to buffer_entry in case buffer_entry is 0x0 .
I suspect it might be better to fix the "dell_new_hk_type" logic though.
I think this bug is better placed in ACPI - platform drivers but I don't have permission to do so. Can someone with the correct privileges do that please ? Thanks :)
Please don't send patches via bugzilla - it causes lots of problems with
our usual patch management and review processes.
Please send this patch via email as per Documentation/SubmittingPatches.
Suitable recipients may be found via scripts/get_maintainer.pl. Please
also cc myself on the email.