/* $Id$ * $URL$ * * generic driver helper for parallel port displays * * Copyright (C) 1999, 2000 Michael Reinelt * Copyright (C) 2004 The LCD4Linux Team * * This file is part of LCD4Linux. * * LCD4Linux is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * LCD4Linux is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * */ /* * * exported fuctions: * * int drv_generic_parport_open (void) * reads 'Port' entry from config and opens * the parallel port * returns 0 if ok, -1 on failure * * int drv_generic_parport_close (void) * closes parallel port * returns 0 if ok, -1 on failure * * unsigned char drv_generic_parport_wire_ctrl (char *name, char *deflt) * reads wiring for one control signal from config * returns DRV_GENERIC_PARPORT_CONTROL_* or 255 on error * * unsigned char drv_generic_parport_hardwire_ctrl (char *name) * returns hardwiring for one control signal * same as above, but does not read from config, * but checks the config and emits a warning that the config * entry will be ignored * returns DRV_GENERIC_PARPORT_CONTROL_* or 255 on error * * unsigned char drv_generic_parport_wire_status (char *name, char *deflt) * reads wiring for one status signal from config * returns DRV_GENERIC_PARPORT_STATUS_* or 255 on error * * unsigned char drv_generic_parport_wire_data (char *name, char *deflt) * reads wiring for one data signal from config * returns 1< to for nanoseconds * * void drv_generic_parport_data (unsigned char value) * put data bits on DB1..DB8 * * unsigned char drv_generic_parport_read (void) * reads a byte from the parallel port * * void drv_generic_parport_debug(void) * prints status of control lines * */ #ifndef _DRV_GENERIC_PARPORT_H_ #define _DRV_GENERIC_PARPORT_H_ int drv_generic_parport_open(const char *section, const char *driver); int drv_generic_parport_close(void); unsigned char drv_generic_parport_wire_ctrl(const char *name, const char *deflt); unsigned char drv_generic_parport_hardwire_ctrl(const char *name, const char *deflt); unsigned char drv_generic_parport_wire_status(const char *name, const char *deflt); unsigned char drv_generic_parport_wire_data(const char *name, const char *deflt); void drv_generic_parport_direction(const int direction); unsigned char drv_generic_parport_status(void); void drv_generic_parport_control(const unsigned char mask, const unsigned char value); void drv_generic_parport_toggle(const unsigned char bit, const int level, const unsigned long delay); void drv_generic_parport_data(const unsigned char data); unsigned char drv_generic_parport_read(void); void drv_generic_parport_debug(void); #endif inenumbers'>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Hungary / Gerecse-Dorog-Tatabanya
#
# A.multiplex UHF-64:
# FREE -----------------------------------------------------------------------------------
# m1 HD, m2 HD, Duna World, Duna HD, MR1 Kossuth Radio, MR2 Petofi Radio, MR3 Bartok Radio
[CHANNEL]
	DELIVERY_SYSTEM = DVBT
	FREQUENCY = 818000000
	BANDWIDTH_HZ = 8000000
	CODE_RATE_HP = 3/4
	CODE_RATE_LP = NONE
	MODULATION = QAM/64
	TRANSMISSION_MODE = 8K
	GUARD_INTERVAL = 1/4
	HIERARCHY = NONE
	INVERSION = AUTO

#
# B.multiplex UHF-29:
# NON-FREE --------------------------------------------------------------------------------
# PRO4, VIASAT3, Prizma TV, Muzsika TV, Universal Channel, Comedy Central, Minimax,
# Cartoon Network, Spektrum, History, Sport1, Sport2, Dorcel TV
[CHANNEL]
	DELIVERY_SYSTEM = DVBT
	FREQUENCY = 538000000
	BANDWIDTH_HZ = 8000000
	CODE_RATE_HP = 3/4
	CODE_RATE_LP = NONE
	MODULATION = QAM/64
	TRANSMISSION_MODE = 8K
	GUARD_INTERVAL = 1/4
	HIERARCHY = NONE
	INVERSION = AUTO

#
# C.multiplex UHF-63:
# FREE --------------------------------------------------------------------------------
# RTL Klub, TV2, Euronews Test, Info csatorna, Neo FM
# NON-FREE ----------------------------------------------------------------------------
# Cool, Film+, HBO, National Geographic, Disney Channel, AXN, FEM3, Private spice, ATV,
# HirTV, Sportklub
[CHANNEL]
	DELIVERY_SYSTEM = DVBT
	FREQUENCY = 810000000
	BANDWIDTH_HZ = 8000000
	CODE_RATE_HP = 3/4
	CODE_RATE_LP = NONE
	MODULATION = QAM/64
	TRANSMISSION_MODE = 8K
	GUARD_INTERVAL = 1/4
	HIERARCHY = NONE
	INVERSION = AUTO