All of lore.kernel.org
 help / color / mirror / Atom feed
From: Quentin Schulz <quentin.schulz@theobroma-systems.com>
To: Mistyron <ron.eggler@mistywest.com>, Markus Volk <f_l_k@t-online.de>
Cc: Khem Raj <raj.khem@gmail.com>, yocto@lists.yoctoproject.org
Subject: Re: [yocto] lsusb
Date: Tue, 3 Jan 2023 15:53:47 +0100	[thread overview]
Message-ID: <4fc40b33-8eaa-2389-2edd-e01d4e5b8113@theobroma-systems.com> (raw)
In-Reply-To: <2b0d1f55-d4a1-cd28-908f-7d19e700bbfa@mistywest.com>

Hi Ron,

On 12/24/22 20:17, Mistyron wrote:
> On 2022-12-24 08:38, Markus Volk wrote:
>> Am Sa, 24. Dez 2022 um 08:34:49 -0800 schrieb Mistyron 
>> <ron.eggler@mistywest.com>:
>>> $ grep usb path/to/package.manifest   libusb-1.0-0   usbutils 
>>> usbutils-python
>>
>> lsusb is part of usbutils, so it is not explicitly listed, but should 
>> be included in your image
> Oh, I think the cleanall didn't wipe the cache sufficiently, after I 
> deleted contents in sstate-cache/ I get the following:
> $ tar -tvf path/to/myimage-20221224185313.rootfs.tar.gz  | grep lsusb
> lrwxrwxrwx 0/0               0 2018-03-09 04:34 ./usr/bin/lsusb -> 
> /usr/bin/lsusb.usbutils
> -rwxr-xr-x 0/0           14266 2018-03-09 04:34 ./usr/bin/lsusb.py
> -rwxr-xr-x 0/0          247976 2018-03-09 04:34 ./usr/bin/lsusb.usbutils
> -rw-r--r-- 0/0              43 2018-03-09 04:34 
> ./usr/lib/opkg/alternatives/lsusb
> 
> I would expect "$ lsusb" to work now when I copy this to my board 
> (cannot est right now)
> 
> the package.manifest however still only lists:
> 
> libusb-1.0-0
> usbutils
> usbutils-python
> 

The package.manifest only contains packages so it's normal that lsusb 
does not appear there since there's no package *named* lsusb.

E.g. there's no lsusb package in Debian, but you can install it on your 
system via the usbutils package.

However, one can check which package provides the libusb binary by running
oe-pkgdata-util find-path '*/libusb'
it should return usbutils I believe.

Cheers,
Quentin


      reply	other threads:[~2023-01-03 14:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-24  5:28 lsusb Ron Eggler
2022-12-24  9:17 ` [yocto] lsusb Khem Raj
2022-12-24 16:34   ` Ron Eggler
2022-12-24 16:38     ` Markus Volk
2022-12-24 19:17       ` Ron Eggler
2023-01-03 14:53         ` Quentin Schulz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4fc40b33-8eaa-2389-2edd-e01d4e5b8113@theobroma-systems.com \
    --to=quentin.schulz@theobroma-systems.com \
    --cc=f_l_k@t-online.de \
    --cc=raj.khem@gmail.com \
    --cc=ron.eggler@mistywest.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.