WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline DeepBlueMind

  • Newbie
  • *
  • Posts: 8
-sh: lsusb: not found
« on: August 02, 2021, 09: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: 14826
Re: -sh: lsusb: not found
« Reply #1 on: August 02, 2021, 12:29:54 PM »
Did you download and load the extension?

Offline DeepBlueMind

  • Newbie
  • *
  • Posts: 8
Re: -sh: lsusb: not found
« Reply #2 on: August 03, 2021, 01:30:16 AM »
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: 11656
Re: -sh: lsusb: not found
« Reply #3 on: August 03, 2021, 01:39:22 AM »
Hi DeepBlueMind
What happens if you try it like this  /usr/local/bin/lsusb


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14826
Re: -sh: lsusb: not found
« Reply #4 on: August 03, 2021, 04: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, 10:23:18 AM »
I put on a fresh image and after installing it from the tce-browser it works! Thank you for your help!