Jump to content

RehabMan

RehabMan

Member Since 25 Jun 2012
Online Last Active 4 minutes ago
*****

#2551496 Clover Bug/Issue Report and Patch

Posted by RehabMan on 16 December 2017 - 02:43 PM

A few bug fixes for AcpiPatcher.c - fixed a bug with config.plist/ACPI/DSDT/Fixes/FixHeaders (NUL/0 characters should not have been translated to spaces) - also fixed a minor problem where FixAsciiTableHeader was checking/fixing any char >0x7e, but CheckNonAscii was checking only >0x7f (off by one) - fixed problems with AutoMerge=true when table headers needed fixing (header fixing was causing problems with table id comparisons)... note that the above bug (where table headers were unnecessarily being modified), exposed this bug a bit easier/more often. - fixed a bug when AutoMerge=true and SortedOrder specified would cause a merged table to be also treated as an add-on SSDT. (Note: SortedOrder is not needed when using AutoMerge=true, but it should not result in duplicate table insertion) Two main commits: https://github.com/R...6d90e4fd66396cc https://github.com/R...7673aa10614895d Best just to grab the new AcpiPatcher.c: https://github.com/R...m/AcpiPatcher.c

#2550698 Problem with battery status after migrating to high range

Posted by RehabMan on 14 December 2017 - 02:09 PM

sorry, i don t know what i should look for :\ any hint? You will need to read the ACPI spec for a better understanding of _BIF and _BST. model x53sj-sx148v i7 2630QM nvidia GT 520M 16GB ram I will soon forget. Should be in your signature. No SSDT/Generate. You're getting defaults, which may not be what you want. mmh, are the other ssdts (dynamic, coz i have to drop cpuPm and ist) useful if neither the dsdt nor the ssdt(generated) are accessing their objects or methods? (except sata) They are "useful" as they are referenced from other files in ACPI (DSDT). Don't eliminate them unless you actually need to.

#2550388 Problem with battery status after migrating to high range

Posted by RehabMan on 13 December 2017 - 09:34 PM

More than 16 seconds? Is my boot so slow? I m using a good hdd, it should be "fast". No idea. I'm not sitting at your computer. You are. Also, I wrote "try other values for abm_firstpolldelay". That does not necessarily mean only values that are larger than 16s. If you want fast booting, you should use an SSD. Battery infos are unknown, charge is 0, mah is 0. Check ioreg. Check output from debug ACPIBatteryManager.kext. Make sure you patched ACPI correctly to avoid multibyte EC access. I tried to use my ssdts but there s a cpu panic (renamed _pss to apss and _cst to acst). Too bad your profile has no hardware details. No ideas for you given lack of information. Make sure you disabled config.plist/SSDT/Generate when attempting to use native CPU SSDTs. The other ssdts are useless. Except for the SATA ssdt (because you were putting it in ACPI/patched). Do you know how can i correctly patch my oem ssdts? Are they better than piker ssdt? Typically, OEM SSDTs are used along with ssdtP...

#2550155 Problem with battery status after migrating to high range

Posted by RehabMan on 13 December 2017 - 03:07 PM

fixed PNOT anyway, battery is still not working   Thanks You should experiment with different values for abm_firstpolldelay. Also try with a fresh install (no garbage installed). And comments regarding your ACPI configuration: - Do you really need to drop the CPU related SSDTs? (if you don't need to, don't). Then PNOT patch not required. - Assuming you actually _NEED_ to drop the CPU related SSDTs, Instead of putting patched SSDT-2-SataTabl.aml in ACPI/patched, you can drop the CPU related SSDTs by OEM tableID (with DropTables), then no need to put patched SSDT-2-SataTabl in ACPI/patched, and no need for DropOem=true.

#2547700 Problem with battery status after migrating to high range

Posted by RehabMan on 10 December 2017 - 12:30 AM

extracted with your iasl 6.2, the aml was extracted on nov 13 with the command "iasl -da -dl DSDT.aml SSDT*.aml" nothing changed since then, i would never attach an old dsdt, anyway here you go a fresh dump.   my new kextcache id: BBD9FB772DBB63CBE177EF3C1A3F9980   batteryManager in L/E   battery is still unknown and no icon is shown, but the kext seems working, spamming with these messagesdefault 23:32:07.493738 +0100 kernel ACPIBatteryManager: WARNING! fMaxCapacity > fDesignCapacity. adjusted fMaxCapacity from 5458, to 5200default 23:32:07.493773 +0100 kernel ACPIBatteryManager: WARNING! fCurrentCapacity > fMaxCapacity. adjusted fCurrentCapacity from 5369, to 5200Thanks You're booting from HDD, which can be slow. New timing in battery status in High Sierra seems affected by slow boot. You can change the ACPIBatteryManager startup delay to something longer with kernel flag abm_firstpolldelay. (read the ACPIBatteryManager readme for more info) Also, you renam...

#2547469 Problem with battery status after migrating to high range

Posted by RehabMan on 09 December 2017 - 03:07 PM

My untouched dsdt is in ACPI/origin, There is no DSDT.aml there. And the DSDT.dsl is dated Nov 13. Today is Dec 9. On top of that, no idea when the associated .aml was extracted.

