{"id":20995318,"url":"https://github.com/todbot/usbsearch","last_synced_at":"2025-05-14T21:31:12.630Z","repository":{"id":2601823,"uuid":"3584583","full_name":"todbot/usbSearch","owner":"todbot","description":"Search for USB devices by VID/PID, gets device serial numbers","archived":false,"fork":false,"pushed_at":"2017-01-12T09:25:59.000Z","size":90,"stargazers_count":108,"open_issues_count":6,"forks_count":43,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-05-08T02:18:27.428Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/todbot.png","metadata":{"files":{"readme":"README.txt","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}},"created_at":"2012-02-29T18:41:58.000Z","updated_at":"2025-03-15T03:45:19.000Z","dependencies_parsed_at":"2022-07-08T22:17:11.152Z","dependency_job_id":null,"html_url":"https://github.com/todbot/usbSearch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todbot%2FusbSearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todbot%2FusbSearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todbot%2FusbSearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todbot%2FusbSearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/todbot","download_url":"https://codeload.github.com/todbot/usbSearch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254230857,"owners_count":22036255,"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":[],"created_at":"2024-11-19T07:23:03.220Z","updated_at":"2025-05-14T21:31:07.606Z","avatar_url":"https://github.com/todbot.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"usbSearch -- Search for USB devices, list USB COM ports, in Windows\n\n2012, Tod E. Kurt, http://todbot.com/blog/\n\n\nA list of Windows-only tools (for now) for inspecting USB devices \u0026 serial ports\n\n- usbSearch.vbs    - search USB bus by VID / PID, in VBScript\n- usbSearch.exe    - search USB bus by VID / PID \n- usbSearch.c      - source code for usbSearch.exe\n- listComPorts.vbs - list all known COM ports, with other useful info\n- listComPorts.exe - list all known COM ports, with other useful info\n- listComPorts.c   - source code for listComPorts.exe\n- pnpList.vbs      - list all PnP devices, USB and other\n- listArduinos.pl  - Mac OS X program to list Arduino UNOs ports \u0026 serial nums\n\nThe .vbs files are executed on the command-line with the \"cscript.exe\" command.\nFor instance, to list all the COM ports, run:\n\ncmd\u003e cscript.exe //nologo listComPorts.vbs \nCOM26 - FTDI - FTDIBUS\\VID_0403+PID_6001+A6004CCFA\\0000\nCOM24 - PJRC.COM, LLC. - USB\\VID_16C0\u0026PID_0483\\12345\n\nThe exe file outputs similar results when run:\n\ncmd\u003e listComPorts.exe\nCOM26 - FTDI - FTDIBUS\\VID_0403+PID_6001+A6004CCFA\\0000\nCOM24 - PJRC.COM, LLC. - USB\\VID_16C0\u0026PID_0483\\12345\n\nThe above examples show an Arduino Diecimila and Teensy plugged in.\n\nWith two Arduino UNOs, the results look like:\ncmd\u003e listComPorts.exe\nCOM27 - http://www.arduino.cc - USB\\VID_2341\u0026PID_0000\\64936333936351400000\nCOM25 - http://www.arduino.cc - USB\\VID_2341\u0026PID_0000\\6493234373835191F1F1\n\n\nNote that the USB VID and PID are displayed (0403 and 6001, respectively, \nfor the Arduino), and the serial number too, if the device has one.\nIn the Arduino case, the serial number is \"A6004CCFA\".  In the Teensy case,\nthe serial number is \"12345\".  \nThe serial number is useful for determining which Arduino is bound to which\nCOM port.\n\nTo build the exe files, install MinGW or similar and type \"make\".  \nSee the Makefile for details.\n\nA short description of these programs is given here:\nhttp://todbot.com/blog/2012/03/02/listcomports-windows-command-line-tool-for-usb-to-serial/\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftodbot%2Fusbsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftodbot%2Fusbsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftodbot%2Fusbsearch/lists"}