It may be that the spring which helps the ratchets engage is knackered. Only way to be sure is too get the freehub off and take a peek. I find that DTSwiss freehubs work very well whe properly maintained, but they do require a bit more TLC than other “leading brands”
I’m going to brick my garage up-and-over door up (I never put the car in it), fit internal steel gates to the doors and invest in a colony of very angry scorpions to look after the place.