add more USB ids

This commit is contained in:
Gilles Boccon-Gibod
2023-06-17 19:06:47 -07:00
parent 41ce311836
commit 7a042db78e
2 changed files with 48 additions and 18 deletions

View File

@@ -56,7 +56,7 @@ async def do_load(usb_transport, force):
):
# Create a host to communicate with the device
host = Host(hci_source, hci_sink)
await host.reset(raw=True)
await host.reset(driver_factory=None)
# Get the driver.
driver = await rtk.Driver.for_host(host, force)
@@ -76,7 +76,7 @@ async def do_drop(usb_transport):
):
# Create a host to communicate with the device
host = Host(hci_source, hci_sink)
await host.reset(raw=True)
await host.reset(driver_factory=None)
# Tell the device to reset/drop any loaded patch
await rtk.Driver.drop_firmware(host)
@@ -90,7 +90,7 @@ async def do_info(usb_transport, force):
):
# Create a host to communicate with the device
host = Host(hci_source, hci_sink)
await host.reset(raw=True)
await host.reset(driver_factory=None)
# Check if this is a supported device.
if not force and not rtk.Driver.check(host):