decode: handle another UsbSnoop URB function
This commit is contained in:
@@ -33,6 +33,7 @@ URBF_SET_FEATURE = 7
|
|||||||
URBF_ABORT_PIPE = 8
|
URBF_ABORT_PIPE = 8
|
||||||
URBF_CLASS_IFACE = 9
|
URBF_CLASS_IFACE = 9
|
||||||
URBF_CLEAR_FEATURE = 10
|
URBF_CLEAR_FEATURE = 10
|
||||||
|
URBF_VENDOR_DEVICE = 11
|
||||||
|
|
||||||
funcs = {
|
funcs = {
|
||||||
"-- URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE:": (URBF_GET_DESC, False, None),
|
"-- URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE:": (URBF_GET_DESC, False, None),
|
||||||
@@ -44,7 +45,8 @@ funcs = {
|
|||||||
"-- URB_FUNCTION_SET_FEATURE_TO_DEVICE:": (URBF_SET_FEATURE, False, None),
|
"-- 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, True, "C"),
|
"-- URB_FUNCTION_CLASS_INTERFACE:": (URBF_CLASS_IFACE, True, "C"),
|
||||||
"-- URB_FUNCTION_CLEAR_FEATURE_TO_DEVICE:": (URBF_CLEAR_FEATURE, False, None)
|
"-- URB_FUNCTION_CLEAR_FEATURE_TO_DEVICE:": (URBF_CLEAR_FEATURE, False, None),
|
||||||
|
"-- URB_FUNCTION_VENDOR_DEVICE:": (URBF_VENDOR_DEVICE, False, None)
|
||||||
}
|
}
|
||||||
|
|
||||||
def get_urb_info(l):
|
def get_urb_info(l):
|
||||||
|
Reference in New Issue
Block a user