#2547460 Clover Bug/Issue Report and Patch

Posted by RehabMan on 09 December 2017 - 03:00 PM

The main repository on sourceforge. And I meant more than zero amount of effort, lol. It could be done easily (almost zero effort), since the 'svn' branch in my github is already _exactly_ what is needed. It is there if someone wants to look into it. For me it isn't a big deal, as I have already procedures that work for me. The rest of the Clover team can decide what they want (which will probably be to stick with subversion).

#2546909 Problem with battery status after migrating to high range

Posted by RehabMan on 08 December 2017 - 09:34 PM

sorry, here you go   ioreg 2.1 Can i ask why v2.1? latest is 3.0   no apfs and no ssd   Thanks Files in ACPI/origin are missing. You need to press F4 to extract native. But kextcache output indicates kexts are not installed correctly. All kexts you need must be installed to the system volume (typically, /L/E). I use v2.1 because it is better than v3.0.

#2546869 Clover Bug/Issue Report and Patch

Posted by RehabMan on 08 December 2017 - 08:45 PM

Except that is a lot of effort to convert the current clover2 repo, etc. Not worth it. I already did it. It was not difficult, although it took a bit of effort and correspondence with TheRacerMaster to come to a git svn base that was compatible with his already created fork. Would rather work on clover3 and get rid of EDK2 requirement... But yeah git, will be used in new repos. Looking forward to clover3 when you have something ready to work with. Getting rid of EDK2 dependencies is likely a good thing. And a complete rewrite would provide an opportunity to break with config.plist backward compatibility and simplify things a bit (eg. predictable defaults, consistent ways to inject things, consistent naming [eg. Nvidia vs. NVidia vs. NVidia], etc). And yes, git would be a welcome change to svn, as git is much more appropriate for distributed development efforts.
  • nms likes this

#2546695 Problem with battery status after migrating to high range

Posted by RehabMan on 08 December 2017 - 04:20 PM

@RehabMan   i have the same issue. the battery indicator does not work in HS ( working in 10.12< ).   charge is 0%. i m using the latest BatteryManager in Clover/kext/10.13 44 0 0xffffff7f82e34000 0x9000 0x9000 org.rehabman.driver.AppleSmartBatteryManager (1.81.4) 2359A999-79C8-39B2-928A-EC3304E627AD <11 4 3>i m not sure this is good or bad, but the Energy tab in the activity monitor is working. it does crash in 10.12<   Current setup http://www.insanelym...148v-dsdt-ssdt/     Thanks No ideas for you without typical/complete "problem reporting" files (ioreg, kextcache, EFI/Clover, etc). Note: APFS + TRIM will cause problems.

#2545874 Patch for using NVMe under macOS Sierra is ready.

Posted by RehabMan on 07 December 2017 - 04:19 PM

Could you make a patch for the latest Mac OS 10.12.6 (16G1114) ?Same for latest 10.11.6 2017 security 5 (15G18013)? Looks like it doesn't touch IONVMe kext, but just for sure... IONVMeFamily.kext.zip Both added to the github project.

#2545831 Clover Bug/Issue Report and Patch

Posted by RehabMan on 07 December 2017 - 03:31 PM

Each patch for EDK2 is related to some bug noticed by users. The last one is corrected by rev 4331  #91  The folder Patches_for_EDK2 exists because we can not correct EDK2 repository. I use a modified tools_def.txt only (although that specific problem, I fixed the 'wrong' way first, and need to revisit and use tools_def.txt instead to change priority of S vs. nasm). Also, I have a fork of edk2 with just a few changes. It is easier to integrate upstream changes in edk2 with a fork, vs. copying a set of replacement files over top. Just a matter of 'git pull'. Yes... git is quite powerful and convenient.

#2544851 Airport - PCIe Half Mini

Posted by RehabMan on 06 December 2017 - 01:24 AM

I agree, and I understand that. The problem being that with FakePCIID, clover kext patches, or any SSDT (not doing all three at once of course) I am unable to get WiFi on a fresh install of 10.12.6 with my DW1560. My particular card requires some manner of injection, plus the fcvo patch to even appear.   The best I can get with any injection attempt plus the clover patch for fcvo is that DPCI manager sees it as "Unknown" and Brcm4360 is loaded, but no WiFi appears. By directly editing the kext it works. I have no such problems in 10.13, so this is related to fcvo somehow in 10.12.6, not the actual injection.   I think I must have something rattling around loose over here, but I can't find where I have gone wrong. A fresh install of 10.12.6 has no working WiFi, while my older 10.12.6 install does when both are using the exact same EFI folder.     edit: (more info) If you you have a WiFi card that requires fcvo then I would appreciate it if in the latest version of...

#2544629 Clover Bug/Issue Report and Patch

Posted by RehabMan on 05 December 2017 - 06:30 PM

Care to share your workbench config? In advance, git clone is enough? My setup is fully documented here: https://github.com/RehabMan/Clover

#2544584 Clover Bug/Issue Report and Patch

Posted by RehabMan on 05 December 2017 - 05:37 PM

edk2 svn commit 25816 breaks Clover build. Building and working fine with latest edk2 from github. But I don't use Patches_for_EDK2.
  • nms likes this

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy