Jump to content

DSDT fixes for Gigabyte boards


iSoprano
 Share

1,908 posts in this topic

Recommended Posts

hhmm now this is weird.. my machine can't seem to charge my iPhone 3G via USB but on the older model 2G it's working.. iPhoto and iTunes can detect them but not charge the device.. anyone having this problem?

 

post-345318-1264075968_thumb.png post-345318-1264076022_thumb.png

 

ow it works on my MBP so i'm sure it's my hack that's causing this.. all i can think is the dsdt entry on my usb.

 

TIA.

Link to comment
Share on other sites

hhmm now this is weird.. my machine can't seem to charge my iPhone 3G via USB but on the older model 2G it's working.. iPhoto and iTunes can detect them but not charge the device.. anyone having this problem?

 

ow it works on my MBP so i'm sure it's my hack that's causing this.. all i can think is the dsdt entry on my usb.

 

TIA.

I know USB ports have to supply a certain amount of voltage in order for the iPod/iPhone to charge. Perhaps it's not supplying enough.
Link to comment
Share on other sites

hhmm now this is weird.. my machine can't seem to charge my iPhone 3G via USB but on the older model 2G it's working.. iPhoto and iTunes can detect them but not charge the device.. anyone having this problem?

 

ow it works on my MBP so i'm sure it's my hack that's causing this.. all i can think is the dsdt entry on my usb.

 

TIA.

 

I'm not sure if this helps, but try using EHCI devices like this:

            Device (EHC1)
           {
               Name (_ADR, 0x001D0007)
               Name (_PRW, Package (0x02) {0x0D,0x04})
               OperationRegion (PWRC, PCI_Config, 0x52, 0x2F)
               Field (PWRC, ByteAcc, NoLock, Preserve)
               {
                   PMES,   16, 
                           Offset (0x2E), 
                   WRTA,   1
               }
           }

           Device (EHC2)
           {
               Name (_ADR, 0x001A0007)
               Name (_PRW, Package (0x02) {0x0D,0x04})
               OperationRegion (PWRC, PCI_Config, 0x52, 0x2F)
               Field (PWRC, ByteAcc, NoLock, Preserve)
               {
                   PMES,   16, 
                           Offset (0x2E), 
                   WRTA,   1
               }
           }

 

and method INI like this:

        Method (_INI, 0, NotSerialized)
       {
           Store (One, ^PCI0.EHC1.WRTA)
           Store (One, ^PCI0.EHC2.WRTA)
    Sleep (0x5)
           Store (0xC9C2, ^PCI0.EHC1.PMES)
           Store (0xC9C2, ^PCI0.EHC2.PMES)
       }

Link to comment
Share on other sites

I know USB ports have to supply a certain amount of voltage in order for the iPod/iPhone to charge. Perhaps it's not supplying enough.

 

Thanks kdawg... i think so too but i believe it's supplying too much power (not sure)??

 

BTW just own a 3Gs just today so i cant be sure if it's working on an unmodded orig dsdt - will test in a while..

 

@all - any 3Gs owners out there? did you ever experience problems like above? specially with dsdt shutdown/usb fix from mm67?

 

TIA

 

edit:

 

I'm not sure if this helps, but try using EHCI devices like this:

            Device (EHC1)
           {
               Name (_ADR, 0x001D0007)
               Name (_PRW, Package (0x02) {0x0D,0x04})
               OperationRegion (PWRC, PCI_Config, 0x52, 0x2F)
               Field (PWRC, ByteAcc, NoLock, Preserve)
               {
                   PMES,   16, 
                           Offset (0x2E), 
                   WRTA,   1
               }
           }

           Device (EHC2)
           {
               Name (_ADR, 0x001A0007)
               Name (_PRW, Package (0x02) {0x0D,0x04})
               OperationRegion (PWRC, PCI_Config, 0x52, 0x2F)
               Field (PWRC, ByteAcc, NoLock, Preserve)
               {
                   PMES,   16, 
                           Offset (0x2E), 
                   WRTA,   1
               }
           }

 

and method INI like this:

        Method (_INI, 0, NotSerialized)
       {
           Store (One, ^PCI0.EHC1.WRTA)
           Store (One, ^PCI0.EHC2.WRTA)
    Sleep (0x5)
           Store (0xC9C2, ^PCI0.EHC1.PMES)
           Store (0xC9C2, ^PCI0.EHC2.PMES)
       }

 

thanks mm67.. will try that in a while - upgrading this phone to the latest 3.1.2 and will test it after..

 

i'm still using your golden EHC and INI :ninja:

Link to comment
Share on other sites

Thanks kdawg... i think so too but i believe it's supplying too much power (not sure)??

 

BTW just own a 3Gs just today so i cant be sure if it's working on an unmodded orig dsdt - will test in a while..

 

@all - any 3Gs owners out there? did you ever experience problems like above? specially with dsdt shutdown/usb fix from mm67?

 

TIA

 

edit:

 

 

 

thanks mm67.. will try that in a while - upgrading this phone to the latest 3.1.2 and will test it after..

 

i'm still using your golden EHC and INI :)

What about adding something like this to your EHCI devices:

Method (_DSM, 4, NotSerialized) {
Store (Package (0x07) {
	"AAPL,current-available",0x05DC,
	"AAPL,current-extra",0x04B0,
	"AAPL,current-in-sleep",0x09C4,
	Buffer (One){0x00}
	}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}

Link to comment
Share on other sites

I'm not sure if this helps, but try using EHCI devices like this:

            Device (EHC1)
           {
               Name (_ADR, 0x001D0007)
               Name (_PRW, Package (0x02) {0x0D,0x04})
               OperationRegion (PWRC, PCI_Config, 0x52, 0x2F)
               Field (PWRC, ByteAcc, NoLock, Preserve)
               {
                   PMES,   16, 
                           Offset (0x2E), 
                   WRTA,   1
              .........................

What about adding something like this to your EHCI devices:

Method (_DSM, 4, NotSerialized) {
Store (Package (0x07) {
	"AAPL,current-available",0x05DC,
	"AAPL,current-extra",0x04B0,
	...........................
}

 

sync/charge via USB

 

Phone 2G = OK

iPod 160GB Classic = OK

iPhone 32GB 3Gs = no joy for charge only sync :(

 

what's funny is i restored/update the iPhone to 3.1.2 even with that warning (not charging) hehe..

 

anymore ideas or suggestion? good thing though is it's still syncing..

Link to comment
Share on other sites

sync/charge via USB

 

Phone 2G = OK

iPod 160GB Classic = OK

iPhone 32GB 3Gs = no joy for charge only sync :(

 

what's funny is i restored/update the iPhone to 3.1.2 even with that warning (not charging) hehe..

 

anymore ideas or suggestion? good thing though is it's still syncing..

I have a 3G and 3GS iPhones. I'll play with it when I get home tonight and report back. I don't use my OSX86 machine to sync my phone so I'm curious to see.
Link to comment
Share on other sites

sync/charge via USB

 

Phone 2G = OK

iPod 160GB Classic = OK

iPhone 32GB 3Gs = no joy for charge only sync :(

 

what's funny is i restored/update the iPhone to 3.1.2 even with that warning (not charging) hehe..

 

anymore ideas or suggestion? good thing though is it's still syncing..

 

Have you tried all usb ports, I think that someone else had same kind of problem but ports on back plate did work.

Link to comment
Share on other sites

I have a 3G and 3GS iPhones. I'll play with it when I get home tonight and report back. I don't use my OSX86 machine to sync my phone so I'm curious to see.

 

haha thanks again, unfortunately mine uses OSx86 for syncing because all my large media, podcast, appstore apps etc are in there.. well it's no biggie though since i can just transfer what i need to my MBP but it'll be a pain.. (edit: i forgot syncing is fine)

 

this is the best i could get :( restore/update still a no go..

a screenshot of 2 iPhone plugged - the one on top is an iPhone 8GB 2G (charging and syncing).. i dont have a 3G iPhone so i have no means to test it..

 

screenshot20100121at104.png

 

weird e?

 

Have you tried all usb ports, I think that someone else had same kind of problem but ports on back plate did work.

 

thanks mm67 for the suggestion but yes i tried all four of my USB slot - i also tried 3 apple USB cable (2 from the iPhone2G and 3Gs and one from iPod with the lock mechanism) and all of them yield the same result - mounted but not charging and with an home screen error..

 

EDIT:

 

booted on Windows 7 64bit and it's the same.. WT ;)

 

now what does it mean? BIOS (i'm on F10 right now but will try F9 or F8 a bit later)? broken USB (why it's only on the 3Gs)? defective motherboard??? hmmm.. new iPhone - new problem :P

Link to comment
Share on other sites

My 3Gs charges fine. I sync my iPhone with my hack and charge...

 

 

I have a different board...

 

YES turns out it's not the iPhone 3Gs nor OSX86.. but what could be the culprit?

 

EDIT:

 

booted on Windows 7 64bit and it's the same.. WT :(

 

now what does it mean? BIOS (i'm on F10 right now but will try F9 or F8 a bit later)? broken USB (why it's only on the 3Gs)? defective motherboard??? hmmm.. new iPhone - new problem :D

Link to comment
Share on other sites

Ok, but DSDT is affected when the DVD-RW is changed? I need to generate a new DSDT?

No.

DSDT is loaded at boottime (from HD ! normally) and cant get changed / doesnt need changes by new internal DVD drive.

Also normally there is no DSDT code made for an "special" DVD drive (means no injection needed).

But for my knowledge, very less drives may be not 100% good for OS X , because of theirbuggy firmware - not MB BIOS!.

But thats really rare.

Those IDE/SATA (rare drives) have problems with OS X and may go sleep and not wakeup anymore which cant be patched by DSDT.

You may finde some "help me calls" in the SATA/IDE part of the OSX86 forum.

Link to comment
Share on other sites

I have discovered something weird: SpeedSteping WITHOUT IntelCPUPm kext.

 

I explain: i have a GA-P45-DS4 mobo with a Q6600 CPU.

I use NullCPUPowerManagement.kext and SleepEnabler.kext on snow leopard 10.6.2.

I do not use the DropSSDT in chameleon so the original table is used. This table contain no C-State (no _CST method) because my CPU only support C1E and GA don't add a C State for it, and 2 P-States (_PSS method) with 6x and 9x at multipliers.

AppleLPC is loaded correctly but no IntelCPUPM.

 

With Mark-i i see the change in frequency (6x to 9x and 9x to 6x) when the load of the CPU change.

 

So how is it possible to have a speedstep without IntelCPUPM kext loaded ?

 

Regards

Link to comment
Share on other sites

I have discovered something weird: SpeedSteping WITHOUT IntelCPUPm kext.

 

I explain: i have a GA-P45-DS4 mobo with a Q6600 CPU.

I use NullCPUPowerManagement.kext and SleepEnabler.kext on snow leopard 10.6.2.

I do not use the DropSSDT in chameleon so the original table is used. This table contain no C-State (no _CST method) because my CPU only support C1E and GA don't add a C State for it, and 2 P-States (_PSS method) with 6x and 9x at multipliers.

AppleLPC is loaded correctly but no IntelCPUPM.

 

With Mark-i i see the change in frequency (6x to 9x and 9x to 6x) when the load of the CPU change.

 

So how is it possible to have a speedstep without IntelCPUPM kext loaded ?

 

Regards

 

That's what you get with NullCPUPowerManagement, multiplier changes but voltage doesn't.

Link to comment
Share on other sites

@mm67

 

I'm using blacosx's dsdt, i've found that ps2 and IDE devices were removed, since you provided him with a scratch dsdt to start with and removed the extra unnecessary stuff can you please tell me the bits of code i should add to the dsdt to enable ps2 devices and ide?

 

I have speedstepping fully enabled and working on my e8400. do i need to enable dropssdt? i dualboot with windows so i have eist and thermal managment enabled in bios.

 

what should i set my macmodel to is it ok if i set it to macpro4,1

 

thanks!

Link to comment
Share on other sites

@mm67

 

I'm using blacosx's dsdt, i've found that ps2 and IDE devices were removed, since you provided him with a scratch dsdt to start with and removed the extra unnecessary stuff can you please tell me the bits of code i should add to the dsdt to enable ps2 devices and ide?

 

I have speedstepping fully enabled and working on my e8400. do i need to enable dropssdt? i dualboot with windows so i have eist and thermal managment enabled in bios.

 

what should i set my macmodel to is it ok if i set it to macpro4,1

 

thanks!

 

Use MacPro3,1 or iMac10,1, those use speedstepping. With MacPro4,1 you have to disable or remove AppleTYMCE and you won't have speedstepping. On my system it doesn't matter if I use DropSSDT or not.

 

For IDE you need devices JMB0 and JMB1.

 

For PS2 you need devices PS2K and PS2M.

Link to comment
Share on other sites

Thank you so much for your help, one last question though

 

what kext should i use to enable ps2 i've found appleps2controller to be a bit less quirky than voodoops2controller.is there a 64bit version for that for ide used to use jmicron.kext because i have 4gb of ram but what is LegacyJMB36xSATA.kext? is it needed? i use a GA-EP45 UD3L that uses a Jmicron 368 chip

Link to comment
Share on other sites

Thank you so much for your help, one last question though

 

what kext should i use to enable ps2 i've found appleps2controller to be a bit less quirky than voodoops2controller.is there a 64bit version for that for ide used to use jmicron.kext because i have 4gb of ram but what is LegacyJMB36xSATA.kext? is it needed? i use a GA-EP45 UD3L that uses a Jmicron 368 chip

 

I don't use PS2 or IDE so I have no experience of those drivers, maybe someone else can help you with those questions.

Link to comment
Share on other sites

Thank you so much for your help, one last question though

 

what kext should i use to enable ps2 i've found appleps2controller to be a bit less quirky than voodoops2controller.is there a 64bit version for that for ide used to use jmicron.kext because i have 4gb of ram but what is LegacyJMB36xSATA.kext? is it needed? i use a GA-EP45 UD3L that uses a Jmicron 368 chip

LegacyJMB36xSATA.kext is just a dummy kext with info.plist - adds info in System profiler instead of unknown controller you'll get jmicron controller, if you dont use PATA drives only SATA(purple sockets) and with AHCI set for Jmicron controller then you dont even need jmicron.kext

Link to comment
Share on other sites

<br />LegacyJMB36xSATA.kext is just a dummy kext with info.plist - adds info in System profiler instead of unknown controller you'll get jmicron controller, if you dont use PATA drives only SATA(purple sockets) and with AHCI set for Jmicron controller then you dont even need jmicron.kext<br />
<br /><br /><br /><br /><br />Thanks swavek for clearing that up, BTW Jmicron 368 that GA-EP45 UD3L uses is just a PATA controller it doesn't support SATA
Link to comment
Share on other sites

Thanks swavek for clearing that out, BTW Jmicron 368 that GA-EP45 UD3L uses is just a PATA controller it doesn't support SATA

ops, ok good to know, then you probably dont need LegacyJMB36xSATA.kext at all

Link to comment
Share on other sites

 Share

×
×
  • Create New...