Skip to content

Add a helpful message on Ledger lack of permission #783

@tuliomir

Description

@tuliomir

Summary

When trying to start a Hardware Wallet on a freshly installed app on a fresh Ubuntu 24 install, the Ledger would never display any request from the desktop app.

Running the Electron app through the command line, I found out that there was an error happening silently on the console:

Finished sending command, will retry queue
closing transport!
sending to queue: 3 0 0
queue status false
running queue!
Error creating transport
TypeError: cannot open device with path /dev/hidraw9
    at new HID (/tmp/.mount_Hathor8F4XUZ/resources/app.asar/node_modules/node-hid/nodehid.js:57:17)
    at /tmp/.mount_Hathor8F4XUZ/resources/app.asar/node_modules/@ledgerhq/hw-transport-node-hid/lib/TransportNodeHid.js:50:45
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
TypeError: cannot open device with path /dev/hidraw9
    at new HID (/tmp/.mount_Hathor8F4XUZ/resources/app.asar/node_modules/node-hid/nodehid.js:57:17)
    at /tmp/.mount_Hathor8F4XUZ/resources/app.asar/node_modules/@ledgerhq/hw-transport-node-hid/lib/TransportNodeHid.js:50:45
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Finished sending command, will retry queue
closing transport!

Further investigation led to an official article on the Ledger Support site ( Fix USB connection issues with Ledger Live ) indicating the need for a proper configuration of USB permissions, under "Solution 1. Set up udev rules".

Expected solution

The Desktop app should identify when this issue happens and display an error message pointing the user towards this article, instead of failing silently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions