diff options
author | Dan Williams <dcbw@redhat.com> | 2012-04-24 13:34:16 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-04-24 13:34:16 -0500 |
commit | 0f324de94f7bebc566a3bc6ae8e31e9569a3dfdb (patch) | |
tree | 71558ad0f6df96b4fceed080ba83dee6310997c6 | |
parent | e8bc2f41e710ed9e3a2576538f5c9fe74b7ef6db (diff) |
decode: recognize another UsbSnoop packet type
-rw-r--r-- | decode/packet.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/decode/packet.py b/decode/packet.py index 246bbc56..96c69b28 100644 --- a/decode/packet.py +++ b/decode/packet.py @@ -31,6 +31,7 @@ URBF_GET_STATUS = 5 URBF_CONTROL = 6 URBF_SET_FEATURE = 7 URBF_ABORT_PIPE = 8 +URBF_CLASS_IFACE = 9 funcs = { "-- URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE:": (URBF_GET_DESC, False, None), @@ -40,7 +41,8 @@ funcs = { "-- URB_FUNCTION_GET_STATUS_FROM_DEVICE:": (URBF_GET_STATUS, False, None), "-- URB_FUNCTION_CONTROL_TRANSFER:": (URBF_CONTROL, True, "C"), "-- URB_FUNCTION_SET_FEATURE_TO_DEVICE:": (URBF_SET_FEATURE, False, None), - "-- URB_FUNCTION_ABORT_PIPE:": (URBF_SET_FEATURE, False, None) + "-- URB_FUNCTION_ABORT_PIPE:": (URBF_SET_FEATURE, False, None), + "-- URB_FUNCTION_CLASS_INTERFACE:": (URBF_CLASS_IFACE, False, None) } def get_urb_info(l): |