Here you will find how to set campt to work with cccam (camd.socket from cccam) !
1 - in CCcam.cfg you need to have DVB API: 3
2 - you need to build cccam_ca.so
3 - copy cccam_ca.so to /usr/local/lib and give it 755 attribute
4 - start cccam with this command line : LD_PRELOAD=/usr/local/lib/cccam_ca.so /usr/local/bin/cccam
5 - in tvheadend/configuration/capmt Connections : check enable, /tmp/camd.socket at Camd.socket Filename, Port 9000
All the files you need (cccam_ca.so and script for start cccam) is on attachment.
Very important : For good work first you need to start cccam and second start tvheadend.