usb: getting the endpoints of the interface