Answer:
Before you can start the detective quest, you have to walk through the whole train and speak to all of the passengers and crew. Once you speak to everyone, go to Thomas Edison's cabin to see his invention. Until you talk to everyone aboard, Thomas Edison will only tell you to come back later.