Menu

Home

danang dwi kristiyanto

Wiki for ACPI problems


Discussion

  • danang dwi kristiyanto

    first approach was to disable XHCI support in latest stable kernel which is version 4.7.2 as of august 2016, still one problem arise, when suspend on battery and i switch the power while AC power was connected, the sistem freeze, wakeup failed, so something wrong with power mode switching

     
  • danang dwi kristiyanto

    another option was using long term kernel??, 3.18.40,

     

    Last edit: danang dwi kristiyanto 2016-08-26
  • danang dwi kristiyanto

    i build kernel for debian/ubuntu and derivative only

     

    Last edit: danang dwi kristiyanto 2016-09-26
  • danang dwi kristiyanto

    should disable all wakeup devices ini /proc/acpi/wakeup, with echo (name of devices) > /proc/acpi/wakeup

     
  • danang dwi kristiyanto

    supaya permanen disable, masukkan nilai echo "(nama devices)" > /proc/acpi/wakeup ke /etc/rc.local

    isinya kira2 spt ini, dg kernel tanpa XHCI
    yang disable USB di sebelah atasnya echo, keknya gak fungsi

    for device in XHC EHC1 EHC2; do
    grep $device /proc/acpi/wakeup | grep enabled > /dev/null && {
    echo Disabling wakeup on $device
    echo $device > /proc/acpi/wakeup
    }
    done

    echo "LID" > /proc/acpi/wakeup
    echo "SLPB" > /proc/acpi/wakeup
    exit 0

     
  • danang dwi kristiyanto

    the best workaround was to use long term kernel 3.18 , it's running fine now

     
  • danang dwi kristiyanto

    more updates soon for 3.18.40 , add kernel sources, because virtualbox needed it
    sept 18,2016

     

    Last edit: danang dwi kristiyanto 2016-09-18
  • danang dwi kristiyanto

    all dkms features need kernel sources

     
  • danang dwi kristiyanto

    wimax module (for wifi chip) don't support suspend properly
    suspend to disk
    [ 7461.356649] i2400m_usb 2-1.5:1.0: firmware i6050-fw-usb-1.5.sbcf: cached
    7473.001780] i2400m_usb 2-1.5:1.0: failed to suspend, will reset on resume
    resume
    [ 7474.640449] i2400m_usb 2-1.5:1.0: device reset on resume: reinitializing driver
    [ 7474.640624] i2400m_usb 2-1.5:1.0: firmware i6050-fw-usb-1.5.sbcf: loading from cache

     
  • danang dwi kristiyanto

    sometime kernel panic occurs, about cpu nmi, add noautogroup at kernel option, if it helps please give feedback

     
  • danang dwi kristiyanto

    if kernel's panic when using virtualbox , maybe it's virtualbox issues, disable nmi whatchdog at https://www.virtualbox.org/ticket/13762

     
  • danang dwi kristiyanto

    virtualbox seems rise problems with suspend so i recommend to use QEMU instead,
    such as SPICE_PORT=5924 qemu-system-x86_64 -cpu host -smp 2 -enable-kvm -device virtio-serial-pci -usbdevice tablet -net nic,model=rtl8139 -net user,smb=/media/DATA/Dropbox -m 512 -boot d /media/DATA/windowsxp/windowsxp2.hdd

     
  • danang dwi kristiyanto

    kernel source for 3.18.40 will available on early october, now preparing for 4.1 and so on

     
  • danang dwi kristiyanto

    just tested 4.1.33 , look fine, suspend to ram ok, suspend to disk ok, all able to resume perfectly, unfortunately, 4.4.21 and 4.8.0 still freeze, need further research

     
  • danang dwi kristiyanto

    my kernel's list

     
  • danang dwi kristiyanto

    my built for 4.4 and 4.7 still suffer when resume, so i jump to newest kernel, 4.8, and looks ok with multiple suspend and hibernation

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.