As mentioned in this thread there can be problems with FloppyDtv and some CAMs where the connection to the cam is lost. While there was a partial fix that is already included in svn, this still sometimes happens for me (specially when using dvb epg). So I created the following patch which fixes all problems for me.
Background:
After extensive debugging I found that the problem with my cam is that it locks when it sends messages and the listener thread is not running (which can happen in MediaPortal since the listener thread isn't always started when e.g. grabbing epg). After that the only thing helping is to (physically) remove the cam and reinsert it or use the ResetCAM method (which implemented but not accessible in the tvserver configuration).
The patch will
a) always start the ci listener thread
b) expose the ResetCAM method (see image)

The binaries are compiled against 1.2 alpha so you need the alpha for it to work. Just copy the files over the original ones in "C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server".
This will only work for "digital everywhere - FloppyDTV" cards with ci module
Don't forget to backup your files before overwriting and use at own risk!
Edit: I updated the files for 1.2 final (path and binaries in der rar file) and removed the ResetCAM method to keep the patch simple.
View attachment 2011-09-19 (Final).rar
View attachment 2011-09-25 (1.2.1).rar
Background:
After extensive debugging I found that the problem with my cam is that it locks when it sends messages and the listener thread is not running (which can happen in MediaPortal since the listener thread isn't always started when e.g. grabbing epg). After that the only thing helping is to (physically) remove the cam and reinsert it or use the ResetCAM method (which implemented but not accessible in the tvserver configuration).
The patch will
a) always start the ci listener thread
b) expose the ResetCAM method (see image)
The binaries are compiled against 1.2 alpha so you need the alpha for it to work. Just copy the files over the original ones in "C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server".
This will only work for "digital everywhere - FloppyDTV" cards with ci module
Don't forget to backup your files before overwriting and use at own risk!
Edit: I updated the files for 1.2 final (path and binaries in der rar file) and removed the ResetCAM method to keep the patch simple.
View attachment 2011-09-19 (Final).rar
View attachment 2011-09-25 (1.2.1).rar
Austria