From: Chris Adams <linux@cmadams.net>
To: Rajaram R <rajaram.officemail@gmail.com>
Cc: linux-usb@vger.kernel.org
Subject: Re: See USB-C charger info?
Date: Thu, 14 Dec 2023 09:44:04 -0600 [thread overview]
Message-ID: <20231214154404.GA10926@cmadams.net> (raw)
In-Reply-To: <CAOiXhaLQB45XzQLjbew50t-brA2aCYTQ5mMG=J4yW-qO=cMiZA@mail.gmail.com>
Once upon a time, Rajaram R <rajaram.officemail@gmail.com> said:
> On Thu, Dec 14, 2023 at 12:48 AM Chris Adams <linux@cmadams.net> wrote:
> >
> > 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
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.
--
Chris Adams <linux@cmadams.net>
prev parent reply other threads:[~2023-12-14 15:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-13 19:16 See USB-C charger info? Chris Adams
2023-12-14 4:49 ` Rajaram R
2023-12-14 15:44 ` Chris Adams [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231214154404.GA10926@cmadams.net \
--to=linux@cmadams.net \
--cc=linux-usb@vger.kernel.org \
--cc=rajaram.officemail@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox