Page 18 of 59 FirstFirst ... 8161718192028 ... LastLast
Results 171 to 180 of 581

Thread: HOWTO Fix A Buggy DSDT File

  1. #171
    Join Date
    Feb 2007
    Location
    Switzerland
    Beans
    86
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO Fix A Buggy DSDT File

    Code:
    diego@laptop:~/Bureau$ file Compaq*
    Compaq-Evo_N160-unknown-custom.asl.gz: ASCII C program text, with very long lines
    In fact, gzipping a text file is ... strange.

    Anyway, that's what I did with my files )

    Diego
    Attached Files Attached Files

  2. #172
    Join Date
    Jan 2007
    Location
    Kentucky, USA
    Beans
    1,684
    Distro
    Ubuntu Development Release

    Re: HOWTO Fix A Buggy DSDT File

    Acronym for the American Standard Code for Information Interchange. Pronounced ask-ee, ASCII is a code for representing English characters as numbers, with each letter assigned a number from 0 to 127. For example, the ASCII code for uppercase M is 77. Most computers use ASCII codes to represent text, which makes it possible to transfer data from one computer to another.
    In other words the archived file is in ASCII format and is not human readable. The archive manager is expecting a regular gzipped text file. It thinks the file is corrupt.

  3. #173
    Join Date
    Jan 2007
    Location
    Kentucky, USA
    Beans
    1,684
    Distro
    Ubuntu Development Release

    Re: HOWTO Fix A Buggy DSDT File

    NarsilAnduril:

    0 Errors, 0 Warnings, 0 Remarks, 775 Optimizations

    I fixed wake from sleep/suspend error. I also fixed a couple of other errors that probably won't affect your day to day stuff. Send me a copy of
    Code:
    sudo dmesg
    afterwards.

    dsdt.aml.zip

  4. #174
    Join Date
    Feb 2007
    Location
    Switzerland
    Beans
    86
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO Fix A Buggy DSDT File

    Thanks !

    Here is the file.

    I don't know if this changed something ... I was expecting gnome power manager to find my battery, but it still doesn't.
    Attached Files Attached Files

  5. #175
    Join Date
    Jan 2007
    Location
    Kentucky, USA
    Beans
    1,684
    Distro
    Ubuntu Development Release

    Re: HOWTO Fix A Buggy DSDT File

    I don't see any errors in your dmesg output. What does
    Code:
    lshal | grep battery
    say?

  6. #176
    Join Date
    Feb 2007
    Location
    Switzerland
    Beans
    86
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO Fix A Buggy DSDT File

    Looks good :

    Code:
    diego@laptop:~$ lshal | grep battery
    udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_CMB0'
      battery.charge_level.current = 0  (0x0)  (int)
      battery.charge_level.design = 0  (0x0)  (int)
      battery.charge_level.last_full = 0  (0x0)  (int)
      battery.charge_level.percentage = 0  (0x0)  (int)
      battery.charge_level.rate = 1620  (0x654)  (int)
      battery.is_rechargeable = true  (bool)
      battery.model = 'BAT1'  (string)
      battery.present = true  (bool)
      battery.rechargeable.is_charging = false  (bool)
      battery.rechargeable.is_discharging = true  (bool)
      battery.reporting.current = 1903  (0x76f)  (int)
      battery.reporting.design = -1  (0xffffffff)  (int)
      battery.reporting.last_full = -1  (0xffffffff)  (int)
      battery.reporting.rate = 1620  (0x654)  (int)
      battery.reporting.technology = 'Li-ion'  (string)
      battery.reporting.unit = 'mWh'  (string)
      battery.serial = '0000'  (string)
      battery.technology = 'lithium-ion'  (string)
      battery.type = 'primary'  (string)
      battery.vendor = 'COMPAQ'  (string)
      battery.voltage.current = 13544  (0x34e8)  (int)
      battery.voltage.design = -1  (0xffffffff)  (int)
      battery.voltage.unit = 'mV'  (string)
      info.capabilities = {'battery'} (string list)
      info.category = 'battery'  (string)
      info.udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_CMB0'

  7. #177
    Join Date
    Jan 2007
    Location
    Kentucky, USA
    Beans
    1,684
    Distro
    Ubuntu Development Release

    Re: HOWTO Fix A Buggy DSDT File

    According to that your battery is recognized, but can't read it's capacity info. I took another look at your battery section and made some changes. Try this dsdt along with the acpi, hpet, and acpi_osi arguments we tried earlier. Reboot and send me another sudo dmesg output. Hopefully the changes I made will let the kernel see your battery info.

    dsdt.aml.zip

  8. #178
    Join Date
    Feb 2007
    Location
    Switzerland
    Beans
    86
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO Fix A Buggy DSDT File

    That's it, thank you very very much !

    Diego
    Attached Images Attached Images
    Attached Files Attached Files

  9. #179
    Join Date
    Jul 2009
    Location
    nebraska
    Beans
    81
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO Fix A Buggy DSDT File

    hey.
    i've got an F700 presario that doesn't boot unless AC is connected....it progresses somewhat through the boot if i repeatedly press the power button, but never totally boots until plugged into the wall. same with shutting down.

    all the threads i read led here.


    here is my output from [iasl -tc /home/(user)/dsdt.dsl

    repeated over and over again...."Object does not exist ^"
    then eventually:
    Maximum error count (200) exceeded
    ASL Input: /home/(user)/dsdt.dsl - 7375 lines, 254663 bytes, 3490 keywords
    Compilation complete. 201 Errors, 0 Warnings, 0 Remarks, 570 Optimizations

    what the hell does this mean?

  10. #180
    Join Date
    Jan 2007
    Location
    Kentucky, USA
    Beans
    1,684
    Distro
    Ubuntu Development Release

    Re: HOWTO Fix A Buggy DSDT File

    Quote Originally Posted by NarsilAnduril View Post
    That's it, thank you very very much !

    Diego
    Cool. My advice is to keep a copy of the fixed DSDT.aml in a safe place. The DSDT shipped with your BIOS is broken and will never change. If you ever do a clean install of any Linux/Mac OS, then you will have to reuse the custom DSDT. You can use it for any distro.

Page 18 of 59 FirstFirst ... 8161718192028 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •