Jump to content

Dell XPS 1340 under OSX 10.6, including boot-132 install cd

- - - - -

  • Please log in to reply
1148 replies to this topic

#1121
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,281 posts
  • Gender:Male

I'm running 10.7.2 on my 1340 with a 9400G/9500M combo. I've so far gotten mostly everything but the battery working. I use VoodooHDA for audio, and I'm unsure, but the temperatures feel a bit lower after using the AppleGraphicsPowerManagement kext. Can't confirm battery life since it doesn't work.

bcc9, you posted a DSDT for Lion, but I can't get that to work either. I just end up with the PCI configuration begin error if I have a DSDT in my Extra folder.

To recap, independent of OSX version, you *need* a modified DSDT for working battery status, and also for working LID close detection.

As of 10.7, you need the new lion version of my DSDT changes to get working battery status.

If your system is booting OK without a DSDT, but hangs with a DSDT, it'd be good to narrow down whether you're actually having problems with my lion DSDT changes or whether you're having more general problems. So I'd recommend trying the older DSDT.

I assume you had no such problems with 10.6.x. I wonder if you had problems with older versions of 10.7; you only mentioned 10.7.2.

#1122
wtcnbrwndo4u

wtcnbrwndo4u

    InsanelyMac Protégé

  • Members
  • PipPip
  • 67 posts

To recap, independent of OSX version, you *need* a modified DSDT for working battery status, and also for working LID close detection.

As of 10.7, you need the new lion version of my DSDT changes to get working battery status.

If your system is booting OK without a DSDT, but hangs with a DSDT, it'd be good to narrow down whether you're actually having problems with my lion DSDT changes or whether you're having more general problems. So I'd recommend trying the older DSDT.
I assume you had no such problems with 10.6.x. I wonder if you had problems with older versions of 10.7; you only mentioned 10.7.2.

Gotcha. I think I need to start over fresh and deal with the DSDT issue first rather than later. You're right in that I didn't have any problems in 10.6.x. I actually jumped straight from 10.6.8 to 10.7.2, so I didn't even encounter the previous versions of 10.7.

I feel I might be running into a problem with the kexts that I've added. What kexts should I add other than FakeSMC.kext? I've got the VoodooPS2Controller along with one for the internal SATA (can't remember off the top of my head). Oh, VoodooHDA too, but I get occasional kernel panics with it. What would you recommend?

#1123
alsheron

alsheron

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
Hi - I'm typing this on a successfully installed snow leopard install that I got up and running with this great guide - thanks bcc9.

I've had a quick look at the original post and looked through a few of the other posts but is there an updated method/guide anywhere to get 10.7.2 up an running? I would really appreciate a link to a step by step guide or any additional info to follow. Maybe updating the original post would be a good idea.

And sorry if i've missed anything obvious....

Many Thanks
:-)

#1124
aliveli123

aliveli123

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

Sure it can. You can boot a 10.7 capable version of chameleon from a usb thumb drive with an unpacked vanilla osx install disk on a second disk (usb thumb drive, or partition or whatever). If your HDD copy of chameleon still works you can instead more simply boot from that and install off of the vanilla disk/partition.


Tried your second suggestion with the latest Chameleon 2.1 and OSInstall modified 10.7.2 vanilla disk (from mac app store one), but chameleon can't find /mach_kernel (as there is no such file). Can you clarify how to make chameleon see vanilla image?

BTW, my current system is studio xps 1340 with nvidia g210m graphics, and running 10.6.7 on an MBR based disk.

EDIT: Turns out I forgot about the mach_kernel in the original ESD disk. Putting it to the root of install disk solved the first problem, but resulted with pci configuration begin message and nothing else. Then, I copied rolled back (from SL) kexts for ACPI and IOPCI to S/L/E of the install disk, and that solved that problem too. But still, booting Lion install disk fails to boot. These are the last 3 messages from verbose boot:

DSMOS has arrived
NVEthernet: Ethernet address [my mac id]
00000000 00000020 NVEthernet::setLinkStatus - not Active

#1125
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,281 posts
  • Gender:Male

Tried your second suggestion with the latest Chameleon 2.1 and OSInstall modified 10.7.2 vanilla disk (from mac app store one), but chameleon can't find /mach_kernel (as there is no such file). Can you clarify how to make chameleon see vanilla image?

From my notes:
0. Install current chameleon rc5 to osx 10.6 installation or a thumb drive
1. Mount 10.7 image
2. open /Volumes/Mac\ OS\ X\ Install\ ESD/BaseSystem.dmg
3. Run disk utility
4. select restore
5. select 'Mac OS X Base System' as source
select a partition on usb thumb drive as destination, where partition has >= 5GB of space
6. Remove “Packages” alias from System/Installation on the partition you just set up
7. cp -R /Volumes/Mac\ OS\ X\ Install\ ESD/Packages /Volumes/Mac\ OS\ X\ Base\ System/System/Installation
8. cp /Volumes/Mac\ OS\ X\ Install\ ESD/mach_kernel /Volumes/Mac\ OS\ X\ Base\ System/

I did my initial installs on a GPT partitioned disk, so I didn't have to use a patched OSInstall.
I later imaged the working installed 10.7 partition to an MBR based disk, as I still need MBR to boot windows.

#1126
aliveli123

aliveli123

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

From my notes:
0. Install current chameleon rc5 to osx 10.6 installation or a thumb drive
1. Mount 10.7 image
2. open /Volumes/Mac\ OS\ X\ Install\ ESD/BaseSystem.dmg
3. Run disk utility
4. select restore
5. select 'Mac OS X Base System' as source
select a partition on usb thumb drive as destination, where partition has >= 5GB of space
6. Remove “Packages” alias from System/Installation on the partition you just set up
7. cp -R /Volumes/Mac\ OS\ X\ Install\ ESD/Packages /Volumes/Mac\ OS\ X\ Base\ System/System/Installation
8. cp /Volumes/Mac\ OS\ X\ Install\ ESD/mach_kernel /Volumes/Mac\ OS\ X\ Base\ System/

I did my initial installs on a GPT partitioned disk, so I didn't have to use a patched OSInstall.
I later imaged the working installed 10.7 partition to an MBR based disk, as I still need MBR to boot windows.


Thanks bcc9, I did the exactly same, and processed a little further. Now the system hangs at this last output:
(...)
DSMOS has arrived
NVEthernet: Ethernet address [my mac id]
00000000 00000020 NVEthernet::setLinkStatus - not Active

Is this a type of "DSMOS has arrived" error that some people have seen, or something else? I'll see if the DSMOS related fixes make any sense.

#1127
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,281 posts
  • Gender:Male

Is this a type of "DSMOS has arrived" error that some people have seen, or something else? I'll see if the DSMOS related fixes make any sense.

What fixes are you alluding to?
I suspect your next stumbling blocks would be not using the smbios.plist&com.apple.boot.plist changes I recommended for lion. Should be detailed in my earlier posts in this thread.

#1128
Big Cat

Big Cat

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
  • Location:Anvers Island
Hi all,

First I would like to thank all members for their always helpful questions and answers. I particularly thanks bcc9: actually he's my 'GURU'.

I installed Lion from scratch (you find my hardware in signature): everything works like a charme with 3 minor bugs; minor but annoying bugs.

The used DSDT is the last released by bcc9 and I carefully followed all notes about parameters (I use Chameleon 2.1s svn-r1684), kexts, patching, etc.

- Bluetooth icon in menu bar: Is there a way to enable/disable bluetooth and/or change its status (discoverable/hidden) using the drop-down menu? In icon menu such options are always grayed so I have always to go into System Preferences.

- Serial ATA: Using Lion I read 'Unknown AHCI Standard Controller' in System Profiler. I know... it's a cosmetic thing but in SL (until Rel. 10.6.7) I got the right description 'MCP79 Nvidia Controller'.
(Note: I've already checked that AppleAHCIPort.kext contains the right string).
Is there a possible solution?

- Battery and Energy status: Here is the strangest behavior.
When I boot my laptop using its AC adadper I see that laptop is using battery but with the highest screen brightness (!)
At this point, if I unplug the AC adapter, System Profiler shows that laptop uses its battery automatically lowering the screen brightness.
Now, if I replug the AC adapter, System Profiler shows that laptop uses main power automatically readjusting the screen brightness.
Do you know in which way could I solve that behavior?
Where am I wrong?
Could it due to the graphic adapter or wrong smbios.plist?
(it's Nvidia 9500M - Note: Using OpenGL Extension Viewer in Lion 10.6.7 I get 850 fps!! In SL I got 420 fps)
(Smbios.plist refers to MacBook Pro 5,5 middle 2009)

Anyway I can't get the estimated battery residual time or other infos about (battery icon always shows an "X"): could you confirm that it's due to voodoobattery kext? (I use rel 1.3.3)

I apologize for the long post (hoping nobody posted the above in the past…) and I thank in advance for a possible feedback. :-))

#1129
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,281 posts
  • Gender:Male

Hi all,

First I would like to thank all members for their always helpful questions and answers. I particularly thanks bcc9: actually he's my 'GURU'.

Hey, thanks a lot. Good to hear from someone using 10.7 successfully with a 9500m.

- Bluetooth icon in menu bar: Is there a way to enable/disable bluetooth and/or change its status (discoverable/hidden) using the drop-down menu? In icon menu such options are always grayed so I have always to go into System Preferences.

Not sure; I always just use the antenna hotkey (with BIOS set to WAN&WPAN), to turn the hardware on&off when I want to control bluetooth as well.

- Serial ATA: Using Lion I read 'Unknown AHCI Standard Controller' in System Profiler. I know... it's a cosmetic thing but in SL (until Rel. 10.6.7) I got the right description 'MCP79 Nvidia Controller'.

This one should show up named if you s/SAT0/SATA/ in your dsdt.
I didn't bother with such purely cosmetic changes in the dsdt I made. The complete set of patches I'm aware of would be:
#patch #9: Cosmetic device name changes
,s/MAC0/GIGE/
,s/MTH0/MATH/
,s/SMB0/SBUS/
,s/SAT0/SATA/
#requires ssdt9 change
,s/LPC0/LPCB/
,s/P2P0/PCIB/

- Battery and Energy status: Here is the strangest behavior.
When I boot my laptop using its AC adadper I see that laptop is using battery but with the highest screen brightness (!)
At this point, if I unplug the AC adapter, System Profiler shows that laptop uses its battery automatically lowering the screen brightness.
Now, if I replug the AC adapter, System Profiler shows that laptop uses main power automatically readjusting the screen brightness.
Do you know in which way could I solve that behavior?
Where am I wrong?

? Sounds like correct behavior for the screen brightness. I don't have a 1340 with me this week to try and follow exactly what you're seeing.

(it's Nvidia 9500M - Note: Using OpenGL Extension Viewer in Lion 10.6.7 I get 850 fps!! In SL I got 420 fps)

lion 10.6? I think you are trying to say you're getting lower performance with 10.7. If so, I wonder whether or not you're using the 9400m_gstate_inject.kext I posted or one of oleg's versions. The AGPM changes may be adversely affecting performance.

Anyway I can't get the estimated battery residual time or other infos about (battery icon always shows an "X"): could you confirm that it's due to voodoobattery kext? (I use rel 1.3.3)

I apologize for the long post (hoping nobody posted the above in the past…) and I thank in advance for a possible feedback. :-))

Battery status failing to show implies you don't have my 10.7 DSDT loaded or my patch to AppleACPIPlatform applied.

#1130
s.sirio

s.sirio

    InsanelyMac Protégé

  • Members
  • PipPip
  • 82 posts
  • Gender:Male

THANK YOU SO MUCH... it worked perfect in my dsdt, now I have battery support in Lion & Snow, so this is certainly "the real fix" as you said my friend. Also I want to say, THANK YOU AGAIN for all your contributions, Legend. God bless you.


Juanerson I have seen you have successfuly patched your DSDT to show the battery status on your GM965, my mobo is PM965 which should be very similar to yours.

I must admint that I don't really understand much of DSDT patching so that unless I follow instruction I will not be able to amend it my self.

Can you please point me in the direction of what needs to be done to show the battery status?

Thanks and Regards

My dsdt is attached

#1131
aliveli123

aliveli123

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

What fixes are you alluding to?
I suspect your next stumbling blocks would be not using the smbios.plist&com.apple.boot.plist changes I recommended for lion. Should be detailed in my earlier posts in this thread.



I meant the NullCPUPM kext, but it didn't work for me either. Tried changing smbios.plist with ##### utilities, but it didn't make any difference (changed the computer name to Macbook3,1). Also used your new DSDT for lion, but still stuck at the same point. anyways, i'm thinking that this is not a DSMOS related issue as something about ethernet configuration shows up after "DSMOS has arrived" message.

This is the last lines before my system gets stuck:
(...)
DSMOS has arrived
NVEthernet: Ethernet address [my mac id]
00000000 00000020 NVEthernet::setLinkStatus - not Active
Ethernet [nvenet]: Link up on en0, 100-Megabit, Full-duplex, Symmetric flow-control, Debug [796d,0000,0c01,000d,cde1,3c00]
05f5e100 00100026 NVEthernet::setLinkStatus - Active
Ethernet [nvenet]: Link up on en0, 100-Megabit, Full-duplex, Symmetric flow-control, Debug [796d,0000,0c01,000d,cde1,3c00]
05f5e100 00100026 NVEthernet::setLinkStatus - Active
here is the screenshot of the verbose output, as well: http://imgur.com/UvQrH

I tried searching for the same error but apparently no one is stuck at this point. So I seek help from you, bcc9 :D

#1132
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,281 posts
  • Gender:Male
So what do your smbios.plist & com.apple.boot.plist look like at this point? I recommend you follow my 10.7 directions, not using #####, nullcpupm, or the like. I can't really know what went wrong when you're using other 3rd party solutions.

#1133
wtcnbrwndo4u

wtcnbrwndo4u

    InsanelyMac Protégé

  • Members
  • PipPip
  • 67 posts
To whoever, I had a question.

There was a APGM kext posted a few pages back that claimed to improve battery life and whatnot. A few posts after that, there were a few 9400m_inject kexts or something too.

Well, which one should I use, and do I just install it normally like I would any other kext?

#1134
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,281 posts
  • Gender:Male

To whoever, I had a question.

There was a APGM kext posted a few pages back that claimed to improve battery life and whatnot. A few posts after that, there were a few 9400m_inject kexts or something too.

Well, which one should I use, and do I just install it normally like I would any other kext?

I still recommend & am using the version I posted:
http://www.insanelym...p...t&p=1743068
oleg seems to be doing something different, but is using a different dsdt from king for which I found no functional difference:
http://www.insanelym...p...t&p=1744918

#1135
aliveli123

aliveli123

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

So what do your smbios.plist & com.apple.boot.plist look like at this point? I recommend you follow my 10.7 directions, not using #####, nullcpupm, or the like. I can't really know what went wrong when you're using other 3rd party solutions.


here's my smbios.plist:
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict>	<key>SMbiosdate</key>	<string>02/29/08</string>	<key>SMbiosversion</key>	<string>MP31.88Z.006C.B05.0802291410</string>	<key>SMfamily</key>	<string>MacPro</string>	<key>SMmanufacter</key>	<string>Apple Inc.</string>	<key>SMproductname</key>	<string>MacPro3,1</string>	<key>SMserial</key>	<string>G88014V4XYK</string>	<key>SMboardproduct</key>	<string>Mac-F42C88C8</string></dict></plist>

