Jump to content

Clover General discussion


ErmaC
30,171 posts in this topic

Recommended Posts

About shutdown fix. Did you change Reset registers?

<key>ResetAddress</key>
<string>0x0CF9</string>
<key>ResetValue</key>
<string>0x06</string>

 

Shutdown finally works on MacPro 2.1, using the new clover 1050 in Biosmode/Bootcamp with the following config: manually inserting the Reset Address=0x64 and ResetValue=0xFE and enabling the DSDT Shutdown fix. Although the original FACP values were indeed 0x0CF9 and 0x06 I checked them in Ubuntu they didn't work. To make shutdown run consistent (sometimes it did restart) I had to remove a double instance of FakeSMC.kext from SLE because there was already one in clovers /EFI/OEM/... Right now it shutdowns consistent. The following config.plist sample makes the MacPro 2.1 run MountainLion without a DSDT but with sound, shutdown, restart. Using a DSDT might give you 2 extra odd sataports and maybe working sleep?

 


<plist version="1.0">
<dict>
<key>SystemParameters</key>
<dict>
<key>boot-args</key>
<string>-v npci=0x2000 darkwake=0</string>
<key>prev-lang:kbd</key>
<string>en:0</string>
<key>DefaultBootVolume</key>
<string>mp-octa-MountainLion</string>
</dict>
<key>KernelAndKextPatches</key>
<dict>
<key>KernelCpu</key>
<string>No</string>
<key>AppleRTC</key>
<string>Yes</string>
</dict>
<key>SMBIOS</key>
<dict>
<key>BiosVendor</key>
<string>Apple Inc.</string>
<key>ProductName</key>
<string>MacPro3,1</string>
<key>Version</key>
<string>3.1</string>
</dict>
<key>ACPI</key>
<dict>
<key>DsdtName</key>
<string>blaDSDT.aml</string>
<key>DropOEMSSDT</key>
<string>Yes</string>
<key>GenerateCStates</key>
<string>Yes</string>
<key>GeneratePStates</key>
<string>Yes</string>
<key>FixDsdtMask</key>
<string>0x8004</string>
<key>ResetAddress</key>
<string>0x64</string>
<key>ResetValue</key>
<string>0xFE</string>
</dict>
<key>PCI</key>
<dict>
<key>HDAInjection</key>
<string>12</string>
<key>USBInjection</key>
     <string>Yes</string>
<key>FixUSBOwnership</key>
     <string>Yes</string>
<key>LpcTune</key>
     <string>No</string>
</dict>
<key>Graphics</key>
<dict>
<key>GraphicsInjector</key>
<string>Yes</string>
<key>VideoPorts</key>
<string>3</string>
<key>FBName</key>
<string>Hoolock</string>
<key>PatchVBiosBytes</key>
<dict>
<key>Find</key>
<data>gAeoAqAF</data>
<key>Replace</key>
<data>gAeoAjgE</data>
</dict>
</dict>
</dict>
</plist>

 

And about AMD HD5770 tell me your DeviceID and I change default framebuffer to Hoolock

 

Mine is also an ATI HD5770 1002:68b8 but uses Vervet instead of Hoolock. What you need to differentiate the model is the subsys (1682:2991 in my case) It should be listed in clover's boot log like this:

11:885 0:000 ATI Juniper ATI Radeon HD 5770 Series -1MB (Vervet) [1002:68B8] (subsys [1682:2991]):: PcieRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)

 

And yes, its lacking some memory :P

 

Updated the PCI subsys id in the previous post, for the 3 port Apple ATI 5770 2x minidisplay and 1xDVI-D its 1002:68B 106B:00CF and the framebuffer is Hoolock!

 

hello @slice

 

only to report that the custom edid is working with my amd 5470m, last versions resolve the issue.

 

no more need to inject the edid in file in s/l/d/o

 

thanks for u great job with Clover

 

good hack

 

Can also confirm that Mobility X1600 128MB fully works with internal screen (native resolution, CI/QE, DVDplayer etc) by just injecting EDID via clover no GI or special kexts all vanilla. But it only works from 10.6.8 to 10.7.5, during the install of 10.6.0 before the combo update, the internal laptop screen looks very distorted but good enough to finish the install and run the combo update of 10.6.8 afterwards.

Link to comment
Share on other sites

Guys, I need some help here.

 

I use DSDT on my system and reset/sutdown works fine but when I plug some USB devices like external hard drives, the computer won't shut down, it will reset.

 

It only happens on OSX but not on windows.

 

There's something wrong with the USB in my mobo, but I can't figure out why.

 

What can I do???

 

I'm using the latest build of clover.

 

Cheers!

Link to comment
Share on other sites

You may check with IORegistryExplorer:

 

post-158318-0-92361200-1359465598_thumb.png

 

EDIT: By the way, I don't inject the key so yours may differ from mine.

Thank You DamnedCat ... forgot about the obvious way :)

And now I see the problem:

Clover should inject <01 00 00 00> (the whole value of DualLink) not just <01>

 

CLOVER -->post-112035-0-22142500-1359489350_thumb.png

DSDT -->post-112035-0-95629500-1359489368_thumb.png

Link to comment
Share on other sites

I am runnning 10.8.2 with Clover 1043 (UEFI boot) on a gigabyte GA-Z77X-UP5-TH with a GeForce GTX660...

 

I currently only inject FakeSMC and the Intel Ethernet driver

 

There are two issues I would like advice on:

 

1) Audio support. What is the "best" mechanism to enable the alc898 sound chip? My goal is to be as "vanilla" as possible, and to only install kexts in the EFI/kexts/10.8 directory or patch within Clover... I currently have audio working using HDAenabler1 and a patched AppleHDA, however they must be placed in S/L/E. Is there an alternate method to either enable these to go in EFI/kexts/10.8 or simply patch using Clover???

 

2) Whenever I try to wake from sleep (power button or pressing a key), the system instantly reboots. I see conflicting information that this is either a USB dsdt issue or a Clover bug... is there a fix/workaround for this?

 

Thanks,

-Jim

Link to comment
Share on other sites

Thank You DamnedCat ... forgot about the obvious way :)

And now I see the problem:

Clover should inject <01 00 00 00> (the whole value of DualLink) not just <01>

 

CLOVER -->post-112035-0-22142500-1359489350_thumb.png

DSDT -->post-112035-0-95629500-1359489368_thumb.png

 

I don't believe that makes a difference but it could be. What I did noticed is that the properties are different:

 

Clover: AAPL01,DualLink

DSDT: AAPL00,DualLink

 

Perhaps DualLink = 0 may give you the result you're looking for. (don't really know if it's a yes/no variable or the string you want to inject)

 

EDIT: nope, that simply injects the string you give it.

Edited by DamnedCat
Link to comment
Share on other sites

I don't believe that makes a difference but it could be. What I did noticed is that the properties are different:

 

Clover: AAPL01,DualLink

DSDT: AAPL00,DualLink

 

Perhaps DualLink = 0 may give you the result you're looking for. (don't really know if it's a yes/no variable or the string you want to inject)

 

EDIT: nope, that simply injects the string you give it.

 

DamnedCat You are right. The problem is not the <01 00 00 00> vs <01> it is the AAPL01,DualLink.

I have checked it by editing my DSDT to try different scenarios and both <01 00 00 00> and <01> work in AAPL00,DualLink. It is the AAPL01,DualLink that renders the black screen.

 

Slice: Is there a way to choose "AAPL00,DualLink" in Clover?

Link to comment
Share on other sites

I have interesting log in HP EliteBook 8540p with Clover.

I'd like to know how could I fix LegacyRegion as followings.

 

#################################################################################

4:442 0:000 VideoBiosPatchInit(LegacyRegion = Not Found, LegacyRegion2 = Success) = Success

#################################################################################


<key>ACPI</key>
<dict>
<key>DropOemSSDT</key>
<string>Yes</string>
<key>GenerateCStates</key>
<string>Yes</string>
<key>GeneratePStates</key>
<string>Yes</string>
</dict>
<key>Graphics</key>
<dict>
<key>CustomEDID</key>
<string>00ffffffffffff0030e47d020000000000130103802213780a4e859e5b55952618505400000001010101010101010101010101010101121b567850000e302020240058c210000019000000000000000000000000000000000000000000fe004c4720446973706c61790a2020000000fc004c503135365748322d544c52320026
</string>
<key>GraphicsInjector</key>
<string>Yes</string>
<key>InjectEDID</key>
<string>No</string>
<key>LoadVBios</key>
<string>Yes</string>
<key>NVCAP</key>
<string>04000000000001001e0000000000000700000000</string>
<key>NVPM</key>
<string>01000000000000000000000000000000000000000000000000000000</string>
<key>PatchVBios</key>
<string>No</string>
<key>VRAM</key>
<string>1024</string>
<key>VideoPorts</key>
<string>2</string>
<key>device_type</key>
<string>4e5644412c506172656e74</string>
<key>display-cfg</key>
<string>03010300FFFF0001</string>
</dict>

 

Followings is whole log.

 

 

 

http://pastebin.com/6uYh7VyJ

Link to comment
Share on other sites

Slice already fixed that in rev 1069, just use DualLink=1 in config.plist and it should work now.

Great ! I have just tested it on rev 1071 and I can confirm that it's working now.

Thank you Slice and DamnedCat

Link to comment
Share on other sites

ThinkPad Clover Theme

post-112035-0-29088900-1359462540_thumb.jpg post-112035-0-40417400-1359462555_thumb.jpg

I had some spare time to update my ThinkPad Theme Remix for Clover. I'm reposting it here for all the Clover lovers :)

- Added "Press F1 for Help" as default on main screen

- Enabled EFI Shell button

- Added scrollbar

- External volumes use USB Drive icon badge now

- CD icon badge for CD/DVD disks

- Recovery HD now has the Red Cross badge

- Added alternative logo and background set for users to choose.

- fixed RGBA color value in selection highlighting (update)

 

You are all welcome to use it and edit it as much as you want.

 

 

 

Edited by Kogen Mantis
  • Like 1
Link to comment
Share on other sites

I don't know if i'm posting in the correct thread for this but is there a way to include the removal of PCI0.SBRG.SIOW (Arg0) from the WAK method in fixdsdtmask to enable proper sleep? This is the only thing keeping me from using the tool instead of a modified dsdt.

Link to comment
Share on other sites

I don't know if i'm posting in the correct thread for this but is there a way to include the removal of PCI0.SBRG.SIOW (Arg0) from the WAK method in fixdsdtmask to enable proper sleep? This is the only thing keeping me from using the tool instead of a modified dsdt.

This is new idea.

Please attach your original DSDT and patched to see what to fix.

 

@

 

Will place your theme into gallery.

Link to comment
Share on other sites

This is new idea.

Please attach your original DSDT and patched to see what to fix.

 

@

Kogen Mantis

 

Will place your theme into gallery.

 

Hi, I have the version 1050 and you guys are talking about a newer version. Where can I get it? Do I have to compile it myself? How?

 

Thanks in advance.

 

I also have a problem generating the log. I removed the "nolog" entry in refit.conf and still no log on /. I have Clover installed on the root of my HFS+ OSX partition. The issue appeared when I upgraded to a newer version coming from the 980. I deleted the boot.log and it doesn't get created again.

 

Cheers!

Link to comment
Share on other sites

Hi, I have the version 1050 and you guys are talking about a newer version. Where can I get it? Do I have to compile it myself? How?

 

Thanks in advance.

 

I also have a problem generating the log. I removed the "nolog" entry in refit.conf and still no log on /. I have Clover installed on the root of my HFS+ OSX partition. The issue appeared when I upgraded to a newer version coming from the 980. I deleted the boot.log and it doesn't get created again.

 

Cheers!

1. Go and get latest CloverGrower.

2. nolog is default, add: systemlog

 

This is new idea.

Please attach your original DSDT and patched to see what to fix.

 

@

 

Will place your theme into gallery.

Thanks.

 

Also can I vote for adding PNLF to Clover DSDT patches? (Laptop users will love that)

Link to comment
Share on other sites

ThinkPad Clover Theme

 

I had some spare time to update my ThinkPad Theme Remix for Clover. I'm reposting it here for all the Clover lovers :)

- Added "Press F1 for Help" as default on main screen

- Enabled EFI Shell button

- Added scrollbar

- External volumes use USB Drive icon badge now

- CD icon badge for CD/DVD disks

- Recovery HD now has the Red Cross badge

- Added alternative logo and background set for users to choose.

 

You are all welcome to use it and edit it as much as you want.

Cool!

I'd like to ask you how about HP Laptop thmes?

Link to comment
Share on other sites

1. Go and get latest CloverGrower.

2. nolog is default, add: systemlog

 

 

Thanks.

 

Also can I vote for adding PNLF to Clover DSDT patches? (Laptop users will love that)

 

I successfully compiled v1074 and installed but now all my settings to hide the partitions I want doesn't have any effect!!! Please help me out.

 

I now have all the recoveries, and other partitions I hid within the config.plist.

 

Also, setting systemlog in refit.conf has no effect. Still can't see the boot.log in the root of the OSX partition where clover is installed.

 

Thanks in advance for your help.

 

Here's the section of my config.plist that hides the unnecessary items from Clover:

 

<key>Volumes</key>
<dict>
	 <key>HideAllOSX</key>
	 <string>No</string>
	 <key>HideAllOSXInstall</key>
	 <string>No</string>
	 <key>HideAllRecovery</key>
	 <string>Yes</string>
	 <key>HideAllWindowsEFI</key>
	 <string>Yes</string>
	 <key>HideAllLegacy</key>
	 <string>No</string>
 <key>HideInternalUEFI</key>
  <string>Yes</string>
 <key>HideVolumes</key>
	 <dict>
		  <key>4</key>
		  <dict>
			  <key>VolumeString</key>
			  <string>HD(2,MBR,0x6490C5F3,0xAF800,0x17417800)</string>
	   </dict>
  <key>3</key>
		  <dict>
			  <key>VolumeString</key>
			  <string>HD(3,MBR,0x6490C5F3,0x174C76EB,0x4007F005)</string>
	   </dict>
  <key>2</key>
		  <dict>
			  <key>VolumeString</key>
			  <string>HD(1,GPT,87F3DA4D-038D-4280-8FFF-9184B6E1BC0C,0x28,0x64000)</string>
	   </dict>
  <key>1</key>
		  <dict>
			  <key>VolumeString</key>
			  <string>HD(4,GPT,32921320-DA73-41F0-991D-46BBBD920A2F,0x1056B000,0x14EC3800)</string>
	   </dict>
  <key>0</key>
		  <dict>
			  <key>VolumeString</key>
			  <string>HD(1,MBR,0x33925028,0x800,0x3A384800)</string>
		  </dict>
	 </dict>
</dict>

 

Cheers!

Link to comment
Share on other sites

Cool!

I'd like to ask you how about HP Laptop thmes?

I don't own any HP hardware so I'll let someone else to worry about that :) ... but You can easily change just the background and logo to achieve something like that:

post-112035-0-14530300-1359674317_thumb.jpgpost-112035-0-90581600-1359674331_thumb.jpgpost-112035-0-21892800-1359674342_thumb.jpg

  • Like 1
Link to comment
Share on other sites

I successfully compiled v1074 and installed but now all my settings to hide the partitions I want doesn't have any effect!!! Please help me out.

 

I now have all the recoveries, and other partitions I hid within the config.plist.

 

Also, setting systemlog in refit.conf has no effect. Still can't see the boot.log in the root of the OSX partition where clover is installed.

 

Thanks in advance for your help.

 

Cheers!

 

That particular feature is being rewritten or something like that so it's not working right now, but I'm sure it will be ready soon.

Link to comment
Share on other sites

I installed r1050 on Intel DZ68DB ( BIOS revision 043 ) mainly for AsusAICPUPM (on EFI partition and USB drive).

I also installed Ubuntu 12.10 and Windows 7 on different GPT drives ( i.e. requiring uEFI boot ) .

 

I found Clover finds ML boot volumes when legacy boot, but does not show them when UEFI boot is selected ( switched by F10 boot selection menu of the BIOS ).

It shows Linux/Windows in both cases and successfully boots.

 

Shutdown DSDT fix does not work on this motherboard. It does not power down after halt.

 

It works anyway and there are some work-arounds for the problem above.

 

========

I updated to r1090, installed HfsPlus.efi and moved kexts to /S/L/E ( EFI/kexts/* seems to be ignored ), then succeeded in uEFI boot.

I also found DSDT calls non-existing PS/2 entry. Just waiting for a few minutes and system correctly powers down.

========

Extracting DSDT.aml ( already patched by Clover ? ) and emptying the IOKS method, then putting it into APCI/patched folder solved the slow shutdown problem.

Link to comment
Share on other sites

Seems like I need some help...

 

I recently switched from Chameleon to Clover to overcome the nasty messages sign in issue and it works out well. As my System runs fast an stable with Clover I am now ready to transfer clover to my Hard drive instead of booting up from a usb thumb drive and that´s the point where I need some help. Installing Clover on a standard setup is straight forward, just fire up the installer, select target and installation method copy config.plist and it´s done unfortunately this won't apply to my setup as I am running a RAID0 on a classic BIOS Mainboard (no UEFI). So far i tried to follow this Guide which doesn't work since I am not able to add the Raid as an UEFI boot Option (the menu is missing). I also tried to install Clover manually on the EFI Partitions of booth Raid members and set them active using fdisk but all I got is "boot0: Error" or "can't find mach kernel' messages. I really need some help to get this done, is there anyone who knows how to install clover on a classic RAID0 without UEFI?

Link to comment
Share on other sites

Clover_v2 rev 1050/HP EliteBook 8540p/10.8.3(12D58) boots successfully sometimes with MacBook Pro6,1.

Same as 10.8.2.

It generally reboot.

 

 

Only One GPU issues:

 

 

Addes CustomEDID in config.plist to MacBook Pro6,1 boot stops and reboot.

1. How could I setup VideoBiosPatchInit to LegacyRegion2?

2. or How could I figure out the difference of Boot and Reset?

Followings are success boot log file.

 

5:464 0:000 VideoBiosPatchNativeFromEdid:
5:464 0:000 Bios: nVidia, nv_data_table_offset: 0x266, nv_data_table: 0xC0268, std_vesa: 0xC4012, nv_mode_table: 0xC4017, mode_table_size: 0x10
5:464 0:000 VideoBiosPatchInit(LegacyRegion = Not Found, LegacyRegion2 = Success) = Success
5:464 0:000 VideoBiosUnlock: unlocked
5:464 0:000 Patching: BT_NVDA
5:464 0:000 Parse Edid: descriptor block 0 is timing descriptor (h_active: 1366, v_active: 768, h_sync_offset: 32, h_sync_width: 32, h_blanking: 120, v_blanking: 14, pixel_clock: 28448, v_sync_offset: 2, v_sync_width: 4)
5:464 0:000 the patch if not ready for the desired resolution
5:464 0:000 VideoBiosLock: Success
5:479 0:014 BiosVideoDriverBindingStart!

 

Config.plist

<key>Graphics</key>
<dict>
<key>CustomEDID</key>
<string>00ffffffffffff0030e47d020000000000130103802213780a4e859e5b55952618505400000001010101010101010101010101010101121b567850000e302020240058c210000019000000000000000000000000000000000000000000fe004c4720446973706c61790a2020000000fc004c503135365748322d544c52320026
</string>
<key>DualLink</key>
<string>0</string>
<key>GraphicsInjector</key>
<string>Yes</string>
<key>InjectEDID</key>
<string>No</string>
<key>LoadVBios</key>
<string>Yes</string>
<key>NVCAP</key>
<string>04000000000003007c0000000000000a00000000</string>
<key>PatchVBios</key>
<string>Yes</string>
<key>VRAM</key>
<string>1024</string>
<key>VideoPorts</key>
<string>2</string>
<key>device_type</key>
<string>4e5644412c506172656e74</string>
<key>display-cfg</key>
<string>ffff0100</string>
</dict>

 

PCI Configuration in config.plist

<key>PCI</key>
<dict>
<key>DeviceProperties</key>
<string>6c0600000100000007000000f50200001100000002010c00d041030a000000000101060000030101060000007fff040020000000400030002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d616322000000400030002c006400650076006900630065005f00740079007000650000000b000000646973706c617914000000400030002c006e0061006d0065000000120000004e5644412c446973706c61792d4120000000400031002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d616322000000400031002c006400650076006900630065005f00740079007000650000000b000000646973706c617914000000400031002c006e0061006d0065000000120000004e5644412c446973706c61792d421c0000006400650076006900630065005f00740079007000650000000f0000004e5644412c506172656e74220000004100410050004c002c0073006c006f0074002d006e0061006d00650000000a000000536c6f742d312e000000400030002c004100410050004c002c0062006f006f0074002d0064006900730070006c0061007900000008000000010000001c000000400030002c006200750069006c0074002d0069006e0000000500000001100000004e00560043004100500000001800000004000000000003000c00000000000007000000000e0000004e00560050004d0000002000000001000000000000000000000000000000000000000000000000000000220000005600520041004d002c0074006f00740061006c00730069007a00650000000800000000000040100000006d006f00640065006c0000000d0000004e565320353130304d1e00000072006f006d002d007200650076006900730069006f006e0000001200000037302e31362e34452e30302e303222000000400030002c0064006900730070006c00610079002d006300660067000000080000000301030022000000400031002c0064006900730070006c00610079002d00630066006700000008000000ffff0001460000000100000002010c00d041030a000000000101060000030101060001007fff0400140000006800640061002d0067006600780000000e0000006f6e626f6172642d3100610000000200000002010c00d041030a000000000101060000197fff04001c0000006400650076006900630065005f00740079007000650000000c00000065746865726e6574160000006200750069006c0074002d0069006e0000000500000001fb0000000500000002010c00d041030a0000000001010600001a7fff04001c0000006400650076006900630065005f00740079007000650000000800000045484349320000004100410050004c002c00630075007200720065006e0074002d0061007600610069006c00610062006c006500000006000000b0042a0000004100410050004c002c00630075007200720065006e0074002d0065007800740072006100000006000000bc02300000004100410050004c002c00630075007200720065006e0074002d0069006e002d0073006c00650065007000000006000000e803160000006200750069006c0074002d0069006e00000005000000006b0000000200000002010c00d041030a0000000001010600001b7fff0400180000006c00610079006f00750074002d0069006400000008000000b31d000028000000500069006e0043006f006e00660069006700750072006100740069006f006e00730000000500000000630000000200000002010c00d041030a0000000001010600071c0101060000007fff04001c0000006400650076006900630065005f00740079007000650000000800000058484349160000006200750069006c0074002d0069006e0000000500000000fb0000000500000002010c00d041030a0000000001010600001d7fff04001c0000006400650076006900630065005f00740079007000650000000800000045484349320000004100410050004c002c00630075007200720065006e0074002d0061007600610069006c00610062006c006500000006000000b0042a0000004100410050004c002c00630075007200720065006e0074002d0065007800740072006100000006000000bc02300000004100410050004c002c00630075007200720065006e0074002d0069006e002d0073006c00650065007000000006000000e803160000006200750069006c0074002d0069006e0000000500000000</string>
<key>HDAInjection</key>
<string>No</string>
<key>StringInjector</key>
<string>Yes</string>
<key>USBInjection</key>
<string>Yes</string>
</dict>

 

Followings is ioregistry explorer File.

http://www.mediafire.com/?o5wl6kgrlndm45x

[url="http://www.mediafire.com/?fstu49jvrrjtbbb"]http://www.mediafire.com/?fstu49jvrrjtbbb[/url]

 

Addition, whenever it boot successfully, I have to remove /S/L/Caches.

this way is more success for booting.

or safe boot and remove /S/L/Caches.

I did Video Rom flashing, CustomEDID, advanced EDID,pci config, LoadVideo Bios, etc. Is there anything else?

Link to comment
Share on other sites

×
×
  • Create New...