int6kmdio(1)
π int6kmdio β Qualcomm Atheros 16-bit MDIO Register Editor π
okay bestie, welcome to int6kmdio(1), one of the little tools from the Qualcomm Atheros Open Powerline Toolkit β¨ she's a 16-bit MDIO register editor and she is so specific about her whole deal.
β¨ SYNOPSIS β¨
int6kmdio [options] [device] [device] [...]
πΈ DESCRIPTION πΈ
so what she does is: read or write the generic MDIO registers on an Atheros powerline device, using the Qualcomm Atheros VS_MDIO_COMMAND vendor-specific management message. that's the whole vibe. π
default behavior? she reads a register. she only writes to registers if you actually put data on the command line β like, she's not gonna change anything behind your back, she's respectful.
ngl she writes MDIO instructions in 802.3 Clause 22 format (phy, reg, data and mask). and if that's not your format, there's a whole other girl for that: check int6kmdio2 β same energy but she writes instructions using 802.3ae Clause 45 format (address, data and mask).
π¨ IMPORTANT DEPRECATION ALERT π¨ this program is deprecated and may be removed in later toolkit releases. do not get attached. use plcmdio16 instead, bestie, she's the future. π
π OPTIONS π
-ddata β a 16-bit data value that gets inserted into the register you specified. the moment this option shows up, she writes the value; if it's not there, she just reads the register and shows you what's inside. values can be decimal, hexadecimal or binary. hex values get prefixed with0xor0X, binary values get prefixed with0bor0B. π-eβ redirectsstderrmessages tostdout. the convention around here is that status and error messages go onstderrwhile primary program output goes onstdout, and this option just puts everything onstdoutfor when that's what you want. β¨-iinterface β picks the host Ethernet interface. all requests go out through this host interface, and only responses coming back through this host interface get recognized. default interface iseth1, because most people useeth0as their main network connection β but if the environment stringPLCis defined, that takes precedence over the default interface. and this option then takes precedence over either default. so: option >PLC>eth1. periodt. π«Ά-paddress β the 5-bit PHY address. some devices may not support all possible addresses (rude of them tbh). addresses can be decimal, hexadecimal or binary β hex must be prefixed with0xor0X, binary must be prefixed with0bor0B. β-qβ suppresses status messages onstderr. shhh. quiet girl era. π€«-rregister β the 5-bit register address. addresses can be decimal, hexadecimal or binary β hex must be prefixed with0xor0X, binary must be prefixed with0bor0B. and yeah, some devices may not support all possible addresses. π-vβ prints additional info onstdout. specifically? she dumps outgoing Ethernet packets onstdout. full transparency, we love a girl who overshares. π-?,--helpβ displays program help information onstderr. this option takes precedence over all other options on the command line except version information. she's the main character here. π-!,--versionβ displays program version information onstderr. takes precedence over all other options except help information. and bestie β use this when sending screen dumps to Atheros technical staff, they'll appreciate it. π
π¦ ARGUMENTS π¦
- device β the MAC address of some powerline device. you can specify more than one address, and if you do, operations are performed on each device in turn. default address is
local. scroll down to DEVICES for the whole tea on 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, upper, lower or mixed case β she doesn't judge your casing. octets may be separated with colons for clarity. for example, these are all valid and equivalent:
00b052000001
00:b0:52:00:00:01
00b052:000001
the following MAC addresses are special and may be entered by name instead of by number:
allβ same asbroadcast.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. quick glossary: a remote device is any device at the far end of a powerline connection, and a foreign device is any device not manufactured by Atheros. so yeah, this one hits everybody. π’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. (same glossary, bestie: 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 the technical info. iykyk. π
β οΈ 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. so like. don't come for them. π
πΈ EXAMPLES πΈ
None. π that's it. that's the section. she said "figure it out" (affectionately).
π SEE ALSO π
plc(1), int6kmod(1), int6kmdio2(1), mdioblock(1), mdioblock2(1), mdiodump(1), mdiogen(1), plcmdio16(1), plcmdio32(1)
π«Ά CREDITS π«Ά
Charles Maier β thank you for your service, king. π
okay that's the whole page, bestie!! this one shipped as part of open-plc-utils-0.0.3, dated November 2013 β vintage but still slaying. go forth and edit those MDIO registers responsibly. mwah. πβ¨
π¦ 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