Added Jan's changes from the usb_lowlat branch