hww: ledger: update udev rules and model ids
see https://github.com/bitcoin-core/HWI/pull/746 maybe closes https://github.com/spesmilo/electrum/issues/9179
This commit is contained in:
@@ -1340,7 +1340,7 @@ class LedgerPlugin(HW_PluginBase):
|
||||
(0x2c97, 0x0004), # Nano-X
|
||||
(0x2c97, 0x0005), # Nano-S Plus
|
||||
(0x2c97, 0x0006), # Stax
|
||||
(0x2c97, 0x0007), # RFU
|
||||
(0x2c97, 0x0007), # Flex
|
||||
(0x2c97, 0x0008), # RFU
|
||||
(0x2c97, 0x0009), # RFU
|
||||
(0x2c97, 0x000a)] # RFU
|
||||
@@ -1350,6 +1350,7 @@ class LedgerPlugin(HW_PluginBase):
|
||||
0x40: "Ledger Nano X",
|
||||
0x50: "Ledger Nano S Plus",
|
||||
0x60: "Ledger Stax",
|
||||
0x70: "Ledger Flex",
|
||||
}
|
||||
|
||||
SUPPORTED_XTYPES = ('standard', 'p2wpkh-p2sh', 'p2wpkh', 'p2wsh-p2sh', 'p2wsh')
|
||||
@@ -1399,6 +1400,8 @@ class LedgerPlugin(HW_PluginBase):
|
||||
return True, "Ledger Nano S Plus"
|
||||
if product_key == (0x2c97, 0x0006):
|
||||
return True, "Ledger Stax"
|
||||
if product_key == (0x2c97, 0x0007):
|
||||
return True, "Ledger Flex"
|
||||
return True, None
|
||||
# modern product_keys
|
||||
if product_key[0] == 0x2c97:
|
||||
|
||||
Reference in New Issue
Block a user