this post was submitted on 20 Sep 2026
36 points (100.0% liked)

Linux

67914 readers
1011 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS
 

Hi everyone!

Over the years, I’ve started having big collection of cables or dongles.

Mostly USB-C, USB-A to Micro USB, USB A to C, USB C to A, HDMI..

I was wondering how I could know their specifications as nothing is written on them. Maybe through a Linux program telling me how fast they can transfer data.

I was wondering also if there was a way to know how much power was sent to a device when these cables are used to power one. For instance, I’ve noticed that my Steam Deck battery was draining when playing games with 15TDP and being charged with an iPhone charger.

I don’t know if it’s useful, but here are my computers: Steam Deck running Steam OS, Surface Go 1 running Fedora Silverblue, MacBook Pro 2012 running PopOs.

I don’t want to buy anything to be able to measure how much data or power these cables can send😇

Thanks in advance for your help.

you are viewing a single comment's thread
view the rest of the comments
[–] kylian0087@lemmy.dbzer0.com 7 points 2 weeks ago* (last edited 2 weeks ago) (3 children)

To get too know the true spec you need special measuring devices. No software can tell you the true spec without knowing the actual inside of the cable. You can do a few test to get a rough estimate though. But that means testing all the capabilities and see what it does. Could be using the cables way out of spec that way however.

[–] Dariusmiles2123@sh.itjust.works 6 points 2 weeks ago* (last edited 2 weeks ago) (1 children)
[–] akunohana@piefed.blahaj.zone 3 points 2 weeks ago (1 children)

I'd try to stay away from isolated projects on GitHub that only have a single maintainer, to avoid the risk of installing malware. You could check the https://aur.archlinux.org/ to see if any of those have been uploaded here and if there are any comments on the package. If there are none but you still would like to install, check out this guide to learn how to vet the "installer".

[–] Dariusmiles2123@sh.itjust.works 4 points 2 weeks ago

It’s true that I’ve never thought about being more careful when I get these small programs from Github.

[–] cmnybo@discuss.tchncs.de 2 points 1 week ago

There are cheap USB cable testers that will tell you what pins are connected and what speed the e marker chip reports. Actually measuring the bandwidth of the cable requires some expensive test equipment though.

[–] triplenadir@lemmygrad.ml 2 points 1 week ago (1 children)

This will tell you which types of "fast charging" Power Delivery a cable will handle and if the cable supports data, and will identify some types of electrical faults https://treedix.com/products/treedix-usb-cable-tester-usb-c-cable-tester-usb-tester-for-data-transmission-and-power-transmission-cable-testing-resistor-testing-type-c-emarker-for-usb-a-micro-b-micro-b-3-0-type-c-lighting-mini-b

And this kind of thing will tell you how much power is actually being transferred (but nothing about data transfer) - as someone else mentions, this also depends on the device you're charging/powering, and the power source, but it is a more immediately useful number than what specification is supported: https://www.aliexpress.us/item/3256807855183284.html?browser_id=c9623fd12fa5452c9941ee83c4bcb933&m_page_id=jrd5irtoihqcaaw419fcdda6dc0206069af12e5513