Skip to content

Commit

Permalink
Put traces to investigate USB instability
Browse files Browse the repository at this point in the history
Signed-off-by: Arnaud Quette <[email protected]>
  • Loading branch information
aquette committed Dec 21, 2023
1 parent e552599 commit 648f2e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions smartnut/rootfs/usr/bin/dstate-nut2mqtt
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,10 @@ do
if [ $? -eq 1 ];
then
echo "no communication..."
# FIXME: USB tends to disconnect! Investigate and try to reconnect
ls -la /var/run/nut/
echo "---"
lsusb
fi
dump_device "$curdevice"
process_dump "$curdevice"
Expand Down

0 comments on commit 648f2e6

Please sign in to comment.