On Sat, Jan 24, 2026 at 1:41 AM Anuj Mittal via lists.openembedded.org
<[email protected]> wrote:

> On Fri, Jan 23, 2026 at 5:46 PM Jose Quaresma via
> lists.openembedded.org
> <[email protected]> wrote:
> >
> > From: Shoudi Li <[email protected]>
> >
> > For the boards with multiple UDC ports, adb funtion will be impacted due
> > to below error.
> >
> > ls /sys/class/udc/ > /sys/kernel/config/usb_gadget/adb/UDC
> > ls: write error: Device or resource busy
> >
> > Signed-off-by: Shoudi Li <[email protected]>
> > ---
> >  .../android-tools-conf-configfs/android-gadget-start        | 6 ++++--
> >  1 file changed, 4 insertions(+), 2 deletions(-)
> >
> > diff --git
> a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf-configfs/android-gadget-start
> b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf-configfs/android-gadget-start
> > index ca6c3df275..76b5e29624 100644
> > ---
> a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf-configfs/android-gadget-start
> > +++
> b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf-configfs/android-gadget-start
>
> For some reason, there are two *android-tools-conf-configfs* recipes
> which seem identical except for this and a few other minor changes. I
> think this one in dynamic-layers/selinux should be removed instead of
> aligning it with the other recipe.
>

Right, I think its because there was selinux dependency. Things might have
changed so I would prefer that we delete
the one in
meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools

and if we need something from meta-selinux, that could be added as a
bbappend in dynamic layer e.g. dependency on selinux or somesuch


>
> > @@ -2,6 +2,8 @@
> >
> >  set -e
> >
> > -sleep 3
> > +sleep 10
> >
> > -ls /sys/class/udc/ > /sys/kernel/config/usb_gadget/adb/UDC
> > +ls /sys/class/udc/ | head -n 1 | xargs echo -n >
> /sys/kernel/config/usb_gadget/adb/UDC
> > +
> > +echo "Setting UDC $(ls /sys/class/udc/ | head -n 1) for USB ADB Gadget
> usage"
> > --
> > 2.52.0
> >
> >
> >
> >
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#123830): 
https://lists.openembedded.org/g/openembedded-devel/message/123830
Mute This Topic: https://lists.openembedded.org/mt/117415388/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to