Hid Vid-1ea7 Amp-pid-0066: Amp-rev-0200 Amp-mi-00
Typical descriptors and behavior
import re broken = "hid vid-1ea7 amp-pid-0066 amp-rev-0200 amp-mi-00" # Step 1: replace 'amp-' with '&' fixed = broken.replace("amp-", "&") # Step 2: Normalize format fixed = re.sub(r'(\bvid|pid|rev|mi)-', r'\1_', fixed, flags=re.I) print(fixed) # hid vid_1EA7&pid_0066&rev_0200&mi_00 # Step 3: Prepend HID\ and uppercase hardware_id = "HID\\" + fixed[4:].upper() print(hardware_id) # HID\VID_1EA7&PID_0066&REV_0200&MI_00 hid vid-1ea7 amp-pid-0066 amp-rev-0200 amp-mi-00
Need further help? Post your Device Manager screenshot and the exact Hardware Ids string to the r/techsupport subreddit, referencing this article. Typical descriptors and behavior import re broken =
