Created attachment 169819 [details] Updates and fixes to asmc. and asmvar.h This patch adds support for restoring backlight after resume and adds models Macbook3,1 MacbookAir5,1 MacbookAir5,2 It also incorporates fixes for bug #175260, bug #203610 and bug #203512 so those can be closed if this patch is applied.
Thanks for this Tested restore keyboard backlight function on resume on MacBookPro5,1 Patched on top of 10.3 version
A commit references this bug: Author: adrian Date: Mon May 2 19:15:16 UTC 2016 New revision: 298937 URL: https://svnweb.freebsd.org/changeset/base/298937 Log: [asmc] add support for more models and restore keyboard backlight after resume. This patch adds support for restoring backlight after resume and adds models Macbook3,1 MacbookAir5,1 MacbookAir5,2 It also incorporates fixes for bug #175260, bug #203610 and bug #203512 so those can be closed if this patch is applied. PR: kern/209156 PR: kern/175260 PR: kern/203610 PR: kern/203512 Submitted by: Johannes Lundberg <johannes@brilliantservice.co.jp> Changes: head/sys/dev/asmc/asmc.c head/sys/dev/asmc/asmcvar.h