View Single Post
 
Old 08-21-2010, 09:14 PM
cynargo cynargo is offline
Jaguar
 
Join Date: Jul 2010
Posts: 31
I've downloaded AppleUSBOHCI sources, and it looks like it generally checks if there's "AAPL,clock-id" present. If it's not it turns off power management for this OHCI controller and shows it as expansion card instead of built-in. Just like with EHCI controllers. The problem is that, when I add "AAPL,clock-id" into OHCI's DSM method OSX stops detecting this controller (when I add it to one of EHCI controllers everything is fine)

Code:
            Device (OHC1)
            {
                Name (_ADR, 0x00120000)
                Name (_PRW, Package (0x02)
                {
                    0x0B, 
                    0x03
                })
                Method (_S3D, 0, NotSerialized)
                {
                    If (LEqual (OSFL, 0x02))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }
		Method(_DSM, 4, NotSerialized)
		{
			Store (Package (0x0B)
			{
				"device-id",
				Buffer (0x04)
				{
					0x97, 0x43, 0x00, 0x00
				},
				"AAPL,clock-id", 
				Buffer (One)
				{
					0x01
				},
				"AAPL,current-available",
				0x0FA0,
				"AAPL,current-extra",
				0x044C,
				"AAPL,current-in-sleep",
				0x0FA0,
				Buffer (One)
				{
					0x00
				}
			}, Local0)
			DTGP(Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
			Return (Local0)
		}
            }
Any ideas ?

Gone Linux.
Reply With Quote