Attempting to patch DSDT to get HPET working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have an AMD SB460 southbridge (has HPET), but a BIOS with no HPET
support. I tried contacting ACER to see if they have plans for this:

> Thank you for contacting Acer America. I apologize in the delay in
> responding to your inquiry. At this time, Acer does not have any plans to
> offer a BIOS update to support HPET. Any BIOS updates for this computer
>will be posted at www.acerpanam.com, in the Drivers and Downloads section,
> as they become available.

So my two options are to hardcode it into the kernel (requires
recompilation) or modify my DSDT. Since the ubuntu kernel supports
loading an updated DSDT.aml in the initramfs, I'm trying this route.

I added this:

Device (HPET)
{
    Name (_HID, EisaId ("PNP0103"))
    Name (BUF0, ResourceTemplate ()
    {
        IRQNoFlags () {0}
        IRQNoFlags () {8}
        Memory32Fixed (ReadOnly, 0xFED00000, 0x00000400)
    })

    Method (_STA, 0, NotSerialized)
    {
         Return (0x0F)
    }

    Method (_CRS, 0, Serialized)
    {
        CreateDWordField (BUF0, 0x0A, HPT0)
        Store (0xFED01000, HPT0)
        Return (BUF0)
    }
}

between my Device (HMAC) stanza and my Device (MATH) stanza. On boot,
the kernel indicates that its loading an updated DSDT out of the
initramfs, and later on down the line, I get the following message:

hpet_acpi_add: no address or irqs in _CRS

So, good news, drivers/char/hpet.c is finding my PNP0103 entry. Bad
news, its having a problem with the resources. Any clue why?

(Machine is Acer Ferrari 5000, BIOS version 3225, ubuntu linux kernel 2.6.22-10)
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux