Package: inputattach
Version: 1:1.4.7-2
Dear maintainer,
First, please apologize: I don't know if what I experience is really a
bug
or just me that do not understand how to use this tool.
I am trying to use an Orbit MS7120 barcode scanner (RS232), which works
well
using "cat /dev/ttyS0".
# inputattach -lk /dev/ttyS0
-> writes garbage in every windows -> works as expected because the
"mode"
is not the right one
# inputattach --daemon -lk /dev/ttyS0
-> same as before but daemonize -> works as expected
# inputattach --baud 9600 --dump /dev/ttyS0
-> writes good scanned data only to the current terminal -> I suppose it
should
also write to other terminals / windows
Sample output:
30 (0) 35 (5) 31 (1) 31 (1) 32 (2) 32 (2) 31 (1) 39 (9)
39 (9) 33 (3) 33 (3) 32 (2) 0d (x) 0a (x)
# inputattach --daemon --baud 9600 --dump /dev/ttyS0
-> same as before, but never goes to background -> I suppose it should
daemonize
Also, the last 2 commands do NOT add an entry in
/proc/bus/input/devices.
All of that makes me think that the "dump" "mode" is only for testing
purposes.
Am I right? If so, what to do if other "modes" are not correct for this
peripheral?
Best regards,
Yvan