[Bug 1478696] Re: dell-laptop: Incorrect keyboard backlight detection

2016-07-05 Thread Darek Stojaczyk
@Henry, No, I haven't. I don't have the Dell Inspiron M5110 laptop
anymore and I can't reproduce this error. You can feel free to open the
upstream bug report.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1478696

Title:
  dell-laptop: Incorrect keyboard backlight detection

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1478696/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1478696] Re: dell-laptop: Incorrect keyboard backlight detection

2015-07-29 Thread Darek Stojaczyk
** Tags added: kernel-bug-exists-upstream

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1478696

Title:
  dell-laptop: Incorrect keyboard backlight detection

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1478696/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1478696] Re: dell-laptop: Incorrect keyboard backlight detection

2015-07-27 Thread Darek Stojaczyk
I believe all necessary logs are included in bug description.

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1478696

Title:
  dell-laptop: Incorrect keyboard backlight detection

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1478696/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1205791] Re: Dell Vostro V131: special keys not working

2015-07-27 Thread Darek Stojaczyk
The issue I've mentioned above is not related to Michał's patch.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1205791

Title:
  Dell Vostro V131: special keys not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/udev/+bug/1205791/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1478696] [NEW] dell-laptop: Incorrect keyboard backlight detection

2015-07-27 Thread Darek Stojaczyk
Public bug reported:

I own Dell Inspiron M5110 (Q15R). This laptop has no keyboard backlight, but 
dell-laptop claims otherwise.
My syslog was getting spammed with "Keyboard brightness level control not 
supported" as dell-laptop was trying to get/set backlight values.

In dell-laptop there is kbd_led_present variable, but on my M5110 it's
being set to true:

ret = kbd_init_info();
(...)
if (kbd_token_bits != 0 || ret == 0)
kbd_led_present = true;

kbd_token_bits is 0, but so is ret.
kbd_init_info method is only returning != 0 if kbd_get_info is returning != 0

(Basing on this: 
http://linux.dell.com/cgi-bin/cgit.cgi/libsmbios.git/tree/src/bin/smbios-keyboard-ctl#n667)
kbd_get_info method returns only cbRES1 value of following smbios call :
cbClass 4
cbSelect 11
cbArg1 0x0
And it returns 0...
I found that any cbRES of this call is giving me nothing but zeros, as if it 
wasn't defined in my BIOS. I have it's newest version for my laptop:
[0.00] SMBIOS 2.7 present.
[0.00] DMI: Dell Inc. Inspiron M5110/0X7W03, BIOS A05 03/22/2012

However, if "cbRES3, byte2  Number of keyboard light brightness levels"
is 0 as well, that should mean backlight is not available, right? I'm
attaching possible fix.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: backlight dell

** Patch added: "Possible fix"
   
https://bugs.launchpad.net/bugs/1478696/+attachment/4434767/+files/dell-laptop.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1478696

Title:
  dell-laptop: Incorrect keyboard backlight detection

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1478696/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1205791] Re: Dell Vostro V131: special keys not working

2015-07-27 Thread Darek Stojaczyk
While checking wmi event codes I discovered that after pm-suspend and
resume wmi events are no longer sent. All wmi buttons stopped working
(except for volume buttons).

Reloading dell-laptop fixed it. However, that is unrelated issue, I
believe. I will try without Michał's patch to see if that's the case.

** Attachment added: "M5110_wmi_events.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1205791/+attachment/4434624/+files/M5110_wmi_events.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1205791

Title:
  Dell Vostro V131: special keys not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/udev/+bug/1205791/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1205791] Re: Dell Vostro V131: special keys not working

2015-07-27 Thread Darek Stojaczyk
Whoopie, do you mean wmi event?
If not, can you enable pr_debug in dell-wmi and post list of your wmi events? 
The same one that Michał asked me to create.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1205791

Title:
  Dell Vostro V131: special keys not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/udev/+bug/1205791/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1205791] Re: Dell Vostro V131: special keys not working

2015-07-26 Thread Darek Stojaczyk
** Patch added: "Michał Kępień's patch based on dell-laptop from 4.1.2 kernel"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1205791/+attachment/4434177/+files/dell-laptop.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1205791

Title:
  Dell Vostro V131: special keys not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/udev/+bug/1205791/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1205791] Re: Dell Vostro V131: special keys not working

2015-07-25 Thread Darek Stojaczyk
I'm also affected by this bug on Dell Inspiron M5110 (Q15R). This laptop
has the same set of special buttons as Vostro V131.

Mentioned ECG1 method was also returning values 0x2000 and 0x1000 for
me, but after applying the dell-laptop patch given by Michał Kępień (
http://www.spinics.net/lists/platform-driver-x86/msg07195.html ) it
started returning values 0x2800 and 0x1800, so that NEVT method could
catch these events by default.

Even though these keys have the same symbols on keyboard and they should
work the same on M5110 and V131, mine dell-wmi detects them as events
0xe06e for key #2 and 0xe029 for key #3 (instead of 0xe026 and 0xe025 as
on V131). As M5110 doesn't use dell_new_hk_type,  I was able to simply
map these events in dell-wmi in legacy keymap as unused XF86Launch keys
and use them straight away in Xorg. But that's just a workaround for
now.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1205791

Title:
  Dell Vostro V131: special keys not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/udev/+bug/1205791/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs