Jump to content

Mac OS X Lion (Developer Preview) Released


harrydeo
 Share

1,521 posts in this topic

Recommended Posts

ALC888 audio is working courtesy of a solution by Xmedik from a post by Sunki

I haven't asked permission to post this so I apologise in advance if Xmedik takes offence but hopefully he won't.

Xmedik_post.png

 

I am using the Gigabyte EP45-DS3L and can confirm this works for me.

System_Prefs_Audio.png

 

The solution comprises a patched AppleHDA.kext:

 

and a Device (HDEF) patch for DSDT.

	Device (HDEF)
{
	Name (_ADR, 0x001B0000)
	Method (_PRW, 0, NotSerialized)
	{
		Return (Package (0x02)
		{
			0x05, 0x05
		})
	}

	Method (_DSM, 4, NotSerialized)
	{
		Store (Package (0x16)
		{
			"AAPL, slot-name ", Buffer (0x09) {" Built In "},
			"built-in ", Buffer (One) {0x00},
			"device_type ", Buffer (0x06) {" AUDIO "},
			"name ", Buffer (0x07) {"ALC888"},
			"model", Buffer (0x0E) {"realtek audio"}, 
			"location", Buffer (0x02) {"3"}, 
			"hda-gfx", Buffer (0x0A) { "onboard-1"}, 
			"subsystem-id", Buffer (0x04) {0x07, 0x00, 0x00, 0x00}, 
			"subsystem-vendor-id", Buffer (0x04) {0xDE, 0x10, 0x00, 0x00}, 
			"layout-id ", Buffer (0x04) {0x0C, 0x00, 0x00, 0x00},
			"PinConfigurations ", Buffer (Zero) { }

		}, Local0) 
	DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
	Return ( Local0)
	}
} 

 

I've posted the files as I've found them but I'm sure the DSDT patch can be tweaked as System Profiler/Audio currently shows me this:

System_Profiler_Audio.png

 

But for now I'm happy.

Great work Xmedik

 

Regards :wacko:

try this one => http://www.mediafire.com/?iz5znq3z176n5hd (please pay attention to the creation date of the included files :wacko: )

 

edit: (the DSDT part)

 

Device (HDEF)
		{
			Name (_ADR, 0x001B0000)
			Method (_PRW, 0, NotSerialized)
			{
				Return (Package (0x02)
				{
					0x0D, 
					0x05
				})
			}

			Method (_DSM, 4, NotSerialized)
			{
				Store (Package (0x0E)
					{
						"subsystem-id", 
						Buffer (0x04)
						{
							0xA0, 0x00, 0x00, 0x00
						}, 

						"subsystem-vendor-id", 
						Buffer (0x04)
						{
							0x6B, 0x10, 0x00, 0x00
						}, 

						"codec-id", 
						Buffer (0x04)
						{
							0x88, 0x08, 0xEC, 0x10
						}, 

						"layout-id", 
						Buffer (0x04)
						{
							0x78, 0x03, 0x00, 0x00
						}, 

						"device-type", 
						Buffer (0x07)
						{
							"ALC888"
						}, 

						"PinConfigurations", 
						Buffer (0x28)
						{
							/* 0000 */	0x40, 0x90, 0xA1, 0x90, 0x50, 0x90, 0xA1, 0x02, 
							/* 0008 */	0x60, 0x30, 0x81, 0x01, 0x70, 0x40, 0x21, 0x02, 
							/* 0010 */	0x10, 0x40, 0x11, 0x01, 0x20, 0x10, 0x01, 0x01, 
							/* 0018 */	0x30, 0x60, 0x01, 0x01, 0x80, 0x20, 0x01, 0x01, 
							/* 0020 */	0x90, 0x61, 0x4B, 0x01, 0xA0, 0x01, 0xCB, 0x01
						}, 

						"platformFamily", 
						Buffer (One)
						{
							0x00
						}
					}, Local0)
				DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
				Return (Local0)
			}
		}

 

-------------------------------------------------------

 

 

everyone: please do not share binary files extracted from Lion (or at least not publicly)

Link to comment
Share on other sites

