Decode as USB-PTP not available
I have a camera I'm working with over USB with MTP/PTP. Yesterday when I used a remote control application on my computer it was correctly interpreting the packets as USB-PTP and showing a lot of helpful information. Today, it is not recognizing them and there is no way I've found to "force" it. I've tried disabling everything in protocols except USB-PTP, the Decode As menu in the software, as well as starting Wireshark from the command line with wireshark --only-protocols usb-ptp.
I have a saved dump from yesterday that worked and one from today that is not working if it's helpful.
Sample capture attached to: 8431: New Dissector Patch - USB PTP / MTP
epan/dissectors/packet-usb-ptp.c:
dissector_add_uint("usb.bulk", IF_CLASS_IMAGE, usb_ptp_dissector_handle);From packet-usb.h:
#define IF_CLASS_IMAGE 0x06Do you have packets that match
usb.bInterfaceClass == 0x06in the second capture?From @kevinschaich via Discord, since he is unable to comment himself for some as-yet unknown reason:
"No, in the second (failed) capture, they are being detected as
[bInterfaceClass: Unknown (0xffff)](which is incorrect, it is a still imaging device). They show as[bInterfaceClass: Imaging (0x06)]in the capture file that worked yesterday."