Inner-shell photodetachment dynamics