These piles could be drywood termite droppings known as frass.
Termite frass termite droppings from ceiling.
Unfortunately if frass is kicked out of a termite burrow in the ceiling or some other place it can fall unto the floor wooden or carpet where it is unlikely to ever be detected.
When they clean out their nest they push these droppings out through holes.
When it comes to the color termite frass differs greatly depending on the kind of wood and cellulose food source ranging from dark brown to beige.
Termite droppings is the important sign of the presence of drywood termites.
Often these pellets look like coffee grounds however they can imitate the appearance of sand and sawdust as well.
Drywood termites typically leave few signs of activity in homes.
When drywood termites infest structural timbers in your ceiling cracks may occur due to the shifting wood.
Piles of wings or mud tubes.
Mysterious piles of pellets are indicative of drywood termite presence.
When two drywood termites establish a small nest in wood they seal the hole they used to enter the wood and do not leave the nest.
This is especially true for homeowners who have know clue what frass looks like.
So there would be small black marks and dark substances which would result into the termite droppings.
The peculiarity of the drywood termite is frass fecal droppings of termites.
Termite droppings drywood termites leave behind ridged light brown fecal pellets called frass.
While cleaning their nests they push this frass outside of their nest through the holes.
Unlike sawdust which looks more like small shavings and slivers the frass consists of multicolored light white and dark brown granular pellets.