-->Donations via PayPal [External Link Removed for Guests] :guitar
-->Installation/Post Installation Tutorial [Local Link Removed for Guests]
-->Useful Links [Local Link Removed for Guests]
-->Olarila Images - Updated images [Local Link Removed for Guests]
-->Guides and Tutorials [Local Link Removed for Guests]
-->Clover Folder for All Chipsets [Local Link Removed for Guests]
-->DSDT Patch Requests [Local Link Removed for Guests]

Patches

Post Reply
User avatar
Cassio
Olarila Staff
Olarila Staff
Posts: 3765
Joined: 26 Aug 2011, 22:53

Re: Patches

Post by Cassio » 01 Nov 2011, 02:39

The Vostro 3550 patch has nothing about video in it.

If it's an Intel HD you can try this [Local Link Removed for Guests]
but you will also need the proper kexts.
ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: [External Link Removed for Guests] • Linux Mint 15 • Windows 8
pilsator
Posts: 21
Joined: 22 Oct 2011, 20:33

Re: Patches

Post by pilsator » 01 Nov 2011, 22:17

To apply the patch you need to know the video device adress (and then perhaps you must translate it into a sequence of numbers and letters). If I run maldons "run me"-tool, it creates an ioreg.txt-file along with some other files. But I couldn't find the video device-adress in there after opening it with a text editor.
User avatar
Cassio
Olarila Staff
Olarila Staff
Posts: 3765
Joined: 26 Aug 2011, 22:53

Re: Patches

Post by Cassio » 01 Nov 2011, 23:34

Use IORegistryExplorer.
ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: [External Link Removed for Guests] • Linux Mint 15 • Windows 8
pilsator
Posts: 21
Joined: 22 Oct 2011, 20:33

Re: Patches

Post by pilsator » 03 Nov 2011, 00:02

After applying the DualLink patch I get full video resolution now with stock kexts. I didn't even have to install Chimera instead of Chameleon 2 r1394. Great improvement, thanks for the support!
I applied IRQs, RTC and DTGP from the Notebook SandyBridge folder and then DualLink. I can't adjust brightness even after applying the FN Keys patch from the Notebook SandyBridge folder but it's ok as ist is so I don't care.

The next big project is native power management.

Oldnapalm wrote at insanelymac:
"...If power management doesn't work (need NullCPUPowerManagement) you may need patches LPC (if AppleLPC isn't loaded) and HPET (if you have "No HPET(s) available" kernel panic).

For USB problems there are EHCI, UHCI, ICH9 USB sleep, EHCI sleep/ownership.

Sleep problems are usually related to power management and USB…."

An HPET KP didn't happen yet. So I would perhaps try LPC first and see what happens. Then if needed the USB related patches. Can they be applied just alternatively or in different combinations? Would you recommend a certain strategy?
User avatar
Cassio
Olarila Staff
Olarila Staff
Posts: 3765
Joined: 26 Aug 2011, 22:53

Re: Patches

Post by Cassio » 03 Nov 2011, 00:14

The Vostro 3550 patch includes the needed patches, so if you apply it + DualLink should be enough.

For PM you probably need
[External Link Removed for Guests]

Please read this [Local Link Removed for Guests]
ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: [External Link Removed for Guests] • Linux Mint 15 • Windows 8
samisnake
Posts: 1
Joined: 19 Sep 2011, 09:53

Re: Patches

Post by samisnake » 04 Nov 2011, 11:43

anyone else noticed the patches have disappeared? :?:

edit-found um
pilsator
Posts: 21
Joined: 22 Oct 2011, 20:33

Re: Patches

Post by pilsator » 05 Nov 2011, 01:13

I hate to say it but I lost again against the terminal when trying to apply the speedstepper patch for AICPUPM. I downloaded the version 1.2 for Lion 10.7.0 & 10.7.1 (10.7.1 is installed). I copied the file speed_stepper_lion_gm to the desktop. Started terminal, typed
sudo (space).
dragged the file speed_stepper_lion_gm to the terminal
typed space
dragged the file AppleIntelCPUPowerManagement.kext to the terminal

That resulted in the line:
ottos-Mac-Pro:Desktop ottokatz$ sudo ./Users/ottokatz/Desktop/speed_stepper_lion_gm /System/Library/Extensions/AppleIntelCPUPowerManagement.kext

