{"id":22138769,"url":"https://github.com/trussed-dev/pc-usbip-runner","last_synced_at":"2025-10-04T07:40:45.901Z","repository":{"id":47432095,"uuid":"498821602","full_name":"trussed-dev/pc-usbip-runner","owner":"trussed-dev","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-25T21:42:18.000Z","size":185,"stargazers_count":8,"open_issues_count":4,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-07-26T03:47:44.039Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trussed-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-01T16:50:22.000Z","updated_at":"2025-03-25T21:42:15.000Z","dependencies_parsed_at":"2025-01-15T12:00:33.800Z","dependency_job_id":"5887c44d-9089-4819-8d6a-2eff9d890f2b","html_url":"https://github.com/trussed-dev/pc-usbip-runner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trussed-dev/pc-usbip-runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trussed-dev%2Fpc-usbip-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trussed-dev%2Fpc-usbip-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trussed-dev%2Fpc-usbip-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trussed-dev%2Fpc-usbip-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trussed-dev","download_url":"https://codeload.github.com/trussed-dev/pc-usbip-runner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trussed-dev%2Fpc-usbip-runner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278283494,"owners_count":25961309,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-01T20:11:56.545Z","updated_at":"2025-10-04T07:40:45.875Z","avatar_url":"https://github.com/trussed-dev.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# trussed-usbip\n\nThis crate facilitates simulation of Trussed devices using USB/IP.\nIt should only be used for development and testing.\n\nRemarks:\n- Requires multiple `usbip attach` calls to make it work [1].\n- Works best with CTAPHID.  CCID is supported but often unstable.\n\n[1] https://github.com/Sawchord/usbip-device#known-bugs\n\n## Examples\n\n[`examples/dummy.rs`](`examples/dummy.rs`) contains a very simple example that\nshows how to run a simulated Trussed device.\nFor a more complex example, see the [usbip runner][] of the Nitrokey 3 that\nprovides all features of the Nitrokey 3.\n\n[usbip runner]: https://github.com/Nitrokey/nitrokey-3-firmware/tree/main/runners/usbip\n\n## Setup\n\nUSB/IP tools are required to work, as well as kernel supporting it.\n\nOn Fedora these could be installed with:\n```\nmake setup-fedora\n```\n\n## Run \n\nSimulation starts USB/IP server, which can be connected to with the USB/IP tools. \n1. Make sure `vhci-hcd` module is loaded\n2. Run simulation app\n3. Attach to the simulated device (2 times if needed) \n\nThis series of steps is scripted in the Makefile, thus it is sufficient to call:\n```\nmake \n```\n\nStop execution with:\n``` \nmake stop\n```\n\nWarning: in some cases simulation can sometimes cause kernel faults, which makes the system it is running unstable.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrussed-dev%2Fpc-usbip-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrussed-dev%2Fpc-usbip-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrussed-dev%2Fpc-usbip-runner/lists"}