Skip to contentSkip to conversation

See USB-C charger info?

DISCUSSION Chris Adams 2 participants 3 messages Dec 13, 2023 – Dec 14, 2023 USB

lore
Share & tools
lore
#0 lore raw

I accidentally plugged my notebook into a 15W phone charger instead of the 65W computer charger... but got no notice under Linux about it. I happened to reboot for updates and got a message from the BIOS about it (this is a Thinkpad T14s AMD gen 4). So I started looking to see if there's a way to tell that from within Linux, but I couldn't find anything.

Am I missing a way to tell? Would this even fall under the USB stack (if not, any suggestions for where might I ask)? I know USB-C is a "complicated" port.

Signature · 1 line
Chris Adams <[email protected]>
#1 lore raw
Quoted 11 lines · Chris Adams

I accidentally plugged my notebook into a 15W phone charger instead of the 65W computer charger... but got no notice under Linux about it. I happened to reboot for updates and got a message from the BIOS about it (this is a Thinkpad T14s AMD gen 4). So I started looking to see if there's a way to tell that from within Linux, but I couldn't find anything.

Am I missing a way to tell? Would this even fall under the USB stack (if not, any suggestions for where might I ask)? I know USB-C is a "complicated" port.

Please have a look at
https://github.com/Rajaram-Regupathy/libtypec/wiki/typecstatus---Gauge-your-USB-C-port-for-better-UX

Quoted 4 lines

--
Chris Adams <[email protected]>

#2 lore raw
Quoted 9 lines · Rajaram R
Quoted 8 lines · Chris Adams

I accidentally plugged my notebook into a 15W phone charger instead of the 65W computer charger... but got no notice under Linux about it. I happened to reboot for updates and got a message from the BIOS about it (this is a Thinkpad T14s AMD gen 4). So I started looking to see if there's a way to tell that from within Linux, but I couldn't find anything.

Quoted 6 lines
Quoted 3 lines

Am I missing a way to tell? Would this even fall under the USB stack (if not, any suggestions for where might I ask)? I know USB-C is a "complicated" port.

Please have a look at
https://github.com/Rajaram-Regupathy/libtypec/wiki/typecstatus---Gauge-your-USB-C-port-for-better-UX

Hmm, that doesn't show anything on my system. It looks like that uses info from /sys/class/typec ... but that's empty on my systems.

Signature · 1 line
Chris Adams <[email protected]>