Welcome to our peer-to-peer forums, where owners help owners. Need help now? Visit eSupport here.

English Community

Linux Operating SystemsOther Linux Discussions
All Forum Topics
Options

26 Posts

10-10-2020

Belgium

35 Signins

155 Page Views

  • Posts: 26
  • Registered: ‎10-10-2020
  • Location: Belgium
  • Views: 155
  • Message 681 of 841

Re:T14 AMD battery drain in standby (Linux)

2021-07-24, 11:27 AM

@ osnix wrote:

Also just grep for CONFIG_HSA_AMD, 5.13 only has one option, 5.14 will gain one more.

Grepping for CONFIG_HSA_AMD_ won't match CONFIG_HSA_AMD :)

 

True... Thanks osnix.

 

[dvd@dvd-fedora ~]$ sudo grep "CONFIG_HSA_AMD" /boot/config-5.13.4-200.fc34.x86_64
CONFIG_HSA_AMD=y
[dvd@dvd-fedora ~]$ sudo grep "CONFIG_INTEL_PMC_CORE" /boot/config-5.13.4-200.fc34.x86_64
CONFIG_INTEL_PMC_CORE=y

 

So I'll disable CONFIG_HSA_AMD and report back tomorrow.

Reply
Options

15 Posts

06-22-2021

Germany

34 Signins

135 Page Views

  • Posts: 15
  • Registered: ‎06-22-2021
  • Location: Germany
  • Views: 135
  • Message 682 of 841

Re:T14 AMD battery drain in standby (Linux)

2021-07-24, 14:09 PM

great that @osnix patches (thanks again for them!) are being integrated by redhat and canonical, this will help many users who would probably not look for/find this thread !

 

im currently using 5.13.4 with the patch by osnix on the t14s with the today firmwares from the kernel git  and almost everything is working fine.

 

One problem is left though: the laptop does not seem to wake up from S0ix suspend and transition to hibernate automatically when using suspend-then-hibernate. (when pressing a button the laptop wakes up and then goes to hibernate immediately). This problem was not there with 5.12.14 and S3 suspend-then-hibernate..

 

Are other users/models experiencing the same issue ?

 

(im posting in this thread since its probably related to the S0ix powerdrain fix..)

 

Reply
Options

37 Posts

05-06-2021

India

59 Signins

585 Page Views

  • Posts: 37
  • Registered: ‎05-06-2021
  • Location: India
  • Views: 585
  • Message 683 of 841

Re:T14 AMD battery drain in standby (Linux)

2021-07-25, 8:17 AM

can anyone try this method here?

 

https://askubuntu.com/questions/823318/how-to-turn-off-the-usb-power-to-my-mouse-when-i-suspend-the-notebook

 

(the method which is titled "Easier solution power off all USB ports")

 

because I am having a bad feeling, lenovo f*ed up the way USB ports are grouped/attached, thus causing the power drain

 

(note: the hub/port layout is SOO bad that even the keyboard stops working with the method, so you will have to use the power button to wake it up, seems like lenovo decided to connect EVERYTHING to the same hub)

Reply
Options

83 Posts

04-17-2021

Greece

59 Signins

380 Page Views

  • Posts: 83
  • Registered: ‎04-17-2021
  • Location: Greece
  • Views: 380
  • Message 684 of 841

Re:T14 AMD battery drain in standby (Linux)

2021-07-25, 8:20 AM

If I remember correctly all those patches are for 5.14.

Reply
Options

389 Posts

03-06-2021

Germany

219 Signins

2345 Page Views

  • Posts: 389
  • Registered: ‎03-06-2021
  • Location: Germany
  • Views: 2345
  • Message 685 of 841

Re:T14 AMD battery drain in standby (Linux)

2021-07-25, 9:58 AM

@ Drishal wrote:

can anyone try this method here?

 

https://askubuntu.com/questions/823318/how-to-turn-off-the-usb-power-to-my-mouse-when-i-suspend-the-notebook

 

(the method which is titled "Easier solution power off all USB ports")

 

because I am having a bad feeling, lenovo f*ed up the way USB ports are grouped/attached, thus causing the power drain

 

(note: the hub/port layout is SOO bad that even the keyboard stops working with the method, so you will have to use the power button to wake it up, seems like lenovo decided to connect EVERYTHING to the same hub)

 

I literally tested S3 with every piece off HW disabled in BIOS... ( and options disabled etc )

If you read the whole thread you'll notice disabling devices does increase the drain ;)

 

I also tested enabling all, blacklisting the drivers, and powering off from userspace, PCI & USB, there is only

a minimal difference in drain.

 

I didn't have time to do that with the latest BIOS, but I doubt something changed regarding that.

 

Gabriel

Reply
Options

49 Posts

09-04-2010

netherland

203 Signins

1275 Page Views

  • Posts: 49
  • Registered: ‎09-04-2010
  • Location: netherland
  • Views: 1275
  • Message 686 of 841

Re:T14 AMD battery drain in standby (Linux)

2021-07-25, 10:14 AM

If you want to get rid of your machine, maybe you can make one of those 'loverboys'  happy.

 

https://www.reddit.com/r/thinkpad/comments/oqt0k0/my_new_daily_driver_t14s_ryzen_5_for_540/

 

Then get something better  :-)

 

Reply
Options

389 Posts

03-06-2021

Germany

219 Signins

2345 Page Views

  • Posts: 389
  • Registered: ‎03-06-2021
  • Location: Germany
  • Views: 2345
  • Message 687 of 841

Re:T14 AMD battery drain in standby (Linux)

2021-07-25, 10:23 AM

@ osnix wrote:

@ Drishal wrote:

can anyone try this method here?

 

https://askubuntu.com/questions/823318/how-to-turn-off-the-usb-power-to-my-mouse-when-i-suspend-the-notebook

 

(the method which is titled "Easier solution power off all USB ports")

 

because I am having a bad feeling, lenovo f*ed up the way USB ports are grouped/attached, thus causing the power drain

 

(note: the hub/port layout is SOO bad that even the keyboard stops working with the method, so you will have to use the power button to wake it up, seems like lenovo decided to connect EVERYTHING to the same hub)

 

I literally tested S3 with every piece off HW disabled in BIOS... ( and options disabled etc )

If you read the whole thread you'll notice disabling devices does increase the drain ;)

 

I also tested enabling all, blacklisting the drivers, and powering off from userspace, PCI & USB, there is only

a minimal difference in drain.

 

I didn't have time to do that with the latest BIOS, but I doubt something changed regarding that.

 

Gabriel

 

Btw if you are going to test that, that script in this thread has a bit of a bug :)

 

On pre, after unbind it has to do a:

 

sleep 2

echo 1 |  tee /sys/bus/pci/devices/$i/remove

 

then on post after rm the TEMPlist

sleep 2 ( optional but some devices need a bit to show up )

echo 1 |  tee /sys/bus/pci/rescan

Reply
Options

37 Posts

05-06-2021

India

59 Signins

585 Page Views

  • Posts: 37
  • Registered: ‎05-06-2021
  • Location: India
  • Views: 585
  • Message 688 of 841

Re:T14 AMD battery drain in standby (Linux)

2021-07-26, 4:35 AM

off-topic, but can someone please confirm if the webcam is working with bios 1.34, with Arch Linux?

Reply
Options

83 Posts

04-17-2021

Greece

59 Signins

380 Page Views

  • Posts: 83
  • Registered: ‎04-17-2021
  • Location: Greece
  • Views: 380
  • Message 689 of 841

Re:T14 AMD battery drain in standby (Linux)

2021-07-26, 5:37 AM

@ Drishal wrote:

off-topic, but can someone please confirm if the webcam is working with bios 1.34, with Arch Linux?

 

Works just fine for me.

Reply
Options

26 Posts

10-10-2020

Belgium

35 Signins

155 Page Views

  • Posts: 26
  • Registered: ‎10-10-2020
  • Location: Belgium
  • Views: 155
  • Message 690 of 841

Re:T14 AMD battery drain in standby (Linux)

2021-07-26, 5:44 AM

@ le-dvd wrote:

@ osnix wrote:

Also just grep for CONFIG_HSA_AMD, 5.13 only has one option, 5.14 will gain one more.

Grepping for CONFIG_HSA_AMD_ won't match CONFIG_HSA_AMD :)

 

True... Thanks osnix.

 

[dvd@dvd-fedora ~]$ sudo grep "CONFIG_HSA_AMD" /boot/config-5.13.4-200.fc34.x86_64
CONFIG_HSA_AMD=y
[dvd@dvd-fedora ~]$ sudo grep "CONFIG_INTEL_PMC_CORE" /boot/config-5.13.4-200.fc34.x86_64
CONFIG_INTEL_PMC_CORE=y

 

So I'll disable CONFIG_HSA_AMD and report back tomorrow.

 

After one night of sleep :

 

dim 25 jui 2021 23:15:31 CEST
POWER_SUPPLY_NAME=BAT0
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_STATUS=Discharging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-poly
POWER_SUPPLY_CYCLE_COUNT=193
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11550000
POWER_SUPPLY_VOLTAGE_NOW=12281000
POWER_SUPPLY_POWER_NOW=6017000
POWER_SUPPLY_ENERGY_FULL_DESIGN=50500000
POWER_SUPPLY_ENERGY_FULL=51480000
POWER_SUPPLY_ENERGY_NOW=41860000
POWER_SUPPLY_CAPACITY=81
POWER_SUPPLY_CAPACITY_LEVEL=Normal
POWER_SUPPLY_MODEL_NAME=5B10W139
POWER_SUPPLY_MANUFACTURER=LGC
POWER_SUPPLY_SERIAL_NUMBER= 4048
lun 26 jui 2021 07:36:50 CEST
POWER_SUPPLY_NAME=BAT0
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_STATUS=Discharging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-poly
POWER_SUPPLY_CYCLE_COUNT=193
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11550000
POWER_SUPPLY_VOLTAGE_NOW=11859000
POWER_SUPPLY_POWER_NOW=4387000
POWER_SUPPLY_ENERGY_FULL_DESIGN=50500000
POWER_SUPPLY_ENERGY_FULL=51480000
POWER_SUPPLY_ENERGY_NOW=37770000
POWER_SUPPLY_CAPACITY=73
POWER_SUPPLY_CAPACITY_LEVEL=Normal
POWER_SUPPLY_MODEL_NAME=5B10W139
POWER_SUPPLY_MANUFACTURER=LGC
POWER_SUPPLY_SERIAL_NUMBER= 4048

 

which is still 0,51 wh.

 

[dvd@dvd-fedora ~]$ sudo grep "CONFIG_AMD_PMC" /boot/config-5.13.4-200.amds0ix.fc34.x86_64 
CONFIG_AMD_PMC=y
[dvd@dvd-fedora ~]$ sudo grep "CONFIG_I2C_HID_ACPI" /boot/config-5.13.4-200.amds0ix.fc34.x86_64 
CONFIG_I2C_HID_ACPI=m
[dvd@dvd-fedora ~]$ sudo grep "CONFIG_HSA_AMD" /boot/config-5.13.4-200.amds0ix.fc34.x86_64 
# CONFIG_HSA_AMD is not set
[dvd@dvd-fedora ~]$ uname -a
Linux dvd-fedora 5.13.4-200.amds0ix.fc34.x86_64 #1 SMP Sun Jul 25 07:09:22 CEST 2021 x86_64 x86_64 x86_64 GNU/Linux

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete

X

No, I don’t want to share ideas Yes, I agree to these terms