plcmdio32(1)
π NAME π
okay so bestie, meet plcmdio32 β the Qualcomm Atheros 32-bit MDIO Register Editor β¨ and yeah, this whole page is living in the Qualcomm Atheros Open Powerline Toolkit manual, section 1, where it belongs π
π¦ SYNOPSIS π¦
plcmdio32 [options] [device] [device] [...]
πΈ DESCRIPTION πΈ
So what does it actually do? It reads or writes global MDIO registers using a bunch of VS_MDIO_COMMAND vendor-specific management messages. You type in your commands as 32-bit register and data values, and then it converts them into three equivalent 16-bit commands. Slay π
The default operation is to read a register. Registers only get written if you actually put data on the command line β no data, no writing, periodt.
This program replaces program int6kmdio2. π«Ά
It writes MDIO instructions using 802.3ae Clause 45 (address, data and mask) format. And if you want the sibling energy, go look at program int6kmdio β that's a similar program that writes instructions using 802.3 Clause 22 (phy, reg, data and mask) format.
Also: this program is part of the Qualcomm Atheros Powerline Toolkit. It replaces the legacy program int6kmdio2. See the plc man page for an overview and installation instructions π
β¨ OPTIONS β¨
-aaddress β the 19-bit global register address. Heads up: some devices may not support all possible addresses π. Addresses can be written in decimal, hexadecimal or binary notation. Hexadecimal values must be prefixed with"0x"or"0X". Binary values must be prefixed with"0b"or"0B".-ddata β a 32-bit data value to be inserted into the specified register. The data value gets written when this option is present; otherwise the specified register is read and its content is displayed. Data values can be written in decimal, hexadecimal or binary notation. Hexadecimal values are prefixed with"0x"or"0X". Binary values are prefixed with"0b"or"0B".-eβ redirects stderr messages to stdout. By convention, status and error messages get printed on stderr while primary program output goes to stdout. This option prints all output on stdout, for when that's the vibe you want.-hβ when writing 32-bit values, write to the high-order register before the low-order register. You need this in cases where the value in one register may affect the interpretation of some value written to the other register. This is not a common situation, ngl.-iinterface β select the host Ethernet interface. All requests are sent via this host interface, and only responses received via this host interface are recognized. The default interface iseth1because most people useeth0as their principle network connection; however, if environment string"PLC"is defined then it takes precedence over the default interface. This option then takes precedence over either default π-qβ suppresses status messages on stderr. Quiet luxury β¨-vβ prints additional information on stdout. In particular, this option dumps outgoing Ethernet packets on stdout.-?,--helpβ displays program help information on stderr. This option takes precedence over all other options on the command line except version information.-!,--versionβ displays program version information on stderr. This option takes precedence over all other options on the command line except help information. Use this option when sending screen dumps to Atheros technical staff πΈ
π ARGUMENTS π
- device β the MAC address of some powerline device. More than one address may be specified. If more than one address is specified, then operations are performed on each device in turn. The default address is
local. See DEVICES for info about symbolic device addresses.
π DEVICES π
Powerline devices use Ethernet Media Access Control (MAC) addresses. A MAC address is a 48-bit value entered as 12 hexadecimal digits in upper, lower or mixed character case. Octets may be separated with colons for clarity β¨ For example, "00b052000001", "00:b0:52:00:00:01" and "00b052:000001" are all valid and equivalent. it's giving flexible, honestly.
The following MAC addresses are special and may be entered by name instead of number:
allβ same as"broadcast".broadcastβ a synonym for the Ethernet broadcast address,FF:FF:FF:FF:FF:FF. All devices, whether local, remote or foreign, recognize messages sent to this address. A remote device is any device at the far end of a powerline connection. A foreign device is any device not manufactured by Atheros πlocalβ a synonym for the Qualcomm Atheros vendor specific Local Management Address (LMA),00:B0:52:00:00:01. All local Atheros devices recognize this address, but remote and foreign devices do not. A remote device is any device at the far end of a powerline connection. A foreign device is any device not manufactured by Atheros.
π REFERENCES π
See the Qualcomm Atheros HomePlug AV Firmware Technical Reference Manual for technical information π
β οΈ DISCLAIMER β οΈ
Atheros HomePlug AV Vendor Specific Management Message structure and content is proprietary to Qualcomm Atheros, Ocala FL USA. Consequently, public information may not be available. Qualcomm Atheros reserves the right to modify message structure and content in future firmware releases without any obligation to notify or compensate users of this program. π yeah. read that twice.
π EXAMPLES π
None.
literally none. iconic of them honestly.
π₯ SEE ALSO π₯
plc(1), plcmod(1), plcmdio16(1), mdioblock(1), mdioblock2(1), mdiodump(1), mdiogen(1)
π CREDITS π
Nathaniel Houghton Charles Maier
and that's the whole page, bestie π«Ά this little masterpiece shipped as part of open-plc-utils-0.0.3, dated November 2013 β old but still serving looks, no cap β¨π
π¦ where this page comes from
- alpine 3.24: open-plc-utils-doc 0_git20250712-r1 Β· BSD-3-Clause-Clear
- debian bookworm: plc-utils-extra 0.0.6+git20230504.1ba7d5a0-1 Β· BSD-3
- debian trixie: plc-utils-extra 0.0.6+git20250517.7fb8ac5-1 Β· BSD-3
- ubuntu noble: plc-utils-extra 0.0.6+git20230504.1ba7d5a0-1 Β· BSD-3
- ubuntu questing: plc-utils-extra 0.0.6+git20250517.7fb8ac5-1
- ubuntu resolute: plc-utils-extra 0.0.6+git20250712.46c3506-1 Β· BSD-3
- ubuntu stonking: plc-utils-extra 0.0.6+git20250712.46c3506-1 Β· BSD-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms