Phosphorylates B6 vitamers; functions in a salvage pathway. Uses pyridoxal, pyridoxine, and pyridoxamine as substrates. Can also use hydroxymethylpyrimidine (HMP) as substrate. ATP + pyridoxal = ADP + H(+) + pyridoxal 5'-phosphate Homodimer. Belongs to the ThiD family. Was originally annotated in the complete genome as thiD.