fmac Posted August 6, 2010 Share Posted August 6, 2010 Cool for me the application of the year Link to comment Share on other sites More sharing options...
anibalin Posted August 7, 2010 Share Posted August 7, 2010 Hi guys, I have a question, when I compile I have this: I click on fix errors but I still get this one left: How can I fix that one? thanks in advance. Link to comment Share on other sites More sharing options...
el coniglio Posted August 7, 2010 Share Posted August 7, 2010 How can I fix that one? thanks in advance. Hey anibalin, this happened cause of the size of the hex value (it expects 8 digits). I already added to todo's so it will be fixed on next release. For now you can manually fix it changing the length value to 0x0001 (range maximun - range minimum + 1). Link to comment Share on other sites More sharing options...
anibalin Posted August 7, 2010 Share Posted August 7, 2010 thanks for the quick reply mate. manually fixed. thanks Link to comment Share on other sites More sharing options...
rednous Posted August 7, 2010 Share Posted August 7, 2010 oldnapalm, El Coniglio, and all following this thread here's the new version of iasl, 20100806 Link to comment Share on other sites More sharing options...
el coniglio Posted August 7, 2010 Share Posted August 7, 2010 oldnapalm, El Coniglio, and all following this thread here's the new version of iasl, 20100806 Hey rednous, thanks you for reporting, but we cannot use your compilation of iasl since it only runs on Snow Leopard. We compiled a updated version in Leopard that works in both Leopard and Snow Leo, that comes with the package. dyld: unknown required load command 0x80000022 Trace/BPT trap Link to comment Share on other sites More sharing options...
rednous Posted August 7, 2010 Share Posted August 7, 2010 Hey rednous, thanks you for reporting, but we cannot use your compilation of iasl since it only runs on Snow Leopard. We compiled a updated version in Leopard that works in both Leopard and Snow Leo, that comes with the package. dyld: unknown required load command 0x80000022 Trace/BPT trap haa, maybe it's cause i compiled it under Snow X64 thanx for letting me know this. Link to comment Share on other sites More sharing options...
hoob Posted August 9, 2010 Share Posted August 9, 2010 under ubuntu 10.04 LTS live-cd "try ubuntu without install" after sudo aptitude install default-jre and chmod 755 on DSDTParser.jar and iasl-linux it works. but find & replace appear as it want (edit at starting point find & replace can't open, but if i click into right windows editor, it works) in cosmetic request : can you name windows patch with name of loaded patch can you remember last opening directory for patch loading terminal windows report this (for information) ubuntu@ubuntu:~/Desktop/DSDTEditor-Linux-Mac-Win$ sudo java -jar DSDTParser.jar 9 août 2010 12:20:11 jsyntaxpane.DefaultSyntaxKit loadConfig INFO: unable to load configuration for: class jsyntaxpane.syntaxkits.DsdtSyntaxKit from: jsyntaxpane/syntaxkits/DsdtSyntaxKit/config.properties Loaded preferences Openening extracted DSDT: /home/ubuntu/Desktop/DSDTEditor-Linux-Mac-Win/dsdt.aml Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: javax.swing.JScrollPane cannot be cast to java.awt.Window at javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(BufferStrategyPaintManager.java:875) at javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(BufferStrategyPaintManager.java:832) at javax.swing.BufferStrategyPaintManager$BufferInfo.getBufferStrategy(BufferStrategyPaintManager.java:755) at javax.swing.BufferStrategyPaintManager.prepare(BufferStrategyPaintManager.java:530) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:288) at javax.swing.RepaintManager.paint(RepaintManager.java:1145) at javax.swing.JComponent._paintImmediately(JComponent.java:5086) at javax.swing.JComponent.paintImmediately(JComponent.java:4896) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:740) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:696) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:676) at javax.swing.RepaintManager.access$700(RepaintManager.java:57) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1550) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226) at java.awt.EventQueue.dispatchEvent(EventQueue.java:602) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138) Openening extracted DSDT: /home/ubuntu/Desktop/DSDTEditor-Linux-Mac-Win/dsdt.aml in this environment java -version java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-4ubuntu3) OpenJDK Server VM (build 16.0-b13, mixed mode) Link to comment Share on other sites More sharing options...
el coniglio Posted August 10, 2010 Share Posted August 10, 2010 but find & replace appear as it want (edit at starting point find & replace can't open, but if i click into right windows editor, it works) I'll try to find a workaround for this, the toolbar click is being called but it just does not work until you put focus on the text component. in cosmetic request : can you name windows patch with name of loaded patch can you remember last opening directory for patch loading Both will be implemented, they are simple changes. terminal windows report this (for information) This seems to be an issue with JDesktop and linux, I'll make some tests to find out what is going on. Even with this exception did it all worked well? I'm working on a "next level" for the app, and I'd like to know what you guys think. The idea is to let the user share with his original dsdt and mobo model to a database, the dsdt will be parsed and a system will create relationships between that dsdt and ready made patches. So when reaching a consistent database the users would just hit a button and the app would check and suggest the patches. Link to comment Share on other sites More sharing options...
oSxFr33k Posted August 11, 2010 Share Posted August 11, 2010 I need a little help here with HPET: Vanilla DSDT: Device (HPET) { Name (_HID, EisaId ("PNP0103")) Name (_CID, EisaId ("PNP0C01")) Name (BUF0, ResourceTemplate () { Memory32Fixed (ReadOnly, 0xFED00000, // Address Base 0x00000400, // Address Length ) }) Method (_STA, 0, NotSerialized) { If (LGreaterEqual (OSID (), 0x10)) { Return (0x0F) } Return (0x00) } Method (_CRS, 0, NotSerialized) { Return (BUF0) } } } DSDT Fix from this thread, http://www.insanelymac.com/forum/index.php?showtopic=190780 : Device (HPET) { Name (_HID, EisaId ("PNP0103")) Name (_CID, EisaId ("PNP0C01")) Name (ATT3, ResourceTemplate () { IRQNoFlags () {0} IRQNoFlags () {8} Memory32Fixed (ReadWrite, 0xFED00000, // Address Base 0x00000400, // Address Length ) }) Name (ATT4, ResourceTemplate () { }) Method (_STA, 0, NotSerialized) { Return (0x0F) } Method (_CRS, 0, NotSerialized) { Return (ATT3) } } } DSDT after using DSDT Editor with HPET Patch: Device (HPET) { Name (_HID, EisaId ("PNP0103")) Name (_CID, EisaId ("PNP0C01")) Name (BUF0, ResourceTemplate () { Memory32Fixed (ReadOnly, 0xFED00000, // Address Base 0x00000400, // Address Length ) }) Method (_STA, 0, NotSerialized) { Return (0x0F) } Method (_CRS, 0, NotSerialized) { Return (ATT3) } } } Dell XPS M1530 2.6 GHz Processor (T9500) 4GB Ram For one thing I am getting a compile error Error 1441 Object does not exist (ATT3) and Error 4467 String must be entirely alphanumeric (*pnp0c14) along with 9 warnings , result is not used, operator has no effect. Is this a generic HPET fix or specific for the Asus Boards? Why is the fix from the link I provided look different from the HPET patch DSDT Editor? It looks like the fix from the thread I provided has inserted IRQ flags which my Vanilla DSDT HPET never had and it looks like the HPET Patch for DSDT Editor does not insert? Also looks like DSDT Editor is not changing BUF0 to ATT3? Thanks EDITED A WHILE LATER: I was able to fix the error and warnings except this one below. Its a warning saying Possible Operator timeout ignored. Its pointing to the line with "wait" in it but I am assuming its the next line up since this is how I have been fixing this stuff so far. So what is causing this warning and how to fix? Method (_EJ0, 1, NotSerialized) { Store (SMI (0x87, 0x00), MIS7) If (MIS7) { SMI (0xA6, 0x02) SMI (0x49, One) Wait (EJTD, 0xA000) SMI (0x49, 0x00) } Return (0x00) } I still have the other questions above that need to be answered about HPET if they can be answered or some help on it. Thanks Link to comment Share on other sites More sharing options...
oldnapalm Posted August 12, 2010 Author Share Posted August 12, 2010 For one thing I am getting a compile error Error 1441 Object does not exist (ATT3) and Error 4467 String must be entirely alphanumeric (*pnp0c14) along with 9 warnings , result is not used, operator has no effect. Is this a generic HPET fix or specific for the Asus Boards? Why is the fix from the link I provided look different from the HPET patch DSDT Editor? It looks like the fix from the thread I provided has inserted IRQ flags which my Vanilla DSDT HPET never had and it looks like the HPET Patch for DSDT Editor does not insert? Also looks like DSDT Editor is not changing BUF0 to ATT3? The "HPET" fix included with the editor is intended for those who have kernel panic related to AppleIntelCPUPowerManagement ("No HPETs available") when using vanilla SpeedStep (usually some Gigabyte mobos), you probably don't need it. The fix which adds IRQs to HPET and removes from RTC, PIC and TMR, is called "IRQs". I was able to fix the error and warnings except this one below. Its a warning saying Possible Operator timeout ignored. Its pointing to the line with "wait" in it but I am assuming its the next line up since this is how I have been fixing this stuff so far. So what is causing this warning and how to fix? According to this post at DSDT Patcher thread, the "fix" would be Wait (EJTD, 0xFFFF). http://www.insanelymac.com/forum/index.php...st&p=995216 I guess it will make no difference other than removing the warning. Link to comment Share on other sites More sharing options...
ErmaC Posted August 13, 2010 Share Posted August 13, 2010 hi all. here the HDEF for AD2000B AD2000B.txt Fabio Link to comment Share on other sites More sharing options...
Professor Posted August 16, 2010 Share Posted August 16, 2010 Hey :-) I am using the latest RC build of Chameleon, and generated the P- and C-States with DSDT Editor for a Q6600. AppleLPC loaded by default. MB GA P35-DS4, Bios F14. It seems to work (at least I get no kernel panic etc.), but Audio is crackling and not working correctly. What am I doing wrong? Link to comment Share on other sites More sharing options...
oldnapalm Posted August 16, 2010 Author Share Posted August 16, 2010 @iFabio: Thanks! @Professor: Try applying the "IRQs" patch. Link to comment Share on other sites More sharing options...
Professor Posted August 16, 2010 Share Posted August 16, 2010 @iFabio: Thanks! @Professor: Try applying the "IRQs" patch. Thank you very much for the hint, oldnapalm! That works perfectly now. I now applied the ICH9 for USB sleep patch also, and now for the first time manual sleep is working as expected! What is still missing is automatic sleep after a period of time. Link to comment Share on other sites More sharing options...
Professor Posted August 17, 2010 Share Posted August 17, 2010 Hey :-) So I have an almost perferctly working DSDT.AML file now. Speedstep, Orange Icon Fix, USB removal error after sleep fix, Manual sleep works, and as I understood it, automatic sleep only works with the help of a software like "PleaseSleep". The problem I'd like to solve now, to be able to use my USB-keyboard to wake the computer from sleep instead of pressing the powerbutton. I've been searching for a while now for a solution, but didn't find one so far. Has someone a hint as how to achieve that? To use the keyboard to wake a computer from sleep? A good dsdt-fix? Thanks a lot! Link to comment Share on other sites More sharing options...
oldnapalm Posted August 17, 2010 Author Share Posted August 17, 2010 There's an option in my mobo's BIOS setup: Power - APM Configuration - ACPI Wake From USB Device Hasn't yours a similar option? I also know that removing _PRW from USB devices it stops working. Link to comment Share on other sites More sharing options...
Professor Posted August 17, 2010 Share Posted August 17, 2010 No, sorry, the GA P35-DS4 doesn't have that in Bios. The only two things i could find were: Power on by mouse (doesn't work to wake up from sleep, tested) Power on by keyboard (had to enter a password, doesn't work either) :-( Ok, after playing and testing around, I think, the Apple Aluminium USB-Keyboard is the problem. I have one, and a Magic Mouse as well (Bluetooth). I tested with a normal USB-mouse, and it is able to wake the computer after sleep. The Apple Keyboard is not. The USB mouse is recognized by driver AppleUSBUHCI. The Apple Keyboard is on Highspeed Bus and recognized by AppleUSBEHCI. Of course I already manipulated the EHCI, to get proper wake up from sleep for USB devices (removal fix). Still no go for the keyboard. Link to comment Share on other sites More sharing options...
oldnapalm Posted August 19, 2010 Author Share Posted August 19, 2010 I think the device being recognized as AppleUSBUHCI or AppleUSBEHCI depends on the USB port it's connected to, not on the device itself. Have you tried connecting the Apple keyboard to the same USB port you connected the normal one? Link to comment Share on other sites More sharing options...
oSxFr33k Posted August 19, 2010 Share Posted August 19, 2010 A Little Help on Lid Sleep Fix Please: Vanilla DSDT Code: Device (LID) { Name (_HID, EisaId ("PNP0C0D")) Method (_LID, 0, NotSerialized) { Store (One, Local0) Store (\_SB.PCI0.SBRG.EC0.RPIN (0x0A), Local0) If (LEqual (Local0, Ones)) { Store (One, Local0) } Return (Local0) } } } Lid Fix Code: Device (LID) { Name (_HID, EisaId ("PNP0C0D")) Name (LIDS, One) Method (_LID, 0, NotSerialized) { Store (^^PCI0.SBRG.EC0.RPIN, LIDS) XOr (LIDS, One, Local0) If (Local0) { Notify (SLPB, 0x80) } Return (LIDS) } } } Returns a Compile Error: Line 15149 Error Too few arguments (PCI0.SBRG.EC0.RPIN requires 1) Link to comment Share on other sites More sharing options...
oldnapalm Posted August 19, 2010 Author Share Posted August 19, 2010 Check the patch, maybe you should leave the original argument to RPIN Store (\_SB.PCI0.SBRG.EC0.RPIN (0x0A), LIDS) Link to comment Share on other sites More sharing options...
oSxFr33k Posted August 19, 2010 Share Posted August 19, 2010 Check the patch, maybe you should leave the original argument to RPIN Store (\_SB.PCI0.SBRG.EC0.RPIN (0x0A), LIDS) Perfect that worked thanks Link to comment Share on other sites More sharing options...
Professor Posted August 20, 2010 Share Posted August 20, 2010 I think the device being recognized as AppleUSBUHCI or AppleUSBEHCI depends on the USB port it's connected to, not on the device itself. Have you tried connecting the Apple keyboard to the same USB port you connected the normal one? Here's what I did: Because I don't have a normal PC keyboard, I connected the aluminium keyboard to another USB-Port, that wasn't recognized as USB EHCI. No change. The apple keyboard is still recognized as USBEHCI-device. Thanks for your attention, oldnapalm! Link to comment Share on other sites More sharing options...
vosure Posted August 21, 2010 Share Posted August 21, 2010 Follows a generated list with available patches to use with DSDT Editor. Last updated: Tue Aug 3 14:40:08 2010 Patches AD1988B.txtInsert method _DSM into device with _ADR 0x001B0000 AHCI SATA orange icon.txtChange ID of SATA device to fake ESB2 AHCI (silver icons for internal HDs instead of orange ones) ALC662.txtInsert method _DSM into device with _ADR 0x001B0000 ALC883.txtInsert method _DSM into device with _ADR 0x001B0000 ALC888.txtInsert method _DSM into device with _ADR 0x001B0000 ALC889.txtInsert method _DSM into device with _ADR 0x001B0000 ALC889A.txtInsert method _DSM into device with _ADR 0x001B0000 Alias.txtRemove aliases from scope _PR (cpus=1 fix) Aspire 3690.txtAspire 3690 Aspire 5920.txtAcer Aspire 5920 ASUS P5E.txtAll patches used in ASUS P5E (also tested on P5E Deluxe, P5K Premium and Maximus Formula) AZAL to HDEF.txtRename device AZAL to HDEF and change all references to it Dell M1330.txtDell M1330 (Intel X3100 video) DTGP.txtAdd method DTGP to the main block, it's used by other patches GIGE.txtInsert device GIGE into device with _ADR 0x001C0004 (for Gigabyte motherboards) GMA950 desktop.txtInsert device PEGP into device PCI0 GMA950 laptop.txtInsert method _DSM into device with _ADR 0x00020000 HDEF.txtInsert device HDEF into device with _HID PNP0A08 (PCI0) HPET.txtChange methods _STA and _CRS into device HPET (to avoid AppleIntelCPUPowerManagement panic) ICH9 USB sleep.txtChange ID of USB devices to fake ICH10-R (sleep fix for ICH9) IOATAFamily.txtFix IDE Timing Register to avoid IOATAFamily on 10.6.0-10.6.2 IRQs.txtRemove IRQ from device PIC and move IRQs from devices RTC and TMR to device HPET LPC.txtChange ID of device with _ADR 0x001F0000 (LPC) RTC.txtChange the length of IO segment in device RTC to 0x02 (fix CMOS reset) Shutdown ASUS.txtChange method _PTS to do nothing if Arg0 is 0x05 (shutdown) Shutdown Gigabyte.txtChange method _PTS where Arg0 is 0x05 (shutdown) SpeedStep 3 states, cpu0-3.txtInsert methods _PSS (3 P-states), _PSD and _CST into CPUs 0-3 3 states, cpu1-4.txtInsert methods _PSS (3 P-states), _PSD and _CST into CPUs 1-4 4 states, cpu0-3.txtInsert methods _PSS (4 P-states), _PSD and _CST into CPUs 0-3 4 states, cpu1-4.txtInsert methods _PSS (4 P-states), _PSD and _CST into CPUs 1-4 E5200, P001-4.txtInsert methods _PSS (14 P-states), _PSD and _CST into P001-4 E7300, cpu0-3.txtInsert methods _PSS (for E7300), _PSD and _CST into CPUs 0-3 Q6600, cpu0-3.txtInsert methods _PSS (for Q6600), _PSD and _CST into CPUs 0-3 Q6600, cpu1-4.txtInsert methods _PSS (for Q6600), _PSD and _CST into CPUs 1-4 [*]WAK.txt Insert return into method _WAK to fix warning (for Gigabyte motherboards) thanks Link to comment Share on other sites More sharing options...
oldnapalm Posted August 23, 2010 Author Share Posted August 23, 2010 @el coniglio I found another error with new iasl, same fix as "invalid combination of length and min/max fixed flags" and "length is larger than min/max window" Length is not equal to fixed Min/Max window DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0xFEE01000, // Range Minimum 0xFFFFFFFF, // Range Maximum 0x00000000, // Translation Offset 0x011FEFFF, // Length ,, , AddressRangeMemory, TypeStatic) http://www.mediafire.com/?8bf8gjmvv39d1cn Link to comment Share on other sites More sharing options...
Recommended Posts