Bug 209156

Summary: [asmc] [patch] add support for more models and restore keyboard backlight after resume
Product: Base System Reporter: Johannes Lundberg <johalun0>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Some People CC: amd64, tomxor
Priority: --- Keywords: patch
Version: CURRENT   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
Updates and fixes to asmc. and asmvar.h none

Description Johannes Lundberg 2016-04-29 23:13:38 UTC
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.
Comment 1 Thomas Brierley 2016-05-01 14:13:47 UTC
Thanks for this

Tested restore keyboard backlight function on resume on MacBookPro5,1

Patched on top of 10.3 version
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-05-02 19:15:34 UTC
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