Skip to content

Releases: linux-automation/usbsdmux

24.11.1

05 Nov 13:31
051f381
Compare
Choose a tag to compare

This release fixes the release pipeline for publishing to PyPi.

Please note the breaking changes in 24.11.

What's Changed

  • CI: Split production and test releases into different jobs + disable attestation for production releases by @SmithChart in #86

Full Changelog: 24.11...24.11.1

24.11

04 Nov 08:22
7ae1535
Compare
Choose a tag to compare

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 #69
  • README: fixes, tweaks and re-organisation by @hnez in #73
  • CI: streamline and add build and codespell targets by @hnez in #74
  • QA: Use ruff instead of black + flake8 for formatting and linting by @hnez in #75
  • pyproject.toml: switch over from setup.py by @hnez in #76
  • CI: add automatic publication to pypi.org and test.pypi.org by @hnez in #77
  • usbsdmux: remove the deprecated service/client code paths by @hnez in #78
  • usbsdmux: add ruff "UP" rules to config and fix issues automatically by @hnez in #79
  • pyproject.toml: fix fallout from the migration by @hnez in #80
  • usb-sd-mux/FAST: Fix GPIO number-to-pin definition by @SmithChart in #85

Full Changelog: 24.01.1...24.11

24.01.1

26 Jan 08:57
Compare
Choose a tag to compare

With this release we introduce (optional) logging of meta-data via MQTT.
See the README for more details on how to use it.

What's Changed

Full Changelog: 24.01...24.01.1

Release 24.01

09 Jan 15:50
88a2482
Compare
Choose a tag to compare

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 #58
  • Add JSON status output for all commands and errors by @SmithChart in #60
  • Add support for decoding SCR, CID and CSD registers by @jluebbe in #62
  • Add pytest tests and a GitHub Actions workflow for SD register decoding by @jluebbe in #63
  • add test that checks README.rst against usbsdmux -h output by @jluebbe in #65

Full Changelog: 0.3.0...24.01

Release 0.3.0

29 Nov 08:21
3eb689f
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 0.2.1...0.3.0

Release 0.2.1

21 Jul 08:36
Compare
Choose a tag to compare

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.