Jump to content

DSDT Auto-Patcher


MaLd0n
 Share

5,753 posts in this topic

Recommended Posts

RUN ON TERMINAL

grep Wake /var/log/kernel.log

it give me those messages on the kernel log

Jan  6 06:05:45 Amer-iMac kernel[0]: skgeosx : checking rx_mbuf:0 tx_mbuf:0
Jan  6 06:05:45 Amer-iMac kernel[0]: skgeosx: Disabled!
Jan  6 06:05:45 Amer-iMac kernel[0]: skgeosx: setPowerState state 0d
Jan  6 06:05:46 Amer-iMac kernel[0]: The USB device Microsoft Wireless Desktop Receiver 3.1 (Port 1 of Hub at 0x7d000000) may have caused a wake by being disconnected
Jan  6 06:05:46 Amer-iMac kernel[0]: System Doze
Jan  6 06:05:46 Amer-iMac kernel[0]: skgeosx: setPowerState state 1d
Jan  6 06:05:46 Amer-iMac kernel[0]: skgeosx: Enabled!
Jan  6 06:05:46 Amer-iMac kernel[0]: skgeosx: setMulticastMode on
Jan  6 06:05:47 Amer-iMac kernel[0]: skgeosx: link speed now 100 Mbps, full duplex.

 

kernel.txt

kextstat.txt

Link to comment
Share on other sites

G31m_ES2L_latinMcg75_notautopatched.zip here is my G31M-ES2L

i havent fixed something properly.. seems dvd burning is limited to 16x or it fails . probably timing issue.

but sleep works. deep sleep and wakes with keyboard..sucks that i have tss dvd drive no autosleep :P

:P

LatinMcGyver75.zip

 

into method label _DSM parent_adr 0x001F0000 remove_entry;
into device name_adr 0x001F0000 insert
begin
OperationRegion (LPC0, PCI_Config, 0xA4, 0x02)\n
               Field (LPC0, ByteAcc, NoLock, Preserve)\n
               {\n
                   AG3E,   1\n
               }
end;
into device name_adr 0x001B0000 set_label
begin
HDEF
end;
into_all all code_regex AZAL replaceall_matched
begin
HDEF
end;
into method label DTGP remove_entry;
into definitionblock code_regex . insert
begin
Method (DTGP, 5, NotSerialized)\n
{\n
   If (LEqual (Arg0, Buffer (0x10)\n
           {\n
               /* 0000 */    0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, \n
               /* 0008 */    0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B\n
           }))\n
   {\n
       If (LEqual (Arg1, One))\n
       {\n
           If (LEqual (Arg2, Zero))\n
           {\n
               Store (Buffer (One)\n
                   {\n
                       0x03\n
                   }, Arg4)\n
               Return (One)\n
           }\n
           If (LEqual (Arg2, One))\n
           {\n
               Return (One)\n
           }\n
       }\n
   }\n
   Store (Buffer (One)\n
       {\n
           0x00\n
       }, Arg4)\n
   Return (Zero)\n
}
end;
into method label _DSM parent_adr 0x001D0007 remove_entry;
into device name_adr 0x001D0007 insert
begin
Method (_DSM, 4, NotSerialized)\n
               {\n
                   Store (Package (0x08)\n
                       {\n
                           "AAPL,current-available", \n
                           0x05DC, \n
                           "AAPL,current-extra", \n
                           0x044C, \n
                           "AAPL,current-in-sleep", \n
                           0x09C4, \n
                           "device-id", \n
                           Buffer (0x04)\n
                           {\n
                               0x3A, 0x3A, 0x00, 0x00\n
                           }\n
                       }, Local0)\n
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
                   Return (Local0)\n
               }
