Dev/Ledger Hardware Wallet

From Kicksecure
< Dev
Jump to navigation Jump to search

Ledger Hardware Wallet - Qubes connection debugging

See also Ledger Hardware Wallet.

Attachment Log[edit]

sudo journalctl -f

Attach ledger to ledger VM.

qvm-usb attach ledger-debian-stretch sys-usb:2-1.4

Log example if it works. [1]

Oct 31 13:33:13 ledger-debian-stretch qrexec-agent[630]: executed root:QUBESRPC qubes.USBAttach dom0 pid 1683
Oct 31 13:33:13 ledger-debian-stretch qrexec-agent[1683]: pam_unix(qrexec:session): session opened for user root by (uid=0)
Oct 31 13:33:13 ledger-debian-stretch systemd[1]: Created slice User Slice of root.
Oct 31 13:33:13 ledger-debian-stretch systemd[1]: Starting User Manager for UID 0...
Oct 31 13:33:13 ledger-debian-stretch systemd[1684]: pam_unix(systemd-user:session): session opened for user root by (uid=0)
Oct 31 13:33:13 ledger-debian-stretch systemd[1]: Started Session c6 of user root.
Oct 31 13:33:13 ledger-debian-stretch systemd[1684]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Oct 31 13:33:13 ledger-debian-stretch systemd[1684]: Listening on GnuPG cryptographic agent and passphrase cache.
Oct 31 13:33:13 ledger-debian-stretch systemd[1684]: Listening on GnuPG cryptographic agent (access for web browsers).
Oct 31 13:33:13 ledger-debian-stretch systemd[1684]: Reached target Paths.
Oct 31 13:33:13 ledger-debian-stretch systemd[1684]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Oct 31 13:33:13 ledger-debian-stretch systemd[1684]: Reached target Timers.
Oct 31 13:33:13 ledger-debian-stretch systemd[1684]: Listening on GnuPG network certificate management daemon.
Oct 31 13:33:13 ledger-debian-stretch systemd[1684]: Starting D-Bus User Message Bus Socket.
Oct 31 13:33:13 ledger-debian-stretch systemd[1684]: Listening on D-Bus User Message Bus Socket.
Oct 31 13:33:13 ledger-debian-stretch systemd[1684]: Reached target Sockets.
Oct 31 13:33:13 ledger-debian-stretch systemd[1684]: Reached target Basic System.
Oct 31 13:33:13 ledger-debian-stretch systemd[1684]: Reached target Default.
Oct 31 13:33:13 ledger-debian-stretch systemd[1684]: Startup finished in 18ms.
Oct 31 13:33:13 ledger-debian-stretch systemd[1]: Started User Manager for UID 0.
Oct 31 13:33:13 ledger-debian-stretch qubes.USBAttach-dom0[1720]: /usr/lib/qubes/usb-import: 37: [: Illegal number: sta
Oct 31 13:33:13 ledger-debian-stretch kernel: vhci_hcd vhci_hcd: pdev(0) rhport(0) sockfd(0)
Oct 31 13:33:13 ledger-debian-stretch kernel: vhci_hcd vhci_hcd: devid(131078) speed(2) speed_str(full-speed)
Oct 31 13:33:13 ledger-debian-stretch kernel: usb 2-1: new full-speed USB device number 3 using vhci_hcd
Oct 31 13:33:14 ledger-debian-stretch kernel: usb 2-1: SetAddress Request (3) to port 0
Oct 31 13:33:14 ledger-debian-stretch kernel: usb 2-1: New USB device found, idVendor=2c97, idProduct=0001
Oct 31 13:33:14 ledger-debian-stretch kernel: usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 31 13:33:14 ledger-debian-stretch kernel: usb 2-1: Product: Nano S
Oct 31 13:33:14 ledger-debian-stretch kernel: usb 2-1: Manufacturer: Ledger
Oct 31 13:33:14 ledger-debian-stretch kernel: usb 2-1: SerialNumber: 0001
Oct 31 13:33:14 ledger-debian-stretch kernel: hid-generic 0003:2C97:0001.0003: hiddev0,hidraw1: USB HID v1.11 Device [Ledger Nano S] on usb-vhci_hcd-1/input0
Oct 31 13:33:14 ledger-debian-stretch mtp-probe[1735]: checking bus 2, device 3: "/sys/devices/platform/vhci_hcd/usb2/2-1"
Oct 31 13:33:14 ledger-debian-stretch mtp-probe[1735]: bus: 2, device: 3 was not an MTP device
Oct 31 13:33:14 ledger-debian-stretch qrexec-agent[1683]: pam_unix(qrexec:session): session closed for user root
Oct 31 13:33:14 ledger-debian-stretch qrexec-agent[630]: send exit code 0
Oct 31 13:33:14 ledger-debian-stretch qrexec-agent[630]: pid 1683 exited with 0
Oct 31 13:33:14 ledger-debian-stretch qrexec-agent[630]: eintr

Detachment Log[edit]

qvm-usb attach ledger-debian-stretch sys-usb:2-1.4

Oct 31 13:52:16 ledger-debian-stretch kernel: vhci_hcd: connection closed
Oct 31 13:52:16 ledger-debian-stretch kernel: vhci_hcd: stop threads
Oct 31 13:52:16 ledger-debian-stretch kernel: vhci_hcd: release socket
Oct 31 13:52:16 ledger-debian-stretch kernel: vhci_hcd: disconnect device
Oct 31 13:52:16 ledger-debian-stretch kernel: usb 2-1: USB disconnect, device number 3
Oct 31 13:52:16 ledger-debian-stretch kernel: vhci_hcd: dequeue a urb ffff99fc1973bb40
Oct 31 13:52:16 ledger-debian-stretch kernel: vhci_hcd: device ffff99fc1ac4c288 seems to be disconnected
Oct 31 13:52:16 ledger-debian-stretch kernel: vhci_hcd: gives back urb ffff99fc1973bb40

Footnotes[edit]

  1. Meaning, after seeing the following output it was possible to connect ledger to ledger manager.

We believe security software like Kicksecure needs to remain Open Source and independent. Would you help sustain and grow the project? Learn more about our 12 year success story and maybe DONATE!