Closed smunaut closed 1 month ago
Yep -- the whole analyzer stack is currently missing periodic "tick" that allows things to e.g. time out while being aggregated.
It also might be nice to have a feature that allows us to gather up "in progress" packets and display them somewhere in the UI -- though most timeouts should prevent them from sticking anywhere for any appreciable amount of time.
Possibly caused by the same issue as suggested on Discord:
I'm trying to use ViewSB to sniff USB mouse communication with
openvizsla
backend (./viewsb.sh openvizsla --speed=low
), but I'm only seeing control requests, not the interrupt ones. At the same time I'm seeing all requests properly when using the original OpenVizsla software (./software/host/ovctl.py sniff ls
), and when using theusbmon
backend of ViewSB (./viewsb.sh usbmon --file=/dev/usbmon1
).
What happens is that packets are only shown on the UI when the "group" logic flushes and think the group is done. That logic is fine if you're viewing a file or a capture that's ended, but when doing live capture, this presents a view that's far from reality.
Especially when debugging issues where transactions are invalid / incomplete, a lot of packet just end up in limbo and never shown.
I think ideally any packet that has been received should be shown in the UI, and so "incomplete" groups should already be there and progressively filled / updated. That's unfortunately not trivial :/