WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Extensions for Macbook 2012?  (Read 1973 times)

Offline Zendrael

  • Sr. Member
  • ****
  • Posts: 363
    • Zendrael's home of projects
Extensions for Macbook 2012?
« on: October 21, 2020, 08:52:46 AM »
Hello all!

What should be the recommended extensions to get TinyCore running on a Mid 2012 MacBook Pro (Non retina)?
I would like to have suspend/hibernate working together with ACPI controls, Keyboard brightness controls, etc...

Any help is appreciated!

Thanks and stay safe!

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Extensions for Macbook 2012?
« Reply #1 on: October 22, 2020, 04:35:39 AM »
Suspend should work from the cli:
Code: [Select]
# echo -n mem > /sys/power/state
There is an acpid extension to executed scripted actions for various events.

I suspect keyboard brightness is controlled only from the keyboard itself.

Offline Zendrael

  • Sr. Member
  • ****
  • Posts: 363
    • Zendrael's home of projects
Re: Extensions for Macbook 2012?
« Reply #2 on: October 22, 2020, 07:23:40 AM »
Suspend should work from the cli:
Code: [Select]
# echo -n mem > /sys/power/state
There is an acpid extension to executed scripted actions for various events.

I suspect keyboard brightness is controlled only from the keyboard itself.

Thanks Juanito!

Do you think that the action of closing the lid to suspend and opening it again can be achieved using any tce?


Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Extensions for Macbook 2012?
« Reply #3 on: October 23, 2020, 04:19:21 AM »
It depends on which events are detected on your machine.

You can use the acpid extension to check which acpi events are detected - if the lid switch is detected, you can trigger an action using acpid.

In addition you can check Xorg.0.log to see if the lid switch is assigned to an event.