Jump to content

Automatic update of kext files


Recommended Posts

Just had a look, isn't this an error:

<code style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; padding: 0px; margin: 0px; background-color: transparent; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-break: normal; border: 0px; display: inline; line-height: inherit; word-wrap: normal;">sudo nvram boot-args="kext-dev-mode=1"

Would kill the Nvidia drivers

Should be:

<code style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; padding: 0px; margin: 0px; background-color: transparent; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-break: normal; border: 0px; display: inline; line-height: inherit; word-wrap: normal;">sudo nvram boot-args="</code>kext-dev-mode=1 nvda_drv=1"</code></pre>

Link to comment
Share on other sites

may a silly question:

will this script do the required changes in the 3 kexts if they´re untouched?

Because i´ve do a clean install with Yosemite on my MBP i´ve to change these files, but i think it´s a better way to do this by this way.

Regards

Link to comment
Share on other sites

Just had a look, isn't this an error:

sudo nvram boot-args="kext-dev-mode=1"

Would kill the Nvidia drivers

Should be:

sudo nvram boot-args="kext-dev-mode=1 nvda_drv=1"

Yep, that switches back to OS X default driver. Adding “nvda_drv=1” is preferred so that web driver will be in use after reboot and you don’t have to manually select from the menu.

Link to comment
Share on other sites

Hmm, I ran the latest Nvidia update last night. I then ran this script. It noted that 2 of the files had already been patched the first time I ran it.

I ran it again and it said all 3 had been patched.

But when I restarted the one it patched wouldn't load. I repaired permissions but it still wouldn't load.

So, if you try this, make sure to have a "get it back running" plan. The issue may be that I didn't restart and let the kexts become fully installed, etc.

Will try again soon and update.

Link to comment
Share on other sites

  • 2 weeks later...
Just had a look, isn't this an error:

<code style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; padding: 0px; margin: 0px; background-color: transparent; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-break: normal; border: 0px; display: inline; line-height: inherit; word-wrap: normal;">sudo nvram boot-args="kext-dev-mode=1"

Would kill the Nvidia drivers

Should be:

<code style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; padding: 0px; margin: 0px; background-color: transparent; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-break: normal; border: 0px; display: inline; line-height: inherit; word-wrap: normal;">sudo nvram boot-args="</code>kext-dev-mode=1 nvda_drv=1"</code>

Oh I forgot this. thx.

may a silly question:

will this script do the required changes in the 3 kexts if they´re untouched?

Because i´ve do a clean install with Yosemite on my MBP i´ve to change these files, but i think it´s a better way to do this by this way.

Regards

It should, but I've only tested it on my macbook.

Hmm, I ran the latest Nvidia update last night. I then ran this script. It noted that 2 of the files had already been patched the first time I ran it.

I ran it again and it said all 3 had been patched.

But when I restarted the one it patched wouldn't load. I repaired permissions but it still wouldn't load.

So, if you try this, make sure to have a "get it back running" plan. The issue may be that I didn't restart and let the kexts become fully installed, etc.

Will try again soon and update.

Could you send me the file to check what is wrong ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.