From: Naoto Yamaguchi Date: Sun, 7 May 2023 14:40:25 +0000 (+0900) Subject: [Bug] Fix udev boot up fail in case of connecting CH57x keyboard X-Git-Tag: 15.91.0~19 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=8b5f7101e6ff970c1212ddedc53c3d3f28d75ac4;p=AGL%2Fmeta-agl-devel.git [Bug] Fix udev boot up fail in case of connecting CH57x keyboard When CH57x keyboard connect USB port, a systemd-udev-settle.servic fail boot up in boot time. This patch change udev rule to fix this bug. Bug-AGL: SPEC-4766 Change-Id: I7f0002c74050041d31d24fca5e95ad81830df193 Signed-off-by: Naoto Yamaguchi --- diff --git a/meta-agl-ic-container/recipes-demo/momikey/files/momikey.rules b/meta-agl-ic-container/recipes-demo/momikey/files/momikey.rules index 167a5cb1..ffe19684 100644 --- a/meta-agl-ic-container/recipes-demo/momikey/files/momikey.rules +++ b/meta-agl-ic-container/recipes-demo/momikey/files/momikey.rules @@ -1 +1 @@ -SUBSYSTEM=="usb", ATTR{idVendor}=="1189", ATTR{idProduct}=="8890", RUN+="/bin/sh -c 'systemctl start momikey'" +SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="1189", ATTR{idProduct}=="8890", GROUP="usb", TAG+="systemd", ENV{SYSTEMD_WANTS}+="momikey.service"