Subscribe to our RSS news feed
AAPL 275.62 (0.56)

> Forum Guidelines

Welcome to the Genius Bar. Here's how this forum works:

1. Members are encouraged to make a guide that details something that they might have found troubling or challenging. Chances are, if you've seen the same question asked over and over again, you should write a guide for it.

2. This is not the forum for asking questions. If you have a question about a thread that's already here, feel free to ask it. Just don't start a thread for a specific question. Use the other forums here for that.

3. Posting links to off-site tutorials is not allowed.

4. That's it! Thanks for sharing your information with the rest of us. :)

To keep this forum clean this forum is moderated. You can post in existing topics but new ones will have to be approved before they show up. Quality guides promoting new methods and encouraging users to learn will be approved.


Dell XPS 1340 mostly working with OSX 10.5.6,10.5.7
*******
  • Group: Members
  • Posts: 522
  • Joined: 23-February 09
  • Member No.: 382,001
Update: There is a newer thread for 10.6 over here This older tutorial will likely not be updated at all now that most users have moved on to 10.6. New users should proceed to 10.6 directly; there is no good reason to do a new install with an old version of OSX.

Here's what I've figured out so far on getting OSX working on the dell studio xps 1340, aka dell studio xps 13.

Working "out of the box":
  • gig-ethernet, usb, firewire, sata
  • system suspend
  • touchpad as mouse
  • webcam (video only), video capture verified with photo booth application
  • Bluetooth in HID mode (think dumb mouse)
Working with mods below:
  • GeForce 9400M G graphics with quartz extreme, external HDMI/VGA/display port
  • Built-in speaker, hotkey volume/mute controls
  • Intel speedstep
  • Touchpad gestures, and working touchpad after resume with modified version of voodoo team's Voodoops2controller
  • Battery status & suspend on lid closed
  • Bluetooth in HCI mode (full functionality)
  • touchpad usability after resume
Not working:
  • Built-in digital mic, mic-in jack, mute of speakers when headphones attached
  • Dell 1515 802.11 wireless (atheros ar9280 aka ar5009). However some systems ship with the older Dell 1510 802.11 which is broadcom based and works. Update: Apple's OSX driver for this newer Atheros hardware has materialized in the 10.6.0 (Snow Leopard) beta distribution. I've tested it & confirmed that it is working "out of the box" on this laptop as of that beta release.
  • SLI with 9500m video
  • SD flash card. Perhaps someone could try the new VoodooSDHCI solution and report back.
Not tested yet (let us know):
  • Infrared
  • expresscard

For installation I recommend the XxX 10.5.6 distribution, or a boo132+retail disk solution, as other pre-packaged distros don't seem to handle booting off of nvidia sata devices.
(Before XxX I tried the iPC livedvd, and that would hang during boot, apparently due to lack of nvidia sata support. Older distributions such as kalyway, boot & install but the OS randomly hangs, apparently due to problems with the sata drivers.)

With XxX, during the install, you need not select any of the optional kexts. Note that more is not necessarily better - you can screw up features such as system suspend by installing kexts that were meant for other chipsets such as older nvidia chipsets.

For working quartz Extreme & core image (QE/CI), install my modified IOPCIFamily kext 10.5.6 version, 10.5.7 version and my EFI plist here. My EFI plist includes EFI strings for the 9400m video and for the IDT audio. To apply the plist to your com.apple.boot.plist using OSX86 Tools:
  1. Save attached plist file as something.plist
  2. Run OSX86 Tools
  3. Select Add EFI Strings/Boot Flag
  4. Select Import Hex/Plist
  5. Select Import File
  6. Select the plist file you just saved, click choose
  7. Select import string to boot editor
  8. select apply changes to com.apple.boot.plist
Replace the existing IOPCIFamily kext with my modified kext (manually or using something like kexthelper).

Update:
The IOPCIFamily change I made isn't necessary if you instead use natit (or EFI injection via dsdt). I'd recommend the natit approach at this point for 10.5.8 users as it avoids having to modify apple's stock kexts. With my modified Natit.kext Attached File  Natit.bcc9.v3.zip ( 25.05K ) Number of downloads: 168
, the same EFI graphics strings are injected as with the IOPCIFamily+com.apple.Boot.plist approach.

To fix the touchpad gestures, touchpad resume-ability, keyboard issues, you can install the VoodooPS2Controller. First you should uninstall any distro-provided AppleACPIPS2Nub,ApplePS2Controller kexts before installing the voodoops2controller pkg else you'll get panics and problems with keyboard input. Apparently it's still not legal to link to the voodoops2 package, so go look for VoodooPS2Controller-0.98-installer.pkg. After installing the stock 0.98 version to set up the trackpad control panel entry, I recommend replacing voodoops2controller.kext with my updated version. My updated version here, allows the touchpad to work after resume, and doesn't swap the mac command/option keys. It is based upon some enhancements posted over here http://forum.voodooprojects.org/index.php/topic,304.0.html

For working IDT audio you'll also need the attached AppleHDA.kext. Thanks to the Dell 1535/1735 folks (ridgeline, boombeng) for coming up with IDT audio pathmaps that begin to work on this laptop. Unfortunately this kext is from 10.5.3 and at also seems to be flaky for some users, as it was for the 1535/1735. This old kext will also make the system fail to shutdown cleanly, though there is a workaround for that.
You should *not* need to install HDAEnabler.kext as advised elsewhere as my EFI plist includes the audio EFI string already.
Update: Verify working audio by ensuring that "Internal Speakers" is available and selected under System Preferences->sound->output, then go to the sound effects tab and try something.

For working CPU throttling (intel speedstep) use my modified version of superhai's VoodooPower.kext. Attached. (I've attached my source code changes as well, which is only of interest if you're a developer, here.) Superhai has some support applications: GenericCPUPMControl, vpower over here, and there's also cpu-x to monitor the CPU multiplier state.

For battery status and system sleep upon lid close, you need
  1. the ACPI Embedded Controller to load properly. Turns out a bug in AppleACPIPlatform was causing the embedded controller (AppleACPIEC) to fail to load, I've made a patch to AppleACPIPlatform to fix that. Replace the stock version in /System/Library/Extensions/AppleACPIPlatform.kext/Contents/MacOS with my patched version. Again, use something like kexthelper if you need help preserving permissions and ownership when making this change. 10.5.6 version, 10.5.7 version, 10.5.8 version
  2. a cleaned up DSDT. Here is mine, based upon A06 BIOS. (A06, A07 and A08 BIOS have identical DSDT, by the way). Install DSDT.aml to a location where your Chameleon bootloader will pick it up at boot time. I recommend creating the /Extra directory and copying dsdt.aml from my .zip into /Extra/DSDT.aml (note that filename case matters to Chameleon here).
  3. An updated version of the Chameleon bootloader if you're using an older bootloader that cannot patch the DSDT. The bootloader that comes with the XxX distro is chameleon 1.0.11 based and won't patch the DSDT. I recommend you update your bootloader to the Chameleon-2.0-r431 revision
  4. VoodooBattery, for the battery icon
For bluetooth with HCI, I've written a driver that enables that, posted over here

There are a few drivers that don't behave well across a suspend/resume, the best fix I've come up with so far is to install sleepwatcher&its enclosed startup package, from here: http://www.bernhard-baehr.de/, then install my custom /etc/rc.sleep, /etc/rc.wakeup scripts from here. These scripts address
  1. Firewire GUID being stuck at 0000000000000000, logging errors and keeping the system from re-suspending
  2. Automatic configuring of bluetooth HCI modeWith my new driver referenced above, you don't need sleepwatcher for this
I could really use some help on the non-working components! Such as:
  • For SLI video, need someone who has the 9500m to try and work on a 2nd graphics EFI string for the 9200m part. I think the right devicepath for the 9200m is:
    PciRoot(0x1)/Pci(0x0c,0x0)/Pci(0x0,0x0), but I don't have a 9500m to play with this.
  • For audio, it'd be great if someone could figure out how to get the 10.5.6 version of the IDT-modified AppleHDA.kext to work. I get no audio devices with this version. Also both analog&digital mics work under linux with alsa 1.0.19, but not under OSX, even with what looks like the right pathmap. Clues?
  • USB devices such as disk drives get "device removal" events upon wakeup from suspend.
  • Something seems wrong with the IOAHCISerialATAPI driver. Upon wakeup from suspend the disk activity light flashes every 2 seconds or so apparently with the driver trying to stat the dvd-rom drive. Putting a disk in the drive fixes this.
