{"id":22913652,"url":"https://github.com/drzymalanet/usb-tty-spy","last_synced_at":"2026-05-01T04:33:29.243Z","repository":{"id":267517946,"uuid":"901499873","full_name":"drzymalanet/usb-tty-spy","owner":"drzymalanet","description":"USB attached /dev/tty monitor. Shows you how to get the /dev/ttyXYZ path of a given USB port.","archived":false,"fork":false,"pushed_at":"2024-12-10T19:27:53.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T06:43:02.206Z","etag":null,"topics":["device-tree","linux","python","tty","ttyacm","ttyusb","usb"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drzymalanet.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":"2024-12-10T19:16:18.000Z","updated_at":"2024-12-10T19:27:57.000Z","dependencies_parsed_at":"2024-12-10T20:30:19.914Z","dependency_job_id":"b7247b11-4b4e-4a60-97e4-3c8c4fe7d9a8","html_url":"https://github.com/drzymalanet/usb-tty-spy","commit_stats":null,"previous_names":["drzymalanet/usb-tty-spy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drzymalanet%2Fusb-tty-spy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drzymalanet%2Fusb-tty-spy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drzymalanet%2Fusb-tty-spy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drzymalanet%2Fusb-tty-spy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drzymalanet","download_url":"https://codeload.github.com/drzymalanet/usb-tty-spy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246635955,"owners_count":20809330,"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":["device-tree","linux","python","tty","ttyacm","ttyusb","usb"],"created_at":"2024-12-14T05:10:28.023Z","updated_at":"2026-05-01T04:33:29.214Z","avatar_url":"https://github.com/drzymalanet.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# USB /dev/tty monitor\n\nThis script prints out changes in the USB TTY submodule and the /dev/tty device assigned to a given USB port.\n\n## Example\n\nHere is an example of running the script and attaching different USB to serial converters to a PC:\n\n```text\nUSB Port :: 3-1:1.0 :: /dev/ttyACM0\nUSB Port :: 2-1:1.0 :: /dev/ttyACM1\nUSB Port :: 2-1:1.0 :: Unplugged\nUSB Port :: 2-1:1.0 :: /dev/ttyACM1\nUSB Port :: 2-1:1.0 :: Unplugged\nUSB Port :: 3-1:1.0 :: Unplugged\nUSB Port :: 3-1:1.0 :: /dev/ttyACM0\nUSB Port :: 3-1:1.0 :: Unplugged\nUSB Port :: 2-1:1.0 :: /dev/ttyACM0\nUSB Port :: 3-1:1.0 :: /dev/ttyACM1\nUSB Port :: 3-1:1.0 :: Unplugged\nUSB Port :: 3-1:1.0 :: /dev/ttyACM1\nUSB Port :: 1-4:1.0 :: /dev/ttyACM2\nUSB Port :: 1-4:1.0 :: Unplugged\nUSB Port :: 1-3:1.0 :: /dev/ttyACM2\nUSB Port :: 1-3:1.0 :: Unplugged\nUSB Port :: 3-1:1.0 :: Unplugged\nUSB Port :: 2-1:1.0 :: Unplugged\n```\n\nExplanation:\n- `2-1:1.0` - USB Bus 2 Port 1\n- `1-3:1.0` - USB Bus 1 Port 3\n- `/dev/ttyACM0` - Device path to the TTY\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrzymalanet%2Fusb-tty-spy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrzymalanet%2Fusb-tty-spy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrzymalanet%2Fusb-tty-spy/lists"}