jiegec / usbip

A Rust library to run a USB/IP server
MIT License
255 stars 25 forks source link

no entry found for key #41

Closed brandonros closed 5 months ago

brandonros commented 5 months ago
$ RUST_LOG=debug cargo run --example host
    Finished dev [unoptimized + debuginfo] target(s) in 0.10s
     Running `/Users/brandon/.cargo/target/debug/examples/host`
[2024-01-13T19:13:29Z INFO  usbip] Got connection from Ok(redacted:49871)
[2024-01-13T19:13:29Z INFO  usbip] Remote closed the connection
[2024-01-13T19:13:29Z INFO  usbip] Handler ended with Ok(())
[2024-01-13T19:13:58Z INFO  usbip] Got connection from Ok(redacted:49879)
[2024-01-13T19:13:58Z DEBUG usbip::device] Control IN setup=SetupPacket { request_type: 80, request: 6, value: 100, index: 0, length: 40 }
[2024-01-13T19:13:58Z DEBUG usbip::device] Get device descriptor
[2024-01-13T19:13:58Z DEBUG usbip::device] Control IN setup=SetupPacket { request_type: 80, request: 6, value: 100, index: 0, length: 12 }
[2024-01-13T19:13:58Z DEBUG usbip::device] Get device descriptor
[2024-01-13T19:13:58Z DEBUG usbip::device] Control IN setup=SetupPacket { request_type: 80, request: 6, value: 200, index: 0, length: ff }
[2024-01-13T19:13:58Z DEBUG usbip::device] Get configuration descriptor
[2024-01-13T19:13:58Z DEBUG usbip::device] Control IN setup=SetupPacket { request_type: 80, request: 6, value: 3ee, index: 0, length: 12 }
[2024-01-13T19:13:58Z DEBUG usbip::device] Get string descriptor
thread 'tokio-runtime-worker' panicked at /Users/brandon/Desktop/usbip/src/device.rs:358:62:
no entry found for key
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace