Skip to content

Conversation

@alex-tix
Copy link

@alex-tix alex-tix commented Jun 5, 2025

It seems Ledger has added new product ids for new Ledger devices. By checking LedgerLive's device detection code, we can retrieve the new ones. The logic is much more convoluted in LedgerLive (for some unknown reason), but essentially the new product ID is the old one with 12 bits shifted to the left (eg. Nano X is both 0x0004 and 0x4000). You can verify this in the LedgerLive code (productIdMM value and bit shifting).

I've added the new product ids in the corresponding list and now new Ledger devices work correctly with injectived.

@xlab
Copy link

xlab commented Jun 5, 2025

Good stuff!

@vchong
Copy link

vchong commented Jul 17, 2025

@alex-tix thanks! you're a life saver!

@xlab
Copy link

xlab commented Jul 19, 2025

Closing this because it's been picked into v1.16.0 upcoming release.

0x0000, /* Ledger Blue */
0x0001, /* Ledger Nano S Legacy */
0x1000, /* Ledger Nano S */
0x0004, /* Ledger Nano X Legacy */
0x4000, /* Ledger Nano X */
0x0005, /* Ledger Nano S Plus Legacy */
0x5000, /* Ledger Nano S Plus */
0x0006, /* Ledger Stax Legacy */
0x6000, /* Ledger Stax */
0x0007, /* Ledger Flex Legacy */
0x7000, /* Ledger Flex */

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants