Arguments passed to crutilsd should be evaluated, so that it could be start on a terminal by a user for debugging etc.
reasonable flags could be:
-v, --verbose -> no daemonize (-d will be ignored), print all information on stdout (& syslog)
-d, --daemon -> daemonize
--dbus, --no-dbus -> send / don't send codes via dbus to other applications
[device] -> device file
So a user could start a new instance with
crutilsd -v --no-dbus /dev/codereaders/test
to get all information about this device and scanned codes. While we are debugging this device, all scanned codes will NOT be send to other applications.
Arguments passed to crutilsd should be evaluated, so that it could be start on a terminal by a user for debugging etc.
reasonable flags could be: -v, --verbose -> no daemonize (-d will be ignored), print all information on stdout (& syslog) -d, --daemon -> daemonize --dbus, --no-dbus -> send / don't send codes via dbus to other applications [device] -> device file
So a user could start a new instance with
to get all information about this device and scanned codes. While we are debugging this device, all scanned codes will NOT be send to other applications.