Help - Search - Members - Calendar
Full Version: Dell XPS 1340 under OSX 10.6, including boot-132 install cd
InsanelyMac Forum > OSx86 Project > Tutorials (The Genius Bar)
Pages: 1, 2, 3, 4, 5, 6, 7, 8
bcc9
Here's what I've figured out so far on getting OSX working on the dell studio xps 1340, aka dell studio xps 13 under Snow Leopard.

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)
  • Dell 1515 802.11 wireless (note: Atheros driver is 32 bit only)
Working with mods below:
  • GeForce 9400M G graphics with quartz extreme, external HDMI/VGA/display port
  • Built-in speaker, headphone jack, internal mic (without volume control), 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 close
  • Bluetooth in HCI mode (full functionality)
Not working:
  • Gain for built-in digital mic, mic-in jack
  • 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
Update: For installation, you can either install 10.6 using a previous install of osx to install from, outlined here or using a boot cd install method, instructions for that are at the end of this post.

For basic installation, there are snow leopard install guides sprouting up all over the place. I'm not sure what the best guide is, but I have the following install recommendations.
  • I'm not sure if this is necessary but... Before the install you can setup your /Extra/smbios.plist so that the model name isn't genuine (parts of the installer look at this; I'm not sure if leaving the model set to MacbookPro4,1 causes failure or not, but it seems to cause issues...) I use: Click to view attachment After installing this file, reboot & verify that system profiler has 'Model Identifier:' set to "Studio XPS 1340". (Later, after the 10.6 install place a copy of smbios.plist into your 10.6 /Extra partition as well.)
  • Some guides recommend installing a bunch of hackintosh kexts: OpenHaltRestart, NullCPUPM, PlatformUUID. The only kexts necessary for booting snow leopard on this platform are one to defeat the runtime DSMOS check and one to provide a usable keyboard+mouse. For the former, the only kext supported as of 10.6.2 is fakesmc . The keyboard kext is detailed below.
  • If you care about having an MBR partitioned disk (fairly important if you also want linux or windows to be able to deal with partitioning changes on the disk), you'll need a modified OSInstall binary that stops mandating a GUID partitioned disk. Diamondsw posted a patched version here. Replace the version in /Volumes/Mac OS X Install DVD/System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A/OSInstall (on your snow leopard dvd or usb/flash/esata based install drive). This change is unnecessary if you are happy with GUID partitioned disks.
Once you've installed 10.6, and a hackintosh bootloader (Chameleon 2.0 or Netkas pci-efi v10.x), you can add the rest of my changes to get platform specific components working fully. For the case where you don't have a fancy multi-boot setup to worry about, probably the easiest bootloader setup is to use the chameleon installer, the newest seems to be named: Chameleon-2.0-r431.pkg.zip
I have not used the above installer myself as I do have a complex multi-boot setup for which I don't trust beta installers to do the right thing. I simply used the 3 install comands (which are detailed in chameleon's doc/README under "Normal Install") to install chameleon manually.

I recommend that all kext additions you make be installed in /Extra/Extensions. As I add or make changes to /Extra/Extensions, I use the following commands to keep its cache up to date
CODE
rm -f /Extra/Extensions.mkext /Extra/Caches
kextcache -m /Extra/Extensions.mkext /Extra/Extensions


As of 10.6.2, all system kexts support both 32&64 bit mode. In any case, I recommend 32 bit as a starting point, as genuine macs use 32 bit mode. So I recommend editing /Library/Preferences/SystemConfiguration/com.apple.Boot.plist and adding arch=i386 -v to the Kernel Flags string. Result: Click to view attachment

For working keyboard and touchpad, I recommend my compiled version of the VoodooPS2 kexts, here My version is the stock 0.98 version plus 64 bit support, and the keyboard enhancements posted over here http://forum.voodooprojects.org/index.php/topic,304.0.html, and my fix for the touchpad over here http://forum.voodooprojects.org/index.php/...00.html#msg2300

For working quartz Extreme & core image (QE/CI), install my modified DSDT.aml to /Extra/DSDT.aml (note that filename case matters to the boot loader here). My modified DSDT.aml is based upon Dell A06 BIOS. (A06, A07 and A08 BIOS have identical DSDT, by the way). Click to view attachment

For working IDT audio, the above DSDT.aml includes EFI strings to point AppleHDA in the right direction, but you'll also need the following kext plist to set up a working pin configuration for the codec. Click to view attachmentYou can then verify working audio by going to the sound effects tab and trying something. Both 1/8" output jacks works as a headphone jacks, with proper headphone jack detection (mutes speakers when jack inserted), except that the right jack mutes the left if you try to use both. Thanks to boombeng for getting the right jack working (and ridgeline/boombeng for their earlier IDT work). Special thanks to the king, master chief, madtux for their work deciphering the applehda pinconfig/pathmap maze.

For working CPU throttling (intel speedstep) use my modified version of VoodooPState.kext. Click to view attachment. Hnak has a handy monitoring app for checking p-states and temps, PStateChanger, over in this thread, and there's also cpu-x to monitor the CPU multiplier state.Intel speedstep seems to be working out of the box with the modified dsdt. Since appleintelcpupowermanagement handles the stepping, cpu-x will not correctly report the current multiplier or voltage. cpu-x will stay stuck at the max. multiplier for your cpu.

For working CPU halt/restart, there is the snow leopard build of OpenHaltRestart: http://www.snowx86.com/downloads/OpenHaltR...for_snow_64.tar

For battery status and system sleep upon lid close, there are changes in the above DSDT.aml for that , but you also 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. Attached.Click to view attachment. So far my installer supports snow leopard versions 10a421a and 10a432 (no update is needed for OSX 10.6.1).
  2. VoodooBattery, for the battery icon
For bluetooth with HCI, I've written a driver that enables HCI mode, an installer is available here

boot-cd based install method:
Install vanilla 10.6 distro onto a dual layer dvd or usb thumb drive or usb disk drive. For a usb based install (this is the method I tested):
  1. setup a usb thumb drive or disk drive, with an hfs+ partition to install on (the destination partition),
  2. run disk utility
  3. right click on destination partition, select restore
  4. select 10.6 dmg file as source
  5. select destination partition again

Take .iso and burn to cd-rw or cd-r
I have pre-built a boot132 iso, available here http://www.mediafire.com/download.php?4jmikzkmzuz

Boot system from cd
Watch 4 "EBIOS read error: Device timeout" error messages pass by, followed by startup of chameleon
Press F8 to start chameleon graphical menu (or let it timeout for same effect)
From chameleon graphical menu, select "Mac OS X Install DVD", or swap in the vanilla install DVD and boot from that
As bootstrap begins, watch 4 more EBIOS read errors pass by
MacOS installer runs with graphical window
select customize
unselect printer support->nearby and popular printers
Let install complete
Go back and boot from CD again
this time select your newly installed 10.6 distro
viola
You may now complete the configuration of your 10.6 system as described earlier in this post

I could really use some help on the non-working components! Such as:
  • For 9500m, maybe someone could figure out how to get SLI video working. The OSX drivers may not be able to handle SLI at all but it's not clear whether or not that's really true.
  • For audio, it'd be great if someone could figure out the fix to the pathmap/pinconfig to allow the analog&digital mics to fully work.
  • 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.
  • The firewire controller loses its GUID upon wakeup from suspend, logging "FireWire GUID 0000000000000000 is invalid!" over&over to /var/log/kernel.log after wakeup. The workaround in 10.5.x of unloading/reloading the AppleFWOHCI.kext to fix this no longer works as that kext can't be unloaded.
Contributions welcome
itwong
Thanks for the quick up-to-date tutorial on the newly released Snow leopard.
It's good to see the stock AppleHDA works finally on this laptop.
pmcnano
If anyone has time...

http://www.insanelymac.com/forum/index.php...p;#entry1235177

Im at work, will post later..
bcc9
I've updated the audio kexts in post #1 to fix the headphone support. Now the front left 1/8" output jack works as a headphone jack with proper jack detection (mutes speakers when jack is inserted).

Still could use help figuring out the digital & analog mics.
zerotri
@bcc9: Are you using PC_EFIv9 like the OP at infinitemac, or are you using a different bootloader? I'm having little luck getting it to boot in PC_EFIv10. Also, did you install a PS2 Keyboard controller BEFORE booting into Snow Leo or afterwards? My system seems to hang after loading one of the NV kexts(can't remember exact name though), right around where AppleHDA is loaded. Apple HDA was giving me quite a few errors, and trying to install your audio helpers before successfully booting Snow Leopard caused a Kernel Panic.

Oddly enough I've been able to get Snow Leopard running before, but the last few times I have tried have been unsuccessful. I am currently using 10A432, and have made the Extensions.mkext in /Extras/ along with included DSDT.aml in that folder.

@pmcnano: Were you able to successfully install and boot into Snow Leopard?
bcc9
QUOTE (zerotri @ Aug 25 2009, 05:57 PM) *
@bcc9: Are you using PC_EFIv9 like the OP at infinitemac, or are you using a different bootloader? I'm having little luck getting it to boot in PC_EFIv10.
I am using pcefiv10.
QUOTE (zerotri @ Aug 25 2009, 05:57 PM) *
Also, did you install a PS2 Keyboard controller BEFORE booting into Snow Leo or afterwards?
Before. If you don't install a hackintosh ps2 kext you're pretty much screwed because you can't type anything even in single user mode.

QUOTE (zerotri @ Aug 25 2009, 05:57 PM) *
My system seems to hang after loading one of the NV kexts(can't remember exact name though), right around where AppleHDA is loaded. Apple HDA was giving me quite a few errors, and trying to install your audio helpers before successfully booting Snow Leopard caused a Kernel Panic.
I see several HDA errors printed, I think some of them concern the 2nd HDMI codec and can be ignored. After I made the headphone jack change, I did also get a panic from the audio subsystem on first boot but it worked fine thereafter.
zerotri
QUOTE (bcc9 @ Aug 25 2009, 07:04 PM) *
Before. If you don't install a hackintosh ps2 kext you're pretty much screwed because you can't type anything even in single user mode.

Ah. I've just been plugging in a USB mouse/keyboard from an old imac G3 given to my family. I installed your PS2 controller and it works for keyboard so far. Haven't been able to boot into Snow Leopard though, and I'm trying to find the cause. I'm looking at my logs right now. I've noticed that in system.log I'm getting launchd crashes possibly related to throttling, so I'm going to see if I can't figure that out. I'm wondering what is different between our setups though that I'm getting this crash but you aren't...

QUOTE (bcc9 @ Aug 25 2009, 07:04 PM) *
I see several HDA errors printed, I think some of them concern the 2nd HDMI codec and can be ignored. After I made the headphone jack change, I did also get a panic from the audio subsystem on first boot but it worked fine thereafter.

Yeah, it kernel panicked for me with the first version you had, but after installing the second version kexts, no KP, just getting stuck in the normal spot.
bcc9
QUOTE (zerotri @ Aug 25 2009, 07:51 PM) *
Ah. I've just been plugging in a USB mouse/keyboard from an old imac G3 given to my family. I installed your PS2 controller and it works for keyboard so far. Haven't been able to boot into Snow Leopard though, and I'm trying to find the cause. I'm looking at my logs right now. I've noticed that in system.log I'm getting launchd crashes possibly related to throttling, so I'm going to see if I can't figure that out. I'm wondering what is different between our setups though that I'm getting this crash but you aren't...
I thought it was clear in post #1 that you need a hackintosh ps2 kext. I also assume you're booting with arch=i386 but it sounds like maybe you're not. I have not bothered to build 64 bit kexts, as we're stuck with 32 bit because of the atheros 802.11 driver. If you boot with the default 64 bit without the right drivers you can hang/crash.
zerotri
I've been booting with arch=i386 the whole time. The whole point of me running Snow Leopard over Leopard is Wifi, and so there's no point in me booting in 64bit mode. I double checked to see if I it was that maybe I had accidentally installed a different bootloader, but I reinstalled Chameleon 2.0RC1 + PCEFIv10.1 and no change whatsoever. If I were to install FakeSMC I'm assuming it would replace dsmos, so I won't need both, right?

Eh, I'll give that a shot right now.
bcc9
QUOTE (zerotri @ Aug 25 2009, 09:15 PM) *
I've been booting with arch=i386 the whole time. The whole point of me running Snow Leopard over Leopard is Wifi, and so there's no point in me booting in 64bit mode. I double checked to see if I it was that maybe I had accidentally installed a different bootloader, but I reinstalled Chameleon 2.0RC1 + PCEFIv10.1 and no change whatsoever. If I were to install FakeSMC I'm assuming it would replace dsmos, so I won't need both, right?

Eh, I'll give that a shot right now.
Yes, fakesmc should replace dsmos. I haven't tried fakesmc myself.
Also that snow leopard thread mentions a bunch of other kexts: OpenHaltRestart, NullCPUPM, PlatformUUID. I didn't use any of those, and I don't think the first two are even applicable for this system (we don't have the problems they address).

Only other catch is I have an smbios.plist in /Extra that I wrote, but I think that's just cosmetic.

Didn't we have this same conversation last month where you had trouble installing snow leopard?
(And the fix last time was for you to run kextcache; as shown in post #1)
zerotri
QUOTE (bcc9 @ Aug 25 2009, 09:31 PM) *
Yes, fakesmc should replace dsmos. I haven't tried fakesmc myself.
Also that snow leopard thread mentions a bunch of other kexts: OpenHaltRestart, NullCPUPM, PlatformUUID. I didn't use any of those, and I don't think the first two are even applicable for this system (we don't have the problems they address).

Only other catch is I have an smbios.plist in /Extra that I wrote, but I think that's just cosmetic.

Didn't we have this same conversation last month where you had trouble installing snow leopard?
(And the fix last time was for you to run kextcache; as shown in post #1)


Heh, yeah we did cover this last month and yes, the solution was to run kextcache as you've been showing. I've been running kextcache as shown though(because of last time), so I don't think that's it this time. The reason I'm having to install Snow Leopard again is because last time I think I used GPT, and got Windows 7 to install beside it, but then I later tried installing Ubuntu in a third partition and it's partition software totally messed up my partition table.

I will try running your kextcache script again, without the other kexts listed in that thread.
Also, I tried with FakeSMC, and it just gave me a Kernel Panic related to AppleHDA every time I booted with it. Maybe it'll work for other people, but didn't work for me.

You're also very quick to reply tonight smile.gif
Well, off to try again...

EDIT: Still no luck. Now I'm also getting a P-States warning after removing NullCPUPM. Do you get that as well?
I'm almost to the point where I'm going to try a full reinstall here and see if that works. Gonna try something else first...
bcc9
QUOTE (zerotri @ Aug 25 2009, 09:42 PM) *
EDIT: Still no luck. Now I'm also getting a P-States warning after removing NullCPUPM. Do you get that as well?
I'm almost to the point where I'm going to try a full reinstall here and see if that works. Gonna try something else first...
I seem to remember seeing the OS complaining about P-states at one point during boot, but not any more now that I have things set up. I also can't reproduce that at this point even without a dsdt.aml or smbios.plist.
I think the P-state errors were just warnings about the p-state information failing to be in the dsdt. But since I've patched voodoopower to handle cpu p-states, I don't think this matters. Yes it might be nicer to add p-state tables to the dsdt if someone wants to figure that out...

You should be able to boot snow leopard without the changes I'm recommending in post #1. If you can't, you probably need to figure out what's different between what you're doing vs the snow leopard guides. Would be good to be scientific and narrow down your problems to those guides or one of the platform specific modifications.

If you're using dsmos you need a version that matches your snow leopard build (you can't just use an old snow leopard version with 10a432).
bcc9
I just realized that with my latest audio plists, the built-in mic *is* working, it just has no gain control. It shows up as the 2nd input device with the name "Internal microphone".

QUOTE (bcc9 @ Aug 26 2009, 04:54 PM) *
I seem to remember seeing the OS complaining about P-states at one point during boot, but not any more now that I have things set up. I also can't reproduce that at this point even without a dsdt.aml or smbios.plist.

I take it back, the error
CODE
WARNING - ACPI_SMC_CtrlLoop::initCPUCtrlLoop - no sub-config match for MacBookPro4,1 with 3 p-states, using default stepper instead
flashes by for perhaps 1 second when I don't have an smbios.plist that renames the model from macbookpro4,1 to something else. I'm currently using:
CODE
<?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>SMproductname</key>
     <string>Studio XPS 1340</string>
     <key>SMmemspeed</key>
     <string>1066</string>
     <key>SMmemtype</key>
     <string>24</string>
</dict>
</plist>
as my /Extra/smbios.plist.
The only entry that seems really necessary is the SMproductname entry.
zerotri
At this point it could very well be the DSMOS.kext I used. I was able to use the one listed on the front page at infinitemac to install Snow Leopard today, but after installing I realized I had installed 10A380 and it was working there. However I could not update using the apple software updater, so I erased the partition and installed 10A480.

Went to boot up, and I'm back with the same old problem as always.
Do you keep the default chameleon kexts in the /Extra/Extensions/ folder, or did you erase that before installing DSMOS and such?

Also, I realize you probably used the exact same one linked to on the page at infinitemac, but is there any possibility you could attach that for testing in a post here? Or if you didn't use that DSMOS, which one did you use?

I find it odd that I was able to successfully boot 10A380 but not 10A432, using the same set of kexts you have given here(plus DSMOS).

I guess I'm back to trial and error here.
bcc9
QUOTE (zerotri @ Aug 27 2009, 01:49 AM) *
At this point it could very well be the DSMOS.kext I used. I was able to use the one listed on the front page at infinitemac to install Snow Leopard today, but after installing I realized I had installed 10A380 and it was working there.
So why don't you make sure to get a version of dsmos that is known working with the "gold" version of snow leopard, like I recommended?

I just checked the version linked to by the guide over at infinitemac and the dsmos binary is dated 6/27/09. Therefore it pre-dates build 10A432 and shouldn't work. Use the 10a432 version netkas made:

http://netkas.org/?p=126

Looks like I'll have to update post #1 to dis-recommend that guide. Update: post#1 fixed.
pmcnano
Sorry, didnt saw you asked, No I hadnt install SL, just in desktop not laptop. Eh, why use dsmos?, why not fakesmc?

bcc9
QUOTE (pmcnano @ Aug 27 2009, 07:44 PM) *
Eh, why use dsmos?, why not fakesmc?
Either work for me. The later is brand new & less tested so using it would be a more bleeding edge choice.
bcc9
I've made a driver to automatically turn on HCI mode for dell bluetooth devices. This can be used instead of hid2hci. I think it's a better solution, as detailed over here:
http://www.insanelymac.com/forum/index.php...t&p=1239975
smarcix
my idt doesn't work. i have installated the legacyapllehda...but the sound don't work... can you help me pls?

P.S.
sorry for my english....
bcc9
QUOTE (smarcix @ Aug 29 2009, 10:08 AM) *
my idt doesn't work. i have installated the legacyapllehda...but the sound don't work... can you help me pls?

Check:
ioreg -l -t -x -w900 | grep PinConfig
and
ioreg -l -t -x -w900 | grep HDAConfig

to verify that the plist values from those two legacy kexts got loaded right.
macooks
QUOTE (bcc9 @ Aug 29 2009, 07:14 PM) *
Check:
ioreg -l -t -x -w900 | grep PinConfig
and
ioreg -l -t -x -w900 | grep HDAConfig

to verify that the plist values from those two legacy kexts got loaded right.


Hi bbc9

I finally got Leopard running on my xps1340, everything (except mic in) seems to work perfectly thanks to you (deeply appreciated). Sleep issues don`t affect me too much, since I tend to shut down my laptop every time.

My question is about SL. Should I upgrade to gain with 64 bits and no need to hack so much into the system?

I have 1510 wireless, bluetooth 370, 9400M.

Can I run SL in 64 bits with everything working, including mic in? I am considering this because I rely very much on voip apps, so for me to transition from Windows to Mac I need mic to work.

Thanks for your time.
bcc9
QUOTE (macooks @ Aug 29 2009, 06:27 PM) *
I finally got Leopard running on my xps1340, everything (except mic in) seems to work perfectly thanks to you (deeply appreciated). Sleep issues don`t affect me too much, since I tend to shut down my laptop every time.
Suspend works with 10.5.x, and the built-in mic probably could too if one applied my new changes to the old OS.
QUOTE (macooks @ Aug 29 2009, 06:27 PM) *
My question is about SL. Should I upgrade to gain with 64 bits and no need to hack so much into the system?
I can't say for you, but I think it makes sense to stay current. With other OSes I can't say as I've "felt" any performance improvement with 64 bit vs 32.
QUOTE (macooks @ Aug 29 2009, 06:27 PM) *
I have 1510 wireless, bluetooth 370, 9400M.

Can I run SL in 64 bits with everything working, including mic in? I am considering this because I rely very much on voip apps, so for me to transition from Windows to Mac I need mic to work.

Thanks for your time.
Since you have the older wifi card you should be able to run in 64 bit mode. The built-in digital mic works without any gain control (volume control). I need help figuring out how to get that to work.
I haven't yet bothered to rebuild the Voodoo* kexts I linked to in post #1 with 64 bit support, you would have to recompile them yourself at the moment if you're eager to boot into 64 bit.
bobdurfob
Wow I just went from your awesome guide to installing normal Leopard on a 1340 to this one. You're and awesome guy btw.

I have a few questions though.

I was wondering where I could find a reliable download for Snow Leopard (or a version that's hacked to work with PC like iDeneb, XxX, etc.). I know the forum rules say no linking and stuff, so a simple "go away noob" or "I know it's illegal, but if you google blah blah blah you'll find it" will suffice for me.

I was also wondering how to dual boot it with Vista (or Windows 7). I'm not very good with Mac lingo (kexts, coding, etc) having only taken a basic comp sci course (yay, Java), so I am a real beginner. If you feel that it's too much to help me or if you're too lazy, I am fine with that too.

Thanks!
bcc9
QUOTE (bobdurfob @ Aug 29 2009, 11:29 PM) *
Wow I just went from your awesome guide to installing normal Leopard on a 1340 to this one. You're and awesome guy btw.

I have a few questions though.
Thanks. You're making me dizzy I just answered your other Qs in the other thread smile.gif
QUOTE (bobdurfob @ Aug 29 2009, 11:29 PM) *
I was wondering where I could find a reliable download for Snow Leopard (or a version that's hacked to work with PC like iDeneb, XxX, etc.). I know the forum rules say no linking and stuff, so a simple "go away noob" or "I know it's illegal, but if you google blah blah blah you'll find it" will suffice for me.
You guessed right - the official rules are:
http://www.insanelymac.com/forum/index.php?showtopic=14364
The only extra hint I have is get the final "gold" (build 10a432) version at this point, which is the one available for retail, not one of the older WWDC version(s).
zerotri
Thanks bcc9 for all your help. If you ever need someone to test anything just let me know; I owe you for all the help you've given; everyone here owes you for what you've done for us.

The netkas DSMOS did in fact work. For whatever reason, the DSMOS listed in the infinitemac thread didn't seem to work at all...at least in 32 bit mode(which is what matters for us Wireless 1515 owners). I'm also using your HCIBluetooth Kext without trouble at all.

I'm curious though: I read somewhere that HDMI on mac os does not send the audio packets. I'm assuming that there is no way to add this through kext modifications(or custom-built ones), but maybe you could clarify if this is at all possible?

Again, thank you for all your hard work and time.
-Wynter Woods
bcc9
QUOTE (zerotri @ Aug 29 2009, 11:42 PM) *
Thanks bcc9 for all your help. If you ever need someone to test anything just let me know; I owe you for all the help you've given; everyone here owes you for what you've done for us.

The netkas DSMOS did in fact work. For whatever reason, the DSMOS listed in the infinitemac thread didn't seem to work at all...at least in 32 bit mode(which is what matters for us Wireless 1515 owners). I'm also using your HCIBluetooth Kext without trouble at all.

I'm curious though: I read somewhere that HDMI on mac os does not send the audio packets. I'm assuming that there is no way to add this through kext modifications(or custom-built ones), but maybe you could clarify if this is at all possible?

Again, thank you for all your hard work and time.
-Wynter Woods
Yes, that guide was pointing to an old version of dsmos (that's what I wrote before in boldface) that wouldn't work with the "gold" version. You'll notice a bunch of other people in that thread had the same problem you did. I don't know what took 'em so long but the guide author finally just replaced the reference with one to fakesmc instead. Some other sites have a guide that's a bit nicer at this point but it references a bunch of repacked kexts; I don't know why people don't just link to the originals...

Thanks, I do have a list of 5 things at the end of post #1 that I need help with smile.gif

As for HDMI audio, it may be possible to add the 2nd codec to the legacyhda kexts. May also get rid of those AppleHDA errors during boot time. I'm not sure but real apple hardware may never have 2 codecs working off of one HDA controller so maybe it'll never work... Anyone have HDMI audio working on a macbook pro?
bobdurfob
Wow awesome thank you. So in your other guide (10.5.6 - 10.5.8) you said you use grub. I am not familiar with grub, so I googled "grub boot loader" and I got GNU Grub. From reading the site I'm quite sure that's the software you were speaking of. Now I went to the downloads section there are two options, Grub Legacy and Grub2. I was wondering which one is the one you are using or is the most effective (I would assume those are the same reasons).

^Sorry about the above. I didn't read the site thoroughly enough. I'm assuming you would use the latest build, Grub 2 (1.96).

I also did make the right guess yesterday and I do have Snow Leopard 10a432 user DVD as a dmg file. From other websites I read SL can be installed as a standalone, with no need for previous installs of Leopard or Tiger (contrary to what Apple says). Is it possible to install 10.6 clean without previous installs of OS X and do I need another program + the disc to facilitate an install?

Thank you very much bcc9.


Edit:
Oh and sorry for all the questions, but (this is my frail attempt at justifying pestering you so much) I trust your judgement and instructions the most since you have experience with almost exactly what I am doing and what you have done has worked. I really respect that. Just wanted to say thanks again.
bcc9
QUOTE (bobdurfob @ Aug 30 2009, 12:28 AM) *
Wow awesome thank you. So in your other guide (10.5.6 - 10.5.8) you said you use grub. I am not familiar with grub, so I googled "grub boot loader" and I got GNU Grub. From reading the site I'm quite sure that's the software you were speaking of. Now I went to the downloads section there are two options, Grub Legacy and Grub2. I was wondering which one is the one you are using or is the most effective (I would assume those are the same reasons).

I also did make the right guess yesterday and I do have Snow Leopard 10a432 user DVD as a dmg file. From other websites I read SL can be installed as a standalone, with no need for previous installs of Leopard or Tiger (contrary to what Apple says). Is it possible to install 10.6 clean without previous installs of OS X and do I need another program + the disc to facilitate an install?

Thank you very much bcc9.
There are 3 grubs unfortunately - grub4dos, grub legacy, and grub2. I use grub legacy on my 1340 as that's the version that fedora supports. grub4dos is what vistaloader uses for SLIC hackery. One of the other linux distros switched to grub2, but it was probably a bit premature. When grub2 becomes a little less beta it'll probably be the unifying solution as it should handle OSX directly too.
If you're only going to use windows&osx I'd think you could get by with chameleon, unless you're depending upon SLIC hackery too.

Assuming you have an OSX machine to prep with, you can unpack the dmg to an external usb drive and boot from that (with dsmos, voodoops2 changes). There are "Install Snow Leopard using hard disk partitions" instructions that come with most 10a432 copies.
I installed from an older live OS instead as I couldn't figure out how to do the MBR install with the usb drive solution.
bobdurfob
What is "SLIC hackery"?

Also I would prefer to follow the track you did since it works. I'm still learning about how to do all this, so I'm not very comfortable attempting "new" things. Now I know that 10.5.6 works on my 1340, the only problem I really have is the boot issue. Here's what I do:

Vista is already installed and running.
1) My Computer -> R click -> Manage -> Disk Management -> Shrink main partition with Vista OS

Now here's where it gets weird for me. Do I format the partition as NTFS or leave it be? Should I set this partition as a "Simple Volume"?

2) Restart computer with OS X disk inserted -> using Disk Utility, format the partition as Mac OS (Journaled) -> Install Leopard.

3) Wait, restart computer, enter info, start installing fixes (as per your guide). Now how I installed Chameleon was I downloaded it from their site, unzipped, then installed the .pkg. I open the terminal and do the console commands, as per another guide I found on this forum. I restart the computer, and it goes to the all too common boot:0 boot:main black screen of frustration.

I have no clue how to properly set it up to dual boot. I've done it a few years ago on my desktop, but that was with two separate hard drives and all it really involved was choosing it in the startup menu in the BIOS. Do you think you could provide me with some guidance in that matter?

Here's the guide I attempted to follow. The latest post was quite "recent", May of this year, but I don't understand some of the stuff that's going on.

http://www.insanelymac.com/forum/index.php...4749&st=400
smarcix
i have to go my system whit ioreg -l -t -x -w900 | grep PinConfig or ioreg -l -t -x -w900 | grep HDAConfig ricght?
pmcnano
loool, no...thats on terminal dude..
bcc9
QUOTE (bobdurfob @ Aug 30 2009, 01:33 AM) *
What is "SLIC hackery"?
Fake OEM license info for windows. I shouldn't have mentioned it; it's unnecessary for this laptop anyways.
QUOTE (bobdurfob @ Aug 30 2009, 01:33 AM) *
Also I would prefer to follow the track you did since it works. I'm still learning about how to do all this, so I'm not very comfortable attempting "new" things. Now I know that 10.5.6 works on my 1340, the only problem I really have is the boot issue. Here's what I do:

Vista is already installed and running.
1) My Computer -> R click -> Manage -> Disk Management -> Shrink main partition with Vista OS

Now here's where it gets weird for me. Do I format the partition as NTFS or leave it be? Should I set this partition as a "Simple Volume"?
I don't know what answer to give you, there are a million ways you could get to the same result; this is why I didn't write a general guide (or a multiboot guide). I should think you'd leave the partition unallocated as you're doing everything with disk utility in your next step anyways.

QUOTE (bobdurfob @ Aug 30 2009, 01:33 AM) *
2) Restart computer with OS X disk inserted -> using Disk Utility, format the partition as Mac OS (Journaled) -> Install Leopard.

3) Wait, restart computer, enter info, start installing fixes (as per your guide). Now how I installed Chameleon was I downloaded it from their site, unzipped, then installed the .pkg. I open the terminal and do the console commands, as per another guide I found on this forum. I restart the computer, and it goes to the all too common boot:0 boot:main black screen of frustration.
In your step 3) I don't think you need any 10.5.x fixes if you're just using 10.5.x to install 10.6. As for chameleon, it sounds like the console commands weren't done right. I thought chameleon's installer could do everything for you.
Personally I manage my bootloader installs myself using dd commands from linux. For chameleon I believe this is the same as the 3 sudo commands in the chameleon install instructions (that come with it btw in doc/README)

I really can't give general rules on how to multiboot, there are too many variables. You really don't want to do what I do; I'm multibooting 3 versions of windows, 3 versions of osx, and linux on my 1340 right now, across 2 disks. It's quite crazy.
shumik
Is it possible to upgrade from 10.5.7 to 10.6, do I need to format everything?
bobdurfob
Thanks bcc9. I was wondering if you could give me some help with installing Chameleon. I dled the Chameleon-2.0-RC2-r640 file from their site, and I unzipped it in Leopard. I then ran the pkg file and installed it. Now I am trying to follow this guide online, and I did read 2 or 3 other threads that also had people using Chameleon as a bootloader, and it's all generally the same. I followed instructions but when I got the point where I had to do the terminal commands, I get stuck.

"fdisk -f boot0 -u -y /dev/rdisk0" is one of the commands I had to do (and that is assuming that I installed Leopard on /dev/disk0s1, which it isn't on.)

When I run that command it tells me "No such file or directory"

I actually have 5 partitions on my hard drive:
disk0s1, which is 94.1MB that I did not create
RECOVERY, which is Vista standard I believe
My Vista partition
disk0s5, which is for 10.6
and Leopard, for Leopard

It is listed in that order in Disk Utility. Help?
bcc9
QUOTE (bobdurfob @ Aug 31 2009, 12:07 PM) *
disk0s5, which is for 10.6
and Leopard, for Leopard
As I said, the chameleon bootloader only handles basic (partition #s 1 thru 4) MBR partitions.
So assuming your disk was as originally partitioned by dell, it's MBR based and disk0s5 is out of bounds.
You could compile your own bootloader that puts back support for extended MBR partitions (and takes out the GUID support).
Otherwise you have to simplify your partitioning.
pmcnano
ok I can tell this time, that i failed. I couldnt install SL. I just tried once since I dont have time, I have to get my laptop 100% installed for tonight so........

Anywayz, I installed correctly, applied all patched+kexts..and it booted though, it hannged in the grey screen before the Intro Video. weird..
Komuri
Could you please give me the steps of how do you install SL? A link to the guide (if that´s the case) would be good to . Thanks in advance.

I used the method described here: http://www.insanelymac.com/forum/index.php?showtopic=181903 , but I skipped some unnecesary steps (I think), and replace the kext they use with the ones you post. I have been able to boot into SL, but there are to many problems. I can´t make the sound work and when I try to install Voodoops2controllers 0.98, the system panics (actually I got it working one time, but I did a mess with the replacement of the voodoops2controller, and vuala.... panic again....)

Please help me, I think I´m doing all wrong (I succesfully installed Leopard 10.5 with your other guide), I´m using GUID partition and been booting with -x32.
itwong
What is the progress on getting snow leopard booting in 64 bit mode on 1340?
what kexts are ready for 64 bit mode?
Thank you for the update
macooks
QUOTE (itwong @ Sep 1 2009, 05:24 PM) *
What is the progress on getting snow leopard booting in 64 bit mode on 1340?
what kexts are ready for 64 bit mode?
Thank you for the update


Hello everyone, this might sound noob, but please help.

I managed to install 10.5.8 and it runs solid with the first guide from bbc9
Now I install Snow Leo, it succeeds using altered osintall.mpkg from inside Leo.
Installation ends successfully. I then put dsmos in the Extensions folder, fix the permissions
I already have my Leo partition as active and Chameleon v2 is installed in it.
I then try to boot to SL. Kernel Panic. What did I do wrong ?? I cannot boot even running -x32, same kernel panic.

Thanks for any support.
pmcnano
You could...post a screenshot with the kernel panic, that would help to know whats the kp about...

psirus
can anyone pls tell me if its possible to upgrade the OS instead of reinstall the 10.6?
Komuri
@psirus. What I know, is that is not possible. You need to do a clean install.
zev
QUOTE (psirus @ Sep 2 2009, 09:35 AM) *
can anyone pls tell me if its possible to upgrade the OS instead of reinstall the 10.6?


time machine your stuff first, then clean install snow leopard on another partition...and restore your documents on your new snow leopard install... that's usually how i do it.

QUOTE (bcc9 @ Aug 29 2009, 06:14 PM) *
Check:
ioreg -l -t -x -w900 | grep PinConfig
and
ioreg -l -t -x -w900 | grep HDAConfig

to verify that the plist values from those two legacy kexts got loaded right.


I got some values on my terminal for PinConfig, not quite for HDAConfig, can you point me to the right direction for trouble shooting the kext for HDAConfig? Seems to me the kext is installed but it's not loaded for some reason unknown.
shumik
QUOTE (zev @ Sep 2 2009, 11:10 AM) *
time machine your stuff first, then clean install snow leopard on another partition...and restore your documents on your new snow leopard install... that's usually how i do it.


Will this method restore your apps and unix environment (all the tools I installed through fink)?
bcc9
QUOTE (zev @ Sep 2 2009, 09:10 AM) *
I got some values on my terminal for PinConfig, not quite for HDAConfig, can you point me to the right direction for trouble shooting the kext for HDAConfig? Seems to me the kext is installed but it's not loaded for some reason unknown.
If you look in the LegacyAppleHDAController.kext I posted, HDAConfigDefault is one of the keys that should get populated in the ioregistry if the kext matches (which it should). Try loading the kext manually with kextload -v. I suspect you didn't get the ownerships/permissions/kext cache set up right.
bcc9
QUOTE (Komuri @ Aug 31 2009, 08:06 PM) *
Could you please give me the steps of how do you install SL? A link to the guide (if that´s the case) would be good to . Thanks in advance.
Very well, since so many people seem to be having problems; here's my install method. I don't think you're going to like it, it's hardly click to install... I have not tried re-doing a fresh install based upon this (ie this is not proofed). This is from my notes.

Pre-flight:

Boot 1340 from an existing OSX install.
Get chameleon or pc-efi v10 bootloader installed & working.
Setup your /Extra/smbios.plist so that the model name isn't genuine (parts of the installer look at this; I'm not sure if leaving the model set to MacbookPro4,1 causes failure or not, but it seems to cause issues...) I use:
CODE
<?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>SMproductname</key>
<string>Studio XPS 1340</string>
<key>SMmemspeed</key>
<string>1066</string>
<key>SMexternalclock</key>
<string>266</string>
<key>SMmemtype</key>
<string>24</string>
</dict>
</plist>

Reboot & verify that system profiler has 'Model Identifier:' set as above.
Take the .dmg of snow leopard, the gold/10a432 version, open it in diskutility and uncompress the dmg into a copy so that it is read/write instead of read only (hint: diskutility's convert command).
Find a copy of the 10a432 version of OSInstall.mpkg that has been hacked to set eraseoptionavailable to false (or leave it unset) in Distribution, or modify it yourself.
hdiutil attach the uncompressed .dmg read/write and replace the OSInstall.mpkg in System/Installation/Packages with the hacked version. This allows installing to MBR-partitioned disks.
unmount the .dmg

Partition your disk as MBR with a new partition for snow leopard. I recommend using an external 1.5gbps esata disk, but it's up to you. I use linux fdisk to do the partitioning dirty work since that way I can control exactly how the partitioning is being done. Be sure that the new partition is number 1,2,3, or 4, due to the MBR support limitations in chameleon 2.x. Set the partition type to NTFS or hfs so that disk utility can recognize it during the install.
Grab the 10a432 version of dsmos.kext or fakesmc.kext from netkas.org.

Time for the install:

remount the dmg you just built, this time read only (click on it thru the finder if you want)
browse to the OSInstall.mpkg, and click on it to start the install
Select the partition you set up with fdisk, allow the install to proceed.
Before rebooting:
Remount the new snow leopard partition with mount -u -o suid
cd to the partition
mkdir Extra
mkdir Extra/Extensions
put dsmos.kext or fakesmc.kext in Extra/Extensions
copy in your VoodooPS2Controller.kext from 10.5.x (the one I posted) into Extra/Extensions/VoodooPS2Controller.kext
Those are the only kext changes you need to get the system up.
copy in your /Extra/smbios.plist to Extra/smbios.plist
chown -R root:wheel Extra/Extensions
chmod -R 755 Extra/Extensions
Build the kext cache for the snow leopard partition:
CODE

ROOT=path-to-your-snow-partition
kextcache -a i386 -K $ROOT/mach_kernel -m $ROOT/Extra/Extensions.mkext $ROOT/Extra/Extensions

copy the DSDT.aml I posted into Extra/DSDT.aml
Edit Library/Preferences/SystemConfiguration/com.apple.Boot.plist, adding -v arch=i386 to Kernel Flags

Now you can boot the snow leopard install and finish the other platform specific steps.
pmcnano
Meh, its almost my method......I dont know then why it didnt work, too lazy to try again, though i have a 9gb partition to try lol..
Komuri
Thanks for the response! biggrin.gif... Actually it´s quite the same as what I have done (I tried with the MBR partition, but the lack of support for 4 or more partitions that has Chameleon make me change it to GUID)... I wonder what am I doing wrong... mellow.gif
bcc9
QUOTE (Komuri @ Sep 2 2009, 09:24 PM) *
Thanks for the response! biggrin.gif ... Actually it´s quite the same as what I have done (I tried with the MBR partition, but the lack of support for 4 or more partitions that has Chameleon make me change it to GUID)... I wonder what am I doing wrong... mellow.gif

Well if you'd look at the panic message then maybe you could stop wondering... I still get an occasional crash at boot time because of AppleHDA, but it always is fine upon reboot.
zev
okay a small update,

i sudo as root and manually kextload both Legacy HDA kext, and i can only generated the same result, PinConfigurations shows up while nothing from HDAConfig.

Also My Audio shows up as Intel HDA with Device ID: 0x10280271 and Audio ID 12, yet there aren't anything from the preference panel.

I have to switch back to Windows 7 and see if these 2 numbers match or not.

IOREG apple doc

ioreg displays all the io registries... and in your original command we specifically wants everything displayed on to the terminal... but in my case i see nothing of that.. and assuming i have set and loaded the kext correctly.. i might missed something in the middle...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.