WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: -sh: lsusb: not found  (Read 1019 times)

Offline DeepBlueMind

  • Newbie
  • *
  • Posts: 8
-sh: lsusb: not found
« on: August 02, 2021, 06:21:47 AM »
Hi,
I run version piCore-13.0.3 on Rpi0w and installed the usbutils.tcz Extension but the command lsusb gives me this error:

-sh: lsusb: not found

What did I do wrong?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 13853
Re: -sh: lsusb: not found
« Reply #1 on: August 02, 2021, 09:29:54 AM »
Did you download and load the extension?

Offline DeepBlueMind

  • Newbie
  • *
  • Posts: 8
Re: -sh: lsusb: not found
« Reply #2 on: August 02, 2021, 10:30:16 PM »
yes, I did this:
tce-load -i usbutils.tcz

and it said already loaded

that's why I was wondering

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10217
Re: -sh: lsusb: not found
« Reply #3 on: August 02, 2021, 10:39:22 PM »
Hi DeepBlueMind
What happens if you try it like this  /usr/local/bin/lsusb


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 13853
Re: -sh: lsusb: not found
« Reply #4 on: August 03, 2021, 01:08:24 AM »
The usbutils extension depends on libusb and usb-ids - are all three loaded (lsusb works for me in piCore-12.x)?

Offline DeepBlueMind

  • Newbie
  • *
  • Posts: 8
Re: -sh: lsusb: not found
« Reply #5 on: August 03, 2021, 07:23:18 AM »
I put on a fresh image and after installing it from the tce-browser it works! Thank you for your help!