int6kmdio2(1)

✨ int6kmdio2 β€” Qualcomm Atheros 32-bit MDIO Register Editor ✨

okay so bestie, this is int6kmdio2(1) from the Qualcomm Atheros Open Powerline Toolkit, and it is literally a 32-bit MDIO register editor. let's get into it πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

int6kmdio2 [options] [device] [device] [...]

πŸ’– DESCRIPTION πŸ’–

So what this does is read or write the global MDIO registers on an Atheros powerline device, using multiple VS_MDIO_COMMAND vendor-specific management messages. you type in commands with 32-bit register and data values, and it converts them into three equivalent 16-bit commands. cute, right?

Default operation? Read a register. That's it. Registers only get written if you actually specify data on the command line. no data, no writing, periodt.

This program writes MDIO instructions using 802.3ae Clause 45 (address, data and mask) format. If you want a similar program that writes instructions using 802.3 Clause 22 (phy, reg, data and mask) format instead, go look at int6kmdio.

⚠️ BIG WARNING BESTIE ⚠️ This program is deprecated and may be removed in future toolkit releases. Use plcmdio32 instead. like, fr fr, please use plcmdio32.

🌸 OPTIONS 🌸

  • -a address β€” The 19-bit global register address. Some devices may not support all possible addresses, so don't come for me if one doesn't work. Addresses can be expressed in decimal, hexadecimal or binary notation. Hexadecimal values must be prefixed with "0x" or "0X". Binary values must be prefixed with "0b" or "0B".
  • -d data β€” A 32-bit data value to be inserted into the specified register. If this option is present, that data value gets written. If it's not present, the specified register gets read and the content gets displayed. Data values can be expressed 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. The convention here is that status and error messages go on stderr while primary program output goes on stdout. This option prints all output on stdout, for those moments when that's what you want. slay.
  • -h β€” Write high-order byte before low-order byte. This one's only useful on some architectures, so don't stress if it does nothing for you.
  • -i interface β€” Select the host Ethernet interface. All requests are sent via this host interface, and only reponses received via this host interface are recognized. The default interface is eth1, because most people use eth0 as their principle network connection. BUT if the environment string "PLC" is defined, it takes precedence over the default interface. And this option takes precedence over either default. hierarchy, bestie πŸ’…
  • -q β€” Suppresses status messages on stderr. quiet queen energy.
  • -v β€” Prints additional information on stdout. In particular, this option dumps outgoing Ethernet packets on stdout. obsessed with the transparency.
  • -?, --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. You can specify more than one address, and if you do, 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, because readability is self care. For example, "00b052000001", "00:b0:52:00:00:01" and "00b052:000001" are all valid and equivalent. iconic.

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. 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.

like... they can just change it and not tell you. no cap. 😭


πŸ“ EXAMPLES πŸ“

None.

(yeah, that's it. the whole section. nothing. absolutely nothing. the audacity πŸ’€)


🫢 SEE ALSO 🫢

plc(1), int6kmod(1), int6kmdio(1), int6kmdio2(1), mdioblock(1), mdioblock2(1), mdiodump(1), mdiogen(1), plcmdio16(1), plcmdio32(1)


πŸ‘‘ CREDITS πŸ‘‘

Nathaniel Houghton Charles Maier


and that's the whole page bestie!! this was open-plc-utils-0.0.3, dated November 2013, and it's the int6kmdio2(1) manual page β€” go use plcmdio32 instead tho, i'm just saying πŸ’–βœ¨πŸŽ€