It's really a hamlib question....FYI...you don't need
--set-conf=serial_handshake=NoneThat's the default for the rig but it won't
help this problem.
You may want to use the new way as the old rc.local is old hat....
Convert to the new method and see how it behaves.
https://linuxhint.com/use-etc-rc-local-boot/
Mike W9MDB
On Wednesday, July 28, 2021, 02:32:00 AM CDT, jarmo via wsjt-devel
<[email protected]> wrote:
Sorry this noise, but kind of WSJTX question?
Has anyone managed to set Rigctld as service
in Fedora 33/34 in boot? If managed, what kind of script
used?
I have problem, after boot, service goes up, kind of, but
radio is not usable...
● rigctld.service - /etc/rc.local Compatibility
Loaded: loaded (/usr/lib/systemd/system/rigctld.service; enabled;
vendor preset: disabled) Active: active (exited) since Wed 2021-07-28
09:46:35 EEST; 5min ago Docs: man:systemd-rc-local-generator(8)
Process: 1284 ExecStart=/etc/rc.local start (code=exited,
status=0/SUCCESS) Main PID: 1284 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 9329)
Memory: 8.2M
CPU: 12ms
CGroup: /system.slice/rigctld.service
heinä 28 09:46:35 oh1mrr.ampr.org systemd[1]: Started /etc/rc.local
Compatibility. heinä 28 09:46:35 oh1mrr.ampr.org rc.local[1286]:
rigctld.c(272) Startup: /usr/local/bin/rigctld -m 2041 -r /dev/ttyS0 -t
4532 -s 9600 --set-conf=serial_handshake=None heinä 28 09:46:36
oh1mrr.ampr.org rc.local[1286]: rig_open: error = Command rejected by
the rig heinä 28 09:46:36 oh1mrr.ampr.org rc.local[1286]: kenwood_open:
cannot get identification heinä 28 09:46:36 oh1mrr.ampr.org
rc.local[1286]: kenwood.c(873):kenwood_open return(-9) heinä 28
09:46:36 oh1mrr.ampr.org rc.local[1286]: rig.c(1026):rig_open
return(-9) /dev/ttyS0 Success
But, if I run systemctl start rigctld from konsole all starts ok
● rigctld.service - /etc/rc.local Compatibility
Loaded: loaded (/usr/lib/systemd/system/rigctld.service; enabled;
vendor preset: disabled) Active: active (exited) since Wed 2021-07-28
10:07:43 EEST; 2s ago Docs: man:systemd-rc-local-generator(8)
Process: 2757 ExecStart=/etc/rc.local start (code=exited,
status=0/SUCCESS) Main PID: 2757 (code=exited, status=0/SUCCESS)
Tasks: 2 (limit: 9329)
Memory: 3.0M
CPU: 10ms
CGroup: /system.slice/rigctld.service
└─2761 /usr/local/bin/rigctld -m 2041 -r /dev/ttyS0 -t
4532 -s 9600 --set-conf=serial_handshake=None
heinä 28 10:07:43 oh1mrr.ampr.org systemd[1]: Started /etc/rc.local
Compatibility. heinä 28 10:07:43 oh1mrr.ampr.org rc.local[2761]:
rigctld.c(272) Startup: /usr/local/bin/rigctld -m 2041 -r /dev/ttyS0 -t
4532 -s 9600 --set-conf=serial_handshake=None
Rigctld.service sript is
[Unit]
Description=/etc/rc.local Compatibility
Documentation=man:systemd-rc-local-generator(8)
ConditionFileIsExecutable=/etc/rc.local
Requires=multi-user-target
After=multi-user.target
[Service]
Type=idle
ExecStart=/etc/rc.local start
TimeoutSec=0
RemainAfterExit=yes
GuessMainPID=no
[Install]
WantedBy=multi-user.target
Apologize, if this is far away from list..
Jarmo
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel