Jump to content

Haswell Thinkpad - I fixed DSDT and got more errors...

DSDT Fix

Best Answer RehabMan, 10 August 2014 - 03:09 PM

Now I meet new problem, I try to patch your "Brightness fix(Haswell)", because my laptop is ThinkPad I use "Rename VID to IGPU", and I get 28 errors...And can u tell me the reason?


Your DSDT contains two VID devices. One at PCI0.VID and another at PCI0.PEG.VID. Makes automatic rename difficult... You will need to do the rename manually, renaming only PCI0.VID to PCI0.IGPU. Go to the full post


  • Please log in to reply
18 replies to this topic

#1
WiLL.Mz

WiLL.Mz

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Location:Beijing, China
  • Interests:Electronic Music, Anime

   Hello everyone, this is my first time posting a topic on InsanelyMac :D I' m a new fighter of Hackintosh, recent days I tried to use DSDT for my laptop battery management, but I met some trouble on fixing errors. After fixing one error, I got new 201 errors!!! Can anyone help me? I want to know why... Do those 201 errors exist before I fix the DSDT???

 

  My CPU is Haswell Core i5-4200M, DSDT is got in OS X 10.9.4, Clover, original version by DarwinDumper. Thanks a lot! :wub: 

Attached Files



#2
RehabMan

RehabMan

    InsanelyMac Deity

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

You would get a better result if you disassemble all native OEM files at once. Extract all DSDT/SSDT and place in a single directory, then use a recent build of iasl in Terminal to disassemble:

cd to-directory-where-DSDT-SSDTs-are-at
iasl -da *.aml

Work with the resulting *.dsl files.



#3
WiLL.Mz

WiLL.Mz

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Location:Beijing, China
  • Interests:Electronic Music, Anime

Thanks for your quick reply~I have used this method and got same amounts of errors...



#4
RehabMan

RehabMan

    InsanelyMac Deity

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

Thanks for your quick reply~I have used this method and got same amounts of errors...


Post your files.

#5
WiLL.Mz

WiLL.Mz

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Location:Beijing, China
  • Interests:Electronic Music, Anime

Post your files.

 

Please see this attach, aml and dsl, thank u very much :) (And thanks for your tools, they help me more~)

Attached Files

  • Attached File  ACPI.zip   92.43KB   4 downloads


#6
RehabMan

RehabMan

    InsanelyMac Deity

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

Please see this attach, aml and dsl, thank u very much :) (And thanks for your tools, they help me more~)


Definitely not all the tables (they look like generated tables from Clover?). Extract all tables with Linux. They are at /sys/firmware/acpi/tables and /sys/firmware/acpi/tables/dynamic.

Note: You can also extract tables by pressing F4 at Clover bootloader screen. They'll be in EFI/Clover/ACPI/origin. I find the tables from Linux more complete/accurate. YMMV.

#7
WiLL.Mz

WiLL.Mz

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Location:Beijing, China
  • Interests:Electronic Music, Anime

Yes, they are generated from Clover...OK, I will upload new tables tomorrow with Linux and I must go to bed...See u tomorrow ^_^
 



#8
RehabMan

RehabMan

    InsanelyMac Deity

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

   

Yes, they are generated from Clover...OK, I will upload new tables tomorrow with Linux and I must go to bed...See u tomorrow ^_^


Using generated files does not make sense. You need to disassemble with native OEM files.

#9
WiLL.Mz

WiLL.Mz

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Location:Beijing, China
  • Interests:Electronic Music, Anime

Using generated files does not make sense. You need to disassemble with native OEM files.

Hey, RehabMan, I don't know how to extract tables with Linux, so I use AIDA64 on Windows and just get 4 warnings, I think I can fix them by myself.

 

And do original tables have conflict with "config.plist"? I was not sure that so I extracted generated files.



#10
RehabMan

RehabMan

    InsanelyMac Deity

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

Hey, RehabMan, I don't know how to extract tables with Linux, so I use AIDA64 on Windows and just get 4 warnings, I think I can fix them by myself.
 
And do original tables have conflict with "config.plist"? I was not sure that so I extracted generated files.


Warnings do not need to be fixed...

