YKUSHCMD(1)
π YKUSHCMD(1) π
okay bestie, welcome to the ykushcmd manual page, we're doing this together π«Ά
β¨ NAME β¨
ykushcmd β the control app for the Yepkit YKUSH Switchable USB Hub board π
β¨ SYNOPSIS β¨
ykushcmd [board_name] [-s serial_number] [OPTIONS] ...
β¨ DESCRIPTION β¨
So like, ykushcmd is what you use to control the ports of a Yepkit YKUSH Switchable USB Hub board. That's the whole vibe. π
πΈ Board names πΈ
ykushβ YKUSH boardykush3β YKUSH3 boardykushxsβ YKUSHXS board
The [board_name] must be provided for commands addressed to a specific board. no skips, no shortcuts, she needs to know who she's talking to πββοΈ
For general or common commands β the ones that work on all board models β the [board_name] has to be omitted from the command. yes literally just leave it out, it's fine, it's giving "one size fits all" β¨
π₯ YKUSH board options π₯
-d 1|2|3|aβ Power Down/Off the downstream port with the number privided. If[a]is provided as the port number then all ports will be switched. (and yes bestie the original says "privided", we don't fix, we preserve π)-u 1|2|3|aβ Power Up/On downstream port number downstream_number-s serial_numberβ Board serial number to which the command is addressed.
When multiple YKUSH boards are connected to a host, this option should be used to specify the board. If more than one board is connected and this option is not provided, the command will be sent to the first board in the USB enumeration list. so like, if you've got a whole friend group plugged in and you don't say who you're talking to, you're just yelling into the group chat and whoever's first in the list hears it π
-lβ Lists the serial numbers of the YKUSH boards attached to the host.-g 1|2|3β Show state of a downstream port.-hβ Display help for YKUSH board specific commands.
π¦ YKUSH3 board options π¦
-d 1|2|3|aβ Power Down/Off downstream port with the number privided. If[a]is provided as the port number then all ports will be switched.-u 1|2|3|aβ Power Up/On downstream port number downstream_number-s serial_numberβ Board serial number to which the command is addressed.
When multiple YKUSH boards are connected to a host, this option should be used to specify the board. If more than one board is connected and this option is not provided the command will be sent to the first board in the USB enumeration list.
-lβ Lists the serial numbers of the YKUSH boards attached to the host.-g 1|2|3β Show state of a downstream port.-c <port-number> <config-value>β Configure the default state of a downstream port (port-number=1|2|3|e) at power-on. The port number<e>refers to exteranl 5V port. (again, "exteranl" is a typo in the original and we are NOT touching it, no cap π)
The default states are off (config-value=0), on (config-value=1) and persistent (config-value=2).
-onβ Switch On the 5V output power port.-offβ Switch Off the 5V output power port.-r 1|2|3β Read GPIO with the number provided (1,2or3).-w 1|2|3 0|1β Write to the GPIO with the number provided (1,2or3).
Writing a value of 1 or 0 will drive the GPIO to logical high or low, respectively.
--gpio enable|disableβ Enable / Disable GPIO control interface. Will become active on next reset/power-on. so it's giving "this doesn't hit until you reboot", plan accordingly bestie β³--resetβ Resets (reboot) the YKUSH3 board.-hβ Display help for YKUSH board specific commands.--bootloader-versionβ Board bootloader version.--firmware-versionβ Board firmware version.--bootβ Enter bootloader mode for firmware update.
π YKUSHXS board options π
-dβ Power Down/Off the downstream port.-uβ Power Up/On the downstream port-s serial_numberβ Board serial number to which the command is addressed.
When multiple YKUSHXS boards are connected to a host, this option should be used to specify the board. If more than one board is connected and this option is not provided the command will be sent to the first board in the USB enumeration list.
-lβ Lists the serial numbers of the YKUSHXS boards attached to the host.-gβ Show state of the downstream port.-hβ Display help for YKUSHXS board specific commands.
π BUGS π
See GitHub issues: https://github.com/Yepkit/ykush/issues
π COPYRIGHT AND LICENSE π
ykush is Copyright (c) 2017 Yepkit Lda and is licensed under the Apache License, Version 2.0.
This manpage, base on the command line help, was written by Christoph Biedl debian.axhn@manchmal.in-ulm.de for the Debian project but may be used by others.
and that's the whole thing bestie, every flag, every port, every typo, we kept it all π
this was the YKUSHCMD(1) manual page β that's the name, that's the number, that's the section, iconic behavior fr fr πβ¨
π¦ where this page comes from
- debian trixie: ykush-control 1.3.0+ds-1 Β· Apache-2.0
- ubuntu noble: ykush-control 1.3.0+ds-1 Β· Apache-2.0
- ubuntu questing: ykush-control 1.3.0+ds-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms