Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message
X210/X2100 embedded controller fixes (was: X210 EC datasheet/better brightness control)
-
- Junior Member
- Posts: 404
- Joined: Sun Nov 18, 2012 5:42 pm
- Location: San Francisco Bay Area
Re: X210/X2100 embedded controller fixes (was: X210 EC datasheet/better brightness control)
Opening this can of worms back up - the EC fixes so far are pretty impressive, but there are still some troublesome issues with this machine.
In particular, I'd like to try and figure out USB-C charging properly, I'm sure people have noticed the charge / not charging cycling with smaller chargers even with the "slow charge" EC blob.
I've done a few experiments with a USB-C power meter and figured out that in general, the input power (with no battery) agrees with the PL1/PL2 settings plus about 5W. However, that means there's some other issue with charging or the current limit set in the EC. For example, I connected a 65W charger with the "slow" EC binary, set the PL1/PL2 to 5W /10! (!) and found that during the "charge" part of the cycle, input power was no higher than ~ 17W and we are nowhere NEAR the charger limit.
This tells me (a) maybe there's an issue with total available power negotiation or (b) the EC charge setting somehow doesn't do what we think.
Anyone interested in helping to work this out? I'd love to use a small GAN charger for this machine...
R
In particular, I'd like to try and figure out USB-C charging properly, I'm sure people have noticed the charge / not charging cycling with smaller chargers even with the "slow charge" EC blob.
I've done a few experiments with a USB-C power meter and figured out that in general, the input power (with no battery) agrees with the PL1/PL2 settings plus about 5W. However, that means there's some other issue with charging or the current limit set in the EC. For example, I connected a 65W charger with the "slow" EC binary, set the PL1/PL2 to 5W /10! (!) and found that during the "charge" part of the cycle, input power was no higher than ~ 17W and we are nowhere NEAR the charger limit.
This tells me (a) maybe there's an issue with total available power negotiation or (b) the EC charge setting somehow doesn't do what we think.
Anyone interested in helping to work this out? I'd love to use a small GAN charger for this machine...
R
-
- Junior Member
- Posts: 433
- Joined: Mon Apr 11, 2005 2:24 pm
- Location: Mississauga, Ontario, Canada
Re: X210/X2100 embedded controller fixes (was: X210 EC datasheet/better brightness control)
Do you need to patch the BIOS to get working EFI on the X210? I noticed today that the BIOS reports UEFI 2.x but I've tried to boot off both USB drives and hard drives that have a EFI partition -- both do not boot either presenting a black screen or an error "enter a proper boot device". Only boots of legacy drives. If I go into the BIOS while an EFI drive is attached, if I go to "start efi..." it says it can't find shell.efi on any drive.
Also, does anyone use their X210 with modern linux? The last time I used this device was back when Debian 9.3 was current (kernel 4.19). Standby and hibernation worked perfect -- tested again today. But with Debian 12, hibernation fails to resume stating the hibernation image is not of the correct architecture type. I tried kernel 6.3, 6.1, 5.18 and even a LTS 4.19 being 4.19 was working with hibernation in Debian 9.
Also, does anyone use their X210 with modern linux? The last time I used this device was back when Debian 9.3 was current (kernel 4.19). Standby and hibernation worked perfect -- tested again today. But with Debian 12, hibernation fails to resume stating the hibernation image is not of the correct architecture type. I tried kernel 6.3, 6.1, 5.18 and even a LTS 4.19 being 4.19 was working with hibernation in Debian 9.
X62 & X62s & X62T SXGA+ i7 5600u 8-16GB
Helix i7
Carbon X1 i5 UHD
W520 4x-i7
Sony Vaio P799 (8" LED 1600x768)
"Think" Ultrabook i7
LegoThinkpad 11"
in storage:
X131e AMD
X60/X60s, X61/X61s/X61T, T61, T420, X30
past:
X20-X24, 390X
Helix i7
Carbon X1 i5 UHD
W520 4x-i7
Sony Vaio P799 (8" LED 1600x768)
"Think" Ultrabook i7
LegoThinkpad 11"
in storage:
X131e AMD
X60/X60s, X61/X61s/X61T, T61, T420, X30
past:
X20-X24, 390X
Re: X210/X2100 embedded controller fixes (was: X210 EC datasheet/better brightness control)
I run my EFI Gentoo Lignux (in fact GRUB) through the stock BIOS with disabled CSM.dmdsoftware wrote: ↑Fri Sep 22, 2023 5:11 pmDo you need to patch the BIOS to get working EFI on the X210? I noticed today that the BIOS reports UEFI 2.x but I've tried to boot off both USB drives and hard drives that have a EFI partition -- both do not boot either presenting a black screen or an error "enter a proper boot device". Only boots of legacy drives. If I go into the BIOS while an EFI drive is attached, if I go to "start efi..." it says it can't find shell.efi on any drive.
Also, does anyone use their X210 with modern linux? The last time I used this device was back when Debian 9.3 was current (kernel 4.19). Standby and hibernation worked perfect -- tested again today. But with Debian 12, hibernation fails to resume stating the hibernation image is not of the correct architecture type. I tried kernel 6.3, 6.1, 5.18 and even a LTS 4.19 being 4.19 was working with hibernation in Debian 9.
6.5.0 here, both s2ram and s2disk work well.
51nb X210 with community EC mod, me_cleaner and recelled 99W*h battery; X230 with coreboot, me_cleaner and nitrocaster's FHD mod as a backup; R500 for guests; T60 just for the looks.
-
- Junior Member
- Posts: 433
- Joined: Mon Apr 11, 2005 2:24 pm
- Location: Mississauga, Ontario, Canada
Re: X210/X2100 embedded controller fixes (was: X210 EC datasheet/better brightness control)
Maybe I have a bad machine. Even standard Debian 12 live USB ISO that uses EFI won't boot, and a HD with EFI won't booth. Either boots on every other machine I've tried, even on macs.L29Ah wrote: ↑Fri Sep 22, 2023 5:36 pmI run my EFI Gentoo Lignux (in fact GRUB) through the stock BIOS with disabled CSM.dmdsoftware wrote: ↑Fri Sep 22, 2023 5:11 pmDo you need to patch the BIOS to get working EFI on the X210? I noticed today that the BIOS reports UEFI 2.x but I've tried to boot off both USB drives and hard drives that have a EFI partition -- both do not boot either presenting a black screen or an error "enter a proper boot device". Only boots of legacy drives. If I go into the BIOS while an EFI drive is attached, if I go to "start efi..." it says it can't find shell.efi on any drive.
Also, does anyone use their X210 with modern linux? The last time I used this device was back when Debian 9.3 was current (kernel 4.19). Standby and hibernation worked perfect -- tested again today. But with Debian 12, hibernation fails to resume stating the hibernation image is not of the correct architecture type. I tried kernel 6.3, 6.1, 5.18 and even a LTS 4.19 being 4.19 was working with hibernation in Debian 9.
6.5.0 here, both s2ram and s2disk work well.
This CSM is a BIOS setting?
X62 & X62s & X62T SXGA+ i7 5600u 8-16GB
Helix i7
Carbon X1 i5 UHD
W520 4x-i7
Sony Vaio P799 (8" LED 1600x768)
"Think" Ultrabook i7
LegoThinkpad 11"
in storage:
X131e AMD
X60/X60s, X61/X61s/X61T, T61, T420, X30
past:
X20-X24, 390X
Helix i7
Carbon X1 i5 UHD
W520 4x-i7
Sony Vaio P799 (8" LED 1600x768)
"Think" Ultrabook i7
LegoThinkpad 11"
in storage:
X131e AMD
X60/X60s, X61/X61s/X61T, T61, T420, X30
past:
X20-X24, 390X
Re: X210/X2100 embedded controller fixes (was: X210 EC datasheet/better brightness control)
Yes.
51nb X210 with community EC mod, me_cleaner and recelled 99W*h battery; X230 with coreboot, me_cleaner and nitrocaster's FHD mod as a backup; R500 for guests; T60 just for the looks.
-
- Junior Member
- Posts: 433
- Joined: Mon Apr 11, 2005 2:24 pm
- Location: Mississauga, Ontario, Canada
Re: X210/X2100 embedded controller fixes (was: X210 EC datasheet/better brightness control)
I compared my Debian 12 install with the Debian 9 install and I realized, since moving to Wayland in the past year, I've got accustom to starting hibernation via "systemctl hibernation". For decades prior when I was using xorg, I was calling /usr/sbin/hibernate to hibernate. When I tried this on this machine with Debian 12 w/ Wayland, it's working -- I'm able to hibernate and resume. I think I simply got accustom to invoking hibernation using systemctl as it was the only method available on Fedora with Wayland, and since it was working without issue on all my other machines with either distro, I simply forgot about the other method.dmdsoftware wrote: ↑Fri Sep 22, 2023 8:06 pmMaybe I have a bad machine. Even standard Debian 12 live USB ISO that uses EFI won't boot, and a HD with EFI won't booth. Either boots on every other machine I've tried, even on macs.
This CSM is a BIOS setting?
Its working again, so all is well.
X62 & X62s & X62T SXGA+ i7 5600u 8-16GB
Helix i7
Carbon X1 i5 UHD
W520 4x-i7
Sony Vaio P799 (8" LED 1600x768)
"Think" Ultrabook i7
LegoThinkpad 11"
in storage:
X131e AMD
X60/X60s, X61/X61s/X61T, T61, T420, X30
past:
X20-X24, 390X
Helix i7
Carbon X1 i5 UHD
W520 4x-i7
Sony Vaio P799 (8" LED 1600x768)
"Think" Ultrabook i7
LegoThinkpad 11"
in storage:
X131e AMD
X60/X60s, X61/X61s/X61T, T61, T420, X30
past:
X20-X24, 390X
-
- Similar Topics
- Replies
- Views
- Last post
-
-
FS: X2100 with need of love and a new home.
by mcfado » Wed Nov 29, 2023 7:29 am » in Marketplace - Forum Members only - 2 Replies
- 1537 Views
-
Last post by lars-rasmussen
Thu Nov 30, 2023 6:30 am
-
-
- 0 Replies
- 1401 Views
-
Last post by hall
Mon Jan 15, 2024 2:50 pm
-
-
X2100 loses bios settings if left unplugged
by jamesfawcett » Fri Apr 05, 2024 9:00 am » in 51nb and other modded Thinkpads - 8 Replies
- 650 Views
-
Last post by kfzhu1229
Fri Apr 12, 2024 2:34 pm
-
-
-
Possibly missing SMD resistor on X210 board
by yitzhaq » Wed Nov 08, 2023 6:28 pm » in 51nb and other modded Thinkpads - 16 Replies
- 7611 Views
-
Last post by 755cdxd
Wed Jan 10, 2024 6:39 am
-
Who is online
Users browsing this forum: No registered users and 5 guests