AC adapter not detected on PH517-61-R0GX

quadcricket
quadcricket Member Posts: 15 Troubleshooter
edited April 23 in 2019 Archives
I am running Linux on my PH517-61-R0GX and the AC adapter is always showing as unplugged. Is there any way to fix this? I have to run amdgpu-utils and manually set my graphics clock just to play games and when I boot the CPU is underclocked to 548 MHz and the only fix is to unplug and replug in the power cable a few times. Even then it just goes to battery mode not "full power" mode like it's plugged in. Can this be fixed with a BIOS update?

Answers

  • MaClane
    MaClane ACE Posts: 35,598 Trailblazer
    Good night quadcricket !

    What distribution is installed?
    Do you use Gnome? KDE? XFCE?

    Depending on the distribution, try some of these solutions:

    1- Reinstalling upower and gnome-power-manager
    sudo apt-get purge upower gnome-power-manager
    sudo apt-get install upower gnome-power-manager

    2- Upgrade the most recent kernel

    3- Try to install the ACPI control mode:
    sudo apt-get install acpi
    acpi -V


    Se minha resposta foi útil, deixe um Curtir, marque como Solucionado e clique em Promover!
    Caso contrario, fico a disposição para tentarmos sanar suas duvidas e resolver seus problemas!
    Atenciosamente:  J. MaClane™

    If my answer was helpful, leave a Like, flag as Fixed and click Promote!
    Otherwise, I am willing to try to heal your doubts and solve your problems!
    Sincerely, J. MaClane ™


    For users of the English, Spanish, French and German Community, I will be using Google Translate!
              
  • quadcricket
    quadcricket Member Posts: 15 Troubleshooter
    MaClane said:
    Good night quadcricket !

    What distribution is installed?
    Do you use Gnome? KDE? XFCE?

    Depending on the distribution, try some of these solutions:

    1- Reinstalling upower and gnome-power-manager
    sudo apt-get purge upower gnome-power-manager
    sudo apt-get install upower gnome-power-manager

    2- Upgrade the most recent kernel

    3- Try to install the ACPI control mode:
    sudo apt-get install acpi
    acpi -V

    I have tested three distributions: Artix, Manjaro, and Ubuntu. 
    I have tested XFCE, KDE, and Unity. 
    I tried reinstalling the xfce4-power-manager and upgrading/reinstalling upower.
    I have tested up to kernel 5.0.3
    I have ACPI installed but am not sure what control mode is:

    Battery 0: Discharging, 97%, discharging at zero rate - will never fully discharge.
    Battery 0: design capacity 4810 mAh, last full capacity 4218 mAh = 87%
    Adapter 0: off-line
    Thermal 0: ok, 44.0 degrees C
    Thermal 0: trip point 0 switches to mode critical at temperature 98.0 degrees C
    Thermal 0: trip point 1 switches to mode passive at temperature 95.0 degrees C
    Cooling 0: Processor 0 of 10
    Cooling 1: Processor 0 of 10
    Cooling 2: Processor 0 of 10
    Cooling 3: iwlwifi 0 of 19
    Cooling 4: Processor 0 of 10
    Cooling 5: Processor 0 of 10
    Cooling 6: Processor 0 of 10
    Cooling 7: iwlwifi no state information available
    Cooling 8: Processor 0 of 10
    Cooling 9: Processor 0 of 10
    Cooling 10: Processor 0 of 10
    Cooling 11: Processor 0 of 10
    Cooling 12: Processor 0 of 10
    Cooling 13: Processor 0 of 10
    Cooling 14: Processor 0 of 10
    Cooling 15: Processor 0 of 10
    Cooling 16: Processor 0 of 10
    Cooling 17: Processor 0 of 10
    You will notice the discharging rate is zero and the adapter is showing as off-line.
  • MaClane
    MaClane ACE Posts: 35,598 Trailblazer

    If not, try a distribution that is more compatible with hardware and purer, such as Debian.


    Se minha resposta foi útil, deixe um Curtir, marque como Solucionado e clique em Promover!
    Caso contrario, fico a disposição para tentarmos sanar suas duvidas e resolver seus problemas!
    Atenciosamente:  J. MaClane™

    If my answer was helpful, leave a Like, flag as Fixed and click Promote!
    Otherwise, I am willing to try to heal your doubts and solve your problems!
    Sincerely, J. MaClane ™


    For users of the English, Spanish, French and German Community, I will be using Google Translate!
              
  • quadcricket
    quadcricket Member Posts: 15 Troubleshooter
    udevadm monitor shows nothing when I unplug/plug in the cord so there is no way to create a udev rule based on that action. 
    Regardless of distro the Linux kernel is going to be the same. If Ubuntu cannot work with this laptop then that will be a massive reason for customers to not purchase/return the device. 
    In dmesg it shows: "[    8.054947] ACPI: AC Adapter [ACAD] (on-line)" so at some point the cable is detected correctly but then falsy changes to off-line. 

    I appreciate your help so far but we still do not have a solution. 
  • JohnCena
    JohnCena Member Posts: 460 Seasoned Practitioner WiFi Icon
    Try it is happening in Windows or not
  • quadcricket
    quadcricket Member Posts: 15 Troubleshooter
    JohnCena said:
    Try it is happening in Windows or not
    Unplugging the power cable and plugging it in is detected perfectly in Windows 10.
  • quadcricket
    quadcricket Member Posts: 15 Troubleshooter
    Unplugging the power cable and plugging it in is detected perfectly in Windows 10.

    This does not solve my problem since the laptop still does not work right in Linux. Which is what I use the majority of the time.