#NEWLINE# @ methodtrace ( _logger ) #NEWLINE# def get_device_descriptor( self , dev ) : #NEWLINE# #INDENT# desc = _usb_device_desc ( ) #NEWLINE# _check ( _lib . openusb_parse_device_desc ( _ctx . handle , dev , None , 0 , byref ( desc ) ) ) #NEWLINE# desc . bus = None #NEWLINE# desc . address = None #NEWLINE# desc . port_number = None #NEWLINE# desc . port_numbers = None #NEWLINE# desc . speed = None #NEWLINE# return desc