You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything described below is executed with a user has full access to /dev/ttyUSB0:
When I try to scan the sensors using the following command, there is no response from pylacrosse: pylacrosse -r 1 -d /dev/ttyUSB0 scan
To monitor the behavior, I created a relay with socat: socat /dev/ttyUSB0,raw,echo=0 SYSTEM:'tee in.txt |socat - "PTY,link=/tmp/ttyUSB0,raw,echo=0,waitslave" |tee out.txt'
This is really strange. I added my "standard" users to the plugdev group (ttyUSB is automatically added by to this by debian) to have access to the device.
A JeeLink is connected to /dev/ttyUSB0.
Everything described below is executed with a user has full access to /dev/ttyUSB0:
When I try to scan the sensors using the following command, there is no response from pylacrosse:
pylacrosse -r 1 -d /dev/ttyUSB0 scan
To monitor the behavior, I created a relay with socat:
socat /dev/ttyUSB0,raw,echo=0 SYSTEM:'tee in.txt |socat - "PTY,link=/tmp/ttyUSB0,raw,echo=0,waitslave" |tee out.txt'
Started pylacrosse again using the relay:
Strangely now pylacrosse is displaying my sensors...
Terminal programs (tested with picoterm and here with pythons minicom) are also working:
Info:The commands "1r" and "v" were not echoed and added manually.
The info-command also works with pylacrosse (for /dev/ttyUSB0 and /tmp/ttyUSB0):
Used versions:
The text was updated successfully, but these errors were encountered: