Devolutions / Devolutions/IronRDP

[ironrdp-client] Wire up RDPEUSB with libusb backend

Open
#1,140 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
3.2k
Forks
275
Avg merge
1d 11h
Merged PRs (30d)
189

Description

Integrate the RDPEUSB client into ironrdp-client as a working demonstration. A user should be able to redirect a local USB device to an RDP server.

**Depends on:**
- #1135
- #1137
- #1139

### Tasks
- Add --usb-device CLI flag to ironrdp-client
- Wire UrbdrcListener into DrdynvcClient using the new with_listener() API
- Connect RusbBackend to the listener; handle device plug/unplug events from a background thread feeding ADD_VIRTUAL_CHANNEL / RETRACT_DEVICE into the session
- Graceful error reporting when a device is busy or access is denied (e.g. no udev rules on Linux)

### Acceptance criteria
- ironrdp-client --usb-device 1234:5678 successfully redirects a USB device into an RDP session on a Windows server
- Device appears in Device Manager on the server
- Hot-plug: plugging a device mid-session works; unplugging cleans up without crashing

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.