デバイスがリストにあり、ステータスを照会できますが、目的のサービスをデバイスに追加することはできません。

デバイスがリストにあり、ステータスを照会できますが、目的のサービスをデバイスに追加することはできません。

これLPD8音楽的物理ハードウェアです。つながったら始めたいです。流体シンセサイザー。 Debianにはコンポジタをfluidsynth.service実行するインスタンスがあります。--user

Systemdはデバイスを接続するとすぐにデバイスを認識します。

$ systemctl --user list-units --type=device

UNIT                                                                                                LOAD   ACTIVE         DESCRIPTION
...
sys-devices-platform-soc-1c1a000.usb-usb1-1\x2d1-1\x2d1.3-1\x2d1.3:1.0-sound-card1-controlC1.device loaded active plugged LPD8
...

説明と単位に関してLPD8の状態を照会できます。

$ systemctl status LPD8.device

○ LPD8.device - /LPD8
     Loaded: loaded
     Active: inactive (dead)


$ systemctl status sys-devices-platform-soc-1c1a000.usb-usb1-1\x2d1-1\x2d1.3-1\x2d1.3:1.0-sound-card1-controlC1.device

○ sys-devices-platform-soc-1c1a000.usb-usb1-1x2d1-1x2d1.3-1x2d1.3:1.0-sound-card1-controlC1.device - /sys/devices/platform/soc/1c1a000.usb/usb1/1x2d1/1x2d1.3/1x2d1.3:1.0/sound/card1/controlC1
     Loaded: loaded
     Active: inactive (dead)

ただし、LPD8 デバイスにadd-wants接続できません。 systemdでデバイスファイルが見つからないと文句を言うようです。fluidsynth.service

$ systemctl --user add-wants LPD8.device fluidsynth.service
Failed to add dependency: Unit file LPD8.device does not exist.

$ systemctl --user add-wants sys-devices-platform-soc-1c1a000.usb-usb1-1\x2d1-1\x2d1.3-1\x2d1.3:1.0-sound-card1-controlC1.device fluidsynth.service
Failed to add dependency: Unit file sys-devices-platform-soc-1c1a000.usb-usb1-1x2d1-1x2d1.3-1x2d1.3:1.0-sound-card1-controlC1.device does not exist.

fluidsynth.serviceLPD8を接続すると起動します。何が欠けていますか?

ベストアンサー1

おすすめ記事