end;
into device label PWRB code_regex (Name\s\()_HID(\,\sEisaId\s\(\"PNP0C0C\"\)\)) replace_matched begin %1_CID%2 end;
into method label _STA parent_hid PNP0103 remove_entry;
into device name_hid PNP0103 insert
begin
Method (_STA, 0, NotSerialized)\n
{\n
   Return (0x0F)\n
}
end;
into method label _CRS parent_hid PNP0103 remove_entry;
into device name_hid PNP0103 insert
begin
Method (_CRS, 0, NotSerialized)\n
{\n
   Return (ATT3)\n
}
end;
into device name_hid PNP0000 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0100 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0B00 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0103 code_regex_not IRQNoFlags code_regex Name\s\(([^,]+),\sResourceTemplate\s\(\)\n\s+\{((?:.|\n)*)\}\) replace_matched
begin
Name (%1, ResourceTemplate ()\n
                   {\n
                       IRQNoFlags ()\n
                           {0}\n
                       IRQNoFlags ()\n
                           {8}\n
%2
})
end;
into device name_adr Zero parent_adr 0x001C0001 remove_entry;
into device name_adr 0x001C0001 insert
begin
Device (LAN0)\n
               {\n
                   Name (_ADR, Zero)\n
                   Name (_PRW, Package (0x02)\n
                   {\n
                       0x0B, \n
                       0x04\n
                   })\n
                   Method (_DSM, 4, NotSerialized)\n
                   {\n
                       Store (Package (0x04)\n
                           {\n
                               "built-in", \n
                               Buffer (One)\n
                               {\n
                                   0x01\n
                               }, \n
                               "location", \n
                               Buffer (0x02)\n
                               {\n
                                   "1"\n
                               }\n
                           }, Local0)\n
                       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
                       Return (Local0)\n
                   }\n
               }
end;
into method label _DSM parent_adr 0x001F0000 remove_entry;
into device name_adr 0x001F0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x02)\n
       {\n
           "device-id", \n
           Buffer (0x04)\n
           {\n
               0xb9, 0x27, 0x00, 0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end;
into scope label _SB insert
begin
Device (MCEH)\n
       {\n
           Name (_HID, EisaId ("APP0006"))\n
           Name (_GPE, 0x17)\n
           Name (_STA, 0x0B)\n
       }
end;
into device label PCI0 insert
begin
Device (PEGP)\n
           {\n
               Name (_ADR, 0x00010000)\n
               Device (GFX0)\n
               {\n
                   Name (_ADR, Zero)\n
                   Name (_SUN, One)\n
                   Method (_DSM, 4, NotSerialized)\n
                   {\n
                       Store (Package (0x1A)\n
                           {\n
                               "@0,compatible", \n
                               Buffer (0x0B)\n
                               {\n
                                   "NVDA,NVMac"\n
                               }, \n
                               "@0,device_type", \n
                               Buffer (0x08)\n
                               {\n
                                   "display"\n
                               }, \n
                               "@0,display_cfg", \n
                               Buffer (0x08)\n
                               {\n
                                   0x03, 0x01, 0x00, 0x00\n
                               }, \n
                               "@0,name", \n
                               Buffer (0x0F)\n
                               {\n
                                   "NVDA,Display-A"\n
                               }, \n
                               "@1,compatible", \n
                               Buffer (0x0B)\n
                               {\n
                                   "NVDA,NVMac"\n
                               }, \n
                               "@1,device_type", \n
                               Buffer (0x08)\n
                               {\n
                                   "display"\n
                               }, \n
                               "@1,display_cfg", \n
                               Buffer (0x08)\n
                               {\n
                                   0xFF, 0xFF, 0x00, 0x01\n
                               }, \n
                               "@1,name", \n
                               Buffer (0x0F)\n
                               {\n
                                   "NVDA,Display-B"\n
                               }, \n
                               "NVCAP", \n
                               Buffer (0x14)\n
                               {\n
                                   /* 0000 */    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, \n
                                   /* 0008 */    0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A, \n
                                   /* 0010 */    0x00, 0x00, 0x00, 0x00\n
                               }, \n
                               "VRAM,totalsize", \n
                               Buffer (0x04)\n
                               {\n
                                   0x00, 0x00, 0x00, 0x40\n
                               }, \n
                               "device_type", \n
                               Buffer (0x0D)\n
                               {\n
                                   "NVDA,GeForce"\n
                               }, \n
                               "model", \n
                               Buffer (0x17)\n
                               {\n
                                   "nVidia GeForce GTS 250"\n
                               }, \n
                               "rom-revision", \n
                               Buffer (0x25)\n
                               {\n
                                   "nVidia GeForce GTS 250 OpenGL Engine"\n
                               }\n
                           }, Local0)\n
                       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
                       Return (Local0)\n
                   }\n
}\n
}
end;
into device label SPKR remove_entry;
into device label FDC remove_entry;
into device label FDC0 remove_entry;
into device label LPT1 remove_entry;
into device label LPTE remove_entry;
into device label UAR1 remove_entry;
into device label UAR2 remove_entry;
into device label ECP1 remove_entry;
into device label MEM remove_entry;
into device label ^^RMEM remove_entry;
into all code_regex Notify\s\(\\_SB.PCI0.PX40.UAR1,\s0x02\) remove_matched;
into all code_regex Notify\s\(\\_SB.PCI0.LPCB.UAR1,\s0x02\) remove_matched;
into all code_regex Notify\s\(\\_SB.PCI0.PX40.UAR2,\s0x02\) remove_matched;
into all code_regex Notify\s\(\\_SB.PCI0.LPCB.UAR2,\s0x02\) remove_matched;
into device label FWH set_label begin FWHD end;
into device label MCH set_label begin MCEH end;
into device label PIC set_label begin IPIC end;
into device label DMA1 set_label begin DMAC end;
into device label TMR set_label begin TIMR end;
into device label RTC0 set_label begin RTC end;
into device label COPR set_label begin MATH end;
into device label OMSC set_label begin LDRC end;
into device label IDE1 set_label begin SATA end;
into device label CHN0 set_label begin PRT0 end;
into device label CHN1 set_label begin PRT1 end;
into device label USB0 set_label begin UHC1 end;
into device label USB1 set_label begin UHC2 end;
into device label USB2 set_label begin UHC3 end;
into device label USB3 set_label begin UHC4 end;
into device label USB4 set_label begin UHC5 end;
into device label USB5 set_label begin UHC6 end;
into device label USBE set_label begin EHC1 end;
into device label USE2 set_label begin EHC2 end;
into device label PX40 set_label begin LPCB end;
into device label PRIM set_label begin PRT0 end;
into device label SECD set_label begin PRT1 end;
into_all all code_regex DMA1 replaceall_matched begin DMAC end;
into_all all code_regex TMR replaceall_matched begin TIMR end;
into_all all code_regex RTC0 replaceall_matched begin RTC end;
into_all all code_regex COPR replaceall_matched begin MATH end;
into_all all code_regex OMSC replaceall_matched begin LDRC end;
into_all all code_regex CHN0 replaceall_matched begin PRT0 end;
into_all all code_regex CHN1 replaceall_matched begin PRT1 end;
into_all all code_regex PX40 replaceall_matched begin LPCB end;
into_all all code_regex USB0 replaceall_matched begin UHC1 end;
into_all all code_regex USB1 replaceall_matched begin UHC2 end;
into_all all code_regex USB2 replaceall_matched begin UHC3 end;
into_all all code_regex USB3 replaceall_matched begin UHC4 end;
into_all all code_regex USB4 replaceall_matched begin UHC5 end;
into_all all code_regex USB5 replaceall_matched begin UHC6 end;
into_all all code_regex USBE replaceall_matched begin EHC1 end;
into_all all code_regex USE2 replaceall_matched begin EHC2 end;
into device name_adr 0x001E0000 set_label
begin
PCIB
end;
into_all all code_regex HUB0 replaceall_matched
begin
PCIB
end;
into device name_hid PNP0B00 code_regex (IO\s\((?:\s*[^,]+,\s*(?:\/\/\s.*)?\s*\n)+\s*)(\dx\d+)(,\s*(?:\/\/\s.*)?\s*\n\s*\)) replace_matched begin %10x02%3 end;
into device name_adr 0x001F0003 parent_label PCI0 remove_entry;
into device label PCI0 insert
begin
Device (SBUS)\n
{\n
   Name (_ADR, 0x001F0003)\n
   Device (BUS0)\n
   {\n
       Name (_CID, "smbus")\n
       Name (_ADR, Zero)\n
       Device (DVL0)\n
       {\n
           Name (_ADR, 0x57)\n
           Name (_CID, "diagsvault")\n
       }\n
   }\n
   Method (_DSM, 4, NotSerialized)\n
   {\n
       Store (Package (0x02)\n
           {\n
               "device-id", \n
               Buffer (0x04)\n
               {\n
                   0x30, 0x3A, 0x00, 0x00\n
               }\n
           }, Local0)\n
       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
       Return (Local0)\n
   }\n
}
end;
into method label _PTS code_regex (If\s*\(LEqual\s*\(Arg0,\s*0x05\)\)\s*\n\s*\{\s*\n)(?:[^\n\}]+\n)+(\s*\}) replace_matched
begin
%1
           Store (One, \\_SB.PCI0.LPCB.AG3E)\n
           Store (Zero, SLPE)\n
           Sleep (0x10)\n
%2\n
Else\n
{\n
   Store (Zero, \\_SB.PCI0.LPCB.AG3E)\n
}
end;
into method label \_PTS code_regex (If\s*\(LEqual\s*\(Arg0,\s*0x05\)\)\s*\n\s*\{\s*\n)(?:[^\n\}]+\n)+(\s*\}) replace_matched
begin
%1
           Store (One, \\_SB.PCI0.LPCB.AG3E)\n
           Store (Zero, SLPE)\n
           Sleep (0x10)\n
%2\n
Else\n
{\n
   Store (Zero, \\_SB.PCI0.LPCB.AG3E)\n
}
end;
into definitionblock code_regex . code_regex_not OperationRegion\s*\(PMRS insert
begin
OperationRegion (PMRS, SystemIO, 0x0430, One)\n
Field (PMRS, ByteAcc, NoLock, Preserve)\n
{\n
       ,   4, \n
   SLPE,   1\n
}
end;
into method label _WAK code_regex Return\s\(\s*\n?\s*Package\s*\n?\s*\(0x02\)\s*\n?\s*\{\s*\n?(?:\s*Zero,?\s*\n?){2}\s*\}\s*\n?\s*\) remove_matched;
into method label _WAK insert
begin
Return (Package (0x02)\n
{\n
   Zero, \n
   Zero\n
})
end;
into method label \_WAK code_regex Return\s\(\s*\n?\s*Package\s*\n?\s*\(0x02\)\s*\n?\s*\{\s*\n?(?:\s*Zero,?\s*\n?){2}\s*\}\s*\n?\s*\) remove_matched;
into method label \_WAK insert
begin
Return (Package (0x02)\n
{\n
   Zero, \n
   Zero\n
})
end

 

OP REG LPCB

AZAL to HDEF(only)

DTGP

EHCI

HID/CID

HPET

IRQs

LAN0

LPC

MCEH

GTS 250

REMOVE

RENAME

RTC

SMBUS

SHUTDOWN

WAK

Link to comment
Share on other sites

u do know my g31m is rev 1. not 2. i dunno if changes much. codec does. lan does.

EDIT: the fix u sent said a few errors . canceled i need to give u the original im on bios F10.. but im focusing on the inspiron 1520 for now.

i had left azal for no errors on boot with voodoohda and applehda.. yet my sleep works deep :P

 

on my inspiron 1520.. i noticed the patcher is very specific if found in scope. canceled compilation.

is there a way u can make a "develover" checkbox where gives extra options like verbose and force compile ignore already found in scope.

i cant seem to apply any of the fixes for 1530 or 1500. so now im digging through many old dsl's and dsdt.

im just going to work with what i have.. i forgot to backup my dsdt folder last night reimaging laptop oops. but i got most on this pc. and external.

seems im having issues with generatecstates and pstates. so im relying on what worked.. my scope _PR for my underclocked T7500.

Link to comment
Share on other sites

it give me those messages on the kernel log

Jan  6 06:05:45 Amer-iMac kernel[0]: skgeosx : checking rx_mbuf:0 tx_mbuf:0
Jan  6 06:05:45 Amer-iMac kernel[0]: skgeosx: Disabled!
Jan  6 06:05:45 Amer-iMac kernel[0]: skgeosx: setPowerState state 0d
Jan  6 06:05:46 Amer-iMac kernel[0]: The USB device Microsoft Wireless Desktop Receiver 3.1 (Port 1 of Hub at 0x7d000000) may have caused a wake by being disconnected
Jan  6 06:05:46 Amer-iMac kernel[0]: System Doze
Jan  6 06:05:46 Amer-iMac kernel[0]: skgeosx: setPowerState state 1d
Jan  6 06:05:46 Amer-iMac kernel[0]: skgeosx: Enabled!
Jan  6 06:05:46 Amer-iMac kernel[0]: skgeosx: setMulticastMode on
Jan  6 06:05:47 Amer-iMac kernel[0]: skgeosx: link speed now 100 Mbps, full duplex.

 

kernel.txt

kextstat.txt

 

dsdt.yehia_Amer.zip

 

remove lan0, test it

 

tell me if the "EHCI" has been resolved with this DSDT

 

u do know my g31m is rev 1. not 2. i dunno if changes much. codec does. lan does.

EDIT: the fix u sent said a few errors . canceled i need to give u the original im on bios F10

 

you need to apply in an original DSDT

unchanged

 

or :P

mald0n20110106s035522.png

:P

Link to comment
Share on other sites

ok im going to retry the original u sent me. cause my dsdt u got earlier non original was from a vostro 1500 last year.. with a lot of stuff i added.

im also thinking of loading ssdt for mbp3,1 with t7500 :P but the cst is the other unicorn on these laptops :P dang dell bios.! and i used to work there. and found a bug with xp and computr4ace. soo their "quality test"= fails sometimes

 

EDIT: i was thinking to make matching more accurate. go by mem address.. then 2 lines up check Device (known name*s and renames)

Link to comment
Share on other sites

Hi MaLd0n

 

I am attaching the send_me.zip for Dell Latitude E6410 with A06 Bios. For some reason - I cannot get this laptop to sleep (using sleepenabler and NullPowerManagement). It hibernates and I have to manually shutdown and reboot.

 

Could you please help me solving the sleep issue with the corrected DSDT?

 

Thanks for your help

send_me.zip

Link to comment
Share on other sites

Hi MaLd0n

 

I am attaching the send_me.zip for Dell Latitude E6410 with A06 Bios. For some reason - I cannot get this laptop to sleep (using sleepenabler and NullPowerManagement). It hibernates and I have to manually shutdown and reboot.

 

Could you please help me solving the sleep issue with the corrected DSDT?

 

Thanks for your help

 

I'll see what I can do

Link to comment
Share on other sites

Nice work-

 

Can you check this one out Maldon- This is a board my buddy has, and its dsdt has been pretty elusive for us.

 

its a Intel dp55kg.

I will be out today

coming home I send the file :)

Link to comment
Share on other sites

MaLd0n: can you look at my DSDT it's at post #1339

 

Hi,

 

...

 

 

ethernet@0 is in POP6@1C,2

ethernet@4 is in POP1 - don't remember the rest

 

here is my DSDT with picture of system info, i use ubuntu 10.10 x64 and acpi_dump.py to get this info.

can you fix it for me?

remember i need 2 dsdt, one with your full patches, and another without rename & remove.

Thank you.

send_me.zip

Link to comment
Share on other sites

dsdt.yehia_Amer.zip

 

remove lan0, test it

 

tell me if the "EHCI" has been resolved with this DSDT

Sleep Works :D , but no automatic sleep i think (don't hear HD some sleep and wake)

 

but EHCI Still don't work well :P , it gives me "not charging" when i connect my iPad etc.)

Jan  6 16:21:09 Amer-iMac kernel[0]: CODE SIGNING: cs_invalid_page(0x100000000): p=2577[AppleMobileBacku] clearing CS_VALID
Jan  6 16:21:29 Amer-iMac kernel[0]: CODE SIGNING: cs_invalid_page(0x100000000): p=2655[MDCrashReportToo] clearing CS_VALID
Jan  6 16:21:31 Amer-iMac kernel[0]: CODE SIGNING: cs_invalid_page(0x100000000): p=2656[MDCrashReportToo] clearing CS_VALID

 

thanks

Link to comment
Share on other sites

lol i found out what happened.. i was booted on 10.5.8 in the usb (backup) and ran cham2rc2 LOL

im giving it one more shot fresh wipe.

the fix for ata is the one at bottom of dsdtse. the one king has doesnt work for this laptop.

    OperationRegion (IDET, PCI_Config, 0x40, 0x04)
   Field (IDET, WordAcc, NoLock, Preserve)
   {
    M1, 16,
    M2, 16
   }

   Method (_INI, 0, NotSerialized)
   {
   Store (0xE307, M1)
   Store (0xC000, M2)
   }

now i get gray screen on install 10.6.0 .. wrong monitor enabled i guess. my dsdt didnt give me this problem.

must be nvidia injection.. or tv,lcd,dvi crt selection order.

EDIT: it was EFI /E/E permissions

Link to comment
Share on other sites

Sleep Works :D , but no automatic sleep i think (don't hear HD some sleep and wake)

 

but EHCI Still don't work well :) , it gives me "not charging" when i connect my iPad etc.)

Jan  6 16:21:09 Amer-iMac kernel[0]: CODE SIGNING: cs_invalid_page(0x100000000): p=2577[AppleMobileBacku] clearing CS_VALID
Jan  6 16:21:29 Amer-iMac kernel[0]: CODE SIGNING: cs_invalid_page(0x100000000): p=2655[MDCrashReportToo] clearing CS_VALID
Jan  6 16:21:31 Amer-iMac kernel[0]: CODE SIGNING: cs_invalid_page(0x100000000): p=2656[MDCrashReportToo] clearing CS_VALID

 

thanks

:D

 

try with

USBBusFix=Yes

Link to comment
Share on other sites

added nvda to it and ide timing after m1530 autopatch.. no wireless connections listing in setup ( no lan so it became en0 so it fails connect) we will see with 10.6.4 :Pseems the dell 8600m has the gray screen bug with a few boot files from dif guys.

no wonder why i had dsdt fixed. EDIT: was not loading fakesmc from /E/E. :wacko: EFI/Extra permissions.

(created/partitioned EFI in Leo not snow?)

im up and running on GraphicsEnabler generateCST and PST. . now the wireless is doing the connection timeout again. i need to fix pci bus or IRQ.. what whas the fix in pxs1 and 2 ?

					OperationRegion (SVID, PCI_Config, 0x00, 0xF0)
				Field (SVID, DWordAcc, NoLock, Preserve)
				{
							Offset (0x2C), 
					SUBS,   32
				}

or should i just update to 10.6.4 first? (yeah likely I080211 fixes)

Link to comment
Share on other sites

try with LANX

 

if not resolve

use a kext to make this service

 

Thanks, i found the onboard nic kext and it work. Atheros L2

 

but it work when it was the only nic in my machine, with out any kext.

Link to comment
Share on other sites

i got the fix for usb! i JUST had same issue. one of the EHCI dont need power hack!. fixed it with my old dsdt copy n pasted the 2 ehci. to the newly patched dsdt. now usb has no issues. this one in my dsdt doesnt need it

search for _ADR, 0x001D0007 in dsdt

 

in my inspiron 1520 the back ports Sometimes worked. fresh install snow 10.6.0 new dsdt. patched caused.

so i compared to my old that worked.

            Device (EHC2)
           {
               Name (_ADR, 0x001A0007)
               Name (_S1D, 0x02)
               Name (_S3D, 0x02) // bellow this line starts
               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x0B)
                       {
                           "AAPL,clock-id", 
                           Buffer (One)
                           {
                               0x01
                           }, 

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

                           "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)
               } // here ends the voltage tweak

               Method (_PRW, 0, NotSerialized)
               {
                   Store (UPRW (Zero, 0x07), Local0)
                   If (LEqual (Local0, 0x03))
                   {
                       Return (Package (0x02)
                       {
                           0x0D, 
                           0x03
                       })
                   }

                   If (LEqual (Local0, One))
                   {
                       Return (Package (0x02)
                       {
                           0x0D, 
                           One
                       })
                   }

                   Return (Package (0x02)
                   {
                       0x0D, 
                       Zero
                   })
               }

               Method (_PSW, 1, NotSerialized)
               {
                   UPSW (Arg0, 0x07)
               }

               Device (HUB7)
               {
                   Name (_ADR, Zero)
                   Device (PRT1)
                   {
                       Name (_ADR, One)
                   }

                   Device (PRT2)
                   {
                       Name (_ADR, 0x02)
                   }

                   Device (PRT3)
                   {
                       Name (_ADR, 0x03)
                   }

                   Device (PRT4)
                   {
                       Name (_ADR, 0x04)
                   }
               }
           }

           Device (EHC1)
           {
               Name (_ADR, 0x001D0007)
               Name (_S1D, 0x02)
               Name (_S3D, 0x02)
               Method (_PRW, 0, NotSerialized)
               {
                   Store (UPRW (Zero, 0x07), Local0)
                   If (LEqual (Local0, 0x03))
                   {
                       Return (Package (0x02)
                       {
                           0x0D, 
                           0x03
                       })
                   }

                   If (LEqual (Local0, One))
                   {
                       Return (Package (0x02)
                       {
                           0x0D, 
                           One
                       })
                   }

                   Return (Package (0x02)
                   {
                       0x0D, 
                       Zero
                   })
               }

               Method (_PSW, 1, NotSerialized)
               {
                   UPSW (Arg0, 0x07)
               }

               Device (HUB7)
               {
                   Name (_ADR, Zero)
                   Device (PRT1)
                   {
                       Name (_ADR, One)
                   }

                   Device (PRT2)
                   {
                       Name (_ADR, 0x02)
                   }

                   Device (PRT3)
                   {
                       Name (_ADR, 0x03)
                   }

                   Device (PRT4)
                   {
                       Name (_ADR, 0x04)
                   }

                   Device (PRT5)
                   {
                       Name (_ADR, 0x05)
                   }

                   Device (PRT6)
                   {
                       Name (_ADR, 0x06)
                   }
               }
           }

as soon as i rebooted all usb worked normaly. unplug. replug tried different usb drives.

Link to comment
Share on other sites

Hi MaLd0n

 

I am attaching the send_me.zip for Dell Latitude E6410 with A06 Bios. For some reason - I cannot get this laptop to sleep (using sleepenabler and NullPowerManagement). It hibernates and I have to manually shutdown and reboot.

 

Could you please help me solving the sleep issue with the corrected DSDT?

 

Thanks for your help

 

do you use kernel mod, nullcpuPM, etc.

it is difficult

from 10.6.4 your processor is supported by the original kernel

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...