and here's my com.apple.Boot.plist:
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict>	<key>Default Partition</key>	<string>hd(0,4)</string>	<key>EthernetBuiltIn</key>	<string>Yes</string>	<key>Kernel Flags</key>	<string>arch=i386</string>	<key>PCIRootUID</key>	<string>1</string>	<key>PciRoot</key>	<string>1</string>	<key>Quiet Boot</key>	<string>Yes</string></dict></plist>

I am using your instructions, by the way

#1136
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,281 posts
  • Gender:Male

I am using your instructions, by the way

Um, no you aren't. For starters: http://www.insanelym...p...t&p=1766745 "As of 10.7, you should have a SystemId defined as the 1340 doesn't have a UUID defined in its SMBIOS and booting hangs for a minute or so without it."
and: http://www.insanelym...p...t&p=1736543 "be sure to configure <key>GraphicsEnabler</key><string>Yes</string> ... in your com.apple.Boot.plist"

Given those two mistakes, it's no wonder you can't boot. Those are not optional config settings!

also your Kernel flags and SMproductname are not as I recommended, and you have other keys in there that I never recommended.

#1137
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,281 posts
  • Gender:Male
Since the 10.7 info is starting to get buried , and nobody else stepped up to write a 10.7 guide, I've written a new one for 10.7.
Here's the new thread:
http://www.insanelym...howtopic=272546
I could use some feedback/beta testers on the new instructions :)

#1138
Sanky18

Sanky18

    InsanelyMac Protégé

  • Members
  • PipPip
  • 65 posts
  • Gender:Male
Hi bcc9
I have a lenovo G460 running 10.7.2 and the battery works only with appleacpiplatform.kext from 10.6.8. I have attached my DSDT. Would be very thankful if u suggest any solutions. ;)

Attached Files



#1139
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,281 posts
  • Gender:Male

Hi bcc9
I have a lenovo G460 running 10.7.2 and the battery works only with appleacpiplatform.kext from 10.6.8. I have attached my DSDT. Would be very thankful if u suggest any solutions. :(

I don't have time to modify 3rd party DSDTs for others, but you just need to follow my guidelines regarding converting ACPI EC battery access methods from using 16-bit IO to 8-bit IO. I have detailed how I did this for my system. http://www.projectos...indpost&p=15697
There are also now other threads that go into this in more detail (mostly not giving credit where credit is due on how to convert 16-bit IO to 8-bit, grr). For example: http://www.insanelym...howtopic=264597
and http://www.insanelym...howtopic=272459

#1140
aliveli123

aliveli123

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

QUOTE (aliveli123 @ Nov 21 2011, 10:38 AM)
I am using your instructions, by the way

Um, no you aren't. For starters: http://www.insanelym...p...t&p=1766745 "As of 10.7, you should have a SystemId defined as the 1340 doesn't have a UUID defined in its SMBIOS and booting hangs for a minute or so without it."
and: http://www.insanelym...p...t&p=1736543 "be sure to configure <key>GraphicsEnabler</key><string>Yes</string> ... in your com.apple.Boot.plist"

Given those two mistakes, it's no wonder you can't boot. Those are not optional config settings!

also your Kernel flags and SMproductname are not as I recommended, and you have other keys in there that I never recommended.



OK, this time, I tried your org.chameleon.boot.plist and smbios.plist. created an UUID and used it in the boot.plist. also tried graphicsenabler, but placing it to org.chameleon.boot.plist causes my SL system to panic (You need to restart your computer screen). Do you have any idea why this happens?

anyways, i entered graphicsenabler=yes thru chameleon while booting from my usb stick, but it still stays stuck at the dsmos has arrived + nvethernet stuff. As I used legacy kexts for ACPIPlatform & IOPCIFamily, I'm thinking this might be related to that since there are some people who said they are stuck at dsmos has arrived after using legacy kexts. (haven't seen any solutions for that specific case, though)





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