Jump to content

RehabMan! DSDT for Dell Inspiron 3x21 :help:

DSDT for Dell Inspiron 3x21

  • Please log in to reply
29 replies to this topic

#1
sugarface

sugarface

    InsanelyMac Protégé

  • Members
  • Pip
  • 42 posts
  • Gender:Male
  • Location:Sugarland
  • Interests:Sugar, OSX, C++

Can you plz help me patch my dsdt/ssdt*.aml?? 

 

What I want is:

Sleep

Disable NVDA

Brightness(I tried your patch, it allows me to change brightness only once per boot, then it becomes unusable)

HDMI

 

 

Is it okay to start patching on dsdt.aml or do I need to decompile it first into .dsl (I use Maciasl). Decomplie + patching leads to more error :huh:...

Thanks

 

My hardware info is below:

Attached Files



#2
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,457 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

Can you plz help me patch my dsdt/ssdt*.aml?? 
 
What I want is:
Sleep
Disable NVDA
Brightness(I tried your patch, it allows me to change brightness only once per boot, then it becomes unusable)
HDMI
 
 
Is it okay to start patching on dsdt.aml or do I need to decompile it first into .dsl (I use Maciasl). Decomplie + patching leads to more error :huh:...

Thanks
 
My hardware info is below:


Use: https://github.com/R...ptop-DSDT-Patch
Fix errors with:
"Fix _PLD Buffer/Package Error"
"Fix *pnp/pnp lower case Error"

#3
sugarface

sugarface

    InsanelyMac Protégé

  • Members
  • Pip
  • 42 posts
  • Gender:Male
  • Location:Sugarland
  • Interests:Sugar, OSX, C++

on .aml or .dsl??
 or it doesn't matter cuz I use Maciasl? :huh:



#4
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,457 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

on .aml or .dsl??
 or it doesn't matter cuz I use Maciasl? :huh:


With this DSDT doesn't matter. Try it...

#5
sugarface

sugarface

    InsanelyMac Protégé

  • Members
  • Pip
  • 42 posts
  • Gender:Male
  • Location:Sugarland
  • Interests:Sugar, OSX, C++

Rehabman, Can you give me all the steps....

 

I'm on windows now my Yosemite Public Beta has no internet. :(

I'll try out all the patches and report with screenshots.



#6
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,457 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

Rehabman, Can you give me all the steps....
 
I'm on windows now my Yosemite Public Beta has no internet. :(
I'll try out all the patches and report with screenshots.


Read the README. There are instructions for using MaciASL with the repo without internet.

#7
sugarface

sugarface

    InsanelyMac Protégé

  • Members
  • Pip
  • 42 posts
  • Gender:Male
  • Location:Sugarland
  • Interests:Sugar, OSX, C++

Rehabman, I have MaciASL and have set it up already :yes:

 

I used this command to get decompiled DSDT.

iasl -da DSDT.aml SSDT*.aml

I applied the patches you told;

Changed Not Serialized to Serialized;

 

After tht I get this >>

 

Screen%20Shot%202014-08-01%20at%202.54.3

 

how do I remove the rest of the warning, remarks, opt??

 

DSDT >> cl.ly/Wq9y/download/DSDT.dsl



#8
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,457 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

...
how do I remove the rest of the warning, remarks, opt??


There is absolutely no reason to do that...

#9
sugarface

sugarface

    InsanelyMac Protégé

  • Members
  • Pip
  • 42 posts
  • Gender:Male
  • Location:Sugarland
  • Interests:Sugar, OSX, C++

So I add patches and compile with errors/remarks?? :huh:

 

And what patches should I apply (HD4000/7 series laptop)

 

For >>

 

Sleep
Disable NVDA
Brightness (I tried your patch, it allows me to change brightness only once per boot, then it becomes unusable) :frantics:
HDMI



#10
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,457 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

So I add patches and compile with errors/remarks?? :huh:


Post #7 shows "0 Errors".

And what patches should I apply (HD4000/7 series laptop)
 
For >>
 
Sleep
Disable NVDA
Brightness (I tried your patch, it allows me to change brightness only once per boot, then it becomes unusable) :frantics:
HDMI


Brightness:
"Rename GFX0 to IGPU"
"Brightness Fix (HD3000/HD4000)"

HDMI will work OOB provided your laptop display is 1366x768 and you're injecting ig-platform-id 0x01660003. If you have higher resolution screen, you must use 0x01660004 or 0x01660009. With 0004 you need to patch the capri framebuffer kext. DSDT patches cannot be used to fix that particular problem.

Disabling Nvidia involves calling _OFF from _INI in the SSDT that defines your nvidia device...

For sleep, it depends on specifically what is wrong with sleep. Note: native power management is a pre-req for sleep.

#11
sugarface

sugarface

    InsanelyMac Protégé

  • Members
  • Pip
  • 42 posts
  • Gender:Male
  • Location:Sugarland
  • Interests:Sugar, OSX, C++

Okay one problem at a time....

First >> Brightness

 

I added the two patches( gfx>>igpu; brightness hd3000/4000 ) and use the patched acpi-backlight.kext

 

But still the problem persists, of being able to change brightness only once per login, then it becomes unusable.

 

_____________________________________________________________________________________________________________

 

Also what is the diff b/w, and which should I use??

 

https://github.com/R...7-series-id.txt

 

https://github.com/R...s-multiplex.txt

 

_______________________________________________________________________________________________________________

 

aand..

 

my battery indicator works with just the acpibatterymanager.kext should I also use this patch, it says 3251(which is my laptop)??

 

https://github.com/R...Vostro-15xx.txt

 

 

THANX :)



#12
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,457 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

Okay one problem at a time....
First >> Brightness
 
I added the two patches( gfx>>igpu; brightness hd3000/4000 ) and use the patched acpi-backlight.kext
 
But still the problem persists, of being able to change brightness only once per login, then it becomes unusable.


What do you mean once per login?

So... if you go to SysPrefs->Displays and change brightness, then logout, and go back to SysPrefs->Displays to change it again it doesn't work the second time?
 

_____________________________________________________________________________________________________________
 
Also what is the diff b/w, and which should I use??
 
https://github.com/R...7-series-id.txt
 
https://github.com/R...s-multiplex.txt


First is to avoid instant wake (and other problems caused by USB). Second is to multiplex USB2 (EHC) with USB3 (XHC) for use with AppleUSBXHCI.kext (not necessary if you're using GenericUSBXHCI). There are comments in some of the patches. You should read them.

 

_______________________________________________________________________________________________________________
 
aand..
 
my battery indicator works with just the acpibatterymanager.kext should I also use this patch, it says 3251(which is my laptop)??
 
https://github.com/R...Vostro-15xx.txt


I only see "Dell 3521" in that patch (not "Dell 3251"), but as for your question..

If you have working battery status without DSDT patches it could be because of two reasons:
1) You installed Snow Leopard version of AppleACPIPlatform.kext (will break proper power management and possibly other things, such as sleep)
2) Your DSDT does not require patches (if there are no EC fields larger than 8-bit that are accessed directly or indirectly by ACPI battery methods)

#13
sugarface

sugarface

    InsanelyMac Protégé

  • Members
  • Pip
  • 42 posts
  • Gender:Male
  • Location:Sugarland
  • Interests:Sugar, OSX, C++

1.What I meant was if I log into my system, I can change brightness only once using the fn key + brightness key (either increase or decrease) and then it stays tht way; the key combination no longer works. This problem is not there with Multimedia keys. But I'm able to change brightness from SysPrefs->Displays at all times, no problem there.

 

2. I heard GenericUSBXCHI breaks sleep, and want to do away with it, so tht means I'll be needing the multiplex (PJALM) patch too. :yes:

 

3. I'm not using a fallback version of AppleACPIPlatform.kext so I guess I won't be needing any patches :)



#14
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,457 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

1.What I meant was if I log into my system, I can change brightness only once using the fn key + brightness key (either increase or decrease) and then it stays tht way; the key combination no longer works. This problem is not there with Multimedia keys. But I'm able to change brightness from SysPrefs->Displays at all times, no problem there.


Problem in keyboard driver. Not a backlight issue. It is likely your keys are registering a 'down' event (make), but no 'up' event (break). My PS2 driver has a feature to deal with such keys in Info.plist ("Breakless PS2")...
 

2. I heard GenericUSBXCHI breaks sleep, and want to do away with it, so tht means I'll be needing the multiplex (PJALM) patch too. :yes:


GenericUSBXHCI does not break sleep. I use it all the time... If you can get AppleUSBXHCI.kext to work it is preferable as it is more native, but it is not possible all the time.
 

3. I'm not using a fallback version of AppleACPIPlatform.kext so I guess I won't be needing any patches :)


You should verify with 'kextstat|grep -y acpiplat' in Terminal.

#15
sugarface

sugarface

    InsanelyMac Protégé

  • Members
  • Pip
  • 42 posts
  • Gender:Male
  • Location:Sugarland
  • Interests:Sugar, OSX, C++


Problem in keyboard driver. Not a backlight issue. It is likely your keys are registering a 'down' event (make), but no 'up' event (break). My PS2 driver has a feature to deal with such keys in Info.plist ("Breakless PS2")...

 

 

 But I can't use your driver since I have Elan trackpad. How do I fix it then?? :huh:
 

GenericUSBXHCI does not break sleep. I use it all the time... If you can get AppleUSBXHCI.kext to work it is preferable as it is more native, but it is not possible all the time.

 

 Is it possible to have the multiplex patch and GenericUSBXHCI at same time?
 


You should verify with 'kextstat|grep -y acpiplat' in Terminal.

 

 

I'm sure abt this m on yosemite public beta :)



#16
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,457 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

But I can't use your driver since I have Elan trackpad. How do I fix it then?? :huh:


Read the documentation/contact the author of the kext that you're using.
 

Is it possible to have the multiplex patch and GenericUSBXHCI at same time?


Possible: Yes (you can do what ever you want). There is no reason to multiplex with GenericUSBXHCI and it probably would not work. Usually -gux_defer_usb2 is used when you have Intel 7/8-series chipset and GenericUSBXHCI.kext.
 

I'm sure abt this m on yosemite public beta :)


You should really start with Mavericks and get your system working there first... After you have everything figured out, it will be easy to translate to future versions.

FYI: Looking at the DSDT.dsl you provided a while back, I see no EmbeddedControl, so EC field access would not be an issue...

#17
sugarface

sugarface

    InsanelyMac Protégé

  • Members
  • Pip
  • 42 posts
  • Gender:Male
  • Location:Sugarland
  • Interests:Sugar, OSX, C++

Disabling Nvidia involves calling _OFF from _INI in the SSDT that defines your nvidia device...

 

 

Rehabman, how do I do this??



#18
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,457 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

Rehabman, how do I do this??


Use search/google... you'll probably find many examples.

#19
sugarface

sugarface

    InsanelyMac Protégé

  • Members
  • Pip
  • 42 posts
  • Gender:Male
  • Location:Sugarland
  • Interests:Sugar, OSX, C++

Hi Rehabman

 

Here is an update, I Googled, found suitable patches for DSDT and SSDTs, and it blocked my NVDA gpu, it won't show up on my Sys Info anymore. :) :thumbsup_anim:

#But with the patched *.aml(s) and after a reboot, my screen had dimmed even though it was @100% brightness. I fixed tht by deleting acpibacklight.kext. I know this might not be a fix but this works for now. :yes:

 

Screen%20Shot%202014-08-02%20at%204.02.4

 

>> I also found that Elan VoodooPS2 controller is a port of your kext (Synaptics one), so breakless PS2 features apply to that as well. Can you help me with that??

 

Thanks



#20
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,457 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

Hi Rehabman
 
Here is an update, I Googled, found suitable patches for DSDT and SSDTs, and it blocked my NVDA gpu, it won't show up on my Sys Info anymore. :) :thumbsup_anim:
#But with the patched *.aml(s) and after a reboot, my screen had dimmed even though it was @100% brightness. I fixed tht by deleting acpibacklight.kext. I know this might not be a fix but this works for now. :yes:
 
Screen%20Shot%202014-08-02%20at%204.02.4


This is why I suggest you do Mavericks instead...

>> I also found that Elan VoodooPS2 controller is a port of your kext (Synaptics one), so breakless PS2 features apply to that as well. Can you help me with that??
 
Thanks


As far as I know, it is not related to my kext...





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy