|Summary:||app-laptop/acpi4asus does not respect LDFLAGS|
|Product:||Gentoo Linux||Reporter:||Diego Elio Pettenò (RETIRED) <flameeyes>|
|Component:||New packages||Assignee:||Mobile Herd (OBSOLETE) <mobile+disabled>|
|Severity:||QA||CC:||esigra, levertond, markknecht, treecleaner|
|Whiteboard:||Pending Removal: 2012-04-06|
|Package list:||Runtime testing required:||---|
|Bug Depends on:|
Description Diego Elio Pettenò (RETIRED) 2010-10-04 02:11:25 UTC
See attached build log. (Please do not complain about the need for looking at the build log until you can provide an easy way to open bugs with the correct data picked out of a tinderbox log. Thanks.)
Comment 1 Diego Elio Pettenò (RETIRED) 2010-10-04 02:11:49 UTC
Created attachment 249499 [details] Build log
Comment 2 Pacho Ramos 2012-02-13 20:00:47 UTC
If I remember correctly, this package isn't needed for a long time with recent kernels
Comment 3 Mark Knecht 2012-03-10 01:23:58 UTC
I use app-laptop/acpi4asus and at least a year ago it was the only way I discovered where I could gain control of the backlighting on my Asus laptop keyboard. Please provide instructions on what is required in the kernel and I'll be happy to test that indeed I can live without the package. I currently run vanilla-source-3.2.7 on this laptop. Thanks!
Comment 4 Pacho Ramos 2012-03-10 08:31:32 UTC
I am now far from my old asus laptop but, if I don't misremember, the option was: CONFIG_ASUS_LAPTOP (remember that you can find the route from menuconfig simply pressing "/" and writing the option) I am 100% sure it replaces acpi4asus for new kernels and is properly maintained while the former is stalled for ages
Comment 5 David Leverton 2012-03-11 14:16:06 UTC
(In reply to comment #2) > If I remember correctly, this package isn't needed for a long time with > recent kernels There's also a user-space component that can be used to handle special key events (that runs in unprivileged-user context, so it's not simply replaced by acpid). It's not really specific to the Asus driver though, it just takes events from acpid and handles them according to the user's own configuration, so maybe there's some other alternative - if anyone knows one, it would be nice to mention it in the masking message.
Comment 6 Pacho Ramos 2012-03-11 15:31:57 UTC
In my asus laptop I am sure special Fn keys were still working to, for example, rise up and down brightness
Comment 7 Mark Knecht 2012-03-11 17:06:09 UTC
I have removed acpi4asus as an emerge package and still have backlighting, which is the only thing I actually require in daily use. However at this time none of the function keys do anything. I cannot dim the display or the keyboard lighting using Fn+Function_Key. I will continue to investigate what's required to get this working as it did work a long time ago. I have no idea if it was working recently so I cannot blame the lack of this functionality on the removal of acpi4asus
Comment 8 David Leverton 2012-03-11 23:51:35 UTC
(In reply to comment #6) > In my asus laptop I am sure special Fn keys were still working to, for > example, rise up and down brightness I just tested and on mine, those are the only two that /don't/ have a built-in effect of some kind - all the others at least generate key events (perhaps due to X improvements since I last checked / since the daemon was written?) But they also don't seem to be picked up by acpid, so the acpi4asus daemon wouldn't see them either. Anyway, objection withdrawn as far as I'm concerned.
Comment 9 Mark Knecht 2012-03-12 18:25:20 UTC
At this point I'm also removing any opposition I previously had to getting rid of asus4acpi. I'm not seeing any difference using the internal driver for any kernel I've actually tested both soutions on. However there is the potential for aa problem coming along one of these days. I run vanilla-sources as it allows me some real-time scheduling capabilities. (I used to use rt-sources) Anyway, with the internal Asus driver up through 3.2.7 I get the following key mappings for the functions keys on my laptop and as best I can tell all keys except Fn-F5 create an ACPI event: vanilla-sources-3.2.7 slinky ~ # acpi_listen button/sleep SLPB 00000080 00000001 hotkey ATKD 0000005d 00000000 hotkey ATKD 0000007e 00000000 hotkey ATKD 000000c5 00000000 hotkey ATKD 000000c4 00000000 hotkey ATKD 0000002e 00000000 hotkey ATKD 0000001a 00000000 hotkey ATKD 00000034 00000000 hotkey ATKD 00000033 00000000 hotkey ATKD 00000034 00000001 hotkey ATKD 00000033 00000001 hotkey ATKD 00000061 00000000 hotkey ATKD 0000006b 00000000 hotkey ATKD 00000032 00000000 hotkey ATKD 00000032 00000001 hotkey ATKD 00000032 00000002 hotkey ATKD 00000031 00000000 hotkey ATKD 00000031 00000001 hotkey ATKD 00000031 00000002 hotkey ATKD 00000030 00000000 hotkey ATKD 00000030 00000001 hotkey ATKD 00000030 00000002 hotkey ATKD 00000030 00000003 However for 3.2.9 the only key that produces an ACPI event (as measured using acpi_listen) at Fn-F1. I don't know if this is a kernel regression, an ACPI regression, or just some new way of doing things that requires configuration. WRT Asus laptop users, it would be good to discover & document how to map all the keys and actually get them to work. On 3.2.7 only F1, F11 & F12 do anything. One 3.2.9 it's down to just F1.
Comment 10 Pacho Ramos 2012-03-12 20:56:34 UTC
That sounds me like a kernel regression you should report on a separate bug report ;)
Comment 11 Mark Knecht 2012-03-12 22:00:12 UTC
Through Gentoo or on the LKML?
Comment 12 Pacho Ramos 2012-03-13 09:10:55 UTC
(In reply to comment #11) > Through Gentoo or on the LKML? Send it to bugs.gentoo.org for now, kernel team will point you to proper place if needed
Comment 13 Pacho Ramos 2012-04-06 19:34:31 UTC