I've posted the files as I've found them but I'm sure the DSDT patch can be tweaked as System Profiler/Audio currently shows me this:

post-331032-1299179065_thumb.png

 

But for now I'm happy.

Great work Xmedik

 

Regards :wacko:

Works for my ALC262:

post-234237-1299209870_thumb.png

My Files for ALC262 (HP xw4600):

ALC262.zip

My DSDT:

Device (HDEF)
{
Name (_ADR, 0x001B0000)
Name (_PRW, Package (0x02) { 0x0D, 0x05 })
       Method (_DSM, 4, NotSerialized)
       {
               Store (Package ()
               {
                     "built-in", Buffer (One) { 0x00 }, 
                     "layout-id", Buffer (0x04) { 0x06, 0x01, 0x00, 0x00 }, 
                     "device-type", Buffer () { "Realtek ALC262" }, 
                     "PinConfigurations", Buffer () { 0x00 }
               }, Local0)
	DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
	Return (Local0)
}
}

I hope to help :wacko:

Link to comment
Share on other sites

Hi All

 

Mac OSX Lion has been released to mac developer program members. If you are a Mac developer program member you can start at

 

http://developer.apple.com/devcenter/mac/c.../lion/index.php

 

I am downloading it right now. It is only available via Mac App Store.

 

Will only run on Core 2 Duo onwards.

 

Ok, Graphic is working with the rightone NVEnabler.kext and the "originals" GeForce.kexts...

No Changes an NV50HALxxx and NVResman.kext needed... 8)

 

But still this Error, i think it is not dependend from DSDT.aml, because, Booting without DSDT its the same...

 

USBF: 2.263 EHCI controller unable to take control from BIOS

USBF: 2.267 AppleUSBEHCI[0xffffff80099ca000]: unable to obtain ownership: 0xe00002be

USBF: 2.273 AppleUSBEHCI[0xffffff80099ca000]::UIMInitialize - Error occurred (0xe00002be)

USBF: 2.281 AppleUSBEHCI[0xffffff80099ca000]::UIMFinalize isInactive(0) _pEHCIRegisters(0) _device(0xffffff800a0b8700)

USBF: 2.288 AppleUSBEHCI[0xffffff80099ca000]::start unable to initialize UIM

 

Anyone have this too?

No Highspeed USB-Ports only USB 1.1.

 

How to resolve this?

 

 

Rene

Link to comment
Share on other sites

Ok, Graphic is working with the rightone NVEnabler.kext and the "originals" GeForce.kexts...

No Changes an NV50HALxxx and NVResman.kext needed... 8)

 

But still this Error, i think it is not dependend from DSDT.aml, because, Booting without DSDT its the same...

 

USBF: 2.263 EHCI controller unable to take control from BIOS

USBF: 2.267 AppleUSBEHCI[0xffffff80099ca000]: unable to obtain ownership: 0xe00002be

USBF: 2.273 AppleUSBEHCI[0xffffff80099ca000]::UIMInitialize - Error occurred (0xe00002be)

USBF: 2.281 AppleUSBEHCI[0xffffff80099ca000]::UIMFinalize isInactive(0) _pEHCIRegisters(0) _device(0xffffff800a0b8700)

USBF: 2.288 AppleUSBEHCI[0xffffff80099ca000]::start unable to initialize UIM

 

Anyone have this too?

No Highspeed USB-Ports only USB 1.1.

 

How to resolve this?

 

 

Rene

 

This DSDT patch should help

Link to comment
Share on other sites

This DSDT patch should help

 

thanks a lot, but DSDT patching is not for me.. hve done some work before on Tiger and Leo, but i´m now out of work for a long Time...

 

Use the DSDT from Tonymac for GA-P55_USB3 (BIOS F8), if someone can edit the DSDT for me, it would be very nice...

(BtW, the Code in your Link is broken, have a look to the right side..there are letters, that could be wrong ...?)

 

Thanks a lot... Rene

Link to comment
Share on other sites

try this one => http://www.mediafire.com/?iz5znq3z176n5hd (please pay attention to the creation date of the included files :P )

 

edit: (the DSDT part)

 

Device (HDEF)
		{
			Name (_ADR, 0x001B0000)
			Method (_PRW, 0, NotSerialized)
			{
				Return (Package (0x02)
				{
					0x0D, 
					0x05
				})
			}

			Method (_DSM, 4, NotSerialized)
			{
				Store (Package (0x0E)
					{
						"subsystem-id", 
						Buffer (0x04)
						{
							0xA0, 0x00, 0x00, 0x00
						}, 

						"subsystem-vendor-id", 
						Buffer (0x04)
						{
							0x6B, 0x10, 0x00, 0x00
						}, 

						"codec-id", 
						Buffer (0x04)
						{
							0x88, 0x08, 0xEC, 0x10
						}, 

						"layout-id", 
						Buffer (0x04)
						{
							0x78, 0x03, 0x00, 0x00
						}, 

						"device-type", 
						Buffer (0x07)
						{
							"ALC888"
						}, 

						"PinConfigurations", 
						Buffer (0x28)
						{
							/* 0000 */	0x40, 0x90, 0xA1, 0x90, 0x50, 0x90, 0xA1, 0x02, 
							/* 0008 */	0x60, 0x30, 0x81, 0x01, 0x70, 0x40, 0x21, 0x02, 
							/* 0010 */	0x10, 0x40, 0x11, 0x01, 0x20, 0x10, 0x01, 0x01, 
							/* 0018 */	0x30, 0x60, 0x01, 0x01, 0x80, 0x20, 0x01, 0x01, 
							/* 0020 */	0x90, 0x61, 0x4B, 0x01, 0xA0, 0x01, 0xCB, 0x01
						}, 

						"platformFamily", 
						Buffer (One)
						{
							0x00
						}
					}, Local0)
				DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
				Return (Local0)
			}
		}

Thank you cparm

That's a cleaner solution, audio works and System Profiler/Audio is now populated again.

:wacko:

post-331032-1299224052_thumb.png

 

p.s sorry about the posted binary, i'll remove from your server now.

Link to comment
Share on other sites

Hi...!!

 

I installed lion on a guid partition on a external HD,but when I boot at the end with a pen drive again, I see the icon of my Lion HD ,but when I click on it ,it begins to load with message "verbose mode " and then the screen shows a "forbiden"plate on a grey screen...

so...

 

c.frio

Link to comment
Share on other sites

my probleme resolved !!! ;)

 

http://www.insanelymac.com/forum/index.php...250104&st=0

 

 

master74 , try it you too !!!! :D

@fantomas1

I did not understand this step:14. Go back to “Terminal.app” and type the following (drag and drop FakeSMC.kext)

sudo su


chown –R 0:0 FakeSMC.kext

chmod –R 755 FakeSMC.kext

when I write these commands

I get this error:

sh-3.2# chmod –R 755 FakeSMC.kext

chmod: Invalid file mode: –R

sh-3.2# chown –R 0:0 FakeSMC.kext

chown: –R: Invalid argument

sh-3.2#

;)

Link to comment
Share on other sites

On Asus P5E I could boot SL and Lion using [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] from this topic, but only without a DSDT replacement

http://osx86.co/f36/new-duet-based-efi-bootloader-t6383/

 

With latest version from channel topic on IRC I get kernel panic "no HPETs available", unless I use AcpiPatcher module from XPC (DSDT replacement works).

 

@master74

try typing the commands instead of using copy/paste, looks like the problem is the char "–" which is different from "-".

Link to comment
Share on other sites

slide FakeSMC.kext since your USB drive towards Terminal, thus that gives you this:

 

chown -R 0:0 /Volumes/Mac\ OS\ X\ Base\ System/System/Library/Extensions/FakeSMC.kext

 

chmod -R 755 /Volumes/Mac\ OS\ X\ Base\ System/System/Library/Extensions/FakeSMC.kext

Link to comment
Share on other sites

Is it possible to place the fakesmc.kext on the [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] usb drive? I want to start making my install vanilla.

 

We need a 10.7 chameleon! x]

Link to comment
Share on other sites

better time it's to use 2 usb flashdrives , 1 for [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] et 2 for Restore “Mac OS X Base System” from “BaseSystem.dmg” ; restore FakeSMC.kext on 2 !!!

Link to comment
Share on other sites

better time it's to use 2 usb flashdrives , 1 for [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] et 2 for Restore “Mac OS X Base System” from “BaseSystem.dmg” ; restore FakeSMC.kext on 2 !!!

Yep, thats also my way to avoid the MBR not installable problem. I will clone the USB pen (>= 8 GB), in GUID, after install to my MBR HD Partitions.

Link to comment
Share on other sites

Hi,

 

I was able to run Lion on Asus P5E using AcpiPatcher.efi from XPC in modules folder of [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] USB. Without it I get a kernel panic (no HPETs available).

 

AcpiPatcher.efi.zip

 

I got it from this thread

http://www.applelife.ru/topic/15420-xpc-н...ne-tom__st__930

 

The bad side effect is it breaks [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] SMBIOS patching. CPU speed is wrong.

 

post-3038-1299186905_thumb.png

 

I´ll give it a try, I got the same no HPETs problem.

Thanks for posting.

Link to comment
Share on other sites

Lion runs on my machine but it looks like it has a problem with my TP-Link WN951N PCI w-lan card , it recognize it as artheros chip and starts the right kext but then system is slow as hell and stocks all the time and i cant activate airport , on snow leo and leo runs this card like a charme without any problems .... has anyone a idea how i can fix it ?

Link to comment
Share on other sites

now I have a different KP (no HPETs available), he says: CPU 0 has no HPET assigned to it...

 

any solution ?

 

I noticed this error too. But I don't remember what I did different.

 

I have a GA-EP45-UD3R board and also I noticed if I have the jmicron controller (even on AHCI) enabled my [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] freezes. I have to disable it. I'll not push this now, but is there anyway to get it working from boot?

 

My Snow Leo is running smooth and was installed on this controller. For this Lion test installation I'm using the ICH10R controler as AHCI.

Link to comment
Share on other sites

I noticed this error too. But I don't remember what I did different.

 

I have a GA-EP45-UD3R board and also I noticed if I have the jmicron controller (even on AHCI) enabled my [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] freezes. I have to disable it. I'll not push this now, but is there anyway to get it working from boot?

 

My Snow Leo is running smooth and was installed on this controller. For this Lion test installation I'm using the ICH10R controler as AHCI.

 

 

And I said then more low that my problem was resolved with the tuto of DavidDemon which is on this link: http://www.insanelymac.com/forum/index.php?showtopic=250104

 

:(

Link to comment
Share on other sites

can somebody please help me with this XPC bootloader?

 

I have been able to create a XPC boot stick. I created it on Windows (in a virtual machine on my real Mac), then tried to boot it in that same virtual machine and it ran fine! (I saw this EFI screen thing - however it did work :()

 

so I decided to give it a try on a real machine: I hooked it up to my Netbook (Lenovo Ideapad S10e) but it's not working there :S

My Netbook shows the "MBR start!" message in red letters but a few seconds later it restarts automatically without any further message or something else appearing.

 

 

 

I tried to rebuild a XPC bootstick (downloaded this thing from several other internet sites) but I always get the same result: It's booting in my VM but not on my Netbook :(

 

Any clues?

 

 

Thank you!

Link to comment
Share on other sites

Are you using a DSDT.aml with patched HPET? On Gigabyte boards it's necessary even in SL to boot without NullCPUPM.

 

I used the same file.

I may be using it incorrectly then...

 

And I said then more low that my problem was resolved with the tuto of DavidDemon which is on this link: http://www.insanelymac.com/forum/index.php?showtopic=250104

 

;)

 

I saw it but there aren't big changes in the process.

I´ll look again and try in a few moments!

Link to comment
Share on other sites

certainly it does not differ a lot but he is meant to be simple and full, furthermore he is the only one who worked for me !!!

 

I think that simplicity comes precisely to run up in 2 key usb instead of HDD, it is at least my evaluation!

 

;)

Link to comment
Share on other sites

 Share

×
×
  • Create New...