diff --git a/CHANGELOG.md b/CHANGELOG.md index 948f98e..5fde276 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog], and this project adheres to [Semantic Versioning]. +## 0.7.5 - 2024-12-06 +### Added +- Printer gadget support by John Whittington +- UAC2 gadget support by John Whittington +- UVC gadget support by John Whittington + + ## 0.7.4 - 2024-11-29 ### Added - MIDI gadget support by John Whittington diff --git a/Cargo.toml b/Cargo.toml index f80b85f..505da94 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ license = "Apache-2.0" repository = "https://github.com/surban/usb-gadget" authors = ["Sebastian Urban ", "usb-gadget authors"] rust-version = "1.73" -version = "0.7.4" +version = "0.7.5" edition = "2021" [features] diff --git a/README.md b/README.md index 51c9923..f718784 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ The following pre-defined USB functions, implemented by kernel drivers, are avai * generic * human interface device (HID) * mass-storage device (MSD) +* printer device * musical instrument digital interface (MIDI) * audio device (UAC2) * video device (UVC) @@ -61,6 +62,7 @@ The following Linux kernel configuration options should be enabled for full func * `CONFIG_USB_CONFIGFS_MASS_STORAGE` * `CONFIG_USB_CONFIGFS_F_FS` * `CONFIG_USB_CONFIGFS_F_HID` + * `CONFIG_USB_CONFIGFS_F_PRINTER` * `CONFIG_USB_CONFIGFS_F_MIDI` * `CONFIG_USB_CONFIGFS_F_UAC2` * `CONFIG_USB_CONFIGFS_F_UVC` diff --git a/src/function/printer.rs b/src/function/printer.rs index f39826e..133bfc9 100644 --- a/src/function/printer.rs +++ b/src/function/printer.rs @@ -3,7 +3,7 @@ //! The Linux kernel configuration option `CONFIG_USB_CONFIGFS_F_PRINTER` must be enabled. //! //! A device file at `/dev/g_printerN` will be created for each instance of the function, where N -//! instance number. See 'examples/printer.rs' for an example. +//! instance number. See `examples/printer.rs` for an example. use bitflags::bitflags; use std::{ffi::OsString, io::Result};