{"id":26860405,"url":"https://github.com/jackeichen/autohotplug","last_synced_at":"2025-10-11T20:13:49.275Z","repository":{"id":171827671,"uuid":"648469243","full_name":"jackeichen/AutoHotplug","owner":"jackeichen","description":"AutoHotplug is an auto-hotplug test script for disk.","archived":false,"fork":false,"pushed_at":"2023-09-28T07:30:46.000Z","size":3528,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T01:33:44.463Z","etag":null,"topics":["auto-test","disk","hotplug","manual-testing","python3","quarch"],"latest_commit_sha":null,"homepage":"","language":"Python","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/jackeichen.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.txt","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}},"created_at":"2023-06-02T03:35:25.000Z","updated_at":"2023-09-28T07:34:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"4d7a3a2f-c1d0-4f83-946f-3264c4a3136c","html_url":"https://github.com/jackeichen/AutoHotplug","commit_stats":null,"previous_names":["jackeichen/autohotplug"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jackeichen/AutoHotplug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackeichen%2FAutoHotplug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackeichen%2FAutoHotplug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackeichen%2FAutoHotplug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackeichen%2FAutoHotplug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jackeichen","download_url":"https://codeload.github.com/jackeichen/AutoHotplug/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackeichen%2FAutoHotplug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279008577,"owners_count":26084480,"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-11T02:00:06.511Z","response_time":55,"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":["auto-test","disk","hotplug","manual-testing","python3","quarch"],"created_at":"2025-03-31T01:33:50.464Z","updated_at":"2025-10-11T20:13:49.237Z","avatar_url":"https://github.com/jackeichen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"AutoHotplug\n===========\nAutoHotplug is a disk auto-hotplug test script, and no need to install.\n\n\nSupport and Requirements\n========================\nAutoHotplug support bellow OS:\n* Linux\n* Windows\n\nand support bellow Quarch device:\n* QTL2266-xx-xxx (U.2 HotPlug Module)\n* QTL1260-xx-xxx (Control Kit)\n\nAutoHotplug requirements:\n* OS tools\n  * python3\n  * java\n  * smartmontools\n  * Extra Linux tools are required:\n    * nvme-cli\n    * lsscsi\n    * lsblk\n  * Extra Windows tools are required:\n    * wmic\n    * PowerShell\n    * Quarch USB Driver (When use Quarch-\u003eUSB mode)\n* python3 modules\n  * quarchpy\n  * pyyaml\n  * Extra Windows modules are required:\n    * wmi\n* Quarch Hardware\n  * QTL2266-xx-xxx\n  * QTL1260-xx-xx kit\n\n\nInstalling AutoHotplug\n======================\nThis is a script tool and Do Not need install,\nGet it from https://github.com/jackeichen/AutoHotplug.git  \\\nWindows is not all the same as it was in Linux, you need install quarch device USB driver if \nyou want connect Quarch device in USB Mode.\n\n\nRunning a test\n==============\nAn example to test by Quarch control Kit:\n```\n$ python3 HotPlug.py -i \u003cQuarch Device ConnID\u003e(Example usb:QTL2266-xx-xxx)\n```\n    \nAn example to test by Manual:\n```\n$ python3 HotPlug.py -i manual:\u003cDisk ID\u003e\n```\nDisk ID is just a ID, no more important significance, Disk SN is recommended.\n\n\nConfiguration File\n==================\nThe configuration files are included in \"config\" directory.\n\n\nLog File\n========\nThe log file included in \"LOGS\" directory. Vdbench logs is in \"LOGS/vdbenchoutput\".\n\n\nHelp Text\n=========\nHotPlug\n-------\n```\nUsage: HotPlug.py [OPTION] or HotPlug.py [OPTION] [args...]\n\nOptions:\n  --version             show program's version number and exit\n  -h, --help            show this help message and exit\n  -i CONN_ID, --ConnID=CONN_ID\n                        Specify the HotPlug Module Connection IDs(like\n                        usb:QTLxxx-xx-xxx), multi quarch with ','.\n  -t, --test            Do not run actuall test, but do a tool test.\n  --scan_quarch         Scan all quarch device and show them.\n  --no_check            Do not check and run test anyway.\n  --detail_quarch       Print quarch detail information.\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackeichen%2Fautohotplug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackeichen%2Fautohotplug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackeichen%2Fautohotplug/lists"}