Jump to content

SpeedracerX

SpeedracerX

Member Since 14 Jul 2008
Offline Last Active Oct 07 2015 06:41 PM
-----

Posts I've Made

In Topic: [Guide] Zotac H55ITX-C-E Retail Near Perfect

24 January 2011 - 11:30 PM

Nice Guide, I'm interested in fixing some minor USB anomalies on my H55ITC-C-E. So I took a look at your DSDT. And just so you know I'm no expert but I did notice something that struck me as odd. Specifically the address's of your USB devices are very different then mine (for the same motherboard?).

Can you tell me what bios version your using and the hardware revision of your mother board please. I think this needs to be cleared up since, I'm afraid of what would happen if I applied your DSDT without first checking my addresses, making sure they were the same. As I'm not entirely sure how this might also cause problems for others. (If they also don't match)

Here is my current lscpi -nn output for usb devices. As you will see there is a lot of difference from yours.
00:1a.0 USB Controller [0c03]: Intel Corporation Ibex Peak USB Universal Host Controller [8086:3b3b] (rev 06)
			 00:1a.1 USB Controller [0c03]: Intel Corporation Ibex Peak USB Universal Host Controller [8086:3b3e] (rev 06)
			 00:1a.2 USB Controller [0c03]: Intel Corporation Ibex Peak USB Universal Host Controller [8086:3b3f] (rev 06)
			 00:1a.7 USB Controller [0c03]: Intel Corporation Ibex Peak USB2 Enhanced Host Controller [8086:3b3c] (rev 06)
			 00:1d.0 USB Controller [0c03]: Intel Corporation Ibex Peak USB Universal Host Controller [8086:3b36] (rev 06)
			 00:1d.1 USB Controller [0c03]: Intel Corporation Ibex Peak USB Universal Host Controller [8086:3b37] (rev 06)
			 00:1d.2 USB Controller [0c03]: Intel Corporation Ibex Peak USB Universal Host Controller [8086:3b38] (rev 06)
			 00:1d.7 USB Controller [0c03]: Intel Corporation Ibex Peak USB2 Enhanced Host Controller [8086:3b34] (rev 06)

Since I'm not too familiar with the DSDT and I hacked mine together, I'd like to try it with the formating / structure you have. But I'll change the addresses so that I use mine instead. Here's what my DSDT USB edits look like.

Device (UHC1)
					   {
						   Name (_ADR, 0x001D0000)
						   OperationRegion (BAR0, PCI_Config, 0xC4, One)
						   Field (BAR0, ByteAcc, NoLock, Preserve)
						   {
							   USBW,   2, 
									   Offset (0x01)
						   }
		   
						   Method (_S3D, 0, NotSerialized)
						   {
							   Return (0x02)
						   }
		   
						   Method (_PSW, 1, NotSerialized)
						   {
							   If (Arg0)
							   {
								   Store (0x03, USBW)
							   }
							   Else
							   {
								   Store (Zero, USBW)
							   }
						   }
		   
						   Name (_PRW, Package (0x02)
						   {
							   0x03, 
							   0x04
						   })
						   Method (_DSM, 4, NotSerialized)
						   {
							   Store (Package (0x02)
								   {
									   "device-id", 
									   Buffer (0x04)
									   {
										   0x36, 0x3B, 0x00, 0x00
									   }
								   }, Local0)
							   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
							   Return (Local0)
						   }
					   }

I wish I understood the DSDT, well enough to articulate the difference. But here's what you had.

Device (UHC1)
					 {
						 Name (_ADR, 0x001D0000)
						 OperationRegion (BAR0, PCI_Config, 0xC4, One)
						 Field (BAR0, ByteAcc, NoLock, Preserve)
						 {
							 USBW,   2, 
									 Offset (0x01)
						 }
		 
						 Method (_S3D, 0, NotSerialized)
						 {
							 If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
							 {
								 Return (0x02)
							 }
							 Else
							 {
								 Return (0x03)
							 }
						 }
		 
						 Method (_PSW, 1, NotSerialized)
						 {
							 If (Arg0)
							 {
								 Store (0x03, USBW)
							 }
							 Else
							 {
								 Store (Zero, USBW)
							 }
						 }
		 
						 Method (_PRW, 0, NotSerialized)
						 {
							 Return (GPRW (0x03, 0x04))
						 }
		 
						 Method (_DSM, 4, NotSerialized)
						 {
							 Store (Package (0x02)
								 {
									 "device-id", 
									 Buffer (0x04)
									 {
										 0x34, 0x3A, 0x00, 0x00
									 }
								 }, Local0)
							 DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
							 Return (Local0)
						 }
					 }

In Topic: Zotac H55-ITX-C-E i870 Nvidia GT240 PCM Audio over HDMI

08 January 2011 - 09:33 PM

But I would also like to go to the next step and get closer to a vanilla install. To that end, I would appreciate it if you could post your final DSDT. I'd like to try to transition and it would be of immense help if you could. One other thing: You identify certain 'Non-Vanilla' kexts. Are any of these specially modified in any particular way? Or just from ##### as it appears? Thanks!

FYI: My system specs:
Zotac H55ITX-C-E
BIOS A146PA05 (original as shipped)
Sparkle 1G 8400GS
2G Crucial DDR3 CL9
Core i3-550


Congrats on stabilizing your system, I know how good it feels once things are solid; even work a rounds.

As for your questions regarding my non-vanilla kexts; here are the details (why I used them and where their from)

[-KEXT-]----[-VERSION-]-[-PURPOSE-MODIFICATION-ORIGIN-]
--------------------------------------------------------------------------------------------------------------------------------------------------------------
AppleHDA.kext [1.8.7f1] By Taruga is modified to enable audio out of realtek ALC888 - Needed until I modify the DSDT so i can use vanilla.
I patched it with the address of the nVidia HDMI audio, so now it can drive both HDMI and On-board audio.
--------------------------------------------------------------------------------------------------------------------------------------------------------------
PXHCD.kext [1.0.1] Patched LaCie uPD720200 USB 3.0 Host Controller -Untested
--------------------------------------------------------------------------------------------------------------------------------------------------------------
IOUSBFamily.kext [3.8.5] This is from the 10.6.4 update - Enables USB on my board, until I fix my DSDT
--------------------------------------------------------------------------------------------------------------------------------------------------------------
IOUSBMassStorageClass [2.6.1]-This comes from 10.6.4 and enables my external Drobo - needed until i fix DSDT
--------------------------------------------------------------------------------------------------------------------------------------------------------------
JMicron36xeSATA.kext JMB360 AHCI Controller enables eSATA - External controller (I don't think its needed (might be cosmetic) need to test.
--------------------------------------------------------------------------------------------------------------------------------------------------------------
RealtekRTL81xx [0.0.67] RTL8111 Gigabit Ethernet from Lnx2Mac's Realtek RTL81xx Project - Faster, lots of features -Check it out.
--------------------------------------------------------------------------------------------------------------------------------------------------------------



Here is the edit i did to my dsdt to get the video card and hdmi audio working:
Device (P0P3)
							{
								Name (_ADR, 0x00030000)
								Name (_PRW, Package (0x02)
								{
									0x09, 
									0x05
								})
								Device (GFX0)
								{
									Name (_ADR, Zero)
									Method (_DSM, 4, NotSerialized)
									{
										Store (Package (0x1A)
											{
												"AAPL,slot-name", 
												"PCI x16", 
												"@0,compatible", 
												Buffer (0x0B)
												{
													"NVDA,NVMac"
												}, 
				
												"@0,device_type", 
												Buffer (0x08)
												{
													"display"
												}, 
				
												"@0,name", 
												Buffer (0x0F)
												{
													"NVDA,Display-A"
												}, 
				
												"@1,compatible", 
												Buffer (0x0B)
												{
													"NVDA,NVMac"
												}, 
				
												"@1,device_type", 
												Buffer (0x08)
												{
													"display"
												}, 
				
												"@1,name", 
												Buffer (0x0F)
												{
													"NVDA,Display-B"
												}, 
				
												"NVCAP", 
												Buffer (0x18)
												{
													/* 0000 */	0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 
													/* 0008 */	0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A, 
													/* 0010 */	0x00, 0x00, 0x00, 0x00
												}, 
				
												"VRAM,totalsize", 
												Buffer (0x04)
												{
													0x00, 0x00, 0x00, 0x20
												}, 
				
												"device_type", 
												Buffer (0x0C)
												{
													"NVDA,Parent"
												}, 
				
												"model", 
												Buffer (0x16)
												{
													"nVidia GeForce GT 240"
												}, 
				
												"rom-revision", 
												Buffer (0x25)
												{
													"70.15.2C.00.51"
												}, 
				
												"hda-gfx", 
												Buffer (0x0A)
												{
													"onboard-1"
												}
											}, Local0)
										DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
										Return (Local0)
									}
								}
				
								Device (HDAU)
								{
									Name (_ADR, One)
									Method (_DSM, 4, NotSerialized)
									{
										Store (Package (0x02)
											{
												"hda-gfx", 
												Buffer (0x0A)
												{
													"onboard-1"
												}
											}, Local0)
										DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
										Return (Local0)
									}
								}
							}
				
							Method (_STA, 0, NotSerialized)
							{
								Return (0x0F)
							}

As soon as I get my DSDT working with usb and I don't have to use the 10.6.4 versions I'll post my completed DSDT.

Full Audio Now works - Both HDMI and On-Board (RealTek)
Posted Image

In Topic: ALC889A, Gigabyte (Intel): now having a working front mic

21 September 2010 - 07:46 PM

This is how I made HDMI audio working for my Nvidia GT240.
......


I'm hoping I can get some help, I can hex edit the AppleHDA file, but I'm not sure how to modify my DSDT file, I only have 1 PCI slot (0) so my DSDT does not have that section (PEGP). I have never modified my DSDT manually and would like someone to take a look and help me get this sorted out.

I currently have Digital Audio (Optical Toslink) working via the onboard ALC888 via (AppleHDA-184.4.3), but I really want to use my Nvidia's HDMI for audio instead.

I will attach my files, please take a look and let me know what I need to do? Do I need to remove or just add to my dsdt? Where do I add it? maybe show me an example. My video card is not hard coded into dsdt and it looks like i will need to add it. I hope this is not too much to ask. If you need any additional information, just let me know.

Thanks!

My Setup: = Zotac H55-ITX-C-E & Nvidia GT 240 512MB (GDDR5)
This is currently attached to a Vizio via HDMI

Attachment = ioregistry, lspci, dsdt.dsl, kernel.log, com.apple.Boot

My DSDT PCI0
Device (PCI0)
		 {
			 Name (_HID, EisaId ("PNP0A08"))
			 Name (_CID, EisaId ("PNP0A03"))
			 Name (_ADR, Zero)
			 Method (^BN00, 0, NotSerialized)
			 {
				 Return (Zero)
			 }
 
			 Method (_BBN, 0, NotSerialized)
			 {
				 Return (BN00 ())
			 }
 
			 Name (_UID, Zero)
			 Method (_PRT, 0, NotSerialized)
			 {
				 If (PICM)
				 {
					 Return (AR00)
				 }
 
				 Return (PR00)
			 }

DSDT - GFX0
Device (GFX0)
		 {
			 Name (_ADR, 0x00020000)
			 OperationRegion (IGDM, SystemMemory, 0xBD78E0E4, 0x2000)
			 Field (IGDM, AnyAcc, NoLock, Preserve)
			 {
				 SIGN,   128, 
				 SIZE,   32,
© 2016 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy