Jump to content

Chameleon RC4 is out!


Poco
 Share

1,054 posts in this topic

Recommended Posts

Adding _SUN on a built-in component kills the built-in feature, however you can still inject the built-in stuff but "apple" will see that component as external device and that is wrong...especial for network ;)

 

you are totally right,

but i had also added a _DSM method with a "built-in" entry so it's also managed as built-in device by OSX

Link to comment
Share on other sites

Built-in cards shouldn't show up on PCI Cards under system profiler, adding _SUN for soldered stuff is so WRONG, then why to inject built-in code if is on pci/pcie slot? LOL

 

If is about a PCI or PCIe card then things changes, it should show up on system profiler PCI section, but only if there is a _SUN added on DSDT to identify the slot number plus a check to see if the slot is empty or not(and not publish the pcibridge if empty), or booter can do the same if it can enumerate the slots correctly, most cases NOT(at least with actual code).

 

Apple can give you a free exampe in his DSDT's...

 

thats not really true,

also macs show the ethernet card and in a macbook pro there are no pci-slots.

Link to comment
Share on other sites

thats not really true,

also macs show the ethernet card and in a macbook pro there are no pci-slots.

We are talking about PCI Cards section of system profiler not Ethenet Cards!

And macbookpro's have minipciexpress slot(airport)

Link to comment
Share on other sites

Hi king, i have a question for you. I have noted this now.

Preamble: my p5q deluxe. On it i have 2 yukon lan internal (8056 & 8001), and 1 lan pci Atheros.

Ok, the code for these is:

 

Device (LAN1) // Atheros
			{
				Name (_ADR, 0x00010000)   
				Name (_SUN, 0x05)
				Alias (PW93, _PRW)
			}

			Device (LAN2)   // 8056
			{
				Name (_ADR, 0x00020000)  
				Name (_SUN, 0x07)
				Alias (PW93, _PRW)
			}

.......

	  Device (LAN1)   // 8001
			{
				Name (_ADR, Zero)
				Name (_SUN, 0x04)
				Alias (PW93, _PRW)
			}

 

In efi i have for each of them:

schermata20100413a22242.png

 

64 bit mode

 

Now, if i take off the SUN from 2 yukon internal, themeselves no longer 'seen as internal from ioreg and this only for removing the SUN. Why? Should not be so, or no? According to your reasoning. Or ioreg is wrong?

I'm a bit confuse.

 

Sorry for my English, can you explain this in a easy English, please? Can you clarify me the ideas?

 

Thanks;)

Link to comment
Share on other sites

I don't get why you use both DSDT and device-properties injection for the same thing?

Unless you have a board with 7 pci/pci express slots _SUN 0x07 is wrong!

As I said for soldered cards use just built-in 0x00 not 0x01(another common mistake) and also apple use ETH0, ETH1 for ethernet and ARPT for wifi card on newer machines, use that.

Again device-type is wrong, look on original apple ioreg and copy/paste...

Name is just cosmetic and can be added for all.

Link to comment
Share on other sites

Thanks king, I think you understand.

 

I don't get why you use both DSDT and device-properties injection for the same thing?

 

Only for a smaller and easier to read dsdt, only for this;)

 

I corrected in this way, tell me if I'm wrong:

 

Device (ARPT)

{

Name (_ADR, 0x00010000)

Name (_SUN, 0x04) //PCI_2

Alias (PW93, _PRW)

}

 

Device (ETH1)

{

Name (_ADR, 0x00020000)

/* Name (_SUN, 0x07) */

Alias (PW93, _PRW)

}

 

........

 

Device (ETH2)

{

Name (_ADR, Zero)

/* Name (_SUN, 0x04) */

Alias (PW93, _PRW)

}

 

.........

schermata20100414a15203.png

 

I removed all device type.

 

 

Thanks for helping us understand

Link to comment
Share on other sites

I love the chameleon bootloader but I feel that v2 RC1 will be used until we can get an installer like before. Simplification is the best to keep people like me from screwing up an install.

Not really sure what you mean, but there are plenty of RC4/RC5 installer packages out there!

Link to comment
Share on other sites

Can someone give me an exaple of how to set the system type in chameleon bootloader, I hve read you have to add it in the Boot.plist, but don't understand how. Is it a key or a kernel flag? I have a laptop and would like to set the system-type to 2(Laptop) instead of 1 (Desktop).

 

Could someone post an example of a Boot.plist with this option enabled. Thanks.

Link to comment
Share on other sites

Can someone give me an exaple of how to set the system type in chameleon bootloader, I hve read you have to add it in the Boot.plist, but don't understand how. Is it a key or a kernel flag? I have a laptop and would like to set the system-type to 2(Laptop) instead of 1 (Desktop).

 

Could someone post an example of a Boot.plist with this option enabled. Thanks.

Hi ArgVega,

Here you have example from my laptop, last key+string is what you want to change in your 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>Boot Banner</key>
<string>No</string>
<key>DSDT</key>
<string>/dsdt.aml</string>
<key>Default Partition</key>
<string>hd(0,3)</string>
<key>Graphics Mode</key>
<string>1440x900x32</string>
<key>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string>boot-uuid=BBB4DCBA-EECF-424E-AF60-05BD9F0D39A4 arch=i386</string>
<key>SMBIOS</key>
<string>/smbios.plist</string>
<key>Theme</key>
<string>Default</string>
<key>Timeout</key>
<string>1</string>
<key>system-type</key>
<string>2</string>
</dict>
</plist>

Link to comment
Share on other sites

I Just upgraded from 10.5.8 to snow leopard 10.6.3 with usb then when I reinstalled chameleon I get stuck at the grey loading screen can any one help me?? I've searched google, forums but nothing that really helped :/

 

 

PLZ HELP!!

 

Hi dudeloganz.

 

Tell me if you are getting the boot prompt or not?

If you can see the boot prompt, then try booting with the flag -v

Then, post what all text is displayed.

 

Lastly, Did you install on separate partition and have another working leopard install?

Or simply upgraded an existing Leopard 10.5.8 -> SL without replacing the necessary kexts?

 

Here to help.

 

Regards,

Freaky Chokra

Link to comment
Share on other sites

I prefer RC3. If it ain't broke don't fix it :)

Isn't always the best approach.

RC4 has new features. Now, I am down to only 1 (fakesmc) kext in E/E with everything working perfectly.

Anyway, it's easily reversible. Try it, and if it doesn't work, go back to your trusty old RC3.

Link to comment
Share on other sites

Hi ArgVega,

Here you have example from my laptop, last key+string is what you want to change in your 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>Boot Banner</key>
<string>No</string>
<key>DSDT</key>
<string>/dsdt.aml</string>
<key>Default Partition</key>
<string>hd(0,3)</string>
<key>Graphics Mode</key>
<string>1440x900x32</string>
<key>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string>boot-uuid=BBB4DCBA-EECF-424E-AF60-05BD9F0D39A4 arch=i386</string>
<key>SMBIOS</key>
<string>/smbios.plist</string>
<key>Theme</key>
<string>Default</string>
<key>Timeout</key>
<string>1</string>
<key>system-type</key>
<string>2</string>
</dict>
</plist>

 

Thanks for your help mate.

 

I was wondering, would that string work in pc efi 10.6? I know it works under pc efi 10.5, which is chameleon rc4 based. I have typed ioreg in the terminal, but I can't find the system-type key in it.

 

Also does your bettery meter show up?

Link to comment
Share on other sites

Great work!

 

I have everything running, but my Galaxy GT240 512M (0x0ca3)

Can't go beyound 1024x768, Need to have dual monitors working.

 

Tried installing the new Nvidia 3.0 CUDA drivers. That had the Device recognized as the Geforce GT240 in System Profile.

 

I hope you add more support for the GT2xx cards.

 

Thanks

 

max

Link to comment
Share on other sites

Thanks for your help mate.

 

I was wondering, would that string work in pc efi 10.6? I know it works under pc efi 10.5, which is chameleon rc4 based. I have typed ioreg in the terminal, but I can't find the system-type key in it.

 

Also does your bettery meter show up?

system-type=2 gives me extra `battery` tab in System Preferences under Energy saver options, for battery icon I need voodoobattery.kext in E/E

I don't know how it works on pc efi 10.6, I use AsereBLN 1.1.9 booter.

best

s

Link to comment
Share on other sites

 Share

×
×
  • Create New...