MAN.9FRONT.ORG RTFM


     USBSDMUX(8)                                           USBSDMUX(8)

     NAME
          usbsdmux - change mode of a usb-sd-mux device

     SYNOPSIS
          aux/usbsdmux mode [ /dev/sdUxxxxx/raw ]

     DESCRIPTION
          The USB-SD-Mux from Linux Automation GmbH is a device that
          can programmatically attach and detach a sd-card from a
          device-under-test (DUT), allowing it to be re-written from
          another machine (HOST) without the need to physically swap
          the sd-card.

          The mode can be one of the following:

          off  The sd-card is disconnected from both the HOST and the
               DUT.

          dut  The sd-card is connected to the DUT and disconnected
               from the HOST.

          host The sd-card is connected to the HOST and disconnected
               from the DUT.

          This program uses a vendor-specific SCSI command to change
          the mode.  When not specified, it opens /dev/sdUdca10/raw
          which is the first USB-SD-Mux device attached to the HOST.

     SOURCE
          /sys/src/cmd/aux/usbsdmux.c

     SEE ALSO
          nusb(4)
          https://linux-automation.com/en/products/usb-sd-mux.html