summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/mboxd
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2017-01-25 13:06:03 +1030
committerPatrick Williams <patrick@stwcx.xyz>2017-01-25 13:10:32 +0000
commit70162a730c1f3ebb9834b62d131712160ad47e1f (patch)
treea783e79f2a797819a3a0ccdd761a768d7fa2c566 /meta-phosphor/common/recipes-phosphor/mboxd
parent05fb69f2f20ec0858e8ab3d62031d7457f290626 (diff)
downloadtalos-openbmc-70162a730c1f3ebb9834b62d131712160ad47e1f.tar.gz
talos-openbmc-70162a730c1f3ebb9834b62d131712160ad47e1f.zip
mboxd: Update udev rule for /dev/aspeed-mbox
At least one bug prevented the discovery that the udev rule was broken, mainly that the Wants/After directives were in the wrong section of the systemd unit file[1]. systemd logged and ignored the broken Wants/After directives and launched the service anyway, which lead to the impression that everthing was working as expected. Fix the problem by inspecting the device with udevdm to determine it's properties: $ udevadm info -q all -a /dev/aspeed-mbox`: looking at device '/devices/platform/ahb/1e789000.lpc/1e789080.lpc-host/1e789200.mbox/misc/aspeed-mbox': KERNEL=="aspeed-mbox" SUBSYSTEM=="misc" DRIVER=="" ... [1] https://github.com/openbmc/openbmc/issues/999 Change-Id: I91c410da44224ee7b5c527ee4a744b7e7ecd5a9b Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/mboxd')
-rw-r--r--meta-phosphor/common/recipes-phosphor/mboxd/files/99-aspeed-mbox.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/mboxd/files/99-aspeed-mbox.rules b/meta-phosphor/common/recipes-phosphor/mboxd/files/99-aspeed-mbox.rules
index 144fb0f45..12e90d86c 100644
--- a/meta-phosphor/common/recipes-phosphor/mboxd/files/99-aspeed-mbox.rules
+++ b/meta-phosphor/common/recipes-phosphor/mboxd/files/99-aspeed-mbox.rules
@@ -1 +1 @@
-SUBSYSTEM=="mailbox", TAG+="systemd"
+SUBSYSTEM=="misc", KERNEL=="aspeed-mbox", TAG+="systemd"
OpenPOWER on IntegriCloud