08.12.2020 23:18, Alexander Epaneshnikov пишет:
08.12.2020 23:01, Alexander Epaneshnikov пишет:
08.12.2020 22:40, Dave Mielke пишет:
[quoted lines by Alexander Epaneshnikov on 2020/12/08 at 22:19 +0300]

apart from:
дек 08 22:15:26 alex-pc systemd[1]:
/usr/lib/systemd/system/[email protected]:25: ConditionPathExists= path is not
absolute, ignoring: sys/devices/pci0000:00/0
Please try adding a - between the @ and the % on the Requires= line in
[email protected]. So:

    Requires=brltty@-%i.service

it isn't helped. maybe just remove: ConditionPathExists=%I
i think now it doesn't help.
--
Sincerely, Alexander.

ok Dave pleas look at that. https://github.com/systemd/systemd/issues/14246
i think this explains meni of hour problems.
--
Sincerely, Alexander.
cano't believe! two days and finally. we don't need device unit.
i modified rule:
LABEL="brltty_systemd"
ACTION!="remove", GOTO="brltty_systemd_add"
ACTION=="remove", GOTO="brltty_systemd_remove"
GOTO="brltty_device_end"
LABEL="brltty_systemd_add"
ENV{SYSTEMD_WANTS}+="[email protected]"
LABEL="brltty_systemd_remove"
TAG+="systemd"
GOTO="brltty_device_end"

[alex@alex-pc brltty]$ systemctl show brltty@sys-devices-pci0000:00-0000:00:14.0-usb1-1\\x2d6.service
BindsTo="sys-devices-pci0000:00-0000:00:14.0-usb1-1\\x2d6.device"

[alex@alex-pc brltty]$ systemctl show 
sys-devices-pci0000:00-0000:00:14.0-usb1-1\\x2d6.device
Wants="brltty-device@sys-devices-pci0000:00-0000:00:14.0-usb1-1\\x2d6.service"
BoundBy="brltty@sys-devices-pci0000:00-0000:00:14.0-usb1-1\\x2d6.service"

now I'm a little angry with myself. walking around for two days and not 
understanding simple things.
--
Sincerely, Alexander.

_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Reply via email to