InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   Ελλάδα (http://infinitemac.com/forumdisplay.php?f=83)
-   -   The DSDT (.dsl) Thread (http://infinitemac.com/showthread.php?t=5143)

SomniusX 01-07-2010 08:15 PM

The DSDT (.dsl) Thread
 
-------------------------
This thread available in English using online translator (google translate)
by following this link
http://bit.ly/8djPhV

-------------------------

Λοιπόν,

εντόπισα μια πολύ καλή πηγή με αρκετά DSDT, βέβαια γύρω από την Acer και τα Laptop/Desktop της, όπως και άλλες παρεμφερείς εταιρείες που μπορεί να συνεργάζεται,

εάν βρείτε κι εσείς, παραθέστε τα σαν απάντηση στο παρόν thread για να μεγαλώσει η λίστα! ΑΚΟΜΑ και το δικό σας, με αναλυτική όμως περιγραφή του μηχανίματός σας, ώστε όταν κάποιος θα το ψάξει να το βρεί! :D

παραθέτω λίστα και επίσης ένα πακέτο για να τα κατεβάσετε.. σε περίπτωση που στο μέλλον δεν είναι διαθέσιμα, για τα μέλη του InfiniteMac.com! :D

Αρχεία DSDT για :
  • Acer
  • Belinea
  • Compal
  • Fujitsu Siemens
  • Medion
  • Prestigio
Και για να είμαι πιο σαφής πάρτε και την λίστα..
  • Acer
    • Aspire
      • 1300.dsl
      • 1360.dsl
      • 1410.dsl
      • 1500.dsl
      • 1510.dsl
      • 1520.dsl
      • 1640.dsl
      • 1650.dsl
      • 1680.dsl
      • 1690.dsl
      • 1700.dsl
      • 2920.dsl
      • 3000.dsl
      • 3050.dsl
      • 3100.dsl
      • 3500.dsl
      • 3610.dsl
      • 3620.dsl
      • 3630.dsl
      • 3680.dsl
      • 3690.dsl
      • 3930.dsl
      • 4315.dsl
      • 4520.dsl
      • 4530.dsl
      • 4710.dsl
      • 4720.dsl
      • 4730.dsl
      • 4920.dsl
      • 4930.dsl
      • 5000.dsl
      • 5010.dsl
      • 5020.dsl
      • 5030.dsl
      • 5040.dsl
      • 5050.dsl
      • 5100.dsl
      • 5315.dsl
      • 5500.dsl
      • 5520.dsl
      • 5560.dsl
      • 5570.dsl
      • 5580.dsl
      • 5600.dsl
      • 5610.dsl
      • 5630.dsl
      • 5650.dsl
      • 5670.dsl
      • 5680.dsl
      • 5710.dsl
      • 5715.dsl
      • 5720.dsl
      • 5920.dsl
      • 5930.dsl
      • 6930.dsl
      • 7110.dsl
      • 7220.dsl
      • 7520.dsl
      • 7720.dsl
      • 9110.dsl
      • 9300.dsl
      • 9420.dsl
      • 9810.dsl
      • One.dsl
    • Extensa
      • 2900.dsl
      • 4010.dsl
      • 4100.dsl
      • 4220
      • 4220.dsl
      • 5010.dsl
      • 5220.dsl
      • 5620.dsl
      • 5630.dsl
      • 6700.dsl
      • 7630.dsl
    • Ferrari
      • 1000.dsl
      • 1100.dsl
      • 3400.dsl
      • 4000.dsl
      • 5000.dsl
    • TravelMate
      • 220.dsl
      • 2300.dsl
      • 240.dsl
      • 2400.dsl
      • 2410.dsl
      • 2420.dsl
      • 2450.dsl
      • 2480.dsl
      • 2490.dsl
      • 2700.dsl
      • 290.dsl
      • 3010.dsl
      • 3200.dsl
      • 3260.dsl
      • 3620.dsl
      • 380.dsl
      • 4000.dsl
      • 4020.dsl
      • 4050.dsl
      • 4100.dsl
      • 4150.dsl
      • 4200.dsl
      • 4220.dsl
      • 4230
      • 4230.dsl
      • 4280.dsl
      • 4400.dsl
      • 4500.dsl
      • 4650.dsl
      • 4730.dsl
      • 520.dsl
      • 5320.dsl
      • 5520.dsl
      • 5620.dsl
      • 5720.dsl
      • 610.dsl
      • 6290.dsl
      • 6292.dsl
      • 6490.dsl
      • 650.dsl
      • 6590.dsl
      • 7510.dsl
      • 7520.dsl
      • 800.dsl
      • 8100.dsl
      • 8210.dsl
      • C100.dsl
      • C200.dsl
      • C300.dsl
      • C310.dsl
  • Belinea
    • b.book
      • 3.dsl
  • Compal
      • CL56.dsl
  • Fujitsu Siemens
    • Amilo
      • a1650.dsl
      • a1650g.dsl
      • li21732.dsl
      • li2727.dsl
      • v3505.dsl
  • Medion
    • MD
      • 42200.dsl
      • 95400.dsl
      • 96500.dsl
      • 98300.dsl
  • Prestigio
    • Nobile
      • 157.dsl

Το παρακάτω Link σας πάει στο MultiUpload όπου το πακέτο είναι διαθέσιμο σε αρχείο .zip για τα παρακάτω sites..

Code:

http://www.multiupload.com/AU8E1XLH4L
http://i50.tinypic.com/111rnmb.jpghttp://i46.tinypic.com/2ymexon.jpghttp://i46.tinypic.com/ip6oli.jpg
http://i50.tinypic.com/245f0k2.jpghttp://i48.tinypic.com/24fmhw5.jpghttp://i47.tinypic.com/2ih11xe.jpg
http://i50.tinypic.com/vh5etl.jpghttp://i50.tinypic.com/2i0cgls.jpg

Επίσης και στο δικό μου server σε .rar εδώ

Code:

http://hellasproject.com/files/dsdts_p1.rar

excos 01-07-2010 08:57 PM

Και μερικα ακρονυμια ειναι :
Method - Description

PBL (S/G) = BackLight
CAM (S/G) = Camera
CRD (S/G)= Card Reader
WLD (S/G) = Wireless Lan Set / Get
CFV (S/G) = FSB Speed & Voltage Set / Get
CAM (S/G) = Camera Set / Get
BTH (S/G) = BlueTooth Set / Get
SDSP = Switch/Swap Display
CRD (S/G) = Card Reader Set / Get
HDPS = ???
PBP (S/G) =
M3G (S/G) = Mobile 3G
HWCF = ??
GNVS = Get Volume (I'm sure this is wrong. Probably gets and sets memory references???)
SNVS = Set Volume (I'm sure this is wrong. Probably gets and sets memory references???)

SomniusX 01-07-2010 08:58 PM

Τα wak == είναι ?

edit : βρήκα και το muzzle (http://bit.ly/87KP5K) θα του ρίξω μια ματιά μήπως έχει κάτι για μας!

SomniusX 01-07-2010 09:06 PM

Επίσης εδώ βρήκα έναν τρόπο με π.χ. ένα live linux distro (βλέπε ubuntu) να πάρεις ένα dsdt

http://ubuntuforums.org/showthread.php?t=1036051

Παραθέτω το thread από εκεί για να υπάρχει στο αρχείο μας!

Quote:

This guide will help you fix your DSDT file to fix common ACPI problems on any Debian based OS. With Mint 6/Ubuntu 8.10, I started having a lot of problems with my laptop thermal temps, and not wanting to boot without holding down a keyboard key. This was in my case because of a buggy DSDT file. To read more about ACPI/DSDT go here: http://forums.opensuse.org/how-faq-r...uggy-dsdt.html It is the catalyst behind this how to. The process is a little different for Debian based operating systems. This how to will show you how to do it with Mint/Ubuntu.

WARNING: This might mess up your operating system. Even if you have zero errors after fixing the DSDT, it may still cause you to not be able to boot your OS. It will not harm your PC or hardware.

Before trying this tutorial, try updating your BIOS to fix bugs first. This is a last resort to try and manually fix DSDT related bugs.

The first thing we need to do is install the Intel DSDT compiler. Open a terminal and run
Code:

sudo apt-get install iasl
Then we need to get a copy of your current DSDT and save it in your home folder with this command
Code:

sudo cat /proc/acpi/dsdt > dsdt.dat
Then we will disassemble it with iasl with this command
Code:

iasl -d dsdt.dat
You should now have a file called dsdt.dsl in your home folder. This is the file you will be editing. Once you are done making changes, we will use it to make a new DSDT file. The next step is to use iasl to recompile the dsdt.dsl file to see any errors/warnings/optimizations with this command. Replace <yourusername> with your username.
Code:

iasl -tc /home/<yourusername>/dsdt.dsl
This will show you the output of the recompiling process. At this point, you can use the output to find errors in the DSDT and attempt to fix them by editing the dsdt.dsl file with your favorite text editor. Go into the preferences for your text editor and turn on "line numbering". Then open dsdt.dsl with your text editor. You can use the output of the last command to find the errors by their line number. The following is an example of a common error. "dsdt.dsl 349" means the error is on line 349 of the dsdt.dsl file. Go to that line in your dsdt.dsl file with the text editor to fix it and save.

Code:

dsdt.dsl  349:    Method (\_WAK, 1, NotSerialized)
Warning  1079 -                ^ Reserved method must return a value (_WAK)

Each time you make a change in the dsdt.dsl file, be sure to save it, and then recompile to see the new output with
Code:

iasl -tc /home/<yourusername>/dsdt.dsl
This will recompile it with the new changes and give you a new output to see if things look better :D Below are several links with common DSDT errors and their fixes.

http://forums.opensuse.org/how-faq-r...uggy-dsdt.html
https://wiki.edubuntu.org/LaptopTestingTeam/HPdv5z
http://forums.opensuse.org/archives/...uggy-dsdt.html
http://forums.gentoo.org/viewtopic.php?t=122145

You might get lucky and find one already fixed for your make/model here: http://acpi.sourceforge.net/dsdt/view.php If so then you can skip to the last two commands.

Once you have successfully edited the dsdt.dsl file, we should have a dsdt.aml in your home folder. This was the goal of the how to.

WARNING: The commands up till this point have not made any changes to your system. You can simply delete the files that have been created. After the last two commands, you will be using a custom DSDT at boot. This is the point of no return.

These commands will rename the dsdt.aml file and copy it to your /etc/initramfs-tools folder. Then we will update the initrd image to include the DSDT override at boot. The very last command will update the initrd image. You need to replace "kernel version" with your kernel version. You can see it by running
Code:

uname -r
in a terminal.

Code:

sudo cp dsdt.aml /etc/initramfs-tools/DSDT.aml
Code:

sudo update-initramfs -u -k kernel-version
Now cross your fingers and reboot To see if it stuck, you can look in your dmesg output. Open a terminal and run
Code:

dmesg > /home/yourusername/Desktop/dmesg
This will put your dmesg output into a text file on your desktop. You should see a line similar to this:

Code:

[    0.020495] ACPI: Checking initramfs for custom DSDT
[    0.353464] ACPI: Found DSDT in DSDT.aml.
[    0.353470] ACPI: Override [DSDT-  MCP67], this is unsafe: tainting kernel
[    0.353478] ACPI: Table DSDT replaced by host OS
[    0.353482] ACPI: DSDT 00000000, 7CB3 (r1 NVIDIA    MCP67  6040000 INTL 20061109)
[    0.353487] ACPI: DSDT override uses original SSDTs unless "acpi_no_auto_ssdt"

Places to check before and after are: dmesg output and /proc/acpi. I would especially check /proc/acpi/fan and /proc/acpi/thermal_zone to see if they are populated after this tutorial if they weren't before. Another trick I've learned during this process is to specify the operating system at boot. More about this is explained in the links I provided. I found that by adding
Code:

acpi_osi="Linux"
to the boot options, the operating system even saw my hardware differently at boot. This seems to be very affective on HP laptops with Vista preinstalled. I outlined these steps here: http://www.linuxmint.com/forum/viewt...p?f=60&t=18222 The DSDT code is very hard to read, and I myself don't understand all of it. I left my HP desktop with 0 errors, and 4 warnings. Everything works, so I left the warnings. My laptop DSDT is perfect. It is a HP dv6815nr if someone with the same model wants to use my custom DSDT file. DSDT files are PC specific. Do not try using a DSDT from another PC unless it has the same hardware as yours.

EDIT: To remove a custom DSDT, delete the DSDT.aml file with
Code:

sudo rm /etc/initramfs-tools/DSDT.aml
and reupdate the init image with
Code:

sudo update-initramfs -u -k kernel-version
This will revert your system back to the original state after a reboot.

EDIT:
This will not work with kernels that are still in development. The patches that allow the custom DSDT are not included until the kernel is released as "stable".

UPDATE: The kernel dev's will no longer use the patch to enable custom DSDT files for Karmic 9.10 and beyond. Jaunty 9.04 is the last version this will work on. You are urged to file a bug report for DSDT errors.

excos 01-07-2010 09:21 PM

Παραδειγματα για fix και τι προσθετουμε στο dsdt για να λυνει προβληματα

Code:

:Method

(WAK, 1, NotSerialized) //WAKE up
{
\_SB.PCI0.SBRG.EC0.EC0W (Arg0)
\_SB.PCI0.NWAK (Arg0)
\_SB.PCI0.SBRG.SWAK (Arg0)
LPWK (Arg0)
Store(\_SB.ATKD.PBLG(),local0) //---> Get Brightness level from NVS
\_SB.ATKD.PBLS(local0) //---> Set Brightness level.
}
Device (LID0)
{
Name (_HID, EisaId ("PNP0C0D")) //LID detection
Method (_PRW, 0, NotSerialized)
{
Return (Package (0x02)
{
0x0B,
0x04
})
}

Code:

Name (LIDS, One)
Method (_LID, 0, NotSerialized)
{
Store (^^PCI0.SBRG.EC0.SF13, LIDS) //LID register
XOr (LIDS, One, Local0)
IF (Local0) //if LID is closed
{
Notify (SLPB, 0x80) //Set system to sleep
}
Return (LIDS)
}

Sample code..
Code:

Method (CAMS, 1, Serialized) //Camera Set
{
Return (OCMS (Arg0))
}

Method (CAMR, 0, Serialized) //Camera toggle : added
{
Store (OCMG (), Local0)
XOr (Local0, One, Local0)
Return (OCMS (Local0))
}

Method (CAMG, 0, Serialized) //Camera Set
{
Return (OCMG ())
}

The code above is very tell tale, it is for switching the Camera on and off.


Code:

Method (_Q2A, 0, NotSerialized) //Camera
{
^^^^ATKD.CAMR() //Toggle Camera
ATKN (0x1D) //notify ATKD
}

..................κλπ κλπ

SomniusX 01-08-2010 01:12 PM

Μάλιστα καλά πάει το thread, κανείς άλλος να μας παραθέσει ένα .zip/.rar με το δικό του DSDT.aml και τι hardware έχει?

excos 01-08-2010 09:26 PM

Λοιπον μιας και εχω χρονο σημερα το βραδυ θα κανω καποια αναφορα στα fix για το dsdt που ειναι γενικα σε ολα τα μηχανηματα.

1 fix dsdt RTC για notebook & netbook η RTC0 για DESKTOP :

Το εξαγωγιμο dsdt χωρις την διορθωση η τιμες ειναι :

Code:

Device (RTC)
                {
                    Name (_HID, EisaId ("PNP0B00"))
                    Name (BUF0, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0070,            // Range Minimum
                            0x0070,            // Range Maximum
                            0x01,              // Alignment
                            0x08,              // Length
                            )
                    })
                    Name (BUF1, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0070,            // Range Minimum
                            0x0070,            // Range Maximum
                            0x01,              // Alignment
                            0x08,              // Length
                            )
                    })

Η διορθωση στις τιμες πρεπει να ειναι : 0x02 //Length

Code:

Device (RTC)
                {
                    Name (_HID, EisaId ("PNP0B00"))
                    Name (BUF0, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0070,            // Range Minimum
                            0x0070,            // Range Maximum
                            0x01,              // Alignment
                            0x02,              // Length  <---------εδω
                            )
                    })
                    Name (BUF1, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0070,            // Range Minimum
                            0x0070,            // Range Maximum
                            0x01,              // Alignment
                            0x02,              // Length  <-------- εδω
                            )
                    })


Διορθωση του Power button ωστε να υποστηριζει και εντολη sleep :

Code:

Device (PWRB)
        {
            Name (_CID, EisaId ("PNP0C0C")) // <----- πρεπει να ειναι ετσι

Κανω καποιες δοκιμες με το dsdt του Αcer one για να φτιαξω και το sleep
Τα επομενα fix θα ειναι :

Code:

WAK 1
Code:

LID 0
Θα ενημερωσω για τα αποτελεσματα.

edit by Bloodiator: με πέθανες, βάλε code brackets :P

Blood κατεβασε το δικο μου
που δεν εχει καθολου error σε τιποτα και κοιτα μπας και φτιαξεις και τα δικα σου error στο Acer σου.
Τσεκαρα πως το WAK 1, LID 0 στο μικρο μου παιζει μια χαρα συγκρινομενο με το macbook μου, οπως και το HPET.:D
Το μονο bug που εχω ειναι το deep sleep και δεν εχω καταφερει να το λυσω εως τωρα.:(

Λοιπον κατι καινουργιο περι RTC που ανακαλυψα ειναι οτι οι τιμες που αλλαζαμε σε :
Code:

0x02,              // Length  <---------εδω
παιζουν μονο για 10.6 & 10.6.1 γιατι χαλανε το sleep.

Με το update σε 10.6.2 οι τιμες ξαναγυριζουν σε :

Code:

0x08,              // Length <----------- εδω
και ετσι φτιαχνουμε ενα bug που χτυπαει για το sleep.

Ηδη το εχω διορθωσει στο μικρο μου και τρεχει μια χαρα με το καινουργιο DSDT.aml.

Lays 01-12-2010 06:45 PM

Παιδια χρεαζομαι και εγω ενα τετιο για το snow που θα βαλω!
motherboard
MS-7336

ευχαριστω!

excos 01-12-2010 06:56 PM

Κανε login στο
Code:

http://hellasproject.com
και κατεβασε το DSDT simpler editor V 1.3.6 εχει τα παντα για να φτιαξεις dsdt και στο 10.5 οπου μπορεις να το εχεις και για το 10.6.

Lays 01-12-2010 07:34 PM

δηλαδη το κατεβαζω και τι πρεπει να κανω
επισις εκανα install το snow το ξεκεινησα με το bootloader και μπηκα κανονικα εβαλα στοιχια στην επανακινηση μου πεταει μηνημα κανε ρεσταρτ εκι που δειχνει το μηλο και δεν κανει τπτ θα φτει λογικα το dsdt?