usb-device icon indicating copy to clipboard operation
usb-device copied to clipboard

Experimental device-side USB framework for microcontrollers in Rust.

Results 34 usb-device issues
Sort by recently updated
recently updated
newest added

Is it possible to implement OS detection with handshake?

First a little context. I wasted a lot of time diagnosing why I couldn't create a `usbd_serial::SerialPort`. The reason is because I was creating the `SerialPort` _after_ the `UsbDevice`. The...

Reading through #100 and #101, here is a PR turning this repository into a workspace. The idea would be that if @ianrrees and @Disasm agree, we could incorporate their device-side...

For [this PR](https://github.com/rust-embedded-community/usb-device/pull/60) I've thrown together a [firmware and minimal documentation](https://github.com/ianrrees/test-usb-device) to use this crate's `TestClass`. @Disasm has an implementation for a different micro [here](https://github.com/Disasm/usb-otg-workspace/blob/master/example-f446ze-board/examples/test_class.rs). I wonder if we should...

See https://github.com/rust-embedded-community/usb-device/issues/100

After almost two days of debugging, I finally figured out why MSC (using https://github.com/cs2dsb/stm32-usb.rs) is not working. Not working specifically means the setup process stops before the `SET_CONFIGURATION` request is...

Would be great to wrap the [USB Gadget API for Linux](https://www.kernel.org/doc/html/latest/driver-api/usb/gadget.html) for testing purposes. Maybe more a request for the eventual USB Class crates.

enhancement

Aim is to resolve https://github.com/mvirkkunen/usb-device/issues/33, however as @lkolbly points out it doesn't add testing support. @mvirkkunen is that OK with you, or should I look in to adding test support?...

- When writing larger interface descriptors it's possible to overflow the buffer (even on LS/FS USB 2.0) - Cleanup get_descriptor and accept_writer to forward the error - Then unwrap() it...

The USB spec imposes some constraints on the max packet sizes allowed for particular types of endpoint. In the ATSAMD implementation of usb-device, we have [a bit of code](https://github.com/atsamd-rs/atsamd/blob/08b313a7b7298d8fedffb01f29f3f4b15115b96c/hal/src/thumbv6m/usb/devicedesc.rs#L65-L79) that...