It used to be, motherboards would have physical jumpers near the USB ports, that would let you select between +5v and +5vSB (standby) to power the USB ports. If you select +5v, the USB ports will be totally disabled during sleep mode. If you select +5vSB, then they will remain powered during standby / sleep mode.