Jump to content

OSX 10.7, 10.8 and 10.9 on the Dell XPS 1340 laptop

* * * * * 3 votes

  • Please log in to reply
289 replies to this topic

#61
loganMac

loganMac

    InsanelyMac Protégé

  • Members
  • Pip
  • 27 posts
  • Gender:Male

[name='bcc9' timestamp='1321950172' post='1772623']
First here is some general information on setting up a 10.7 boot partition:

  • Mount 10.7 image (the OSX lion .dmg image downloaded from Apple's app store)
  • open /Volumes/Mac OS X Install ESD/BaseSystem.dmg
  • Run Disk Utility
  • select 'Mac OS X Base System' (lower left of Disk Utility window)
  • select restore
  • select 'Mac OS X Base System' as source (should already be selected)
  • select a partition on disk drive or usb thumb drive as destination, where partition has >= 5GB of space
  • Click restore button
  • Once the restore has been performed, from a terminal window:
    rm /Volumes/Mac OS X Base System 1/System/Installation/Packages
    cp -R /Volumes/Mac OS X Install ESD/Packages /Volumes/Mac OS X Base System 1/System/Installation
    cp /Volumes/Mac OS X Install ESD/mach_kernel /Volumes/Mac OS X Base System 1/
  • Where "/Volumes/Mac OS X Base System "1" is the name assigned to your newly restored thumb drive partition, your name may be different here.

Sorry to bother you again bcc9. I try your method but got stuck at the terminal section. I mount the BaseSystem.dmg and it in Source, USB is in Destination in Disk Utility. After DU finished restoring to usb, my usb now become BaseSystem.dmg

I open terminal and copy the code above w/out the "1", and terminal said no directory. please help.

2nd: i skip that code and install chameleon to USB and inside Extra folder, I do not see Extensions folder.

my usb lion never work at boot. thx

#62
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,278 posts
  • Gender:Male
Looks like the forum software removed the necessary backslash characters from my original post. (I've put them back in.) I suspect that is your problem, but I'm not sure because you didn't show precisely what you typed&what error you received.
Otherwise, maybe you didn't use the right volume name; check what volume name was assigned to your thumb drive partition.

Not that you can skip those commands, but in the later steps, you would make the /Extra/Extensions folder yourself if need be before placing kexts in there.
Whether or not that directory exists depends upon whether or not you are using an existing boot disk or a brand new one.

#63
tritonxl34

tritonxl34

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
bcc9,

Just wanted to thank you for your awesome tutorials. I have finally gotten my 1340 to suspend/resume, battery and everything working just fine with Lion.

I just wanted to ask if these few things were normal or if there is something else I should do to squash them.

-On resume from suspend sometimes the wifi (only the connection to the internet) fails. I can see wireless networks, and I can even connect to the default gateway interface to configure my router. (Tried on multiple different networks). In fact this is the first time it hasn't done this after resuming.
-After resuming and trying to shut down it hangs, and repeats the line GUID invalid (somewhere along those lines. If you want I can get he exact line.)
-Only once after using your patch for the CMOS reset I saw the reset happen again after booting. I'm not sure if it was just a one time fluke or if I have done something wrong.

Again, thanks for all your help! I finally have a true "mac" for a fraction of the price.

Thanks,
triton

#64
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,278 posts
  • Gender:Male

Just wanted to thank you for your awesome tutorials. I have finally gotten my 1340 to suspend/resume, battery and everything working just fine with Lion.

I just wanted to ask if these few things were normal or if there is something else I should do to squash them.

-On resume from suspend sometimes the wifi (only the connection to the internet) fails. I can see wireless networks, and I can even connect to the default gateway interface to configure my router. (Tried on multiple different networks). In fact this is the first time it hasn't done this after resuming.

Thanks, glad you got it all working.
I've seen this kind of behavior a few times recently and it seems that the mDNSResponder process under OSX has some sort of race condition. You'll notice that genuine macbook users also complain about DNS not working after resume from suspend.

My theory is that this is more likely on this laptop as the wifi hardware is not resuming from suspend quite normally/taking slightly longer than usual.

One workaround that I've used (sounds crazy but works) is to go under network preferences->wifi->advanced and remove discovered wifi networks that you aren't using. This seems to change the wifi initialization timing enough to make mDNSResponder not malfunction.

Another fix is
sudo killall mDNSResponder
to restart mDNSResponder after the system has resumed.

The source code for this daemon is published so one should be able to find out exactly what's going wrong if interested. I suspect apple will eventually fix this as there are enough genuine users complaining.

-After resuming and trying to shut down it hangs, and repeats the line GUID invalid (somewhere along those lines. If you want I can get he exact line.)

The GUID errors are normal as per post #2, you're seeing them on the console because the syslog daemon isn't running.
I think I've seen this shutdown hang too but I haven't had a chance to debug (I don't have this laptop normally anymore).

-Only once after using your patch for the CMOS reset I saw the reset happen again after booting. I'm not sure if it was just a one time fluke or if I have done something wrong.

If you suspended before applying the CMOS reset patch then you'd have a corrupt CMOS the next time you did a cold boot, even if you applied the patch in the mean time before cold booting. I'm gonna assume this is your case...

Again, thanks for all your help! I finally have a true "mac" for a fraction of the price.

Thanks. I think this pricing situation is only true because the 1340s are on clearance sales. I paid basically the same for the 1340 new as my macbook air new. I think the "apple tax" no longer holds true with sandy bridge laptops.

#65
ElekTron

ElekTron

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
Hey, my system runs perfekt, there are only 2 problems i want to solve.
I installed the system after 1st thread, only difference was, i made a bootable lion installation partition and installed lion over snow leopard. Installed all kexts and fixes as mentioned in the 1st thread. Oh and after installion lion 10.7. i made an update to 10.7.2

First Audio, i used your fix for audio AppleHDA but there is no result, no audio, in system preferencec there is only one entry for audio:
Attached File  audio.tiff   77.9KB   17 downloads

Second Problem, the Fix for Bluetooth doesnt work with my intern bluetooth controller. I have another one, extern, such a little one for usb, which worked fine under osx 10.5 but osx lion doesnt found the device when plugging in. :-(

Hope someone can help me. Thnx for all of you guys who made this hackintosh possible. Have a nice xmas. :-)


Edit: All right, after installing the newest VoodooHDA.kext, Audio over intern speakers and also over extern line out is full compatible. :-) Hope i helped some guys with the same problem under Lion 10.7.2 :-)

#66
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,278 posts
  • Gender:Male
OSX releases will update various kexts, and you need to re-apply the patches as necessary. AppleHDA changes almost every release. Sounds like you forgot to re-apply the patch after upgrading to 10.7.2.

As for the bluetooth kext, maybe you forgot to copy it to /System/Library/Extensions? And/or the kext permissions are wrong. Otherwise, send in some debug info (see the bluetooth thread for all the things you can debug & what can go wrong):
http://www.insanelym...howtopic=136515

As for voodoohda, I continue to dis-recommend it vs applehda as voodoohda is unsupported and has bugs that tend to cause it to crash the system (when the audio sample size is anything but 24 bits).

#67
ElekTron

ElekTron

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts

As for voodoohda, I continue to dis-recommend it vs applehda as voodoohda is unsupported and has bugs that tend to cause it to crash the system (when the audio sample size is anything but 24 bits).


Hey bcc you were right, voodoohda isn working perfect at all, cause i found out that there is a crizzle in the sound, i cant eliminate. :-( Tried your patch again, but no result. Tried to reinstall the applehda.kext of installationdisk of lion 10.7 and do the AppleHDA.idt.v1 patch again, but no result. :-( Oh, maybe the problem is the bootloader?!?! I used to install the newest chimera, version 1.7.0 official version from tonymacx86. But i think audio doesnt worked before updating bootloader, but i dont know exactly... :-/

I resolved the problem with bluetooth, my intern bluetooth card doesnt work at all, but my usb mini-bluetooth adapter is working finde. Dont know why my intern card doesnt work, i couldnt activated it under leopard and snow leo, its the standard card of 1340, maybe its broken... :-/

#68
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,278 posts
  • Gender:Male
Regarding bluetooth, a few people in the past claimed it didn't work only to discover that they didn't have the card powered on. I think this is the next most likely scenario in your case. Check that your bios has the hotkey set to control wwan&wpan, and that you have the antenna turned on (via the hotkey). Have you tested the card under windows? Have you checked whether the card shows up as a usb device?

For your audio, without any debug details I don't know why you're having problems whereas nobody else is. But since you say you aren't following post #1 installation method, I would assume the problem is somewhere therein.

#69
Big Cat

Big Cat

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
  • Location:Anvers Island
Hi all,
Just a little thought...
I would like to thank gurus, members and (why not?) readers, wishing you all Magic Christmas and awesome 2012.
Here attached in zip file my very personal DSDT and SMBios… Obviously it's a joke only but download it and enjoy. :wink2:

@ bcc9
A special thank for your non-stop support and for time you wasted in summing up all steps about Lion installation:
really great! You're the best one. :king:

Merry Xmas again from (now sunny) the iced Antarctica!

Attached Files



#70
gtbill

gtbill

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
bcc9: regarding your reply to my post about the battery icon not showing charge. You were correct. I had not followed the instructions that you had posted as closely as I had thought. Got it all sorted out now and everything (battery, sound, lid, sleep) work perfectly. Thanks for all of the excellent information you provide.

BTW, I notice that the time to calculate the level of the battery charge takes a very long time. Has anyone else noticed this?

#71
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,278 posts
  • Gender:Male

@ bcc9
A special thank for your non-stop support and for time you wasted in summing up all steps about Lion installation:
really great! You're the best one. :king:

Thanks, hopefully it wasn't all a waste. Up until the 1340 pieces, the lion install instructions work on more modern platforms too, such as sandy bridge desktops.
I do have to wonder with all the posts saying I didn't use your instructions but would like help on why things didn't work after following someone else's instructions (that are partly based on what I came up with in the first place...)

Was hoping your xmas pic would have a 1340 in the snow in antarctica (with some penguins or something). :)

BTW, I notice that the time to calculate the level of the battery charge takes a very long time. Has anyone else noticed this?

Yes, it seems slow. You could probably make things more responsive by tweaking voodoobattery to poll more often (see NormalPollInterval in the code) at the exepense of wasting a bit more cpu. Or try one of the newer hackintosh battery kexts and report back.

#72
rameshb_v

rameshb_v

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts
I have created successfully the USB Lion DIsc and had it installed over the existing Snow Leopard (Dual boot with win 7). I have followed the instructions and made sure the following:
on the new Lion Install :
1. fakesmc, VoodooPS2Controller in /Extra/Extensions
2. smbios.plist, org.chameleon.Boot.plist and DSDT.aml to /Extra
3. Chameleon r1649 installed on the Lion Install Drive
I am able to select the Lion Install from Chameleon and tried to boot it. I have a issue now where after "NTFS Volume name WIN7, Version 3.1", system just hangs. However there is hard disk activity. So i have waited an hour but did not make any progress.
I have tried boot options -v, -x, DSDT=NO, -f. but system still hangs. Plz advise.

#73
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,278 posts
  • Gender:Male

I am able to select the Lion Install from Chameleon and tried to boot it. I have a issue now where after "NTFS Volume name WIN7, Version 3.1", system just hangs. However there is hard disk activity. So i have waited an hour but did not make any progress.
I have tried boot options -v, -x, DSDT=NO, -f. but system still hangs. Plz advise.

Sounds like you are having problems with the graphics driver. Did you follow the dsdt readme directions which direct you to run dsdt-check.pl to select the right version of DSDT.aml?

#74
rameshb_v

rameshb_v

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts

Sounds like you are having problems with the graphics driver. Did you follow the dsdt readme directions which direct you to run dsdt-check.pl to select the right version of DSDT.aml?

I have tried to execute the dsdt-check.pl but were getting errors in Snow Leopard. So copied the DSDT.aml.
I have booted to LION using DSDT=NO. I then execute the pl script and it asked me to use the alternate one. I staged it and system booted fine this time... Thanks bcc9,.
Some questions:
1. I staged the 9400m_gstate_inject.kext.zip in /S/L/E, but could not find it under loaded kexts. Do i need to do anything additional to load it up ?
2. Some times the wireless does not turn on. Even if i manually turn on, it wont. I have to completley shutdown and reboot to make it work.
3. Cosmetic issue: Everytime i boot, i get the verbose screen. How do i disable it to show the apple boot screen.

#75
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,278 posts
  • Gender:Male

I have tried to execute the dsdt-check.pl but were getting errors in Snow Leopard. So copied the DSDT.aml.
I have booted to LION using DSDT=NO. I then execute the pl script and it asked me to use the alternate one. I staged it and system booted fine this time... Thanks bcc9,.

You're welcome.
So first, what error were you getting from the perl script?

Some questions:
1. I staged the 9400m_gstate_inject.kext.zip in /S/L/E, but could not find it under loaded kexts. Do i need to do anything additional to load it up ?
2. Some times the wireless does not turn on. Even if i manually turn on, it wont. I have to completley shutdown and reboot to make it work.
3. Cosmetic issue: Everytime i boot, i get the verbose screen. How do i disable it to show the apple boot screen.

Injector kexts just add/modify values in the ioregistry, they are not drivers that remain running while the system is up.
I'm not totally sure what you mean by not on, have you tried the mDNSResponder fix I mentioned a few posts back?
To boot without verbosity, remove the -v from Kernel Flags in the org.chameleon.Boot.plist

#76
rameshb_v

rameshb_v

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts

You're welcome.
So first, what error were you getting from the perl script?
Injector kexts just add/modify values in the ioregistry, they are not drivers that remain running while the system is up.
I'm not totally sure what you mean by not on, have you tried the mDNSResponder fix I mentioned a few posts back?
To boot without verbosity, remove the -v from Kernel Flags in the org.chameleon.Boot.plist

Error was something like "Unknown symbol _mh_execute_header"..
I did not try the mDNSResponder fix as my issue is different where the wireless does not turn on. Even if i try to turn on, it wont and the wifi light is off. Next time when i get the issue, I will try the fix.

#77
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,278 posts
  • Gender:Male

Error was something like "Unknown symbol _mh_execute_header"..
I did not try the mDNSResponder fix as my issue is different where the wireless does not turn on. Even if i try to turn on, it wont and the wifi light is off. Next time when i get the issue, I will try the fix.


Well of course you have to turn the wifi hardware on before it can be used by the OS. If the wifi light is not on then the hardware is not on. Turn it on via the keyboard hotkey.

#78
rameshb_v

rameshb_v

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts

Well of course you have to turn the wifi hardware on before it can be used by the OS. If the wifi light is not on then the hardware is not on. Turn it on via the keyboard hotkey.

I turned it on with the hotkey but it turn's off again immediately. I had to restart the machine to bring it back.

#79
dmullaney

dmullaney

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
Wow, this is a brilliant guide. I managed to pick up a broken XPS 1340 for nearly nothing, and now after just a new HD, new RAM and replacement fan, I'm rocking an fast, good looking Lion machine!!

The only thing that I haven't been able to get working is the Audio. I'm running 10.7.3, installed exactly by the guide and then updated with combo updater. I ran the ACPI and HDA patch mpkgs after the 10.7.3 update.

Anyone got any ideas about how to troubleshoot this??


Do'h - So it looks like this was entirely my fault :-) I had flashed a later version of Chameleon assuming it would have the right fixes in it - soon as I reverted to the version linked in the post #1 - all fixed. Apologies for polluting the thread with my ignorance :-)

Edited by dmullaney, 04 February 2012 - 12:16 PM.


#80
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,278 posts
  • Gender:Male
I just got around to trying the 10.7.3 update on my old 1340.

This update is easy in that my AppleHDA patch from post #1 is the only one that must be re-applied after updating.
AppleRTC and AppleACPIPlatform remain untouched from 10.7.2 even with the combo update.

You may also want to re-apply the firewire workaround from post #2 as AppleFWOHCI is reinstalled with the update.

If there's some regression with the current version of chameleon, please report it to the chameleon folks.





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