I'm not sure why the Canon camera isn't being detected, but to get started with actually sending PTP messages, this code is a good start:
https://github.com/fruitsamples/PTPPassThrough/tree/master
Topic:
App & System Services
SubTopic:
Drivers
Tags: