I know the modem works as I am able to talk to it directly with minicom but I can't get hylafax to work with the modem - keeps saying its wedged.
systemd config:
[root@redhat system]# pwd
/etc/systemd/system
[root@redhat system]# cat faxgetty-ttyR0.service
[Unit]
Description=FaxGetty Start Modem ttyR0
[Service]
Type=simple
User=root
Group=root
Restart=always
ExecStart=/usr/local/sbin/faxgetty /dev/ttyR0
RestartSec=30
[Install]
WantedBy=multi-user.target
when I systemctl start faxgetty-ttyR0.service
May 3 21:44:34 redhat FaxGetty[23673]: OPEN /dev/ttyR0 HylaFAX (tm) Version 6.0.5
May 3 21:45:43 redhat FaxGetty[23673]: /dev/ttyR0: Can not initialize modem.
May 3 21:48:59 redhat FaxGetty[23673]: Unable to setup modem on /dev/ttyR0; giving up after 2 attempts
May 3 21:48:59 redhat FaxGetty[23673]: MODEM /dev/ttyR0 appears to be wedged
May 3 21:48:59 redhat FaxGetty[23673]: CLOSE /dev/ttyR0
May 3 21:49:29 redhat systemd[1]: faxgetty-ttyR0.service holdoff time over, scheduling restart.
I've set the debugging level to max:
[root@redhat etc]# grep fff *
config:ServerTracing: 0xfffff
config.ttyR0:ServerTracing: 0xfffff
config.ttyR0:SessionTracing: 0xfffff
Yet I'm not getting any real useful output telling me what part of the system is not configured correctly.
Suggestions that are not "use efax"?