Message ID | 1367828623-22998-1-git-send-email-alex.hung@canonical.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
On Monday, May 06, 2013 04:23:43 PM Alex Hung wrote: > On HP 1000 lapops, BIOS reports minimum backlight on boot and > causes backlight to dim completely. This ignores the initial backlight > values and set to max brightness. > > Buglink: https://bugs.launchpad.net/bugs/1167760 > > Signed-off-by: Alex Hung <alex.hung@canonical.com> Queued up for a post-3.10-rc1 push as 3.10 material. Thanks, Rafael > --- > drivers/acpi/video.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c > index c3932d0..5b32e15 100644 > --- a/drivers/acpi/video.c > +++ b/drivers/acpi/video.c > @@ -456,6 +456,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = { > DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dm4 Notebook PC"), > }, > }, > + { > + .callback = video_ignore_initial_backlight, > + .ident = "HP 1000 Notebook PC", > + .matches = { > + DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"), > + DMI_MATCH(DMI_PRODUCT_NAME, "HP 1000 Notebook PC"), > + }, > + }, > {} > }; > >
On 05/06/2013 04:23 PM, Alex Hung wrote: > On HP 1000 lapops, BIOS reports minimum backlight on boot and > causes backlight to dim completely. This ignores the initial backlight > values and set to max brightness. > > Buglink: https://bugs.launchpad.net/bugs/1167760 I've checked the acpi dump from the bug page, it should be the same firmware problem which the following patch is meant to solve: http://www.spinics.net/lists/linux-acpi/msg47212.html commit 2c62333a408f5badd2d2ffd7177f95deeccc5ca4 Author: Aaron Lu <aaron.lu@intel.com> Date: Wed Nov 6 09:07:10 2013 +0800 ACPI / video: Quirk initial backlight level 0 Possible to give it a test? It's in Rafael's linux-next branch: http://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git If confirmed, we can save an entry in the DMI table. Thanks, Aaron > > Signed-off-by: Alex Hung <alex.hung@canonical.com> > --- > drivers/acpi/video.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c > index c3932d0..5b32e15 100644 > --- a/drivers/acpi/video.c > +++ b/drivers/acpi/video.c > @@ -456,6 +456,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = { > DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dm4 Notebook PC"), > }, > }, > + { > + .callback = video_ignore_initial_backlight, > + .ident = "HP 1000 Notebook PC", > + .matches = { > + DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"), > + DMI_MATCH(Drjw@sisk.plMI_PRODUCT_NAME, "HP 1000 Notebook PC"), > + }, > + }, > {} > }; > > -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi, It works as expected. On Tue, Nov 12, 2013 at 10:03 AM, Aaron Lu <aaron.lu@intel.com> wrote: > On 05/06/2013 04:23 PM, Alex Hung wrote: >> On HP 1000 lapops, BIOS reports minimum backlight on boot and >> causes backlight to dim completely. This ignores the initial backlight >> values and set to max brightness. >> >> Buglink: https://bugs.launchpad.net/bugs/1167760 > > I've checked the acpi dump from the bug page, it should be the same > firmware problem which the following patch is meant to solve: > http://www.spinics.net/lists/linux-acpi/msg47212.html > > commit 2c62333a408f5badd2d2ffd7177f95deeccc5ca4 > Author: Aaron Lu <aaron.lu@intel.com> > Date: Wed Nov 6 09:07:10 2013 +0800 > > ACPI / video: Quirk initial backlight level 0 > > Possible to give it a test? It's in Rafael's linux-next branch: > http://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git > > If confirmed, we can save an entry in the DMI table. > > Thanks, > Aaron > >> >> Signed-off-by: Alex Hung <alex.hung@canonical.com> >> --- >> drivers/acpi/video.c | 8 ++++++++ >> 1 file changed, 8 insertions(+) >> >> diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c >> index c3932d0..5b32e15 100644 >> --- a/drivers/acpi/video.c >> +++ b/drivers/acpi/video.c >> @@ -456,6 +456,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = { >> DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dm4 Notebook PC"), >> }, >> }, >> + { >> + .callback = video_ignore_initial_backlight, >> + .ident = "HP 1000 Notebook PC", >> + .matches = { >> + DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"), >> + DMI_MATCH(Drjw@sisk.plMI_PRODUCT_NAME, "HP 1000 Notebook PC"), >> + }, >> + }, >> {} >> }; >> >> >
On 11/13/2013 01:04 AM, Alex Hung wrote: > Hi, > > It works as expected. Thanks for the confirm! Now I look at the DMI table for initial backlight broken systems, in addition to the "HP Pavilion m4" and "HP 1000 Notebook PC", the following systems are also candidates for removal: HP Pavilion g6 Notebook PC - bug 56661 HP Pavilion dm4 - no bug entry Fujitsu E753 - bug 60161 HP Folio 13-2000 - bug 51141 I've checked the acpidump of all the above laptops except HP dm4, which doesn't have a bug page, they all have the same problem we are talking about here. The HP dm4 is very suspicious according to its corresponding commit message and its brand. I've asked in the individual bug page for test, once confirmed, I'll remove them all. Hi Gustavo, Can you please test this? I've prepared a branch for you: https://github.com/aaronlu/linux acpi_video_dmi It is based on Rafael's linux-next branch, with only one patch on top: remove all the above systems from the DMI table. Thanks, Aaron > > > > On Tue, Nov 12, 2013 at 10:03 AM, Aaron Lu <aaron.lu@intel.com> wrote: >> On 05/06/2013 04:23 PM, Alex Hung wrote: >>> On HP 1000 lapops, BIOS reports minimum backlight on boot and >>> causes backlight to dim completely. This ignores the initial backlight >>> values and set to max brightness. >>> >>> Buglink: https://bugs.launchpad.net/bugs/1167760 >> >> I've checked the acpi dump from the bug page, it should be the same >> firmware problem which the following patch is meant to solve: >> http://www.spinics.net/lists/linux-acpi/msg47212.html >> >> commit 2c62333a408f5badd2d2ffd7177f95deeccc5ca4 >> Author: Aaron Lu <aaron.lu@intel.com> >> Date: Wed Nov 6 09:07:10 2013 +0800 >> >> ACPI / video: Quirk initial backlight level 0 >> >> Possible to give it a test? It's in Rafael's linux-next branch: >> http://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git >> >> If confirmed, we can save an entry in the DMI table. >> >> Thanks, >> Aaron >> >>> >>> Signed-off-by: Alex Hung <alex.hung@canonical.com> >>> --- >>> drivers/acpi/video.c | 8 ++++++++ >>> 1 file changed, 8 insertions(+) >>> >>> diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c >>> index c3932d0..5b32e15 100644 >>> --- a/drivers/acpi/video.c >>> +++ b/drivers/acpi/video.c >>> @@ -456,6 +456,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = { >>> DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dm4 Notebook PC"), >>> }, >>> }, >>> + { >>> + .callback = video_ignore_initial_backlight, >>> + .ident = "HP 1000 Notebook PC", >>> + .matches = { >>> + DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"), >>> + DMI_MATCH(Drjw@sisk.plMI_PRODUCT_NAME, "HP 1000 Notebook PC"), >>> + }, >>> + }, >>> {} >>> }; >>> >>> >> > > > -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Em Qua, 2013-11-13 às 10:07 +0800, Aaron Lu escreveu: > Hi Gustavo, > Can you please test this? I've prepared a branch for you: > https://github.com/aaronlu/linux acpi_video_dmi > It is based on Rafael's linux-next branch, with only one patch > on top: remove all the above systems from the DMI table. Aaron, thanks for setting the branch up. However, I will only be able to test it over the weekend. For completeness my instance of the bug was (wrongly) tracked here: https://bugs.freedesktop.org/show_bug.cgi?id=43577 Abraços, Gustavo -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 11/14/2013 07:50 PM, Gustavo Maciel Dias Vieira wrote: > Em Qua, 2013-11-13 às 10:07 +0800, Aaron Lu escreveu: >> Hi Gustavo, >> Can you please test this? I've prepared a branch for you: >> https://github.com/aaronlu/linux acpi_video_dmi >> It is based on Rafael's linux-next branch, with only one patch >> on top: remove all the above systems from the DMI table. > > Aaron, thanks for setting the branch up. However, I will only be able to > test it over the weekend. No problem :-) > > For completeness my instance of the bug was (wrongly) tracked here: > https://bugs.freedesktop.org/show_bug.cgi?id=43577 Thanks for the info. Unfortunately, there isn't acpidump either. Please attach the dump there when you have time, thanks. As root: # acpidump > acpidump.txt -Aaron -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Em Sex, 2013-11-15 às 08:42 +0800, Aaron Lu escreveu: > >> Can you please test this? I've prepared a branch for you: > >> https://github.com/aaronlu/linux acpi_video_dmi > >> It is based on Rafael's linux-next branch, with only one patch > >> on top: remove all the above systems from the DMI table. Tested and it works perfectly, no brightness regressions observed. > > > > For completeness my instance of the bug was (wrongly) tracked here: > > https://bugs.freedesktop.org/show_bug.cgi?id=43577 > > Thanks for the info. Unfortunately, there isn't acpidump either. > Please attach the dump there when you have time, thanks. Done Abraços, Gustavo -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 11/15/2013 09:17 AM, Gustavo Maciel Dias Vieira wrote: > Em Sex, 2013-11-15 às 08:42 +0800, Aaron Lu escreveu: >>>> Can you please test this? I've prepared a branch for you: >>>> https://github.com/aaronlu/linux acpi_video_dmi >>>> It is based on Rafael's linux-next branch, with only one patch >>>> on top: remove all the above systems from the DMI table. > > Tested and it works perfectly, no brightness regressions observed. Thanks a lot for the test and info, I'll add your tested-by tag for that patch if you don't mind. -Aaron > >>> >>> For completeness my instance of the bug was (wrongly) tracked here: >>> https://bugs.freedesktop.org/show_bug.cgi?id=43577 >> >> Thanks for the info. Unfortunately, there isn't acpidump either. >> Please attach the dump there when you have time, thanks. > > Done > > Abraços, > Gustavo > -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Em Sex, 2013-11-15 às 09:31 +0800, Aaron Lu escreveu: > >>>> Can you please test this? I've prepared a branch for you: > >>>> https://github.com/aaronlu/linux acpi_video_dmi > >>>> It is based on Rafael's linux-next branch, with only one patch > >>>> on top: remove all the above systems from the DMI table. > > > > Tested and it works perfectly, no brightness regressions observed. > > Thanks a lot for the test and info, I'll add your tested-by tag for > that > patch if you don't mind. Not at all, go ahead. Abraços, Gustavo -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index c3932d0..5b32e15 100644 --- a/drivers/acpi/video.c +++ b/drivers/acpi/video.c @@ -456,6 +456,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = { DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dm4 Notebook PC"), }, }, + { + .callback = video_ignore_initial_backlight, + .ident = "HP 1000 Notebook PC", + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP 1000 Notebook PC"), + }, + }, {} };
On HP 1000 lapops, BIOS reports minimum backlight on boot and causes backlight to dim completely. This ignores the initial backlight values and set to max brightness. Buglink: https://bugs.launchpad.net/bugs/1167760 Signed-off-by: Alex Hung <alex.hung@canonical.com> --- drivers/acpi/video.c | 8 ++++++++ 1 file changed, 8 insertions(+)