Guest User

Untitled

a guest
Sep 15th, 2019
72
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ### find ledger usb vendor and product id's
  2. ```
  3. $ lsusb
  4. ...
  5. Bus 001 Device 018: ID 2c97:0001
  6. ...
  7. ```
  8.  
  9. ### check if ledger is not yet in correct group "plugdev"
  10. ```
  11. $ ls -al /dev/bus/usb/001/018
  12. crw-rw-r-- 1 root root 189, 15 Sep 4 14:30 /dev/bus/usb/001/016
  13. ```
  14.  
  15. ### add new udev rule
  16. ```
  17. $ sudo vi /etc/udev/rules.d/51-ledger.rules
  18. SUBSYSTEM=="usb", ATTR{idVendor}=="2c97", ATTR{idProduct}=="0001 MODE="0666", GROUP="plugdev"
  19. ```
  20.  
  21. ### reload rules
  22. ```
  23. $ sudo udevadm control --reload-rules
  24. ```
  25.  
  26. ### replug your ledger and your done
RAW Paste Data