[Bug 265005] asmc(4): Add MacBookPro6,2 support

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 10 Jul 2022 04:16:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265005

--- Comment #4 from ed crowe <fbsdbug@edcrowe.com> ---
Thank you both for the feed back. I will submit a few new options.

I can confidently say the interrupt only triggers on a change of ambient light
- up or down. The reason it triggers so often (for me at least) is that in a
low to mildly lighted room, the laptop's own display brightness will trigger
the sensor. eg  running top on what was a sparse white text on a black
background console, or switching between a light background and a dark
background window in an X11 session.

I'm not sure how/if i can get much detail on this specific Apple product. I did
not want to look at any Linux(GPL) code that might exist for this driver.

If you have any references on interrupt handling/masking and where that is
handled, that would be helpful. I'll take a look at devd documentation. 

I'm getting re-antiquated with freeBSD (I spent many days using 2.0-4.x. My day
jobs unfortunately took me elsewhere in Unix land). So please forgive my
ignorance on freeBSD specifics.

I really appreciate anyone even considering a patch for a 12 year old piece of
hardware.

-- 
You are receiving this mail because:
You are the assignee for the bug.