Help - Search - Members - Calendar
Full Version: QE/CI on Dell D530 laptop w/ working LCD display using DSDT override
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > Graphics Cards
vaag
After a lot of fiddeling around with different kexts and EFI strings, I finally found a solution for my non-working laptop LCD screen: using an alternative DSDT ("bios override"). Based on the great work by mackerintel and fassl!

Chameleon with DSDT override
http://forum.insanelymac.com/index.php?showtopic=132757

DSDT Patcher, a tool to fix your DSDT
http://forum.insanelymac.com/index.php?showtopic=133683

Howto?

1. Install OSX 10.5.4 (haven't tested this with other versions then iAtkos)
2. Remove default display & framebuffer kexts and install A.J.Allen's kexts ( http://forum.insanelymac.com/index.php?s=&...st&p=956250 )
3. Connect external monitor and reboot
4. Upon reboot your LCD display will remain black (non-working) and your external monitor will work in full res with QE and CI.
5. Install the latest chameleon ( hxxp://chameleon.osx86.hu/ ) per the instructions in the tar.gz file (1.0.11)
6. Replace /boot with the DSDT override boot (rename chameleon to boot) from mackerintel ( http://forum.insanelymac.com/index.php?showtopic=132757 ).
7. Reboot your "mac" - you should see the new DSDT Chameleon booter with build date 2008-10-25 23:02:35
8. Everything still working? Ok!

DSDT

9. Grab the DSDT patcher by fassl ( http://forum.insanelymac.com/index.php?showtopic=133683 ). Version 1.0.1d by the time of writing.
10. Doubleclick the DSDT Patcher file.
11. Open the dsdt_fixed.txt file in the debug folder.
12a. Find all lines containing AGP. Remove them (4)
12b. Remove the entire Device (AGP) declaration (around 214 lines)
12c. Remove the Scope(\_SB.PCI0.AGP) declaration (around 33 lines)
12d. Remove the vid2 declaration (a few lines)
12e. Under Device(VID) remove the Device(TV) dec (24)
12f. Under Device(VID) remove the Device(CRT) dec (24)
12g. Under Device(VID) remove the Device(DVI) dec (24)
13. Compile the new DSDT file using ../Tools/iasl -ta dsdt_fixed.txt
14. Copy the new DSDT file to the filesystem root using sudo cp dsdt.aml /
15. Reboot & enjoy!

Working:
- LCD display
- Resolution switching
- Some Fn-keys (brightness!)

Not (yet) working:
- sleep sad.gif

Not tested:
- Reliability...

This is just a first try and perhaps a little hacky, but hey - it's working! I used a Dell D530 but, as fassl suggested, this solution should also work on VAIO's and other laptops. Please try and report your findings in the comments.
fassl
QUOTE(vaag @ Nov 7 2008, 05:30 PM) *
10. Doubleclick the DSDT Patcher file.
11. Open the dsdt_fixed.txt file in the debug folder.
12a. Find all lines containing AGP. Remove them (4)
12b. Remove the entire Device (AGP) declaration (around 214 lines)
12c. Remove the Scope(\_SB.PCI0.AGP) declaration (around 33 lines)
12d. Remove the vid2 declaration (a few lines)
12e. Under Device(VID) remove the Device(TV) dec (24)
12f. Under Device(VID) remove the Device(CRT) dec (24)
12g. Under Device(VID) remove the Device(DVI) dec (24)


Nice that it worked for you, but VAIOS dont contain those values, just LCD as i saw until yet, but it just contains the address of the device, so it looks like more messing is needed. I've done up to 10 DSDT's for vaio so far, but none worked.... so i would like to invite more users to hassle with that smile.gif

QUOTE(vaag @ Nov 7 2008, 05:30 PM) *
Not (yet) working:
- sleep sad.gif


Please post your _WAK device also as well as your GTS, BFS and PTS devices, or just the whole DSDT

greezt
vaag
Here's my working DSDT. When compiling it gives me 9 warnings...

Anyways, good luck comparing this to the VAIO's DSDT. Perhaps you could also have a look at my sleep settings? Laptop goes to sleep perfectly, but upon wake the image on the display doesn't come back. I can control the brightness e.a. - it just doesn't show the desktop.

Good luck!

Click to view attachment
Slice
QUOTE(vaag @ Nov 7 2008, 07:30 PM) *
12a. Find all lines containing AGP. Remove them (4)
12b. Remove the entire Device (AGP) declaration (around 214 lines)
12c. Remove the Scope(\_SB.PCI0.AGP) declaration (around 33 lines)
12d. Remove the vid2 declaration (a few lines)
12e. Under Device(VID) remove the Device(TV) dec (24)
12f. Under Device(VID) remove the Device(CRT) dec (24)
12g. Under Device(VID) remove the Device(DVI) dec (24)
13. Compile the new DSDT file using ../Tools/iasl -ta dsdt_fixed.txt
14. Copy the new DSDT file to the filesystem root using sudo cp dsdt.aml /
15. Reboot & enjoy!

Working:
- LCD display
- Resolution switching
- Some Fn-keys (brightness!)

Not (yet) working:
- sleep sad.gif

Not tested:
- Reliability...

This is just a first try and perhaps a little hacky, but hey - it's working! I used a Dell D530 but, as fassl suggested, this solution should also work on VAIO's and other laptops. Please try and report your findings in the comments.

I didn't follow all your instruction yet because I have a doubt.
1. I have no AGP.
2. Why you destroied TV, CRT, DVI? I want to have it.
3. Yes, I erase VID2. No effect.
As before I need sleep trick.
Shutdown and sleep don't work.
vaag
QUOTE(Slice @ Nov 9 2008, 10:28 AM) *
I didn't follow all your instruction yet because I have a doubt.
1. I have no AGP.
2. Why you destroied TV, CRT, DVI? I want to have it.
3. Yes, I erase VID2. No effect.
As before I need sleep trick.
Shutdown and sleep don't work.

Thanks for trying! Too bad it isn't working.

I removed all references to AGP because I have no AGP either. The DSDT was pretty messy. I removed all references to TV, CRT and DVI because my laptop doesn't have a TV out or a DVI connection. My external monitor is still working, even though I removed the CRT reference.
Slice
QUOTE(vaag @ Nov 9 2008, 02:04 PM) *
My external monitor is still working, even though I removed the CRT reference.

It is interesting!
Slice
Yes!!! Thank you vaag.

Now I have working X3100 without sleeptrick!
vaag
Great! Do you have sleep working? If so, please post your DSDT / other solution...

Slice
QUOTE(vaag @ Nov 10 2008, 10:56 PM) *
Great! Do you have sleep working? If so, please post your DSDT / other solution...


I have no working sleep. I think I need full set of working drivers. Namely I need
Marvell 88E8040
AMW0??? Or may be erase it from DT?
I still have no HPET. It is absent as hardware? I don't think so.
Willsl
Hi,

it seems to be a very promising way of fixing the X3100. I have a Dell Studio Hybrid and I dropped probably to fast the fassl solution (DSDT patch) to fix HPET problem and peharps X3100 as it seems to mess up other things.

I will try again DSDT patching, but I have checked : no VID nor AGP nor CRT or LCD in my DSDT... so I still do not know what to do sad.gif .

Thanks for the advice Slice as the Dell 1525 is very similar to the Dell Hybrid, those broken DSDT's remind me the good no the bad times of DSDT patching for linux kernel. I going to look at all these things further...
Slice
Upload here your dsdt_fixed.txt. I take a look.
Willsl
Hi Slice,

thanks for your help, here it is. I used DSDT Patcher1.0.1d.
Potbelly
It looks like you're messing with the MBR, am I reading this right? I've got five OS's on my Inspiron so I don't really wanna screw with the MBR if I can avoid it.
Nikki
i have a NR220E vaio, but i cannot get the external monitor working to fix the issue, is there any specific way?

thanks!
Slice
QUOTE(Willsl @ Nov 11 2008, 05:58 PM) *
Hi Slice,

thanks for your help, here it is. I used DSDT Patcher1.0.1d.


You have ACPI v1.0
CODE
*     Revision         0x01 **** ACPI 1.0, no 64-bit math support

that is different from my v2.0
so I can't help you.
I found that you video device is GFX0 but I don't understand its methods.
You really have no VID2, CRT etc.
Sorry!
Tim0288
same issue i have gfx0 as well. My revision id is 03, do you reckon there is anyway this method is going to help? i can get as far as the full qe/ci on external monitor. heres my dsdt if anyone wants to help.
fittipaldi
Well, tried also this one ... still no brightness. QE/CI are working without problems however.
System is a Lenovo T61 with GMA 965 X3100 0x2a02, 0x000c, iDeneb 10.5.5 with vanilla kernel
tecra
QUOTE(fittipaldi @ Nov 29 2008, 11:41 PM) *
Well, tried also this one ... still no brightness. QE/CI are working without problems however.
System is a Lenovo T61 with GMA 965 X3100 0x2a02, 0x000c, iDeneb 10.5.5 with vanilla kernel

I also have a T61 with GMA X3100, retail install updated to 10.5.5. I made an DSDT.aml with no error, two warnings. System loads OK with ACPI initialized. But I couldn't get QI/CE on the internal LCD. External is fine though, QI/CE and all. Could please you post your kexts or point me a solution like yours? Without internal screen working it makes no sense to have a laptop.

Also after loading the DSDT I lost my wireless. I got "com.apple.iokit.ionetworkingfamily cannot be found" at boot. Any ideas?

Thank you so much rolleyes.gif
slashack
QUOTE(vaag @ Nov 7 2008, 02:30 PM) *
After a lot of fiddeling around with different kexts and EFI strings, I finally found a solution for my non-working laptop LCD screen: using an alternative DSDT ("bios override"). Based on the great work by mackerintel and fassl!

Chameleon with DSDT override
http://forum.insanelymac.com/index.php?showtopic=132757

DSDT Patcher, a tool to fix your DSDT
http://forum.insanelymac.com/index.php?showtopic=133683

Howto?

1. Install OSX 10.5.4 (haven't tested this with other versions then iAtkos)
2. Remove default display & framebuffer kexts and install A.J.Allen's kexts ( http://forum.insanelymac.com/index.php?s=&...st&p=956250 )
3. Connect external monitor and reboot
4. Upon reboot your LCD display will remain black (non-working) and your external monitor will work in full res with QE and CI.
5. Install the latest chameleon ( hxxp://chameleon.osx86.hu/ ) per the instructions in the tar.gz file (1.0.11)
6. Replace /boot with the DSDT override boot (rename chameleon to boot) from mackerintel ( http://forum.insanelymac.com/index.php?showtopic=132757 ).
7. Reboot your "mac" - you should see the new DSDT Chameleon booter with build date 2008-10-25 23:02:35
8. Everything still working? Ok!

DSDT

9. Grab the DSDT patcher by fassl ( http://forum.insanelymac.com/index.php?showtopic=133683 ). Version 1.0.1d by the time of writing.
10. Doubleclick the DSDT Patcher file.
11. Open the dsdt_fixed.txt file in the debug folder.
12a. Find all lines containing AGP. Remove them (4)
12b. Remove the entire Device (AGP) declaration (around 214 lines)
12c. Remove the Scope(\_SB.PCI0.AGP) declaration (around 33 lines)
12d. Remove the vid2 declaration (a few lines)
12e. Under Device(VID) remove the Device(TV) dec (24)
12f. Under Device(VID) remove the Device(CRT) dec (24)
12g. Under Device(VID) remove the Device(DVI) dec (24)
13. Compile the new DSDT file using ../Tools/iasl -ta dsdt_fixed.txt
14. Copy the new DSDT file to the filesystem root using sudo cp dsdt.aml /
15. Reboot & enjoy!

Working:
- LCD display
- Resolution switching
- Some Fn-keys (brightness!)

Not (yet) working:
- sleep sad.gif

Not tested:
- Reliability...

This is just a first try and perhaps a little hacky, but hey - it's working! I used a Dell D530 but, as fassl suggested, this solution should also work on VAIO's and other laptops. Please try and report your findings in the comments.



I managed to get it working using 10.5.5 kexts. And AppleIntegratedIntelFramebuffer.kext needs to be there.

It works perfectly.

Thanks.
tivimac
Happy to inform another success for the Dell 1525, only had to remove the VID2 and DVI declaration.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.