Package: ofono-phonesim Version: 1.21-1 Severity: wishlist Phonesim is necessary for the bluetooth HFP profile implementation in pulseaudio, so it is desireable to have an option to start it at boot time. I wrote a systemd service file to do this.
-- System Information: Debian Release: 10.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.0.0-trunk-amd64 (SMP w/2 CPU cores) Locale: LANG=ru_RU.utf8, LC_CTYPE=ru_RU.utf8 (charmap=UTF-8), LANGUAGE=ru_RU.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages ofono-phonesim depends on: ii libc6 2.28-10 ii libgcc1 1:8.3.0-7 ii libqt4-dbus 4:4.8.7+dfsg-18 ii libqt4-network 4:4.8.7+dfsg-18 ii libqt4-script 4:4.8.7+dfsg-18 ii libqt4-xml 4:4.8.7+dfsg-18 ii libqtcore4 4:4.8.7+dfsg-18 ii libqtgui4 4:4.8.7+dfsg-18 ii libstdc++6 8.3.0-7 ofono-phonesim recommends no packages. ofono-phonesim suggests no packages. *** /etc/systemd/system/phonesim.service [Unit] Description=Phonesim modem emulator for ofono After=ofono.service StartLimitedIntervalSec=0 [Service] Type=simple Restart=always RestartSec=1 ExecStart=/usr/bin/ofono-phonesim -p 12345 /usr/share/phonesim/default.xml ExecStartPost=/bin/sleep 1 ExecStartPost=/usr/bin/dbus-send --system --dest=org.ofono --type=method_call /phonesim org.ofono.Modem.SetProperty string:"Powered" variant:boolean:"true" StandartError=null