MX-21 laptop will not work on battery power

Message
Author
User avatar
davidy
Posts: 818
Joined: Sat Jul 03, 2021 1:59 pm

Re: MX-21 laptop will not work on battery power

#11 Post by davidy »

This is an acer problem. Have you tried a different distro other than MX? Plus, if you are using a default windows OS that came with the pc, they usually come with loads of bloatware, norton being one. Try a different windows iso if so, and then reinstall MX in dualboot. It rather sounds like acer in conjunction with MS is preventing other OS's from being run. I mean if it works in windows but not else?
Make a backup of windows with veeam or clonezilla first though so you don't have to start completely over.
Sys76 LemurPro-mx-23.4, EliteMinis HM90-mx-21.3, Deskmini UM350-phoenixLite win10, Qnap 12tb nas, Protectli FW4C-opnsense(=゜ω゜)

zero privacy = zero security . All MX'd Up
UAP = up above people

MikeComm
Posts: 24
Joined: Thu Dec 03, 2020 2:32 pm

Re: MX-21 laptop will not work on battery power

#12 Post by MikeComm »

I have learned a little about "tlp" module installed in this laptop and it appears that the orig configuration called for USB ports to be suspended after 2 seconds on battery power.
I edited tlp.conf to "
USB_DENYLIST="1d6b:0002 1d6b:0003 046d:c52b 04f3:0c4f"
which seemed to result in the usb2 and usb3 ports to be denied (not suspended???). This did not fix the problem - mouse still dies when charge cable is removed.

Am I not understanding the application of tlp?

This is the result of the terminal

Code: Select all

tlp-stat -u
[code--- TLP 1.5.0 --------------------------------------------
+++ USB

Autosuspend = enabled
Device allowlist = (not configured)
Device denylist = 1d6b:0002 1d6b:0003 046d:c52b 04f3:0c4f
Exclude audio = enabled
Exclude bluetooth = disabled
Exclude phones = disabled
Exclude printers = enabled
Exclude WWAN = disabled

Bus 004 Device 001 ID 1d6b:0003 control = on, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub)
Bus 003 Device 004 ID 04f3:0c4f control = on, autosuspend_delay_ms = 2000 -- Elan Microelectronics Corp. ELAN:Fingerprint (no driver)
Bus 003 Device 003 ID 0408:a061 control = auto, autosuspend_delay_ms = 2000 -- Quanta Computer, Inc. HD User Facing (uvcvideo)
Bus 003 Device 002 ID 05e3:0608 control = auto, autosuspend_delay_ms = 0 -- Genesys Logic, Inc. Hub (hub)
Bus 003 Device 001 ID 1d6b:0002 control = on, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)
Bus 002 Device 001 ID 1d6b:0003 control = on, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub)
Bus 001 Device 003 ID 04ca:3802 control = auto, autosuspend_delay_ms = 2000 -- Lite-On Technology Corp. Wireless_Device (btusb)
Bus 001 Device 002 ID 046d:c52b control = on, autosuspend_delay_ms = 2000 -- Logitech, Inc. Unifying Receiver (usbhid)
Bus 001 Device 001 ID 1d6b:0002 control = on, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)

][/code]

Huckleberry Finn

Re: MX-21 laptop will not work on battery power

#13 Post by Huckleberry Finn »


MikeComm
Posts: 24
Joined: Thu Dec 03, 2020 2:32 pm

Re: MX-21 laptop will not work on battery power

#14 Post by MikeComm »

I do not see an entry for tlp and did not keep a record of the boxes I unchecked, so how do I get back to original?
Sorry, but I am still learning

Huckleberry Finn

Re: MX-21 laptop will not work on battery power

#15 Post by Huckleberry Finn »

The entry should be still there (unless you uninstall it).

Check the columns 2, 3, 4, 5 (either with mouse or using the space bar), close, reboot.

(However I "purposely" suggested to disable it completely rather than suggesting playing with the options in it, to make it sure it works without trying to save power for anything.. as if working plugged)

