Contribute
Register

Help with battery meter lid and audio? [Toshiba L855]

Status
Not open for further replies.
Read carefully. I said /usr/bin, not /usr/local/bin...

Also, you will need to set your current directory to where the unzipped patchmatic binary is located. It would seem unlikely you'd have the patchmatic binary extracted to the root of your home directory (~).

Terminal noobs (no offense) should use Finder: copy, Go to Folder '/usr/bin', paste.

No offense taken, that crown is totally mine! :D
Okay, so I'll try to tell you what I'm doing.

1. Open a finder window, go to /usr/bin
2. Paste the contents of the folder, and the patchmatic folder is now on /usr/bin/patchmatic
3. Open up Terminal, go to cd /usr > /bin and than when i type /patchmatic I get the No such file or directory error. :S

oh man.

Code:
andrijans-air:/ andrijan$ cd /usrandrijans-air:usr andrijan$ cd /bin
andrijans-air:bin andrijan$ cd /patchmatic
-bash: cd: /patchmatic: No such file or directory
 
No offense taken, that crown is totally mine! :D
Okay, so I'll try to tell you what I'm doing.

1. Open a finder window, go to /usr/bin
2. Paste the contents of the folder, and the patchmatic folder is now on /usr/bin/patchmatic

'patchmatic folder'???

No. The patchmatic ZIP contains only a single file... the patchmatic binary.

Make sure you read the README and download the correct file.
 
'patchmatic folder'???

No. The patchmatic ZIP contains only a single file... the patchmatic binary.

Make sure you read the README and download the correct file.

I had the biggest facepalm moment of my life right now. I downloaded the source, and I expected it to work, haha... Nevermind, got it working, thanks for not giving up on me! I really appreciate it.

These are the files that were in the RehabMan folder:
http://cl.ly/0Z321u3y3p1h
 
I had the biggest facepalm moment of my life right now. I downloaded the source, and I expected it to work, haha... Nevermind, got it working, thanks for not giving up on me! I really appreciate it.

These are the files that were in the RehabMan folder:
http://cl.ly/0Z321u3y3p1h

There is no ACPI compliant battery object (PNP0C0A) in any of those files.

Either your computer doesn't have one (unlikely), or you're dropping an SSDT that contains your battery object (in rare cases battery object is defined in SSDT instead of DSDT).

Extract all your native ACPI files from Linux.

They are available in /sys/firmware/acpi/tables and /sys/firmware/acpi/tables/dynamic. Place them on USB or otherwise transfer to OS X.

It is not necessary to install Linux. Simply run it from USB: http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-windows

In Linux Terminal:
Code:
# substitute DEST with the mountpoint of a FAT32 formatted USB stick
sudo cp -R /sys/firmware/acpi/tables DEST
 
There is no ACPI compliant battery object (PNP0C0A) in any of those files.

Either your computer doesn't have one (unlikely), or you're dropping an SSDT that contains your battery object (in rare cases battery object is defined in SSDT instead of DSDT).

Extract all your native ACPI files from Linux.

They are available in /sys/firmware/acpi/tables and /sys/firmware/acpi/tables/dynamic. Place them on USB or otherwise transfer to OS X.

It is not necessary to install Linux. Simply run it from USB: http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-windows

In Linux Terminal:
Code:
# substitute DEST with the mountpoint of a FAT32 formatted USB stick
sudo cp -R /sys/firmware/acpi/tables DEST

Okay, I managed to do this in Linux Mint.
https://mega.co.nz/#!A8YmkJ7L!8Io7AbUfzWfhl3468LFHsSLK9jVWuPCtF88g4B7FSaw

Here are the files.
Thanks a lot for helping out rehabman!
 
First you should install the SSDT so it loads... Then test with ACPIBatteryManager.kext.

If it is still not working, then you may need to patch it... http://www.tonymacx86.com/mavericks-laptop-support/146874-how-patch-dsdt-working-battery-status.html

How did you open SSDT2? I try with MaciASL and DSDT Editor, but I get some errors...

Update: I got it working. I had "Drop all OEM" ticked in Clover, and that was causing all these issues. I am so sorry, and thank you a lot for your help!
 
How did you open SSDT2? I try with MaciASL and DSDT Editor, but I get some errors...

Update: I got it working. I had "Drop all OEM" ticked in Clover, and that was causing all these issues. I am so sorry, and thank you a lot for your help!

Generally, you want to DropOem so you can provide patched SSDTs. If you have no need to patch any SSDTs then (sometimes) you can leave the OEM SSDTs to load. One case that you can't is if the OEM CPU SSDTs interfere with the SSDT specific to OS X power management.

If you need to patch the SSDTs or drop individual ones, you drop them all with DropOem, then include only the ones you want by placing them in EFI/Clover/ACPI/patched.

The reason your SSDT had errors, is probably because you disassembled it incorrectly. You should have disassembled the files all at once with 'iasl -da -dl DSDT* SSDT*'...

I plan to write an article that will describe the process in detail...
 
Status
Not open for further replies.
Back
Top