Jump to content

[GUIDE] Making a DSDT.aml for Dell XPS M1330, XPS M1530, and XPS M1730


  • Please log in to reply
1780 replies to this topic

#221
anth0ny

anth0ny

    InsanelyMac Protégé

  • Members
  • Pip
  • 40 posts
Hi, thanks for your replies...

I have downloaded the DSDT.aml file, but I am not sure what to do with it? Do I follow on from step three on the front of this thread or can this be compiled or something as is to try out? If so can someone just mention what I need to run?

Thanks

#222
timmyj9

timmyj9

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts
so now that shutdown is working
i've been trying to get deep sleep (hibernate) to work
i have ubuntu installed on another partition
and grub2 is able to wake my pc from deep sleep
(but grub2 doesnt load my smbios.plist)
however chameleon just hangs at loading SystemVersion.plist and stays there
whenever i try to wake and so I cannot get it working.
Anyone played around much with this?

#223
Brett Whinnen

Brett Whinnen

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 146 posts
  • Gender:Male
  • Location:Bne, AU

Hi, thanks for your replies...

I have downloaded the DSDT.aml file, but I am not sure what to do with it? Do I follow on from step three on the front of this thread or can this be compiled or something as is to try out? If so can someone just mention what I need to run?

Thanks


Just drop it wherever you have Chameleon installed, usually /Extra.

Cheers,

Brett

#224
dlach

dlach

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 252 posts

Hi All

Bretts latest generic DSDT a few posts up works great on and XPS 1530.
The only problem i have is when the laptop wakes from sleep the camera displays a black image in photobooth.

I would also love to get the touchpad working properly, ive used the modified pref pane and it detects my touchpad, but i have to untick and tick the click box each time to get clicking working, also scrolling doesnt work for me.

does anyone have a voodoops2 kext for snow leopard which they have managed to get working?

audio works greatt with voodooHDA except that the internal mic is very soft, any suggestions?

thanks in advance

PS if you need any help setting up sl on XPS 1530 PM me and ill try assist you


I use the voodoo kexts from superhai's boot cd linked on the first post. Trackpad works for me.
Did you install the voodohda propane? The are some settings that might help with the mic volume.

#225
anth0ny

anth0ny

    InsanelyMac Protégé

  • Members
  • Pip
  • 40 posts

I use the voodoo kexts from superhai's boot cd linked on the first post. Trackpad works for me.
Did you install the voodohda propane? The are some settings that might help with the mic volume.


Hi Brett, whoops I got confused with the DSL thing I was working with the other night.

That seems to work fine, I now have shutdown working for the first time!!!!

Still no sleep though? If I shut the lid or let it sleep through power saving the screen goes off, but the blue blue-tooth light stays on and I can hear it has not gone off?

When we talk about sleep is that like when I shut the lid on Windows and it kinda shuts off/hibernates?

Thanks again for you help and hard work on this!

#226
Brett Whinnen

Brett Whinnen

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 146 posts
  • Gender:Male
  • Location:Bne, AU
No I definitely mean an S3 sleep. Running status is saved to RAM and then everything powered off except for RAM.

#227
anth0ny

anth0ny

    InsanelyMac Protégé

  • Members
  • Pip
  • 40 posts

No I definitely mean an S3 sleep. Running status is saved to RAM and then everything powered off except for RAM.



BRETT, YOU ARE AWESOME.
Thank you!!!!!!!

#228
Brett Whinnen

Brett Whinnen

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 146 posts
  • Gender:Male
  • Location:Bne, AU
Does that mean it is working? If not can you list what kexts you have in /Extra/Extensions and what version of Chameleon you are using...

Thanks,

Brett

#229
anth0ny

anth0ny

    InsanelyMac Protégé

  • Members
  • Pip
  • 40 posts

Does that mean it is working? If not can you list what kexts you have in /Extra/Extensions and what version of Chameleon you are using...

Thanks,

Brett



Yes everything I have tried all looks to be working nicely thank you! Just cloned this image incase I stuff it up at some point. With shutdown, sleep and restart this seems to be a very useable OS...

#230
immo

immo

    Insanely Looking for Time to Hack

  • Members
  • PipPipPipPipPip
  • 276 posts
  • Gender:Male
Hi all.
Good news is my OS-X is running again, thank you Time Machine.
Bad news is I can't get shutdown to work on my M1330 for the life of me. After the patch didn't work, I went through Brett's DSDT to see if I could find anything he did different, and I found a few things (DTGP method returns 0 by default instead of 1, corrected address for SBUS, extra PNP line in the HPET). I changed mine to match and still nothing :)

Brett, are there any other patches in your DSDT that are not covered by the guide that might be required for shutdown?

I'm attaching my latest DSDT so that those with M1330s and NVIDIA graphics can try it. For me it works as well as the last one (speed step, sleep, accelerated NVidia graphics with mirror all working, but no shutdown). Please let me know if shutdown works for you, just in case it's an issue with my OS-X install. If anyone with an M1330 gets shutdown working please share ;)

Hopefully we can get shutdown to work on M1330s as well.

Immo

Attached Files



#231
MorLipf

MorLipf

    InsanelyMac Protégé

  • Members
  • Pip
  • 43 posts
Btw: Is the PC-Card-Slot working without modifying some kexts or the DSDT?

#232
Neonkoala

Neonkoala

    Neon Prowess

  • Members
  • PipPipPipPipPipPip
  • 411 posts

Btw: Is the PC-Card-Slot working without modifying some kexts or the DSDT?


Do you mean the ExpressCard slot? If so I am using it no problem with a gigabit ethernet ExpressCard. Just shows up if its plugged in on boot, not sure it allows hot-swapping though.

#233
dlach

dlach

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 252 posts

Hi all.
Good news is my OS-X is running again, thank you Time Machine.
Bad news is I can't get shutdown to work on my M1330 for the life of me. After the patch didn't work, I went through Brett's DSDT to see if I could find anything he did different, and I found a few things (DTGP method returns 0 by default instead of 1, corrected address for SBUS, extra PNP line in the HPET). I changed mine to match and still nothing :)

Brett, are there any other patches in your DSDT that are not covered by the guide that might be required for shutdown?

I'm attaching my latest DSDT so that those with M1330s and NVIDIA graphics can try it. For me it works as well as the last one (speed step, sleep, accelerated NVidia graphics with mirror all working, but no shutdown). Please let me know if shutdown works for you, just in case it's an issue with my OS-X install. If anyone with an M1330 gets shutdown working please share :D

Hopefully we can get shutdown to work on M1330s as well.

Immo


Immo,

I decompiled your aml and noticed you don't have a process definition in Scope _PR. Brett's does.
e.g.
Scope (_PR)
	{
		Processor (CPU0, 0x00, 0x00001010, 0x06) {}
		Processor (CPU1, 0x01, 0x00001010, 0x06) {}
	}

I don't know that this is the problem but I was curious about your's because I thought perhaps the m1330 has a different Power Management base than the m1530. The processor def is one indication of of PMbase. The above indicates the PMbase of the m1530 is 0x00001000.

This processor def should be in the original dump of your dsdt. Please check it and let me know. If it is different you need to adjust the Operation Region of the shutdown fix. Even if it is the same try adding it to your dsl and compiling.

#234
immo

immo

    Insanely Looking for Time to Hack

  • Members
  • PipPipPipPipPip
  • 276 posts
  • Gender:Male

Immo,

I decompiled your aml and noticed you don't have a process definition in Scope _PR. Brett's does.
e.g.

Scope (_PR)
	{
		Processor (CPU0, 0x00, 0x00001010, 0x06) {}
		Processor (CPU1, 0x01, 0x00001010, 0x06) {}
	}

I don't know that this is the problem but I was curious about your's because I thought perhaps the m1330 has a different Power Management base than the m1530. The processor def is one indication of of PMbase. The above indicates the PMbase of the m1530 is 0x00001000.

This processor def should be in the original dump of your dsdt. Please check it and let me know. If it is different you need to adjust the Operation Region of the shutdown fix. Even if it is the same try adding it to your dsl and compiling.


Thank you for looking at the DSDT Dlach! I appreciate it. I've looked at my DSDT again and it looks like the _PR definition is there, and it's identical to the one that you've shown above. Could you double-check it please? It appears that the M1330 has the same PM base as the M1530.

A couple other things that may be worth mentioning is that the fix for preventing removable USB media from unsafely removing on sleep never worked on my M1330 in Leopard or Snow Leopard, although others have reported it working (not sure if they had M1330's or M1530's). Also, the M1330 has no TV out and the M1530 does, but the NVidia patch I used on M1330 is exactly identical to the M1530 patch except for the adapter name. Even so, HDMI, VGA, and mirror all work fine. Probably not related but who knows.

Thanks
Immo

#235
Brett Whinnen

Brett Whinnen

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 146 posts
  • Gender:Male
  • Location:Bne, AU
Immo's _PR scope is there. Exactly the same as the scope in mine.

I have the following under _SB where you don't, I can't remember what it is in relation to though, I have the feeling it was related to the screen not showing up after coming out of an S3 state. I don't think it was applicable to the Dell, but added it in anyway... Time to go searching for the original DSDT.dsl from the laptop :D

Device (PNLF)
		{
			Name (_HID, EisaId ("APP0002"))
			Name (_CID, "backlight")
			Name (_UID, 0x0A)
			Name (_STA, 0x0B)
		}

Under Device EHCI I have the following, which was one of the fixes for USB sleep / speed issues. Not sure of the relevance.

Method (_DSM, 4, NotSerialized)
				{
					Store (Package (0x0B)
						{
							"AAPL,clock-id", 
							Buffer (One)
							{
								0x01
							}, 

							"device_type", 
							Buffer (0x05)
							{
								"EHCI"
							}, 

							"AAPL,current-available", 
							0x04B0, 
							"AAPL,current-extra", 
							0x02BC, 
							"AAPL,current-in-sleep", 
							0x03E8, 
							Buffer (One)
							{
								0x00
							}
						}, Local0)
					DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
					Return (Local0)
				}

