fixes for usb, todo: need fix cable detection at boot