After typing enter and entering my password terminal said:

command not found.

The terminal and me, a sad story.
User avatar
Cassio
Olarila Staff
Olarila Staff
Posts: 3765
Joined: 26 Aug 2011, 22:53

Re: Patches

Post by Cassio » 05 Nov 2011, 01:28

Actually you have to drag AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement, not AppleIntelCPUPowerManagement.kext.
ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: [External Link Removed for Guests] • Linux Mint 15 • Windows 8
pilsator
Posts: 21
Joined: 22 Oct 2011, 20:33

Re: Patches

Post by pilsator » 05 Nov 2011, 01:53

Ah I see. Thanks again. Will do that.
User avatar
Cassio
Olarila Staff
Olarila Staff
Posts: 3765
Joined: 26 Aug 2011, 22:53

Re: Patches

Post by Cassio » 05 Nov 2011, 13:06

pilsator wrote:Started terminal, typed
sudo (space).
dragged the file speed_stepper_lion_gm to the terminal
typed space
dragged the file AppleIntelCPUPowerManagement.kext to the terminal

That resulted in the line:
ottos-Mac-Pro:Desktop ottokatz$ sudo ./Users/ottokatz/Desktop/speed_stepper_lion_gm /System/Library/Extensions/AppleIntelCPUPowerManagement.kext

After typing enter and entering my password terminal said:

command not found.
Ah, that dot should not be there, the right command would be

Code: [Local Link Removed for Guests]

sudo /Users/ottokatz/Desktop/speed_stepper_lion_gm /System/Library/Extensions/AppleIntelCPUPowerManagement.kext/Contents/MacOS/AppleIntelCPUPowerManagement
ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: [External Link Removed for Guests] • Linux Mint 15 • Windows 8
pilsator
Posts: 21
Joined: 22 Oct 2011, 20:33

Re: Patches

Post by pilsator » 06 Nov 2011, 00:41

Just wanted to ask why it still doesn't work. Will try without dot now.
pilsator
Posts: 21
Joined: 22 Oct 2011, 20:33

Re: Patches

Post by pilsator » 06 Nov 2011, 02:39

