Usbsdmux

Latest version: v24.11.1

Safety actively analyzes 722491 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

24.11.1

This release fixes the release pipeline for publishing to PyPi.

Please note the breaking changes in [24.11](https://github.com/linux-automation/usbsdmux/releases/tag/24.11).

What's Changed
* CI: Split production and test releases into different jobs + disable attestation for production releases by SmithChart in https://github.com/linux-automation/usbsdmux/pull/86


**Full Changelog**: https://github.com/linux-automation/usbsdmux/compare/24.11...24.11.1

24.11

With this release we fix an issue with the numbering of the open drain outputs of the USB-SD-Mux FAST (see 83).
Other changes are just housekeeping.

Breaking Changes

With this release the numbering of the open drain output changes.
If you are already using the Open Drain Outputs you need to adapt the output numbering to what is actually written on the device.

What's Changed
* Testing: Allow running tests locally and make README-test more verbose by SmithChart in https://github.com/linux-automation/usbsdmux/pull/69
* README: fixes, tweaks and re-organisation by hnez in https://github.com/linux-automation/usbsdmux/pull/73
* CI: streamline and add build and codespell targets by hnez in https://github.com/linux-automation/usbsdmux/pull/74
* QA: Use ruff instead of black + flake8 for formatting and linting by hnez in https://github.com/linux-automation/usbsdmux/pull/75
* pyproject.toml: switch over from setup.py by hnez in https://github.com/linux-automation/usbsdmux/pull/76
* CI: add automatic publication to pypi.org and test.pypi.org by hnez in https://github.com/linux-automation/usbsdmux/pull/77
* usbsdmux: remove the deprecated service/client code paths by hnez in https://github.com/linux-automation/usbsdmux/pull/78
* usbsdmux: add ruff "UP" rules to config and fix issues automatically by hnez in https://github.com/linux-automation/usbsdmux/pull/79
* pyproject.toml: fix fallout from the migration by hnez in https://github.com/linux-automation/usbsdmux/pull/80
* usb-sd-mux/FAST: Fix GPIO number-to-pin definition by SmithChart in https://github.com/linux-automation/usbsdmux/pull/85


**Full Changelog**: https://github.com/linux-automation/usbsdmux/compare/24.01.1...24.11

24.01.1

With this release we introduce (optional) logging of meta-data via MQTT.
See the [README](https://github.com/linux-automation/usbsdmux/blob/24.01.1/README.rst#mqtt-statistics) for more details on how to use it.

What's Changed
* Add statistics via mqtt by BedaKraus in https://github.com/linux-automation/usbsdmux/pull/68
* README: Update DCO to follow the kernel wording by SmithChart in https://github.com/linux-automation/usbsdmux/pull/70


**Full Changelog**: https://github.com/linux-automation/usbsdmux/compare/24.01...24.01.1

24.01

This release brings a new feature: Our tool can now read the SCR, CID and CSD SD card registers from the card reader ID, decode their contents and print the result on the screen. Give the `usbsdmux /dev/sg0 info` command a try.

Since the register contents are structured information we decided to add a JSON-output, so the information can be used by other tools.

What's Changed
* implement 'info' command to show SD card SCR, CID and CSD by jluebbe in https://github.com/linux-automation/usbsdmux/pull/58
* Add JSON status output for all commands and errors by SmithChart in https://github.com/linux-automation/usbsdmux/pull/60
* Add support for decoding SCR, CID and CSD registers by jluebbe in https://github.com/linux-automation/usbsdmux/pull/62
* Add pytest tests and a GitHub Actions workflow for SD register decoding by jluebbe in https://github.com/linux-automation/usbsdmux/pull/63
* add test that checks README.rst against usbsdmux -h output by jluebbe in https://github.com/linux-automation/usbsdmux/pull/65

**Full Changelog**: https://github.com/linux-automation/usbsdmux/compare/0.3.0...24.01

0.3.0

With this release we add support for a new hardware revision of our USB-SD-Mux.
The new hardware features two open-drain outputs and is built around a new I2C port expander and a faster analog switch for the SD-Card.

Breaking Changes
If you are using this tool as a Python library: This release changes the API. The `usbsdmux.UsbSdMux` class is now an *abstract base class* and can not be instantiated directly. Use the `usbsdmux.autoselect_driver()` function to obtain an instance of the correct type.

What's Changed
* Cleanups for usb2642i2c by ukleinek in https://github.com/linux-automation/usbsdmux/pull/42
* create a basic debian package by jluebbe in https://github.com/linux-automation/usbsdmux/pull/38
* `flake8` and `black`: Fix Problems and add Actions for verification by SmithChart in https://github.com/linux-automation/usbsdmux/pull/47
* README: fix typo in UDEV rule path by remes-codasip in https://github.com/linux-automation/usbsdmux/pull/54
* Drop debian packaging by ukleinek in https://github.com/linux-automation/usbsdmux/pull/53
* Add support for the USB-SD-Mux FAST by SmithChart in https://github.com/linux-automation/usbsdmux/pull/52
* Increment package version to 0.3.0 by SmithChart in https://github.com/linux-automation/usbsdmux/pull/56

New Contributors
* jluebbe made their first contribution in https://github.com/linux-automation/usbsdmux/pull/38
* remes-codasip made their first contribution in https://github.com/linux-automation/usbsdmux/pull/54

**Full Changelog**: https://github.com/linux-automation/usbsdmux/compare/0.2.1...0.3.0

0.2.1

This is a bugfix release.

This release includes the following changes:

* The ``get`` command now respects the hardware signal priority. Until now this command returned the wrong value if the USB-SD-Mux was switched to ``off``.
* An error leading to creation of files in ``/dev/`` when using the tool as root and if the device-node does not exist was fixed. This error lead to errors like ``OSError: [Errno 25] Inappropriate ioctl for device``. Now the actual error ``File not found`` will be raised instead.

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.