MikeComm
Posts: 24
Joined: Thu Dec 03, 2020 2:32 pm

Re: MX-21 laptop will not work on battery power

#16 Post by MikeComm »

Mouse is now working on battery. I still don't know why the mouse was not working because the /etc/tlp.conf file was entirely commented out.
It took a while, but I finally got the right settings in the conf file. Subsequently the battery monitor icon disappeared. So I wonder if other functions are not working.
It looks like I can make other settings in /etc/tlp.conf to monitor the battery.
In the meanwhile I added a 3rd party battery monitor that I like better anyway. My question to you is:
Where else can the kernel get power monitor/saving function? Are there default settings?
Thanks for all your help. Great and frustrating learning experience. Now looks like this Acer is a keeper. Looks like we can consider this thread as solved.

Huckleberry Finn

Re: MX-21 laptop will not work on battery power

#17 Post by Huckleberry Finn »

"ACPI" (however you already tried with noacpi )


From antiX Linux pages:

ACPI (Advanced Configuration and Power Interface) is a standard that defines power and configuration management interfaces between an operating system and the BIOS. By default, acpi is switched on when boot detects a BIOS newer than the year 2000. There are several commonly used parameters to control the behavior of ACPI:

pci=noacpi -- do not use ACPI to route PCI interrupts
acpi=off -- turn off ACPI completely
acpi=force -- turn on ACPI, for pre-2000 BIOS


( acpi=off is not recommended, however (if you like only) you can try temporarily just one boot: Press E on Grub , add after ... ro quiet splash ... press F10 to go on boot. Also you can try nvme.noacpi=1 this way, once)


In the meantime, you can install the GUI for tlp: tlp-ui

Code: Select all

sudo apt update ; sudo apt install tlpui -y

User avatar
timkb4cq
Developer
Posts: 3633
Joined: Wed Jul 12, 2006 4:05 pm

Re: MX-21 laptop will not work on battery power

#18 Post by timkb4cq »

Since ACPI modifies its behaviour depending on which OS is running, and Windows 10 doesn't exhibit the problem, you might try this boot parameter

Code: Select all

acpi_osi="Windows 2020"
or if that doesn't work this one

Code: Select all

acpi_osi=! acpi_osi="Windows 2020"
Ordinarily the first is enough to get ACPI to behave. The second adds acpi_osi=! which removes the linux kernel's built in identification before adding the Windows 10 ID.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

User avatar
timkb4cq
Developer
Posts: 3633
Joined: Wed Jul 12, 2006 4:05 pm

Re: MX-21 laptop will not work on battery power

#19 Post by timkb4cq »

Correction, I thought you were running Windows 10. Going back I see it's 11 so acpi_osi="Windows 2021" would be the better match - though 2020 would still likely work.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

Huckleberry Finn

Re: MX-21 laptop will not work on battery power

#20 Post by Huckleberry Finn »

Just to add a bit more:

Code: Select all

OSI String          	Target OS

Windows 2000       	Windows 2000
Windows 2001       	Windows XP
Windows 2001 SP1	Windows XP SP1
Windows 2001.1     	Windows Server 2003
Windows 2001 SP2	Windows XP SP2
Windows 2001.1 SP1 	Windows Server 2003 SP1
Windows 2006       	Windows Vista
Windows 2006 SP1	Windows Vista SP1
Windows 2006.1     	Windows Server 2008
Windows 2009       	Windows 7, Win Server 2008 R2
Windows 2012       	Windows 8, Win Server 2012
Windows 2013       	Windows 8.1
Windows 2015       	Windows 10
Windows 2016       	Windows 10, version 1607
Windows 2017       	Windows 10, version 1703
Windows 2017.2     	Windows 10, version 1709
Windows 2018      	Windows 10, version 1803
Windows 2018.2          Windows 10, version 1809
Windows 2019		Windows 10, version 1903
Windows 2020		Windows 10, version 2004
Windows 2021	        Windows 11
Windows 2022	        Windows 11, version 22H2
:)

Post Reply

Return to “Hardware /Configuration”