Contributions welcome
Attached File(s)
Attached File  IOPCIFamily.1.2.zip ( 50.06K ) Number of downloads: 764
Attached File  combined_v2.plist.txt ( 1.41K ) Number of downloads: 1026
Attached File  AppleHDA.xps1340.2.zip ( 317.61K ) Number of downloads: 1003
Attached File  VoodooPower.bcc9_v3.zip ( 16.93K ) Number of downloads: 797
Attached File  voodoo_src_diffs_v3.txt ( 1.93K ) Number of downloads: 303
Attached File  IOPCIFamily_110.zip ( 50.56K ) Number of downloads: 514
Attached File  AppleACPIPlatform.10.5.6.v2.zip ( 164.78K ) Number of downloads: 450
Attached File  dsdt.zip ( 46.68K ) Number of downloads: 544
Attached File  AppleACPIPlatform.10.5.7.v2.zip ( 164.78K ) Number of downloads: 450
Attached File  sleepwatcher_scripts_v2_1340.zip ( 2.32K ) Number of downloads: 229
Attached File  IOPCIFamily_110.src.zip ( 75.41K ) Number of downloads: 129
Attached File  AppleACPIPlatform.10.5.8.zip ( 164.78K ) Number of downloads: 410
 
PM Profile Card
Go to the top of the page
+ Quote Post