Not sure what you mean by "original tables... conflict... config.plist". config.plist is Clover bootloader configuration... separate from ACPI tables.

#11
WiLL.Mz

WiLL.Mz

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Location:Beijing, China
  • Interests:Electronic Music, Anime

Using generated files does not make sense. You need to disassemble with native OEM files.

 

Now I meet new problem, I try to patch your "Brightness fix(Haswell)", because my laptop is ThinkPad I use "Rename VID to IGPU", and I get 28 errors...And can u tell me the reason?

Attached Files



#12
RehabMan

RehabMan

    InsanelyMac Deity

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

Best Answer

Now I meet new problem, I try to patch your "Brightness fix(Haswell)", because my laptop is ThinkPad I use "Rename VID to IGPU", and I get 28 errors...And can u tell me the reason?


Your DSDT contains two VID devices. One at PCI0.VID and another at PCI0.PEG.VID. Makes automatic rename difficult... You will need to do the rename manually, renaming only PCI0.VID to PCI0.IGPU.

#13
WiLL.Mz

WiLL.Mz

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Location:Beijing, China
  • Interests:Electronic Music, Anime

Your DSDT contains two VID devices. One at PCI0.VID and another at PCI0.PEG.VID. Makes automatic rename difficult... You will need to do the rename manually, renaming only PCI0.VID to PCI0.IGPU.

I have renamed them by myself(It's really tough。。。), and I find there is no effect on the brightness...I will try the VoodooPS2, sincerely grateful for u~ :D



#14
RehabMan

RehabMan

    InsanelyMac Deity

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

I have renamed them by myself(It's really tough。。。), and I find there is no effect on the brightness...I will try the VoodooPS2, sincerely grateful for u~ :D


Post ioreg if you want me to look (use IORegistryExplore v2.1)

#15
WiLL.Mz

WiLL.Mz

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Location:Beijing, China
  • Interests:Electronic Music, Anime

Post ioreg if you want me to look (use IORegistryExplore v2.1)

 

Here it is. Is this file very important and someone may attack my computer easier by it?(Haha, maybe this question is foolish, but I haven' t heard such files before)

Attached Files



#16
RehabMan

RehabMan

    InsanelyMac Deity

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

Here it is. Is this file very important and someone may attack my computer easier by it?(Haha, maybe this question is foolish, but I haven' t heard such files before)


You did not install ACPIBacklight.kext.

https://github.com/R...-ACPI-Backlight

#17
mendietinha

mendietinha

    mendi

  • Members
  • PipPipPipPipPipPipPip
  • 943 posts
  • Gender:Male
  • Interests:full hackintosh.

lol



#18
WiLL.Mz

WiLL.Mz

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Location:Beijing, China
  • Interests:Electronic Music, Anime

You did not install ACPIBacklight.kext.

https://github.com/R...-ACPI-Backlight

Oh, that' s too bad, I don't know it needs this kext, hahaha. I will install it, and I have some questions:
1. My computer has Nvida Optimus, I can disable Nvida card now in BIOS, but it's inconvenient for if I want to use it in Windows I must go to BIOS. So if I disable independent graphic card through DSDT, and boot Windows by Clover, can I use Optimus in Windows and use internal card in Mac at the same time?
2. There are two lights of the Fn keys, one is for mute, the other is for mic, how can I make them work by DSDT?



#19
RehabMan

RehabMan

    InsanelyMac Deity

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

Oh, that' s too bad, I don't know it needs this kext, hahaha. I will install it, and I have some questions:
1. My computer has Nvida Optimus, I can disable Nvida card now in BIOS, but it's inconvenient for if I want to use it in Windows I must go to BIOS. So if I disable independent graphic card through DSDT, and boot Windows by Clover, can I use Optimus in Windows and use internal card in Mac at the same time?


You should probably read this entire thread: http://www.insanelym...on-all-laptops/

2. There are two lights of the Fn keys, one is for mute, the other is for mic, how can I make them work by DSDT?


You would have to figure out how they are controlled in DSDT/EC (if possible) and then write some code in one or more kexts to manipulate the LEDs.





Also tagged with one or more of these keywords: DSDT Fix

  Topic Stats Last Post Info

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