1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00
Commit Graph

49 Commits

Author SHA1 Message Date
Klaus Schmidinger
7bc94dbcf4 Increased the time between checking the CAM status to 500ms to avoid problems with some CAMs 2008-04-13 13:30:55 +02:00
Klaus Schmidinger
37cca63f31 Increased the maximum number of CA system ids to cope with the AlphaCrypt CAM's version 3.11 firmware 2007-04-30 13:03:29 +02:00
Klaus Schmidinger
87dd5139ff CAM handling refactored; multiple recordings with one CAM; automatic CAM selection 2007-01-07 14:46:14 +01:00
Klaus Schmidinger
b473582b4e Added a missing break statement in cCiHandler::OpenSession() 2007-01-05 10:09:22 +01:00
Klaus Schmidinger
cac5cd37b8 Fixed handling "Ca Info" in case the CAM sends this again if the smart card is replaced with a different one 2006-08-20 11:54:56 +02:00
Klaus Schmidinger
7390eaf765 Made the cCiSession members sessionId and resourceId uint16_t and uint32_t 2006-08-12 10:26:43 +02:00
Klaus Schmidinger
ee4fa90032 Added a missing initialization of 'mutex' in cCiMenu::cCiMenu() and removed some superfluous semicolons in ci.c 2006-07-22 13:43:01 +02:00
Klaus Schmidinger
e8ee9a1c4b Adapted c(Dvb)Device::ProvidesCa() to the dynamic CA handling 2006-01-07 15:16:09 +01:00
Klaus Schmidinger
c65133979f Changed all "illegal" to "invalid" in error messages 2005-12-30 15:43:21 +01:00
Klaus Schmidinger
3a97be4fe9 Implemented handling of the "CA PMT Reply" for CAMs; some preparations for being able to record several encrypted channels from the same transponder 2005-11-26 13:39:47 +01:00
Klaus Schmidinger
52f17c043b Removed '\n' from several syslog() calls 2005-11-04 14:22:04 +01:00
Klaus Schmidinger
6e982f765e Fixed lock handling in CAM communication to avoid problems with multiple CAMs per device or CAMs with more than one smart card 2005-10-30 13:21:23 +01:00
Klaus Schmidinger
3c59953017 Added missing mutex locks to cCiMenu::Abort() and cCiEnquiry::Abort() 2005-10-30 10:27:24 +01:00
Klaus Schmidinger
5956f7eeec The CAM enquiry menu now aborts if Menu is pressed 2005-10-03 12:58:22 +02:00
Klaus Schmidinger
876ad5d5f6 Fixed a crash with automatically closing CAM menus 2005-10-03 12:48:13 +02:00
Klaus Schmidinger
c03de9e15e The character 0x8A in CAM menu strings is now mapped to a real newline 2005-10-03 10:32:51 +02:00
Klaus Schmidinger
1728fccfe2 Skipping blanks at the beginning of CAM menu strings 2005-10-02 15:06:07 +02:00
Klaus Schmidinger
969cd51b68 Reduced MAX_CONNECT_RETRIES in ci.c to 2 2005-10-02 14:10:51 +02:00
Klaus Schmidinger
8365632b3f The CAM menu is now completely closed when pressing the Menu key while inside a sub menu 2005-10-02 13:54:34 +02:00
Klaus Schmidinger
283a6f83f9 Now skipping some funny characters sent by some CAMs at the beginning of strings 2005-10-02 13:13:31 +02:00
Klaus Schmidinger
2fc075f5f9 The CAM menu now automatically updates itself in case of a progress display 2005-10-02 12:59:53 +02:00
Klaus Schmidinger
13249f12f2 Fixed error handling in cCiTransportConnection::RecvTPDU() 2005-09-17 12:08:54 +02:00
Klaus Schmidinger
a8fe90b28b Replaced the get/put_unaligned() macros from <asm/unaligned.h> with own inline functions 2005-08-21 14:15:00 +02:00
Klaus Schmidinger
6de23d7d96 Now waiting at startup until all DVB devices are ready 2005-08-21 08:56:49 +02:00
Klaus Schmidinger
4299056229 Added handling of the 'Close MMI' tag 2005-08-20 12:16:23 +02:00
Klaus Schmidinger
a8599c451e Improved resetting CAM connections 2005-06-04 11:59:19 +02:00
Klaus Schmidinger
d32f000861 Fixed handling error case '-1' when polling CAM connections 2004-07-17 14:36:11 +02:00
Klaus Schmidinger
327db5aee3 Removed the now obsolete CaCaps stuff 2004-02-08 15:11:07 +01:00
Klaus Schmidinger
8976ebcec5 Implemented automatic PID switching and channel detection 2004-01-04 12:30:00 +01:00
Klaus Schmidinger
6c4e6cc666 Now the CA descriptors are sent to the CAM in the 'program' or 'ES level' sections 2003-12-24 10:30:35 +01:00
Klaus Schmidinger
1d32f7c059 Added 'StreamType' setting to CAM communication 2003-12-23 10:34:51 +01:00
Klaus Schmidinger
8841097e3a Fixed an alignment problem in CAM access on 64bit systems 2003-12-22 15:59:18 +01:00
Klaus Schmidinger
eb63966268 Fixed handling CAM menus in case the CAM connection fails while the menu is being presented 2003-10-26 13:19:22 +01:00
Klaus Schmidinger
a021b0f1bf Fixed checking CA capabilities with the dvb-kernel driver 2003-08-02 10:04:21 +02:00
Klaus Schmidinger
b92bb866f6 The cCiHandler now closes its file handle when it gets destroyed 2003-05-25 11:51:28 +02:00
Klaus Schmidinger
6bdfa4638d Enhanced detection of pending user I/O from CAMs 2003-04-20 09:53:08 +02:00
Klaus Schmidinger
2c4da57287 Re-enabled CAM communication during replay and on non-Ca channels 2003-04-19 10:59:53 +02:00
Klaus Schmidinger
d7c5e26d31 Closing CA file handle in case no LL firmware is present 2003-04-18 14:16:32 +02:00
Klaus Schmidinger
0f82d5c014 Missing LL support is no longer an error 2003-04-18 13:48:47 +02:00
Klaus Schmidinger
78d85cee06 Now only those Ca descriptors are sent to a CAM that are actually understood by that CAM 2003-04-18 12:48:49 +02:00
Klaus Schmidinger
be06e04d55 CAM access only for CA channels and no longer during replay 2003-03-23 15:20:00 +01:00
Klaus Schmidinger
e76f985840 Fixed support for Viaccess CAMs 2003-03-19 17:07:10 +01:00
Klaus Schmidinger
9c04942eaa Broken CAM connections are now restored automatically 2003-02-16 11:20:55 +01:00
Klaus Schmidinger
69e9a07f8b Resetting the CAM slot in case communication breaks down 2003-02-15 14:25:30 +01:00
Klaus Schmidinger
05c37e5f59 Improved CAM connection initialization (workaround) 2003-02-09 12:45:00 +01:00
Klaus Schmidinger
777f330c77 Improved CAM support 2003-02-09 11:54:22 +01:00
Klaus Schmidinger
b7777e230c Improved CAM handling 2003-02-02 15:49:52 +01:00
Klaus Schmidinger
5241699007 Fixed handling data available immediately at initial handshake 2003-01-11 11:15:19 +01:00
Klaus Schmidinger
4e15f6d658 Implemented 'Link Layer' based CAM support 2003-01-06 14:44:27 +01:00