Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195803 - app-laptop/acer_acpi BACKLIGHT_LCD_SUPPORT enabled in kernel
Summary: app-laptop/acer_acpi BACKLIGHT_LCD_SUPPORT enabled in kernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jurek Bartuszek (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-14 08:12 UTC by Christian Schlotter
Modified: 2008-02-09 14:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Schlotter 2007-10-14 08:12:10 UTC
Hi!

The line
CONFIG_CHECK="LEDS_CLASS"
in the ebuild has to be replaced with
CONFIG_CHECK="LEDS_CLASS BACKLIGHT_LCD_SUPPORT"
in order for portage to complain if the file "linux/backlight.h" is missing.  "acer_acpi.c" needs this file, as it is included in line 63:
#include <linux/backlight.h>

Best regards
Christian
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-14 08:23:36 UTC
There's no app-laptop/acer_laptop anywhere; which ebuild you mean?
Comment 2 Christian Schlotter 2007-10-14 08:38:24 UTC
I'm sorry, that was a typo. It's app-laptop/acer_acpi.
Comment 3 Thomas Sachau gentoo-dev 2007-11-12 19:41:10 UTC
acer_acpie-0.8.2 has 2 warnings while compiling about this backlight:

WARNING: //lib/modules/2.6.23-hardened-r1/extra/acer_acpi.ko needs unknown symbol backlight_device_unregister
WARNING: //lib/modules/2.6.23-hardened-r1/extra/acer_acpi.ko needs unknown symbol backlight_device_register

And if i try to load the module with "modprobe acer_acpi", it fails because of both symbols are unknown, so i have to stick with acer_acpi-0.7, which works fine for me
Comment 4 Jurek Bartuszek (RETIRED) gentoo-dev 2008-01-30 23:44:18 UTC
Does this happen with acer_acpi-0.10?
Comment 5 Thomas Sachau gentoo-dev 2008-02-02 13:10:35 UTC
I cant tell because of bug 208577
Comment 6 Thomas Sachau gentoo-dev 2008-02-06 16:58:25 UTC
Compiled 0.10 with -j1 and it compiles and works ok for the moment (sorry, cannot change status of the bug)
Comment 7 Christian Schlotter 2008-02-06 18:49:56 UTC
(In reply to comment #6)
> Compiled 0.10 with -j1 and it compiles and works ok for the moment (sorry,
> cannot change status of the bug)

Did you enable BACKLIGHT_LCD_SUPPORT in your kernel, or are your kernel settings the same that failed with 0.8.2 in comment #3?
Comment 8 Thomas Sachau gentoo-dev 2008-02-06 20:55:26 UTC
I cant say for sure any more. If i remember it right, i tried first without and afterwards with BACKLIGHT_LCD_SUPPORT (perhaps i did not reboot with that kernel?), but i am not sure.
Comment 9 Christian Schlotter 2008-02-09 14:48:06 UTC
(In reply to comment #4)
> Does this happen with acer_acpi-0.10?

I can confirm that acer_acpi-0.10 compiles fine with -j1.