They are the only real differences besides the cosmetic stuff I have for the Marvell Yukon card under PXS1

Method (_DSM, 4, NotSerialized)
					{
						Store (Package (0x0A)
							{
								"AAPL,slot-name", 
								Buffer (0x09)
								{
									"Built-in"
								}, 

								"model", 
								Buffer (0x16)
								{
									"Marvell Yukon 88E8040"
								}, 

								"built-in", 
								Buffer (One)
								{
									0x01
								}, 

								"name", 
								Buffer (0x14)
								{
									"Ethernet controller"
								}, 

								"device_type", 
								Buffer (0x09)
								{
									"Ethernet"
								}
							}, Local0)
						DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
						Return (Local0)

Cheers
Brett

#236
dlach

dlach

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 252 posts

Thank you for looking at the DSDT Dlach! I appreciate it. I've looked at my DSDT again and it looks like the _PR definition is there, and it's identical to the one that you've shown above. Could you double-check it please? It appears that the M1330 has the same PM base as the M1530.

A couple other things that may be worth mentioning is that the fix for preventing removable USB media from unsafely removing on sleep never worked on my M1330 in Leopard or Snow Leopard, although others have reported it working (not sure if they had M1330's or M1530's). Also, the M1330 has no TV out and the M1530 does, but the NVidia patch I used on M1330 is exactly identical to the M1530 patch except for the adapter name. Even so, HDMI, VGA, and mirror all work fine. Probably not related but who knows.

Thanks
Immo


Hmm...I decompiled it using DSDT-SE and stupidly trusted the search function. The damn thing didn't find CPU but does find CPU0 or CPU1. Sorry for the bad lead, should have stuck to emacs and iasl.

Yes it looks like the same PMbase.

I read somewhere that the entire fix, OperationRegion, Field and PTS needs to be in Scope(\) though I note Brett doesn't have it there.

You might try moving it.

#237
immo

immo

    Insanely Looking for Time to Hack

  • Members
  • PipPipPipPipPip
  • 276 posts
  • Gender:Male

I have the following under _SB where you don't, I can't remember what it is in relation to though, I have the feeling it was related to the screen not showing up after coming out of an S3 state. I don't think it was applicable to the Dell, but added it in anyway... Time to go searching for the original DSDT.dsl from the laptop :)


So I've implemented all the differences you have (except for the Marvel ethernet of course), and it made an improvement! Now the USB removable media fix works, and also, the laptop sleeps when I close the lid (it did this at one time but stopped doing it after a fresh SL install). Sadly still no sleep though :(

I'm attaching the new DSDT for anyone with an M1330 who wants to try it. Again if shutdown works for you, please share.
Attached File  DSDT_M1530_NVIDIA_ANYCPU_20091117.zip   8.52KB   11 downloads

I really appreciate your time and help Brett!

Immo

#238
immo

immo

    Insanely Looking for Time to Hack

  • Members
  • PipPipPipPipPip
  • 276 posts
  • Gender:Male

I read somewhere that the entire fix, OperationRegion, Field and PTS needs to be in Scope(\) though I note Brett doesn't have it there.
You might try moving it.


Hi Dlach. I tried this, but it doesn't seem to make a difference unfortunately. It works as well as it did before, but still no shutdown.

Thanks for the idea.

Immo

#239
uho

uho

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts
Here's the shutdown fix added to the M1530 NVIDIA ANY CPU DSDT from the first post of this thread. Enjoy!

Attached Files



#240
Klaas1979

Klaas1979

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts
Hi,

I got a question related to the AnyCPU DSDT for M1330. I installed a plain SL and use all the kexts that are mentioned in the guide with the AnyCPU DSDT. I got a Kernel Panic with the message "CPU 1 has no HPET assigned to it".

I doubt that anything is missing from the guide, so what may I have missed out to boot with the DSDT.aml?

Maybe helpful:
0. Hardware: Dell XPS M1330 with Dual Core 2,2 GHZ 4 GB Ram and an NVIDIA card Bios Version A13
1. installed SL with SuperHais Boot-CD
2. using Chameleon RC4 not RC3
3. using all kexts from Guide
4. not using any disabler or NullCpu or other Kext as mentioned in other threads to fix the HPET problem
5. get KP with 10.6.0 and 10.6.3 (installed it two times, tried it two times)
6. using the EFI drive for patching, I did not add anything to base installation on "/"
7. just copied the DSDT.aml to EFIs /Extra folder (did no compiling or other stuff)
8. Disabled multiply CPUs in Bios, added ForceHPET=y|yes to boot tried it with DropSSDT and without it, save mode is not working anymore, single user neither

My questions:
How can I boot without the DSDT.aml, I was too optimistic an did not rename it to DSDT-test.aml and use the boot option for it, so right now I cannot boot. Do I need to reinstall.

Maybe someone could zip up his EFI drive and post it here. I am still not sure, if I put all the files into the correct location.

Does the AnyCPU fix on the front page include the HPET fix that is mentioned in this thread or do I have to add for it to work?

@IMMO: What Bios version are you using?

Any help is appreciated
Regards Klaas





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