/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * DVB USB Linux driver for Anysee E30 DVB-C & DVB-T USB2.0 receiver * * Copyright (C) 2007 Antti Palosaari <crope@iki.fi> * * TODO: * - add smart card reader support for Conditional Access (CA) * * Card reader in Anysee is nothing more than ISO 7816 card reader. * There is no hardware CAM in any Anysee device sold. * In my understanding it should be implemented by making own module * for ISO 7816 card reader, like dvb_ca_en50221 is implemented. This * module registers serial interface that can be used to communicate * with any ISO 7816 smart card. * * Any help according to implement serial smart card reader support * is highly welcome!
*/
#define ANYSEE_HW_507T 2 /* E30 */ #define ANYSEE_HW_507CD 6 /* E30 Plus */ #define ANYSEE_HW_507DC 10 /* E30 C Plus */ #define ANYSEE_HW_507SI 11 /* E30 S2 Plus */ #define ANYSEE_HW_507FA 15 /* E30 Combo Plus / E30 C Plus */ #define ANYSEE_HW_508TC 18 /* E7 TC */ #define ANYSEE_HW_508S2 19 /* E7 S2 */ #define ANYSEE_HW_508T2C 20 /* E7 T2C */ #define ANYSEE_HW_508PTC 21 /* E7 PTC Plus */ #define ANYSEE_HW_508PS2 22 /* E7 PS2 Plus */
#define REG_IOA 0x80 /* Port A (bit addressable) */ #define REG_IOB 0x90 /* Port B (bit addressable) */ #define REG_IOC 0xa0 /* Port C (bit addressable) */ #define REG_IOD 0xb0 /* Port D (bit addressable) */ #define REG_IOE 0xb1 /* Port E (NOT bit addressable) */ #define REG_OEA 0xb2 /* Port A Output Enable */ #define REG_OEB 0xb3 /* Port B Output Enable */ #define REG_OEC 0xb4 /* Port C Output Enable */ #define REG_OED 0xb5 /* Port D Output Enable */ #define REG_OEE 0xb6 /* Port E Output Enable */
#endif
/*************************************************************************** * USB API description (reverse engineered) ***************************************************************************
General reply packet(s) are always used if not own reply defined.
============================================================================ | 00-63 | GENERAL REPLY PACKET #1 (PREVIOUS REPLY) ============================================================================ | 00 | reply data (if any) from previous transaction | | Just same reply packet as returned during previous transaction. | | Needed only if reply is missed in previous transaction. | | Just skip normally. ---------------------------------------------------------------------------- | 01-59 | don't care ---------------------------------------------------------------------------- | 60 | packet sequence number ---------------------------------------------------------------------------- | 61-63 | don't care ----------------------------------------------------------------------------
============================================================================ | 00-63 | GENERAL REPLY PACKET #2 (CURRENT REPLY) ============================================================================ | 00 | reply data (if any) ---------------------------------------------------------------------------- | 01-59 | don't care ---------------------------------------------------------------------------- | 60 | packet sequence number ---------------------------------------------------------------------------- | 61-63 | don't care ----------------------------------------------------------------------------
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.