Contribute
Register

Lenovo Twist DSDT edits not compiling

Status
Not open for further replies.
Joined
Sep 18, 2014
Messages
6
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. 0
I was actually following this thread, and I got the sound to work by applying

Lenovo Twist
"Audio Layout 12" (changed layout-id from 12 to the layout-id used by the patched AppleHDA)
"IRQ Fix"

but now I am trying to get battery status to work and I am patching in this order:


Rename VID/ADP1 to IGPU
Lenovo Twist
"Audio Layout 12" (change layout-id from 12 to the layout-id used by the patched AppleHDA)
"IRQ Fix"
Fix Mutex with non-zero SyncLevel
"Brightness Fix (HD3000/HD4000)"


and receiving 42 errors, examples:

Object not found or accessible from scope (^PCI0.IGPU.RID)


Object not found or accessible from scope (^^^^IGPU.VLOC)

Since it's supposed to be IGPU and not VID, and since I'm applying the rename fix first, I'm not quite sure what I'm doing incorrectly..


Save me RehabMan Kenobi
 
I was actually following this thread, and I got the sound to work by applying

Lenovo Twist
"Audio Layout 12" (changed layout-id from 12 to the layout-id used by the patched AppleHDA)
"IRQ Fix"

but now I am trying to get battery status to work and I am patching in this order:


Rename VID/ADP1 to IGPU
Lenovo Twist
"Audio Layout 12" (change layout-id from 12 to the layout-id used by the patched AppleHDA)
"IRQ Fix"
Fix Mutex with non-zero SyncLevel
"Brightness Fix (HD3000/HD4000)"


and receiving 42 errors, examples:

Object not found or accessible from scope (^PCI0.IGPU.RID)


Object not found or accessible from scope (^^^^IGPU.VLOC)

Since it's supposed to be IGPU and not VID, and since I'm applying the rename fix first, I'm not quite sure what I'm doing incorrectly..


Save me RehabMan Kenobi

Post your files.
 
Also is there any quick DSDT patch that fixes no sound after sleep mode ? Battery issue is definitely more important, though.
 
I was actually following this thread, and I got the sound to work by applying

Lenovo Twist
"Audio Layout 12" (changed layout-id from 12 to the layout-id used by the patched AppleHDA)
"IRQ Fix"

but now I am trying to get battery status to work and I am patching in this order:


Rename VID/ADP1 to IGPU
Lenovo Twist
"Audio Layout 12" (change layout-id from 12 to the layout-id used by the patched AppleHDA)
"IRQ Fix"
Fix Mutex with non-zero SyncLevel
"Brightness Fix (HD3000/HD4000)"


and receiving 42 errors, examples:

Object not found or accessible from scope (^PCI0.IGPU.RID)


Object not found or accessible from scope (^^^^IGPU.VLOC)

I think your mistake is applying patches on top of an already patched DSDT.

Make sure you start with native DSDT, and apply each patch only once.

I had no issue applying the rename+brightness patch to the DSDT I extracted from your ioreg. Your current DSDT is already patched for battery/irq/audio.
 
Oh wow that must be it. I was still having trouble getting the battery to work but I'll try it again with that order I had posted. I do have a quick question in regards to that, though:

I've extracted DSDT/SSDT using AIDA64. If I wipe it clean and start from a fresh boot of mavericks (for the nth time in the past couple days), will it make any difference whether I use my newly extracted DSDT vs the DSDT that comes with a fresh install for patching?
 

Attachments

  • lenovo_dsdt.aml
    50 KB · Views: 129
  • lenovo_ssdt.aml
    208 bytes · Views: 85
Oh wow that must be it. I was still having trouble getting the battery to work but I'll try it again with that order I had posted. I do have a quick question in regards to that, though:

I've extracted DSDT/SSDT using AIDA64. If I wipe it clean and start from a fresh boot of mavericks (for the nth time in the past couple days), will it make any difference whether I use my newly extracted DSDT vs the DSDT that comes with a fresh install for patching?

You should have no trouble making the patches starting with the DSDT you just posted.

As far as re-extract, not necessary unless you have made hardware changes, BIOS upgrades, or other hardware changes, or sometimes BIOS setting changes.

When you boot OS X without a DSDT installed, DSDT extract from OS X is the same as what you'll find from Windows or Linux.
 
Thank you for all your help, I've been messing with this stuff off and on for a few different devices over the past year and your posts would always come up in my searches, always very informative and helpful.

I've applied the patches in the order I stated earlier with my fresh aml, but no luck on the battery percentage. I've gone in and changed some of the mutex lines myself and tried it again and still no luck. Shows up as 0% in Energy Saver and when I click show battery status in menu bar it auto unchecks itself.
 

Attachments

  • DSDT_newnew.aml
    51.9 KB · Views: 107
Status
Not open for further replies.
Back
Top