{"id":17716606,"url":"https://github.com/rageworx/listusb","last_synced_at":"2026-01-21T17:31:31.336Z","repository":{"id":82593964,"uuid":"606285186","full_name":"rageworx/listusb","owner":"rageworx","description":"A detailed listing USB device for macOS shell(console).","archived":false,"fork":false,"pushed_at":"2024-01-17T09:14:10.000Z","size":120,"stargazers_count":3,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-01-17T17:34:59.668Z","etag":null,"topics":["console","listing","macos","shell","usb","utility"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rageworx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-02-25T03:12:04.000Z","updated_at":"2023-03-11T15:20:24.000Z","dependencies_parsed_at":"2024-01-15T05:48:03.861Z","dependency_job_id":"c8348b6d-068c-4b67-b486-4a1979462129","html_url":"https://github.com/rageworx/listusb","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rageworx%2Flistusb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rageworx%2Flistusb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rageworx%2Flistusb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rageworx%2Flistusb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rageworx","download_url":"https://codeload.github.com/rageworx/listusb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247623011,"owners_count":20968574,"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","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":["console","listing","macos","shell","usb","utility"],"created_at":"2024-10-25T13:42:20.809Z","updated_at":"2026-01-21T17:31:31.310Z","avatar_url":"https://github.com/rageworx.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# listusb\n\nA tool that detailed listing USB device for macOS, Linux, MSYS2 shells and consoles.\n\n## What is listusb\n\n* macOS don't have tool to what USB device connected in shell.\n* There's lsusb in brew usbtools, but not functional to check detailed USB information.\n* listusb helps what USB device connected, and help to correctly identified to my macOS as real device supported speed - specially NVMe SSD devices easily not recognized to USB2 rather than USB3 !\n* And better view for POSIX `lsusb`.\n\n## Easy to read\n\n* Build source, and install to user space, then type `listusb`[^1].\n\n```\n\u003e  bin/listusb -c\nlistusb, version 0.2.3.27, (C)Copyrighted 2023 Raphael Kim, w/ libusb v1.0.27\nBus 001, Port 002 [0BDA:9210] Realtek, RTL9210-VB\n    + Serial number = 821027768393\n    + bcdID = 0320, human readable = USB 3.2\n    + config[ 0], interfaces = 1, ID = 0x01, max required power = 896 mA\n        - interface[0] : alt.settings = 2 : Mass storage device, Mass storage device\n            -\u003e ep[0]=2:02 ( Bulk, Interrupt, ) EP:IN, 06300F000000\n                       02 ( Bulk, Interrupt, ) EP:OUT, 06300F000000\n            -\u003e ep[1]=4:02 ( Bulk, Interrupt, ) EP:IN, 06300F05000004240300\n                       02 ( Bulk, Interrupt, ) EP:OUT, 06300F05000004240400\n                       02 ( Bulk, Interrupt, ) EP:IN, 06300F05000004240200\n                       02 ( Bulk, Interrupt, ) EP:OUT, 06300000000004240100\ntotal 1 device found.\n```\n\n* There's more xterm escape coloring option for `-c` or `--color`.\n* Also simple view with `-s` or `--simple`.\n* Tree view availed with `-t` or `--tree`.\n\n## Manual configuration\n\n* edit `.config` file to where is libusb-1.0.26, or latest\n\n## Reuired external library,\n\n[^1]: libusb-1.0.26 or later ( for macOS )\n* Clone [libusb tag v1.0.26](https://github.com/libusb/libusb/tree/v1.0.26) or [lisbusb latest](https://github.com/libusb/libusb) to your sources managing directory,\n* Need to modify libusb-1.0.26 Makefile to including this options for\n  - `-arch x86_64 -arch arm64 -mmacosx-version-min=11.0` to\n  - each CFLAGS and CXXFLAGS on libusb-1.0.26/libusb/Makefile\n* And build\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frageworx%2Flistusb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frageworx%2Flistusb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frageworx%2Flistusb/lists"}