Pass both vendor and product to override autodetection. Autodetect 0090 as well.
This commit is contained in:
parent
e33d4e956e
commit
7733cac3cb
2 changed files with 2 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ class VFSInitializer():
|
|||
|
||||
def open_device(self, init=False):
|
||||
print('Opening device',hex(self.dev_type.value[1]))
|
||||
vfs_usb.open(product=self.dev_type.value[1])
|
||||
vfs_usb.open(vendor=self.dev_type.value[0], product=self.dev_type.value[1])
|
||||
|
||||
if init:
|
||||
vfs_usb.send_init()
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ from usb.core import USBError
|
|||
from .blobs import init_hardcoded, init_hardcoded_clean_slate
|
||||
|
||||
supported_devices=[
|
||||
(0x138a, 0x0090),
|
||||
(0x138a, 0x0097),
|
||||
(0x06cb, 0x009a),
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue