InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 12-25-2010, 08:32 PM
wastez's Avatar
wastez wastez is offline
Panther
 
Join Date: Oct 2010
Posts: 182
Problems with dsdt on AMD- System

Hello,

Iīve a MSI K9AG NEO2 Digital with an SB600 chipset.
Iīve problems with the code from usb ohci.
ehci i fixed but ohci drives me crazy.
Iīve added different codes from the internet but no one works!

Can anyone help me?
Would be really cool because iīve no idea how to fix it.

Thatīs the code of my dsdt in the moment:

Device (USB1)
{
Name (_ADR, 0x00130000)
Method (_PRW, 0, NotSerialized)
{
Return (GPRW (0x0B, 0x04))
}
}

Device (USB2)
{
Name (_ADR, 0x00130001)
Method (_PRW, 0, NotSerialized)
{
Return (GPRW (0x0B, 0x04))
}
}

Device (USB3)
{
Name (_ADR, 0x00130002)
Method (_PRW, 0, NotSerialized)
{
Return (GPRW (0x0B, 0x04))
}
}

Device (USB4)
{
Name (_ADR, 0x00130003)
Method (_PRW, 0, NotSerialized)
{
Return (GPRW (0x0B, 0x04))
}
}

Device (USB5)
{
Name (_ADR, 0x00130004)
Method (_PRW, 0, NotSerialized)
{
Return (GPRW (0x0B, 0x04))
}
}

Device (EUSB)
{
Name (_ADR, 0x00130005)
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x0F)
{
"device-id",
Buffer (0x04)
{
0x38, 0x30, 0x00, 0x00
},

"AAPL,clock-id",
Buffer (One)
{
0x0A
},

"built-in",
Buffer (One)
{
0x00
},

"device_type",
Buffer (0x05)
{
"EHCI"
},

"AAPL,current-available",
0x04B0,
"AAPL,current-extra",
0x02BC,
"AAPL,current-in-sleep",
0x03E8,
Buffer (One)
{
0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
Thx

Last edited by wastez; 12-25-2010 at 08:38 PM.
Reply With Quote
  #2  
Old 01-13-2011, 11:30 AM
wastez's Avatar
wastez wastez is offline
Panther
 
Join Date: Oct 2010
Posts: 182
Hello,

Does anyone have a clue how i can solve it?
USB1 - USB5 is OHCI.

EHCI is integrated but i got a error message when i boot.

Would be really great if someone can help me.....
Reply With Quote
  #3  
Old 01-14-2011, 07:53 AM
wastez's Avatar
wastez wastez is offline
Panther
 
Join Date: Oct 2010
Posts: 182
EHCI now works without problems........

Does nobody knows how to fix OHCI???
I canīt believe it....

It would be really nice if someone can help me....

Greetz
Reply With Quote
  #4  
Old 01-14-2011, 09:54 AM
Pere Pere is offline
Cheetah
 
Join Date: Jun 2010
Posts: 11
Have you try this code already on your OHCI devices?
Note this is the UHCI code plus the "clock-id" hack for OHCI devices.

Code:
Method (_DSM, 4, NotSerialized)
                {
                    Store (Package ()
                        {
                            "device-id",
                            Buffer (0x04)
                            {
                                0x34, 0x3A, 0x00, 0x00     //This ID has to be changed for each device 0x34, 0x35, 0x36,etc
                            },
                            "AAPL,clock-id",
                            Buffer (One)
                            {
                                0x01
                            }

                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
Post here your DSDT file.

Last edited by Pere; 01-14-2011 at 10:19 AM.
Reply With Quote
  #5  
Old 01-14-2011, 06:49 PM
wastez's Avatar
wastez wastez is offline
Panther
 
Join Date: Oct 2010
Posts: 182
Hello,

I tried your code but after reboot my computer didnīt detected my usb-device anymore.
But iīve inserted it only by one usb and not by all 5 devices! Could that be the reason why it didnīt detected the device?

I uploaded my dsdt.

Thx for your help!!!
Attached Files
File Type: zip dsdt.aml.zip (7.0 KB, 8 views)
Reply With Quote
  #6  
Old 01-14-2011, 07:19 PM
Pere Pere is offline
Cheetah
 
Join Date: Jun 2010
Posts: 11
Can you use lspci and post here your USB hardware idīs?
Reply With Quote
  #7  
Old 01-14-2011, 10:58 PM
wastez's Avatar
wastez wastez is offline
Panther
 
Join Date: Oct 2010
Posts: 182
Sure i can.

Code:
00:00.0 Host bridge [0600]: ATI Technologies Inc RS690 Host Bridge [1002:7910]
00:02.0 PCI bridge [0604]: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Graphics Port 0) [1002:7913]
00:07.0 PCI bridge [0604]: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 3) [1002:7917]
00:12.0 SATA controller [0106]: ATI Technologies Inc SB600 Non-Raid-5 SATA [1002:4380]
00:13.0 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI0) [1002:4387]
00:13.1 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI1) [1002:4388]
00:13.2 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI2) [1002:4389]
00:13.3 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI3) [1002:438a]
00:13.4 USB Controller [0c03]: ATI Technologies Inc SB600 USB (OHCI4) [1002:438b]
00:13.5 USB Controller [0c03]: ATI Technologies Inc SB600 USB Controller (EHCI) [1002:4386]
00:14.0 SMBus [0c05]: ATI Technologies Inc SBx00 SMBus Controller [1002:4385] (rev 14)
00:14.1 IDE interface [0101]: ATI Technologies Inc SB600 IDE [1002:438c]
00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383]
00:14.3 ISA bridge [0601]: ATI Technologies Inc SB600 PCI to LPC Bridge [1002:438d]
00:14.4 PCI bridge [0604]: ATI Technologies Inc SBx00 PCI to PCI Bridge [1002:4384]
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Unknown device [1002:68b8]
01:00.1 Audio device [0403]: ATI Technologies Inc Unknown device [1002:aa58]
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 01)
thx for your help
Reply With Quote
  #8  
Old 01-15-2011, 07:24 PM
Pere Pere is offline
Cheetah
 
Join Date: Jun 2010
Posts: 11
Here you have 3 different tests... tell me if one of them works.
Attached Files
File Type: zip dsdt-Wastez 1.aml.zip (7.1 KB, 13 views)
File Type: zip dsdt-wastez 2.aml.zip (7.1 KB, 12 views)
File Type: zip dsdt-wastez 3.aml.zip (7.0 KB, 13 views)
Reply With Quote
  #9  
Old 02-15-2011, 07:33 AM
wastez's Avatar
wastez wastez is offline
Panther
 
Join Date: Oct 2010
Posts: 182
Quote:
Originally Posted by Pere View Post
Here you have 3 different tests... tell me if one of them works.
Hello Pere,

Sorry that it took such a long time to figure it out but i was really bussy in last time.
I tried all three possibilities but nothing of them worked!!! With the 1st and 2nd dsdt file it was possible to boot into the os but the mouse and keyboard doesnīt work any more and by the 3rd it was not able to boot.

It would be really nice if you could help me because i have no idea any more to get it working.

Thx for your help!!!

Greetz



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.

Reply With Quote
Reply