Other living things consume dead baby birds to survive. You may as well accept it. Woodpeckers are banging on my house. The good news is, they are probably not eating termites in your attic. Drumming also tells other birds to stay off his turf.
Woodpeckers believe that louder is better.
Usually a hollow tree limb works fine for making a nice loud sound. You can try to keep them away by chasing them whenever they start drumming. You can also use a covering of some sort to keep the woodpecker from reaching his favorite spot. Maybe you can find a way to dampen the noise created by the drumming. That didn't work either.