~ubuntu-branches/ubuntu/trusty/libconfig-model-perl/trusty

« back to all changes in this revision

Viewing changes to lib/Config/Model/models/LCDd/serialVFD.pl

  • Committer: Package Import Robot
  • Author(s): Dominique Dumont, gregor herrmann, Dominique Dumont
  • Date: 2013-05-26 12:40:30 UTC
  • mfrom: (1.3.61)
  • Revision ID: package-import@ubuntu.com-20130526124030-nfmm6ejhjubovp7v
Tags: 2.036-1
[ gregor herrmann ]
* Add =encoding to POD in dh_config_model_upgrade.

[ Dominique Dumont ]
* Imported Upstream version 2.036
  * config-edit: added deprecation warning
  * Value: fix pod doc error in L<> (Closes: #709784)
  * Node::load_data: use a predictable order to accept elements.
    This change fixes the test failure in t/backend_ini.t
    (Closes: #709785)
  * make t/pod.t run only when AUTHOR_TESTING is set

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
    'class_description' => 'generated from LCDd.conf',
13
13
    'name' => 'LCDd::serialVFD',
14
14
    'element' => [
15
 
      'use_parallel',
 
15
      'Brightness',
 
16
      {
 
17
        'value_type' => 'integer',
 
18
        'min' => '0',
 
19
        'upstream_default' => '1000',
 
20
        'max' => '1000',
 
21
        'type' => 'leaf',
 
22
        'description' => 'Set the initial brightness 
 
23
(4 steps 0-250, 251-500, 501-750, 751-1000)'
 
24
      },
 
25
      'Device',
16
26
      {
17
27
        'value_type' => 'uniline',
18
 
        'upstream_default' => 'no',
19
 
        'type' => 'leaf',
20
 
        'description' => '"no" if display connected serial, "yes" if connected parallel. 
21
 
I.e. serial by default'
22
 
      },
23
 
      'PortWait',
 
28
        'default' => '/dev/ttyS1',
 
29
        'type' => 'leaf',
 
30
        'description' => 'Device to use in serial mode. Usual values are /dev/ttyS0 and /dev/ttyS1'
 
31
      },
 
32
      'ISO_8859_1',
 
33
      {
 
34
        'value_type' => 'enum',
 
35
        'upstream_default' => 'yes',
 
36
        'type' => 'leaf',
 
37
        'description' => 'enable ISO 8859 1 compatibility ',
 
38
        'choice' => [
 
39
          'yes',
 
40
          'no'
 
41
        ]
 
42
      },
 
43
      'OffBrightness',
24
44
      {
25
45
        'value_type' => 'integer',
26
46
        'min' => '0',
27
 
        'upstream_default' => '2',
28
 
        'max' => '255',
 
47
        'upstream_default' => '0',
 
48
        'max' => '1000',
29
49
        'type' => 'leaf',
30
 
        'description' => 'Set parallel port timing delay (us). Used in parallel mode only.'
 
50
        'description' => 'Set the initial off-brightness 
 
51
This value is used when the display is normally
 
52
switched off in case LCDd is inactive
 
53
(4 steps 0-250, 251-500, 501-750, 751-1000)'
31
54
      },
32
55
      'Port',
33
56
      {
39
62
Portaddress where the LPT is. Used in parallel mode only. Usual values are
40
63
0x278, 0x378 and 0x3BC.'
41
64
      },
42
 
      'ISO_8859_1',
 
65
      'PortWait',
 
66
      {
 
67
        'value_type' => 'integer',
 
68
        'min' => '0',
 
69
        'upstream_default' => '2',
 
70
        'max' => '255',
 
71
        'type' => 'leaf',
 
72
        'description' => 'Set parallel port timing delay (us). Used in parallel mode only.'
 
73
      },
 
74
      'Size',
 
75
      {
 
76
        'value_type' => 'uniline',
 
77
        'default' => '20x2',
 
78
        'type' => 'leaf',
 
79
        'description' => 'Specifies the size of the VFD.'
 
80
      },
 
81
      'Speed',
43
82
      {
44
83
        'value_type' => 'enum',
45
 
        'upstream_default' => 'yes',
 
84
        'upstream_default' => '9600',
46
85
        'type' => 'leaf',
47
 
        'description' => 'enable ISO 8859 1 compatibility ',
 
86
        'description' => 'set the serial port speed ',
48
87
        'choice' => [
49
 
          'yes',
50
 
          'no'
 
88
          '1200',
 
89
          '2400',
 
90
          '9600',
 
91
          '19200',
 
92
          '115200'
51
93
        ]
52
94
      },
53
95
      'Type',
67
109
8 Nixdorf BA6x / VT100
68
110
(* most should work, not tested yet.)'
69
111
      },
70
 
      'Device',
71
 
      {
72
 
        'value_type' => 'uniline',
73
 
        'default' => '/dev/ttyS1',
74
 
        'type' => 'leaf',
75
 
        'description' => 'Device to use in serial mode. Usual values are /dev/ttyS0 and /dev/ttyS1'
76
 
      },
77
 
      'Brightness',
78
 
      {
79
 
        'value_type' => 'integer',
80
 
        'min' => '0',
81
 
        'upstream_default' => '1000',
82
 
        'max' => '1000',
83
 
        'type' => 'leaf',
84
 
        'description' => 'Set the initial brightness 
85
 
(4 steps 0-250, 251-500, 501-750, 751-1000)'
86
 
      },
87
 
      'Speed',
88
 
      {
89
 
        'value_type' => 'enum',
90
 
        'upstream_default' => '9600',
91
 
        'type' => 'leaf',
92
 
        'description' => 'set the serial port speed ',
93
 
        'choice' => [
94
 
          '1200',
95
 
          '2400',
96
 
          '9600',
97
 
          '19200',
98
 
          '115200'
99
 
        ]
100
 
      },
101
 
      'Size',
102
 
      {
103
 
        'value_type' => 'uniline',
104
 
        'default' => '20x2',
105
 
        'type' => 'leaf',
106
 
        'description' => 'Specifies the size of the VFD.'
107
 
      },
108
 
      'OffBrightness',
109
 
      {
110
 
        'value_type' => 'integer',
111
 
        'min' => '0',
112
 
        'upstream_default' => '0',
113
 
        'max' => '1000',
114
 
        'type' => 'leaf',
115
 
        'description' => 'Set the initial off-brightness 
116
 
This value is used when the display is normally
117
 
switched off in case LCDd is inactive
118
 
(4 steps 0-250, 251-500, 501-750, 751-1000)'
 
112
      'use_parallel',
 
113
      {
 
114
        'value_type' => 'uniline',
 
115
        'upstream_default' => 'no',
 
116
        'type' => 'leaf',
 
117
        'description' => '"no" if display connected serial, "yes" if connected parallel. 
 
118
I.e. serial by default'
119
119
      }
120
120
    ]
121
121
  }