Posts in this topic
- bcc9   Dell XPS 1340 mostly working with OSX 10.5.6,10.5.7   Apr 12 2009, 02:51 AM
- - pmcnano   bcc9 =) great news!! With new voodoops2 ke...   Apr 12 2009, 07:42 PM
|- - bcc9   QUOTE (pmcnano @ Apr 12 2009, 12:42 PM) g...   Apr 13 2009, 02:42 AM
|- - JC13   Hi, I'm a bit of a newb here. I installed Leo...   May 1 2009, 05:50 AM
|- - Gambit642   QUOTE (JC13 @ May 1 2009, 01:50 AM) Hi, I...   May 1 2009, 01:32 PM
- - kenten05   I just picked up a 1340 today, and I'm new at ...   Apr 13 2009, 11:57 PM
|- - bcc9   QUOTE (kenten05 @ Apr 13 2009, 04:57 PM) ...   Apr 14 2009, 02:36 AM
- - StudiOSXPS   After Installing voodoops2controller and uninstall...   Apr 14 2009, 02:44 AM
|- - bcc9   QUOTE (StudiOSXPS @ Apr 13 2009, 07:44 PM...   Apr 14 2009, 03:08 AM
|- - venezuelan_pimp   Hi guys how you doing. I just started to install L...   Apr 14 2009, 11:59 PM
|- - StudiOSXPS   QUOTE (bcc9 @ Apr 13 2009, 09:08 PM) I ha...   Apr 15 2009, 04:13 AM
- - pmcnano   To make it short, NOT WORKING: keyboard (on the pr...   Apr 15 2009, 01:38 AM
- - bcc9   The dell 1515 802.11n is the atheros ar9280 (also ...   Apr 15 2009, 04:31 AM
|- - Gambit642   I got as far as the combined plist with osX86 Tool...   Apr 16 2009, 08:47 PM
- - kenten05   I found some trackpad drivers from the dell mini 9...   Apr 16 2009, 04:30 AM
|- - bcc9   QUOTE (kenten05 @ Apr 15 2009, 09:30 PM) ...   Apr 16 2009, 08:35 AM
|- - kenten05   QUOTE (bcc9 @ Apr 16 2009, 02:35 AM) How ...   Apr 16 2009, 07:26 PM
- - ukhan   This is good news. I am in the market for a lapto...   Apr 16 2009, 04:12 PM
|- - bcc9   QUOTE (ukhan @ Apr 16 2009, 09:12 AM) Thi...   Apr 16 2009, 05:03 PM
- - pmcnano   yep   Apr 16 2009, 05:01 PM
- - pmcnano   Its the AppleHDA kext, im certenly sure. Eh..in th...   Apr 16 2009, 10:09 PM
- - pmcnano   edit: NVM..   Apr 18 2009, 02:39 AM
- - Gambit642   I haven't tried but has anyone seen this threa...   Apr 18 2009, 04:01 AM
- - pmcnano   thats how bcc9 patched the applehda! We have a...   Apr 18 2009, 07:42 AM
|- - Gambit642   The shutdown issue after Audio is installed is res...   Apr 19 2009, 06:26 AM
|- - bcc9   QUOTE (Gambit642 @ Apr 18 2009, 11:26 PM)...   Apr 20 2009, 06:19 AM
|- - Gambit642   QUOTE (bcc9 @ Apr 20 2009, 02:19 AM) I ha...   Apr 20 2009, 04:33 PM
|- - bcc9   QUOTE (Gambit642 @ Apr 20 2009, 09:33 AM)...   Apr 20 2009, 08:18 PM
|- - Gambit642   QUOTE (bcc9 @ Apr 20 2009, 04:18 PM) So I...   Apr 20 2009, 11:03 PM
|- - bcc9   QUOTE (Gambit642 @ Apr 20 2009, 04:03 PM)...   Apr 21 2009, 06:01 AM
- - pmcnano   Can you sleep? do you have audio after sleep??? e...   Apr 20 2009, 12:17 AM
|- - Gambit642   QUOTE (pmcnano @ Apr 19 2009, 08:17 PM) C...   Apr 20 2009, 04:52 AM
- - bcc9   I've been asked what I did to IOPCIFamily to a...   Apr 20 2009, 06:57 AM
- - pmcnano   lol bcc9 XD..Im going to try in like 1 hour...just...   Apr 21 2009, 11:28 AM
|- - bcc9   So with the newer version of AppleHDA your speaker...   Apr 21 2009, 05:42 PM
|- - Gambit642   QUOTE (pmcnano @ Apr 21 2009, 07:28 AM) l...   Apr 21 2009, 08:22 PM
|- - Gambit642   QUOTE (Gambit642 @ Apr 21 2009, 04:22 PM)...   Apr 21 2009, 10:02 PM
|- - bcc9   QUOTE (Gambit642 @ Apr 21 2009, 03:02 PM)...   Apr 21 2009, 10:34 PM
- - pmcnano   Was just kidding bcc9 I still love you..hahaha any...   Apr 21 2009, 08:16 PM
- - pmcnano   kernel has nothing to do with audio.....but i trie...   Apr 21 2009, 10:27 PM
- - ElekTron   First of all, thank u guys for your great help, my...   Apr 21 2009, 11:14 PM
|- - bcc9   QUOTE (ElekTron @ Apr 21 2009, 04:14 PM) ...   Apr 21 2009, 11:40 PM
- - Gambit642   I was getting the weirdest behavior. After I rebo...   Apr 22 2009, 02:21 AM
|- - Gambit642   QUOTE (Gambit642 @ Apr 21 2009, 10:21 PM)...   Apr 22 2009, 03:47 AM
|- - bcc9   That's pretty confusing that the "HDA Fix...   Apr 22 2009, 05:05 AM
- - pmcnano   Go to System/Library/Startup Items or? Library/st...   Apr 22 2009, 03:12 AM
- - pmcnano   QUOTE I could really use some help on the non-work...   Apr 22 2009, 11:42 AM
|- - bcc9   QUOTE (pmcnano @ Apr 22 2009, 04:42 AM) I...   Apr 22 2009, 06:55 PM
|- - Gambit642   QUOTE (bcc9 @ Apr 22 2009, 02:55 PM) Firs...   Apr 22 2009, 08:04 PM
|- - bcc9   QUOTE (Gambit642 @ Apr 22 2009, 01:04 PM)...   Apr 22 2009, 08:45 PM
- - ElekTron   thousands of thnx :-) The HDA Shutdown Fix was the...   Apr 22 2009, 06:30 PM
|- - Gambit642   QUOTE (ElekTron @ Apr 22 2009, 02:30 PM) ...   Apr 23 2009, 12:06 AM
|- - StudiOSXPS   QUOTE (Gambit642 @ Apr 22 2009, 06:06 PM)...   Apr 23 2009, 03:06 AM
|- - Gambit642   QUOTE (StudiOSXPS @ Apr 22 2009, 11:06 PM...   Apr 23 2009, 04:07 AM
- - pmcnano   Meh, I think the laptop gets pretty hot, so to be ...   Apr 22 2009, 09:21 PM
|- - bcc9   QUOTE (pmcnano @ Apr 22 2009, 02:21 PM) M...   Apr 22 2009, 09:27 PM
- - pmcnano   Didnt know about new bios, maybe has a better powe...   Apr 22 2009, 09:55 PM
|- - bcc9   QUOTE (pmcnano @ Apr 22 2009, 02:55 PM) D...   Apr 22 2009, 11:20 PM
- - pmcnano   weird..do you have it in Extra Extensions? Or S L ...   Apr 22 2009, 11:38 PM
- - pmcnano   Gabit, i can tell you and confirm you..that.....li...   Apr 23 2009, 05:33 AM
- - ElekTron   Niiiiiiiiice, i think ill buy such a wlan card, i ...   Apr 23 2009, 02:32 PM
- - pmcnano   Same here ElekTron.........still waiting for bcc9 ...   Apr 23 2009, 04:08 PM
|- - bcc9   QUOTE (pmcnano @ Apr 23 2009, 09:08 AM) S...   Apr 23 2009, 05:59 PM
|- - Gambit642   QUOTE (pmcnano @ Apr 23 2009, 12:08 PM) S...   Apr 23 2009, 09:44 PM
- - ElekTron   Wohoooooo, till yesterday i had only sound over th...   Apr 23 2009, 05:04 PM
- - ElekTron   QUOTE (bcc9 @ Apr 23 2009, 06:59 PM) I us...   Apr 23 2009, 06:35 PM
- - pmcnano   I have P8600..and it just dont do anything for me....   Apr 23 2009, 07:00 PM
- - pmcnano   Not that I know..did you see which kext was panic-...   Apr 23 2009, 10:28 PM
- - ElekTron   Yehaaaa, ive still activated speedstep with my P96...   Apr 23 2009, 11:29 PM
|- - bcc9   So I tried my change to VoodooPower, and sure enou...   Apr 24 2009, 04:55 AM
- - pmcnano   bcc9, nice work....I can tell you are pretty ahead...   Apr 24 2009, 11:55 AM
|- - bcc9   QUOTE (pmcnano @ Apr 24 2009, 04:55 AM) b...   Apr 26 2009, 02:04 AM
- - pmcnano   I just tried again VoodoBattery.kext, but nothing,...   Apr 26 2009, 06:20 PM
- - bcc9   So here's a new version of my VoodooPower chan...   Apr 27 2009, 08:10 AM
|- - Gambit642   QUOTE (pmcnano @ Apr 27 2009, 04:10 AM) I...   Apr 27 2009, 12:59 PM
- - pmcnano   It seems it has nothing to do with the kext, its o...   Apr 27 2009, 01:42 PM
|- - bcc9   I debugged voodoobattery a bit and I still believe...   Apr 27 2009, 05:25 PM
|- - Gambit642   QUOTE (bcc9 @ Apr 27 2009, 01:25 PM) Has ...   Apr 27 2009, 07:03 PM
|- - bcc9   QUOTE (Gambit642 @ Apr 27 2009, 12:03 PM)...   Apr 27 2009, 07:29 PM
|- - Gambit642   QUOTE (bcc9 @ Apr 27 2009, 03:29 PM) It...   Apr 27 2009, 08:40 PM
|- - bcc9   Thanks, looks like everything is working with the ...   Apr 27 2009, 10:14 PM
|- - Gambit642   QUOTE (bcc9 @ Apr 27 2009, 06:14 PM) Wow,...   Apr 27 2009, 10:27 PM
- - pmcnano   Hi bcc9, well I forced the dsdt, and i got battery...   Apr 27 2009, 05:29 PM
|- - bcc9   QUOTE (pmcnano @ Apr 27 2009, 10:29 AM) H...   Apr 27 2009, 05:35 PM
|- - Gambit642   QUOTE (bcc9 @ Apr 27 2009, 01:35 PM) You ...   Apr 27 2009, 09:25 PM
- - pmcnano   bcc9, mh lol curious..now i dont have ACPIEC thing...   Apr 27 2009, 09:12 PM
|- - bcc9   QUOTE (pmcnano @ Apr 27 2009, 02:12 PM) b...   Apr 27 2009, 11:11 PM
- - pmcnano   lol Gambit642, sorry I wasnt clear, by "i don...   Apr 27 2009, 10:51 PM
- - pmcnano   Well but i did a quick look to the mbp dsdt..and i...   Apr 27 2009, 11:13 PM
|- - bcc9   QUOTE (pmcnano @ Apr 27 2009, 04:13 PM) W...   Apr 27 2009, 11:26 PM
|- - Gambit642   QUOTE (bcc9 @ Apr 27 2009, 07:26 PM) Righ...   Apr 27 2009, 11:38 PM
|- - bcc9   QUOTE (Gambit642 @ Apr 27 2009, 04:38 PM)...   Apr 28 2009, 01:56 AM
- - pmcnano   Well every computer is different.....and its dsdt ...   Apr 27 2009, 11:35 PM
- - pmcnano   I have news for you guys!!!!!...   Apr 28 2009, 01:28 AM
- - shumik   hi everyone. i finally got everything working. i j...   Apr 28 2009, 08:24 PM
|- - bcc9   QUOTE (shumik @ Apr 28 2009, 01:24 PM) th...   May 1 2009, 08:32 PM
||- - Gambit642   QUOTE (bcc9 @ May 1 2009, 04:32 PM) Also ...   May 3 2009, 05:37 AM
|- - opus2k9   QUOTE (shumik @ Apr 28 2009, 02:24 PM) hi...   May 3 2009, 05:33 PM
- - Visthetic   Hi all, Thank you all for all your work on getti...   May 2 2009, 03:32 AM
- - bcc9   QUOTE (Visthetic @ May 1 2009, 08:32 PM) ...   May 3 2009, 07:05 PM
6 Pages V   1 2 3 > » 

Reply to this topic Start new topic

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 31st July 2010 - 01:56 PM