From 82b42e4fd152f10f75584de56502fd9ada299bb5 Mon Sep 17 00:00:00 2001 From: Viktor Dragomiretskyy Date: Mon, 22 Jun 2020 21:23:46 +1200 Subject: [PATCH] Use the correct firmware image filename on 009a devices. --- proto9x/upload_fwext.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proto9x/upload_fwext.py b/proto9x/upload_fwext.py index 0ba3aef..b738426 100644 --- a/proto9x/upload_fwext.py +++ b/proto9x/upload_fwext.py @@ -16,6 +16,9 @@ def default_fwext_name(): return '6_07f_Lenovo.xpfwext' elif usb.usb_dev().idProduct == 0x0097: return '6_07f_lenovo_mis.xpfwext' + elif usb.usb_dev().idVendor == 0x06cb: + if usb.usb_dev().idProduct == 0x009a: + return '6_07f_lenovo_mis_qm.xpfwext' def upload_fwext(fw_path=None): # no idea what this is: