Dario Nieuwenhuis
|
8fe3b44d82
|
usb: log on reset, resume, suspend
|
2022-04-06 05:38:11 +02:00 |
|
Dario Nieuwenhuis
|
522a87ae42
|
usb: centralize all control logging in control.rs
|
2022-04-06 05:38:11 +02:00 |
|
alexmoon
|
f5ba022257
|
Refactor ControlPipe to use the typestate pattern for safety
|
2022-04-06 05:38:11 +02:00 |
|
alexmoon
|
77e0aca03b
|
Move data chunking from the driver to the lib
|
2022-04-06 05:38:11 +02:00 |
|
Dario Nieuwenhuis
|
a435d78cf7
|
usb: cleanup and simplify error handling.
|
2022-04-06 05:38:11 +02:00 |
|
Dario Nieuwenhuis
|
60d3d11197
|
usb: cleanup logging.
|
2022-04-06 05:38:11 +02:00 |
|
Dario Nieuwenhuis
|
d1e4b3d7d5
|
usb: add -usb-serial crate, fix warnings and stable build.
|
2022-04-06 05:38:11 +02:00 |
|
alexmoon
|
d40ebcccf6
|
Add handlers for standard reqs to ControlHandler
|
2022-04-06 05:38:11 +02:00 |
|
alexmoon
|
13370c28db
|
Add a control_buf to UsbDevice
|
2022-04-06 05:38:11 +02:00 |
|
alexmoon
|
c53bb7394a
|
Switch to ControlHandler owned bufs for control_in()
|
2022-04-06 05:38:11 +02:00 |
|
Dario Nieuwenhuis
|
e99a3a1da4
|
usb: simplify buffer handling for Control IN transfers.
|
2022-04-06 05:38:11 +02:00 |
|
Dario Nieuwenhuis
|
bfce731982
|
usb: nicer names for control structs.
|
2022-04-06 05:38:11 +02:00 |
|
Dario Nieuwenhuis
|
2b547f311e
|
usb: move all control-related stuff to mod control .
|
2022-04-06 05:38:11 +02:00 |
|
Dario Nieuwenhuis
|
15cc97d794
|
usb: associate ControlHandlers with interfaces, automatically route requests.
|
2022-04-06 05:38:11 +02:00 |
|
Dario Nieuwenhuis
|
3412e5dc4a
|
usb: cleanup giant matches in control code.
|
2022-04-06 05:38:11 +02:00 |
|
Dario Nieuwenhuis
|
a2f5763a67
|
usb: add add_class to builder, so that FooBarClass::new(&mut builder) can set up everything.
|
2022-04-06 05:38:11 +02:00 |
|
alexmoon
|
52c622b1cd
|
Use trait objects instead of generics for UsbDevice::classes
|
2022-04-06 05:38:11 +02:00 |
|
alexmoon
|
bdc6e0481c
|
Add support for USB classes handling control requests.
|
2022-04-06 05:38:11 +02:00 |
|
Dario Nieuwenhuis
|
0320500f0f
|
Working CDC-ACM device->host
|
2022-04-06 05:38:11 +02:00 |
|
Dario Nieuwenhuis
|
77ceced036
|
Working CDC-ACM host->device
|
2022-04-06 05:38:11 +02:00 |
|
Dario Nieuwenhuis
|
37598a5b37
|
wip: experimental async usb stack
|
2022-04-06 05:38:11 +02:00 |
|