The speedstepper patch worked without the dot. I dragged S/L/E on Kext Utility 2.3.2 instead of rebuilding kextcache with a terminal command (don't know the command).

I copied the dsdt.aml with maldons vostro 3550 script plus DualLink patch to the extra-folder (4 lines had to be deleted to get rid of the errors as oldnapalm told me).

I removed NullCPUPowerManagement.kext from the extra-folder and dragged Extra/Extensions-x on Kext Utility.

On first boot resolution was at 1024x768, after some reboots with -v and repairing permissions full resolution is back.

But if I touch the touchpad any windows that I did not open pop up like crazy and perform a little pogo dance.

If I send the Vostro to sleep screen goes black and fans stop spinning. That didn't happen before the speed stepper patch. If I wake it up by pressing the power button screen comes back but keyboard and usb mouse don't work so that I have to shut it down the hard way.

Maybe kextcache was not rebuilded by Kext Utility?
User avatar
Cassio
Olarila Staff
Olarila Staff
Posts: 3765
Joined: 26 Aug 2011, 22:53

Re: Patches

Post by Cassio » 06 Nov 2011, 03:06

Which hibernatemode are you using? (check with pmset -g in terminal)

If it's not 0 try

Code: [Local Link Removed for Guests]

sudo pmset -a hibernatemode 0
You can remove /var/vm/sleepimage.
ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: [External Link Removed for Guests] • Linux Mint 15 • Windows 8
pilsator
Posts: 21
Joined: 22 Oct 2011, 20:33

Re: Patches

Post by pilsator » 06 Nov 2011, 04:37

Thanks for your patience, Cassio, I'll check that.
pilsator
Posts: 21
Joined: 22 Oct 2011, 20:33

Re: Patches

Post by pilsator » 07 Nov 2011, 01:10

Hibernatemode was: 3.
I didn´t know the terminal command for deleting the sleepimage. I guess "remove /var/vm/sleepimage", will try.
After setting Hibernatemode to 0 and rebooting the trackpad acted normal.
I could send the Vostro to sleep but after trying to wake it up by pressing the power button it wouldn't respond to the keyboard, trackpad and USB mouse.

I'm not sure but I think while booting the Vostro in verbose mode I read something like "LPC not loaded" - but the lines pass way so fast...
User avatar
Cassio
Olarila Staff
Olarila Staff
Posts: 3765
Joined: 26 Aug 2011, 22:53

Re: Patches

Post by Cassio » 07 Nov 2011, 01:57

Code: [Local Link Removed for Guests]

sudo rm /var/vm/sleepimage
Look for errors in kernel log

Code: [Local Link Removed for Guests]

cat /var/log/kernel.log
ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: [External Link Removed for Guests] • Linux Mint 15 • Windows 8
pilsator
Posts: 21
Joined: 22 Oct 2011, 20:33

Re: Patches

Post by pilsator » 07 Nov 2011, 02:19

I could delete the sleepimage with show-hide files. But after reboot the trackpad causes the same trouble as before.
Will look for errors in kernel log.
pilsator
Posts: 21
Joined: 22 Oct 2011, 20:33

Re: Patches

Post by pilsator » 07 Nov 2011, 03:08

Too much text, I have to send it as an attachment.
You do not have the required permissions to view the files attached to this post.
User avatar
Cassio
Olarila Staff
Olarila Staff
Posts: 3765
Joined: 26 Aug 2011, 22:53

Re: Patches

Post by Cassio » 07 Nov 2011, 14:50

AppleUSBCDC: start - initDevice failed
Try to enable UseKernelCache (move all kexts to /S/L/E first).

[External Link Removed for Guests]
ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: [External Link Removed for Guests] • Linux Mint 15 • Windows 8
pilsator
Posts: 21
Joined: 22 Oct 2011, 20:33

Re: Patches

Post by pilsator » 08 Nov 2011, 02:14

I moved the kexts in E/E to S/L/E, dragged S/L/E on Kext Utility, edited the boot.plist with

<key>UseKernelCache</key>
<string>Yes</string>

removed these lines

<key>npci</key>
<string>0x2000</string>

-I didn't know what they would do-

and rebooted. That ended up in a KP.

After adding

<key>npci</key>
<string>0x2000</string>

again the system loaded with full video resolution and the trackpad acted normal.
Then I sent the Vostro to sleep and tried to wake it up. USB mouse, trackpad and keyboard didn't respond, so I had to pull the plug.

On next reboot the trackpad again makes windows pop up like nuts if I touch it.

I still have the speedstepped AICPUPM in S/L/E.

I found this in the kernel log:

Nov 6 03:19:13 ottos-Mac-Pro kernel[0]: hibernate_write_image done(0)
Nov 6 03:19:13 ottos-Mac-Pro kernel[0]: sleep
Nov 6 03:19:24 ottos-Mac-Pro kernel[0]: Wake reason: PWRB (User)
Nov 6 03:19:24 ottos-Mac-Pro kernel[0]: No interval found for . Using 8000000
Nov 6 03:19:24 ottos-Mac-Pro kernel[0]: ApplePS2Mouse: Unexpected data from PS/2 controller.
Nov 6 03:19:24 ottos-Mac-Pro kernel[0]: The USB device HubDevice (Port 1 of Hub at 0x1a000000) may have caused a wake by issuing a remote wakeup (2)
Nov 6 03:19:24 ottos-Mac-Pro kernel[0]: The USB device HubDevice (Port 1 of Hub at 0x1d000000) may have caused a wake by issuing a remote wakeup (2)
Nov 6 03:19:24 ottos-Mac-Pro kernel[0]: An Unknown USB Device (Port 5 of Hub at 0x1d100000), may have caused a wake by being connected
Nov 6 03:19:30 ottos-Mac-Pro kernel[0]: No interval found for . Using 8000000
Nov 6 03:19:34 ottos-Mac-Pro kernel[0]: 0 0 AppleUSBCDC: start - initDevice failed
Nov 6 03:19:34 ottos-Mac-Pro kernel[0]: USBMSC Identifier (non-unique): 20090516388200000 0xbda 0x138 0x3882
Nov 6 03:19:34 ottos-Mac-Pro kernel[0]: 0 0 AppleUSBCDC: start - initDevice failed
Post Reply

Return to “DSDT”