Hi,
I've tested vdr, and was stumped by it complaining about my
CAM, so I had a look see at the code, and :
Caps.slot_type is a bitmask, == should be &
line 3131 ci.c vdr-1.2.1:
if (ioctl(fd_ca, CA_GET_CAP,
&Caps) == 0) {
int NumSlots = Caps.slot_num; if (NumSlots > 0) { //XXX dsyslog("CAM: found %d CAM slots", NumSlots); // TODO let's do this only once we can be sure that there _really_ is a CAM adapter! if (Caps.slot_type == CA_CI_LINK) return new cCiHandler(fd_ca, NumSlots); else isyslog("CAM doesn't support link layer interface"); } else esyslog("ERROR: no CAM slots found"); } Great work on the CAM/SI libs, learned a lot from them,
thanks!!
Kenneth
|