aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container/recipes-demo
diff options
context:
space:
mode:
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2023-05-07 23:40:25 +0900
committerNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2023-05-09 08:15:01 +0900
commit8b5f7101e6ff970c1212ddedc53c3d3f28d75ac4 (patch)
treec36e5ea96632806099fc905915d0ad8a4db4a5e9 /meta-agl-ic-container/recipes-demo
parentec8b840bf22a1a4914553ed46469ee5915246690 (diff)
[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 <naoto.yamaguchi@aisin.co.jp>
Diffstat (limited to 'meta-agl-ic-container/recipes-demo')
-rw-r--r--meta-agl-ic-container/recipes-demo/momikey/files/momikey.rules2
1 files changed, 1 insertions, 1 deletions
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"