Lsusb error

Using command line lsusb, its returning an error.

sudo snap run usbutils-lool.lsusb -v
unable to initialize libusb: -99

snap info usbutils-lool
name: usbutils-lool
summary: USB utilities for Linux, including lsusb
publisher: Loïc Minier (lool)
store-url: https://snapcraft.io/usbutils-lool
license: unset
description: |
USB utilities for Linux, including lsusb. Make sure you connect the
raw-usb and network-control interfaces with
snap connect usbutils:network-control :network-control and
snap connect usbutils:raw-usb :raw-usb
commands:
- usbutils-lool.lsusb
- usbutils-lool.usb-devices
- usbutils-lool.usbhid-dump
snap-id: we5eriOTwDnWoACZrrbG09oNPYha3h2t
tracking: latest/stable
refresh-date: today at 01:03 UTC
channels:
stable: None 2018-03-10 (3) 163kB -
candidate: None 2018-03-10 (3) 163kB -
beta: None 2018-03-10 (3) 163kB -
edge: None 2020-01-10 (77) 188kB -
installed: None (3) 163kB -

Thanks

I figured it out, I needed to run the interface connections.
snap connect usbutils-lool:network-control :network-control
snap connect usbutils-lool:raw-usb :raw-usb

The doc is incorrect, the snap name is usbutils-lool.

Which doc are you referring to? If it’s a document on docs.snapcraft.io, then scroll to the bottom of the relevant page and click on the “help improve this document” link to make changes:

its in the snaps info

	snap info usbutils-lool
		name:      usbutils-lool
		summary:   USB utilities for Linux, including lsusb
		publisher: Loïc Minier (lool)
		store-url: https://snapcraft.io/usbutils-lool
		license:   unset
		description: |
		  USB utilities for Linux, including lsusb. Make sure you connect the
		  raw-usb and network-control interfaces with
		  `snap connect usbutils:network-control :network-control` and
		  `snap connect usbutils:raw-usb :raw-usb`

probably @lool could fix it then :wink: