* lsusb
@ 2022-12-24 5:28 Ron Eggler
2022-12-24 9:17 ` [yocto] lsusb Khem Raj
0 siblings, 1 reply; 6+ messages in thread
From: Ron Eggler @ 2022-12-24 5:28 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 448 bytes --]
Hi,
I want to inlude "lsusb" to investigate the connected usb devices to my
system.
I found that adding
IMAGE_INSTALL_append = " usbutils"
to my configuration should solve the issue. I've added this to my
local.conf and invoked a rebuild of my packages but still, after the
rebuild, my package.manifest file still does not list lsusb.
How can I get lsusb included in my image?
--
RON EGGLER Firmware Engineer (he/him/his) www.mistywest.com
[-- Attachment #2: Type: text/html, Size: 946 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [yocto] lsusb
2022-12-24 5:28 lsusb Ron Eggler
@ 2022-12-24 9:17 ` Khem Raj
2022-12-24 16:34 ` Ron Eggler
0 siblings, 1 reply; 6+ messages in thread
From: Khem Raj @ 2022-12-24 9:17 UTC (permalink / raw)
To: Mistyron; +Cc: yocto
On Fri, Dec 23, 2022 at 9:28 PM Mistyron <ron.eggler@mistywest.com> wrote:
>
> Hi,
>
> I want to inlude "lsusb" to investigate the connected usb devices to my system.
> I found that adding
>
> IMAGE_INSTALL_append = " usbutils"
>
> to my configuration should solve the issue. I've added this to my local.conf and invoked a rebuild of my packages but still, after the rebuild, my package.manifest file still does not list lsusb.
>
> How can I get lsusb included in my image?
Try IMAGE_INSTALL_append = " usbutils-python"
>
> --
> RON EGGLER Firmware Engineer (he/him/his) www.mistywest.com
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> You automatically follow any topics you start or reply to.
> View/Reply Online (#58857): https://lists.yoctoproject.org/g/yocto/message/58857
> Mute This Topic: https://lists.yoctoproject.org/mt/95858084/1997914
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [yocto] lsusb
2022-12-24 9:17 ` [yocto] lsusb Khem Raj
@ 2022-12-24 16:34 ` Ron Eggler
2022-12-24 16:38 ` Markus Volk
0 siblings, 1 reply; 6+ messages in thread
From: Ron Eggler @ 2022-12-24 16:34 UTC (permalink / raw)
To: Khem Raj; +Cc: yocto
On 2022-12-24 01:17, Khem Raj wrote:
> On Fri, Dec 23, 2022 at 9:28 PM Mistyron <ron.eggler@mistywest.com> wrote:
>> Hi,
>>
>> I want to inlude "lsusb" to investigate the connected usb devices to my system.
>> I found that adding
>>
>> IMAGE_INSTALL_append = " usbutils"
>>
>> to my configuration should solve the issue. I've added this to my local.conf and invoked a rebuild of my packages but still, after the rebuild, my package.manifest file still does not list lsusb.
>>
>> How can I get lsusb included in my image?
> Try IMAGE_INSTALL_append = " usbutils-python"
I've added that, issued a cleanall and rebuilt but it unfortunately did
not give me the expected result either:
$ grep usb path/to/package.manifest
libusb-1.0-0
usbutils
usbutils-python
>
>> --
>> RON EGGLER Firmware Engineer (he/him/his) www.mistywest.com
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> You automatically follow any topics you start or reply to.
>> View/Reply Online (#58857): https://lists.yoctoproject.org/g/yocto/message/58857
>> Mute This Topic: https://lists.yoctoproject.org/mt/95858084/1997914
>> Group Owner: yocto+owner@lists.yoctoproject.org
>> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [raj.khem@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [yocto] lsusb
2022-12-24 16:34 ` Ron Eggler
@ 2022-12-24 16:38 ` Markus Volk
2022-12-24 19:17 ` Ron Eggler
0 siblings, 1 reply; 6+ messages in thread
From: Markus Volk @ 2022-12-24 16:38 UTC (permalink / raw)
To: Mistyron; +Cc: Khem Raj, yocto
[-- Attachment #1: Type: text/plain, Size: 271 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 446 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [yocto] lsusb
2022-12-24 16:38 ` Markus Volk
@ 2022-12-24 19:17 ` Ron Eggler
2023-01-03 14:53 ` Quentin Schulz
0 siblings, 1 reply; 6+ messages in thread
From: Ron Eggler @ 2022-12-24 19:17 UTC (permalink / raw)
To: Markus Volk; +Cc: Khem Raj, yocto
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [yocto] lsusb
2022-12-24 19:17 ` Ron Eggler
@ 2023-01-03 14:53 ` Quentin Schulz
0 siblings, 0 replies; 6+ messages in thread
From: Quentin Schulz @ 2023-01-03 14:53 UTC (permalink / raw)
To: Mistyron, Markus Volk; +Cc: Khem Raj, yocto
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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-01-03 14:54 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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.