<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">08.12.2020 23:18, Alexander
Epaneshnikov пишет:<br>
</div>
<blockquote type="cite"
cite="mid:9e1f61ff-d23a-0594-d0de-e13ef5fe05ad@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="moz-cite-prefix">08.12.2020 23:01, Alexander
Epaneshnikov пишет:<br>
</div>
<blockquote type="cite"
cite="mid:3013df8c-4719-1d41-6a6e-d7e885db5e0b@gmail.com">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<div class="moz-cite-prefix">08.12.2020 22:40, Dave Mielke
пишет:<br>
</div>
<blockquote type="cite"
cite="mid:20201208194036.GM147832@beta.private.mielke.cc">
<pre class="moz-quote-pre" wrap="">[quoted lines by Alexander Epaneshnikov on 2020/12/08 at 22:19 +0300]
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">apart from:
дек 08 22:15:26 alex-pc systemd[1]:
/usr/lib/systemd/system/brltty@.service:25: ConditionPathExists= path is not
absolute, ignoring: sys/devices/pci0000:00/0
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">Please try adding a - between the @ and the % on the Requires= line in
<a class="moz-txt-link-abbreviated" href="mailto:brltty-device@.service" moz-do-not-send="true">brltty-device@.service</a>. So:
<a class="moz-txt-link-abbreviated" href="mailto:Requires=brltty@-%i.service" moz-do-not-send="true">Requires=brltty@-%i.service</a>
</pre>
</blockquote>
it isn't helped. maybe just remove: <span style="color:
#569cd6;">ConditionPathExists</span><span style="color:
#d4d4d4;">=%I</span><br>
<span style="color: #d4d4d4;"></span>
<div style="color: #d4d4d4;background-color: #1e1e1e;font-family: 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback';font-weight: normal;font-size: 14px;line-height: 19px;white-space: pre;"><div><span style="color: #d4d4d4;">i think now it doesn't help.
</span></div></div>
<pre class="moz-signature" cols="72">--
Sincerely, Alexander.</pre>
</blockquote>
<br>
ok Dave pleas look at that. <a class="moz-txt-link-freetext"
href="https://github.com/systemd/systemd/issues/14246"
moz-do-not-send="true">https://github.com/systemd/systemd/issues/14246</a><br>
i think this explains meni of hour problems.<br>
<pre class="moz-signature" cols="72">--
Sincerely, Alexander.</pre>
</blockquote>
cano't believe! two days and finally. we don't need device unit.<br>
i modified rule:<br>
LABEL="brltty_systemd"<br>
ACTION!="remove", GOTO="brltty_systemd_add"<br>
ACTION=="remove", GOTO="brltty_systemd_remove"<br>
GOTO="brltty_device_end"<br>
LABEL="brltty_systemd_add"<br>
ENV{SYSTEMD_WANTS}+=<a class="moz-txt-link-rfc2396E" href="mailto:brltty@.service">"brltty@.service"</a><br>
LABEL="brltty_systemd_remove"<br>
TAG+="systemd"<br>
GOTO="brltty_device_end"<br>
<br>
[alex@alex-pc brltty]$ systemctl show
<a class="moz-txt-link-abbreviated" href="mailto:brltty@sys-devices-pci0000:00-0000:00:14.0-usb1-1\\x2d6.service">brltty@sys-devices-pci0000:00-0000:00:14.0-usb1-1\\x2d6.service</a><br>
BindsTo="sys-devices-pci0000:00-0000:00:14.0-usb1-1\\x2d6.device"<br>
<pre class="moz-signature" cols="72">[alex@alex-pc brltty]$ systemctl show sys-devices-pci0000:00-0000:00:14.0-usb1-1\\x2d6.device
Wants=<a class="moz-txt-link-rfc2396E" href="mailto:brltty-device@sys-devices-pci0000:00-0000:00:14.0-usb1-1\\x2d6.service">"brltty-device@sys-devices-pci0000:00-0000:00:14.0-usb1-1\\x2d6.service"</a>
BoundBy=<a class="moz-txt-link-rfc2396E" href="mailto:brltty@sys-devices-pci0000:00-0000:00:14.0-usb1-1\\x2d6.service">"brltty@sys-devices-pci0000:00-0000:00:14.0-usb1-1\\x2d6.service"</a>
now I'm a little angry with myself. walking around for two days and not understanding simple things.
--
Sincerely, Alexander.</pre>
</body>
</html>