Debian Codegraph @

templates/man4/lirc.4.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:29+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "lirc"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "lirc - lirc devices"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "DESCRIPTION"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 msgid ""
63 "The I</dev/lirc*> character devices provide a low-level bidirectional "
64 "interface to infra-red (IR) remotes. Most of these devices can receive, and "
65 "some can send. When receiving or sending data, the driver works in two "
66 "different modes depending on the underlying hardware."
67 msgstr ""
68
69 #. type: Plain text
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 msgid ""
73 "Some hardware (typically TV-cards) decodes the IR signal internally and "
74 "provides decoded button presses as scancode values. Drivers for this kind "
75 "of hardware work in B<LIRC_MODE_SCANCODE> mode. Such hardware usually does "
76 "not support sending IR signals. Furthermore, such hardware can only decode "
77 "a limited set of IR protocols, usually only the protocol of the specific "
78 "remote which is bundled with, for example, a TV-card."
79 msgstr ""
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 msgid ""
85 "Other hardware provides a stream of pulse/space durations. Such drivers "
86 "work in B<LIRC_MODE_MODE2> mode. Such hardware can be used with (almost) "
87 "any kind of remote. This type of hardware can also be used in "
88 "B<LIRC_MODE_SCANCODE> mode, in which case the kernel IR decoders will decode "
89 "the IR. These decoders can be written in extended BPF (see B<bpf>(2)) and "
90 "attached to the B<lirc> device. Sometimes, this kind of hardware also "
91 "supports sending IR data."
92 msgstr ""
93
94 #. type: Plain text
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 msgid ""
98 "The B<LIRC_GET_FEATURES> ioctl (see below) allows probing for whether "
99 "receiving and sending is supported, and in which modes, amongst other "
100 "features."
101 msgstr ""
102
103 #. type: SS
104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
106 #, no-wrap
107 msgid "Reading input with the LIRC_MODE_MODE2 mode"
108 msgstr ""
109
110 #. type: Plain text
111 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
112 #: opensuse-tumbleweed
113 msgid ""
114 "In the B<LIRC_MODE_MODE2> mode, the data returned by B<read>(2) provides 32-"
115 "bit values representing a space or a pulse duration. The time of the "
116 "duration (microseconds) is encoded in the lower 24 bits. Pulse (also known "
117 "as flash) indicates a duration of infrared light being detected, and space "
118 "(also known as gap) indicates a duration with no infrared. If the duration "
119 "of space exceeds the inactivity timeout, a special timeout package is "
120 "delivered, which marks the end of a message. The upper 8 bits indicate the "
121 "type of package:"
122 msgstr ""
123
124 #. type: TP
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 #, no-wrap
128 msgid "B<LIRC_MODE2_SPACE>"
129 msgstr ""
130
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 msgid "Value reflects a space duration (microseconds)."
135 msgstr ""
136
137 #. type: TP
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 #, no-wrap
141 msgid "B<LIRC_MODE2_PULSE>"
142 msgstr ""
143
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 msgid "Value reflects a pulse duration (microseconds)."
148 msgstr ""
149
150 #. type: TP
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 #, no-wrap
154 msgid "B<LIRC_MODE2_FREQUENCY>"
155 msgstr ""
156
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 msgid ""
161 "Value reflects a frequency (Hz); see the B<LIRC_SET_MEASURE_CARRIER_MODE> "
162 "ioctl."
163 msgstr ""
164
165 #. type: TP
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 #, no-wrap
169 msgid "B<LIRC_MODE2_TIMEOUT>"
170 msgstr ""
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 msgid ""
176 "Value reflects a space duration (microseconds). The package reflects a "
177 "timeout; see the B<LIRC_SET_REC_TIMEOUT_REPORTS> ioctl."
178 msgstr ""
179
180 #. type: TP
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 #, no-wrap
184 msgid "B<LIRC_MODE2_OVERFLOW>"
185 msgstr ""
186
187 #. type: Plain text
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 msgid ""
191 "The IR receiver encountered an overflow, and as a result data is missing "
192 "(since Linux 5.18)."
193 msgstr ""
194
195 #. type: SS
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 #, no-wrap
199 msgid "Reading input with the LIRC_MODE_SCANCODE mode"
200 msgstr ""
201
202 #. type: Plain text
203 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
204 #: opensuse-tumbleweed
205 msgid ""
206 "In the B<LIRC_MODE_SCANCODE> mode, the data returned by B<read>(2) reflects "
207 "decoded button presses, in the struct I<lirc_scancode>. The scancode is "
208 "stored in the I<scancode> field, and the IR protocol is stored in "
209 "I<rc_proto>. This field has one the values of the I<enum\\ rc_proto>."
210 msgstr ""
211
212 #. type: SS
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 #, no-wrap
216 msgid "Writing output with the LIRC_MODE_PULSE mode"
217 msgstr ""
218
219 #. type: Plain text
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 msgid ""
223 "The data written to the character device using B<write>(2) is a pulse/space "
224 "sequence of integer values. Pulses and spaces are only marked implicitly by "
225 "their position. The data must start and end with a pulse, thus it must "
226 "always include an odd number of samples. The B<write>(2) function blocks "
227 "until the data has been transmitted by the hardware. If more data is "
228 "provided than the hardware can send, the B<write>(2) call fails with the "
229 "error B<EINVAL>."
230 msgstr ""
231
232 #. type: SS
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "Writing output with the LIRC_MODE_SCANCODE mode"
237 msgstr ""
238
239 #. type: Plain text
240 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
241 #: opensuse-tumbleweed
242 msgid ""
243 "The data written to the character devices must be a single struct "
244 "I<lirc_scancode>. The I<scancode> and I<rc_proto> fields must be filled in, "
245 "all other fields must be 0. The kernel IR encoders will convert the "
246 "scancode to pulses and spaces. The protocol or scancode is invalid, or the "
247 "B<lirc> device cannot transmit."
248 msgstr ""
249
250 #. type: SH
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 #, no-wrap
254 msgid "IOCTL COMMANDS"
255 msgstr ""
256
257 #. type: Plain text
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 #, no-wrap
261 msgid ""
262 "#include E<lt>linux/lirc.hE<gt> /* But see BUGS */\n"
263 "\\&\n"
264 "int ioctl(int fd, int cmd, int *val);\n"
265 msgstr ""
266
267 #. type: Plain text
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 msgid ""
271 "The following B<ioctl>(2) operations are provided by the B<lirc> character "
272 "device to probe or change specific B<lirc> hardware settings."
273 msgstr ""
274
275 #. type: SS
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 #, no-wrap
279 msgid "Always Supported Commands"
280 msgstr ""
281
282 #. type: Plain text
283 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
284 #: opensuse-tumbleweed
285 msgid "I</dev/lirc>* devices always support the following commands:"
286 msgstr ""
287
288 #. type: TP
289 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
290 #: opensuse-tumbleweed
291 #, no-wrap
292 msgid "B<LIRC_GET_FEATURES> (\\f[I]void\\fR)"
293 msgstr ""
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 msgid "Returns a bit mask of combined features bits; see FEATURES."
299 msgstr ""
300
301 #. type: Plain text
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 msgid ""
305 "If a device returns an error code for B<LIRC_GET_FEATURES>, it is safe to "
306 "assume it is not a B<lirc> device."
307 msgstr ""
308
309 #. type: SS
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 #, no-wrap
313 msgid "Optional Commands"
314 msgstr ""
315
316 #. type: Plain text
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 msgid ""
320 "Some B<lirc> devices support the commands listed below. Unless otherwise "
321 "stated, these fail with the error B<ENOTTY> if the operation isn't "
322 "supported, or with the error B<EINVAL> if the operation failed, or invalid "
323 "arguments were provided. If a driver does not announce support of certain "
324 "features, invoking the corresponding ioctls will fail with the error "
325 "B<ENOTTY>."
326 msgstr ""
327
328 #. type: TP
329 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
330 #: opensuse-tumbleweed
331 #, no-wrap
332 msgid "B<LIRC_GET_REC_MODE> (\\f[I]void\\fR)"
333 msgstr ""
334
335 #. type: Plain text
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 msgid ""
339 "If the B<lirc> device has no receiver, this operation fails with the error "
340 "B<ENOTTY>. Otherwise, it returns the receive mode, which will be one of:"
341 msgstr ""
342
343 #. type: TP
344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
346 #, no-wrap
347 msgid "B<LIRC_MODE_MODE2>"
348 msgstr ""
349
350 #. type: Plain text
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 msgid "The driver returns a sequence of pulse/space durations."
354 msgstr ""
355
356 #. type: TP
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 #, no-wrap
360 msgid "B<LIRC_MODE_SCANCODE>"
361 msgstr ""
362
363 #. type: Plain text
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 msgid ""
367 "The driver returns struct I<lirc_scancode> values, each of which represents "
368 "a decoded button press."
369 msgstr ""
370
371 #. type: TP
372 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
373 #: opensuse-tumbleweed
374 #, no-wrap
375 msgid "B<LIRC_SET_REC_MODE> (\\f[I]int\\fR)"
376 msgstr ""
377
378 #. type: Plain text
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 msgid ""
382 "Set the receive mode. I<val> is either B<LIRC_MODE_SCANCODE> or "
383 "B<LIRC_MODE_MODE2>. If the B<lirc> device has no receiver, this operation "
384 "fails with the error B<ENOTTY.>"
385 msgstr ""
386
387 #. type: TP
388 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
389 #: opensuse-tumbleweed
390 #, no-wrap
391 msgid "B<LIRC_GET_SEND_MODE> (\\f[I]void\\fR)"
392 msgstr ""
393
394 #. type: Plain text
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 msgid ""
398 "Return the send mode. B<LIRC_MODE_PULSE> or B<LIRC_MODE_SCANCODE> is "
399 "supported. If the B<lirc> device cannot send, this operation fails with the "
400 "error B<ENOTTY.>"
401 msgstr ""
402
403 #. type: TP
404 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
405 #: opensuse-tumbleweed
406 #, no-wrap
407 msgid "B<LIRC_SET_SEND_MODE> (\\f[I]int\\fR)"
408 msgstr ""
409
410 #. type: Plain text
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 msgid ""
414 "Set the send mode. I<val> is either B<LIRC_MODE_SCANCODE> or "
415 "B<LIRC_MODE_PULSE>. If the B<lirc> device cannot send, this operation fails "
416 "with the error B<ENOTTY>."
417 msgstr ""
418
419 #. type: TP
420 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
421 #: opensuse-tumbleweed
422 #, no-wrap
423 msgid "B<LIRC_SET_SEND_CARRIER> (\\f[I]int\\fR)"
424 msgstr ""
425
426 #. type: Plain text
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 msgid "Set the modulation frequency. The argument is the frequency (Hz)."
430 msgstr ""
431
432 #. type: TP
433 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
434 #: opensuse-tumbleweed
435 #, no-wrap
436 msgid "B<LIRC_SET_SEND_DUTY_CYCLE> (\\f[I]int\\fR)"
437 msgstr ""
438
439 #. type: Plain text
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 msgid ""
443 "Set the carrier duty cycle. I<val> is a number in the range [0,100] which "
444 "describes the pulse width as a percentage of the total cycle. Currently, no "
445 "special meaning is defined for 0 or 100, but the values are reserved for "
446 "future use."
447 msgstr ""
448
449 #. type: TP
450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
452 #, no-wrap
453 msgid "B<LIRC_GET_MIN_TIMEOUT(>I<void>B<)>"
454 msgstr ""
455
456 #. type: TQ
457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
459 #, no-wrap
460 msgid "B<LIRC_GET_MAX_TIMEOUT(>I<void>B<)>"
461 msgstr ""
462
463 #. type: Plain text
464 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
465 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
466 msgid ""
467 "Some devices have internal timers that can be used to detect when there has "
468 "been no IR activity for a long time. This can help B<lircd>(8) in "
469 "detecting that an IR signal is finished and can speed up the decoding "
470 "process. These operations return integer values with the minimum/maximum "
471 "timeout that can be set (microseconds). Some devices have a fixed timeout. "
472 "For such drivers, B<LIRC_GET_MIN_TIMEOUT> and B<LIRC_GET_MAX_TIMEOUT> will "
473 "fail with the error B<ENOTTY>."
474 msgstr ""
475
476 #. type: TP
477 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
478 #: opensuse-tumbleweed
479 #, no-wrap
480 msgid "B<LIRC_SET_REC_TIMEOUT> (\\f[I]int\\fR)"
481 msgstr ""
482
483 #. type: Plain text
484 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
485 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
486 msgid ""
487 "Set the integer value for IR inactivity timeout (microseconds). To be "
488 "accepted, the value must be within the limits defined by "
489 "B<LIRC_GET_MIN_TIMEOUT> and B<LIRC_GET_MAX_TIMEOUT>. A value of 0 (if "
490 "supported by the hardware) disables all hardware timeouts and data should be "
491 "reported as soon as possible. If the exact value cannot be set, then the "
492 "next possible value I<greater> than the given value should be set."
493 msgstr ""
494
495 #. type: TP
496 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
497 #: opensuse-tumbleweed
498 #, no-wrap
499 msgid "B<LIRC_GET_REC_TIMEOUT> (\\f[I]void\\fR)"
500 msgstr ""
501
502 #. type: Plain text
503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
505 msgid ""
506 "Return the current inactivity timeout (microseconds). Available since Linux "
507 "4.18."
508 msgstr ""
509
510 #. type: TP
511 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
512 #: opensuse-tumbleweed
513 #, no-wrap
514 msgid "B<LIRC_SET_REC_TIMEOUT_REPORTS> (\\f[I]int\\fR)"
515 msgstr ""
516
517 #. type: Plain text
518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
520 msgid ""
521 "Enable (I<val> is 1) or disable (I<val> is 0) timeout packages in "
522 "B<LIRC_MODE_MODE2>. The behavior of this operation has varied across kernel "
523 "versions:"
524 msgstr ""
525
526 #. type: IP
527 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
528 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
529 #, no-wrap
530 msgid "\\[bu]"
531 msgstr ""
532
533 #. type: Plain text
534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
536 msgid ""
537 "Since Linux 5.17: timeout packages are always enabled and this ioctl is a no-"
538 "op."
539 msgstr ""
540
541 #. type: Plain text
542 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
543 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
544 msgid ""
545 "Since Linux 4.16: timeout packages are enabled by default. Each time the "
546 "B<lirc> device is opened, the B<LIRC_SET_REC_TIMEOUT> operation can be used "
547 "to disable (and, if desired, to later re-enable) the timeout on the file "
548 "descriptor."
549 msgstr ""
550
551 #. type: Plain text
552 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
553 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
554 msgid ""
555 "In Linux 4.15 and earlier: timeout packages are disabled by default, and "
556 "enabling them (via B<LIRC_SET_REC_TIMEOUT>) on any file descriptor "
557 "associated with the B<lirc> device has the effect of enabling timeouts for "
558 "all file descriptors referring to that device (until timeouts are disabled "
559 "again)."
560 msgstr ""
561
562 #. type: TP
563 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
564 #: opensuse-tumbleweed
565 #, no-wrap
566 msgid "B<LIRC_SET_REC_CARRIER> (\\f[I]int\\fR)"
567 msgstr ""
568
569 #. type: Plain text
570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
572 msgid ""
573 "Set the upper bound of the receive carrier frequency (Hz). See "
574 "B<LIRC_SET_REC_CARRIER_RANGE>."
575 msgstr ""
576
577 #. type: TP
578 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
579 #: opensuse-tumbleweed
580 #, no-wrap
581 msgid "B<LIRC_SET_REC_CARRIER_RANGE> (\\f[I]int\\fR)"
582 msgstr ""
583
584 #. type: Plain text
585 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
586 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
587 msgid ""
588 "Sets the lower bound of the receive carrier frequency (Hz). For this to "
589 "take affect, first set the lower bound using the "
590 "B<LIRC_SET_REC_CARRIER_RANGE> ioctl, and then the upper bound using the "
591 "B<LIRC_SET_REC_CARRIER> ioctl."
592 msgstr ""
593
594 #. type: TP
595 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
596 #: opensuse-tumbleweed
597 #, no-wrap
598 msgid "B<LIRC_SET_MEASURE_CARRIER_MODE> (\\f[I]int\\fR)"
599 msgstr ""
600
601 #. type: Plain text
602 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
603 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
604 msgid ""
605 "Enable (I<val> is 1) or disable (I<val> is 0) the measure mode. If enabled, "
606 "from the next key press on, the driver will send B<LIRC_MODE2_FREQUENCY> "
607 "packets. By default, this should be turned off."
608 msgstr ""
609
610 #. type: TP
611 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
612 #: opensuse-tumbleweed
613 #, no-wrap
614 msgid "B<LIRC_GET_REC_RESOLUTION> (\\f[I]void\\fR)"
615 msgstr ""
616
617 #. type: Plain text
618 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
619 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
620 msgid "Return the driver resolution (microseconds)."
621 msgstr ""
622
623 #. type: TP
624 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
625 #: opensuse-tumbleweed
626 #, no-wrap
627 msgid "B<LIRC_SET_TRANSMITTER_MASK> (\\f[I]int\\fR)"
628 msgstr ""
629
630 #. type: Plain text
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 msgid ""
634 "Enable the set of transmitters specified in I<val>, which contains a bit "
635 "mask where each enabled transmitter is a 1. The first transmitter is "
636 "encoded by the least significant bit, and so on. When an invalid bit mask "
637 "is given, for example a bit is set even though the device does not have so "
638 "many transmitters, this operation returns the number of available "
639 "transmitters and does nothing otherwise."
640 msgstr ""
641
642 #. type: TP
643 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
644 #: opensuse-tumbleweed
645 #, no-wrap
646 msgid "B<LIRC_SET_WIDEBAND_RECEIVER> (\\f[I]int\\fR)"
647 msgstr ""
648
649 #. type: Plain text
650 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
651 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
652 msgid ""
653 "Some devices are equipped with a special wide band receiver which is "
654 "intended to be used to learn the output of an existing remote. This ioctl "
655 "can be used to enable (I<val> equals 1) or disable (I<val> equals 0) this "
656 "functionality. This might be useful for devices that otherwise have narrow "
657 "band receivers that prevent them to be used with certain remotes. Wide band "
658 "receivers may also be more precise. On the other hand, their disadvantage "
659 "usually is reduced range of reception."
660 msgstr ""
661
662 #. type: Plain text
663 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
664 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
665 msgid ""
666 "Note: wide band receiver may be implicitly enabled if you enable carrier "
667 "reports. In that case, it will be disabled as soon as you disable carrier "
668 "reports. Trying to disable a wide band receiver while carrier reports are "
669 "active will do nothing."
670 msgstr ""
671
672 #. type: SH
673 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
674 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
675 #, no-wrap
676 msgid "FEATURES"
677 msgstr ""
678
679 #. type: Plain text
680 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
681 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
682 msgid ""
683 "the B<LIRC_GET_FEATURES> ioctl returns a bit mask describing features of the "
684 "driver. The following bits may be returned in the mask:"
685 msgstr ""
686
687 #. type: TP
688 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
689 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
690 #, no-wrap
691 msgid "B<LIRC_CAN_REC_MODE2>"
692 msgstr ""
693
694 #. type: Plain text
695 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
696 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
697 msgid "The driver is capable of receiving using B<LIRC_MODE_MODE2>."
698 msgstr ""
699
700 #. type: TP
701 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
702 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
703 #, no-wrap
704 msgid "B<LIRC_CAN_REC_SCANCODE>"
705 msgstr ""
706
707 #. type: Plain text
708 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
709 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
710 msgid "The driver is capable of receiving using B<LIRC_MODE_SCANCODE>."
711 msgstr ""
712
713 #. type: TP
714 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
715 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
716 #, no-wrap
717 msgid "B<LIRC_CAN_SET_SEND_CARRIER>"
718 msgstr ""
719
720 #. type: Plain text
721 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
722 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
723 msgid ""
724 "The driver supports changing the modulation frequency using "
725 "B<LIRC_SET_SEND_CARRIER>."
726 msgstr ""
727
728 #. type: TP
729 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
730 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
731 #, no-wrap
732 msgid "B<LIRC_CAN_SET_SEND_DUTY_CYCLE>"
733 msgstr ""
734
735 #. type: Plain text
736 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
737 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
738 msgid ""
739 "The driver supports changing the duty cycle using "
740 "B<LIRC_SET_SEND_DUTY_CYCLE>."
741 msgstr ""
742
743 #. type: TP
744 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
745 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
746 #, no-wrap
747 msgid "B<LIRC_CAN_SET_TRANSMITTER_MASK>"
748 msgstr ""
749
750 #. type: Plain text
751 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
752 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
753 msgid ""
754 "The driver supports changing the active transmitter(s) using "
755 "B<LIRC_SET_TRANSMITTER_MASK>."
756 msgstr ""
757
758 #. type: TP
759 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
760 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
761 #, no-wrap
762 msgid "B<LIRC_CAN_SET_REC_CARRIER>"
763 msgstr ""
764
765 #. type: Plain text
766 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
767 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
768 msgid ""
769 "The driver supports setting the receive carrier frequency using "
770 "B<LIRC_SET_REC_CARRIER>. Any B<lirc> device since the drivers were merged "
771 "in Linux 2.6.36 must have B<LIRC_CAN_SET_REC_CARRIER_RANGE> set if "
772 "B<LIRC_CAN_SET_REC_CARRIER> feature is set."
773 msgstr ""
774
775 #. type: TP
776 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
777 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
778 #, no-wrap
779 msgid "B<LIRC_CAN_SET_REC_CARRIER_RANGE>"
780 msgstr ""
781
782 #. type: Plain text
783 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
784 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
785 msgid ""
786 "The driver supports B<LIRC_SET_REC_CARRIER_RANGE>. The lower bound of the "
787 "carrier must first be set using the B<LIRC_SET_REC_CARRIER_RANGE> ioctl, "
788 "before using the B<LIRC_SET_REC_CARRIER> ioctl to set the upper bound."
789 msgstr ""
790
791 #. type: TP
792 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
793 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
794 #, no-wrap
795 msgid "B<LIRC_CAN_GET_REC_RESOLUTION>"
796 msgstr ""
797
798 #. type: Plain text
799 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
800 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
801 msgid "The driver supports B<LIRC_GET_REC_RESOLUTION>."
802 msgstr ""
803
804 #. type: TP
805 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
806 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
807 #, no-wrap
808 msgid "B<LIRC_CAN_SET_REC_TIMEOUT>"
809 msgstr ""
810
811 #. type: Plain text
812 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
813 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
814 msgid "The driver supports B<LIRC_SET_REC_TIMEOUT>."
815 msgstr ""
816
817 #. type: TP
818 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
819 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
820 #, no-wrap
821 msgid "B<LIRC_CAN_MEASURE_CARRIER>"
822 msgstr ""
823
824 #. type: Plain text
825 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
826 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
827 msgid ""
828 "The driver supports measuring of the modulation frequency using "
829 "B<LIRC_SET_MEASURE_CARRIER_MODE>."
830 msgstr ""
831
832 #. type: TP
833 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
834 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
835 #, no-wrap
836 msgid "B<LIRC_CAN_USE_WIDEBAND_RECEIVER>"
837 msgstr ""
838
839 #. type: Plain text
840 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
841 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
842 msgid "The driver supports learning mode using B<LIRC_SET_WIDEBAND_RECEIVER>."
843 msgstr ""
844
845 #. type: TP
846 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
847 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
848 #, no-wrap
849 msgid "B<LIRC_CAN_SEND_PULSE>"
850 msgstr ""
851
852 #. type: Plain text
853 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
854 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
855 msgid ""
856 "The driver supports sending using B<LIRC_MODE_PULSE> or B<LIRC_MODE_SCANCODE>"
857 msgstr ""
858
859 #. type: SH
860 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
861 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
862 #, no-wrap
863 msgid "BUGS"
864 msgstr ""
865
866 #. type: Plain text
867 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
868 #: opensuse-tumbleweed
869 msgid ""
870 "Using these devices requires the kernel source header file I<lirc.h>. This "
871 "file is not available before Linux 4.6. Users of older kernels could use "
872 "the file bundled in E<.UR http:\\://www.lirc.org> E<.UE .>"
873 msgstr ""
874
875 #. type: SH
876 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
877 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
878 #, no-wrap
879 msgid "SEE ALSO"
880 msgstr ""
881
882 #. type: Plain text
883 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
884 #: opensuse-leap-16-1 opensuse-tumbleweed
885 msgid "B<ir-ctl>(1), B<lircd>(8), B<bpf>(2)"
886 msgstr ""
887
888 #. type: Plain text
889 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
890 #: opensuse-tumbleweed
891 msgid ""
892 "E<.UR https:\\://www.kernel.org/\\:doc/\\:html/\\:latest/\\:userspace-api/"
893 "\\:media/\\:rc/\\:lirc-dev.html> E<.UE>"
894 msgstr ""
895
896 #. type: TH
897 #: debian-trixie
898 #, no-wrap
899 msgid "2024-05-02"
900 msgstr ""
901
902 #. type: TH
903 #: debian-trixie
904 #, no-wrap
905 msgid "Linux man-pages 6.9.1"
906 msgstr ""
907
908 #. type: Plain text
909 #: debian-trixie fedora-44 fedora-rawhide
910 msgid ""
911 "In the B<LIRC_MODE_MODE2 mode>, the data returned by B<read>(2) provides 32-"
912 "bit values representing a space or a pulse duration. The time of the "
913 "duration (microseconds) is encoded in the lower 24 bits. Pulse (also known "
914 "as flash) indicates a duration of infrared light being detected, and space "
915 "(also known as gap) indicates a duration with no infrared. If the duration "
916 "of space exceeds the inactivity timeout, a special timeout package is "
917 "delivered, which marks the end of a message. The upper 8 bits indicate the "
918 "type of package:"
919 msgstr ""
920
921 #. type: Plain text
922 #: debian-trixie fedora-44 fedora-rawhide
923 msgid ""
924 "In the B<LIRC_MODE_SCANCODE> mode, the data returned by B<read>(2) reflects "
925 "decoded button presses, in the struct I<lirc_scancode>. The scancode is "
926 "stored in the I<scancode> field, and the IR protocol is stored in "
927 "I<rc_proto>. This field has one the values of the I<enum rc_proto>."
928 msgstr ""
929
930 #. type: Plain text
931 #: debian-trixie fedora-44 fedora-rawhide
932 msgid ""
933 "The data written to the character devices must be a single struct "
934 "I<lirc_scancode>. The I<scancode> and I<rc_proto> fields must filled in, "
935 "all other fields must be 0. The kernel IR encoders will convert the "
936 "scancode to pulses and spaces. The protocol or scancode is invalid, or the "
937 "B<lirc> device cannot transmit."
938 msgstr ""
939
940 #. type: Plain text
941 #: debian-trixie fedora-44 fedora-rawhide
942 msgid "I</dev/lirc*> devices always support the following commands:"
943 msgstr ""
944
945 #. type: TP
946 #: debian-trixie fedora-44 fedora-rawhide
947 #, no-wrap
948 msgid "B<LIRC_GET_FEATURES> (I<void>)"
949 msgstr ""
950
951 #. type: TP
952 #: debian-trixie fedora-44 fedora-rawhide
953 #, no-wrap
954 msgid "B<LIRC_GET_REC_MODE> (I<void>)"
955 msgstr ""
956
957 #. type: TP
958 #: debian-trixie fedora-44 fedora-rawhide
959 #, no-wrap
960 msgid "B<LIRC_SET_REC_MODE> (I<int>)"
961 msgstr ""
962
963 #. type: TP
964 #: debian-trixie fedora-44 fedora-rawhide
965 #, no-wrap
966 msgid "B<LIRC_GET_SEND_MODE> (I<void>)"
967 msgstr ""
968
969 #. type: TP
970 #: debian-trixie fedora-44 fedora-rawhide
971 #, no-wrap
972 msgid "B<LIRC_SET_SEND_MODE> (I<int>)"
973 msgstr ""
974
975 #. type: TP
976 #: debian-trixie fedora-44 fedora-rawhide
977 #, no-wrap
978 msgid "B<LIRC_SET_SEND_CARRIER> (I<int>)"
979 msgstr ""
980
981 #. type: TP
982 #: debian-trixie fedora-44 fedora-rawhide
983 #, no-wrap
984 msgid "B<LIRC_SET_SEND_DUTY_CYCLE> (I<int>)"
985 msgstr ""
986
987 #. type: TP
988 #: debian-trixie fedora-44 fedora-rawhide
989 #, no-wrap
990 msgid "B<LIRC_SET_REC_TIMEOUT> (I<int>)"
991 msgstr ""
992
993 #. type: TP
994 #: debian-trixie fedora-44 fedora-rawhide
995 #, no-wrap
996 msgid "B<LIRC_GET_REC_TIMEOUT> (I<void>)"
997 msgstr ""
998
999 #. type: TP
1000 #: debian-trixie fedora-44 fedora-rawhide
1001 #, no-wrap
1002 msgid "B<LIRC_SET_REC_TIMEOUT_REPORTS> (I<int>)"
1003 msgstr ""
1004
1005 #. type: TP
1006 #: debian-trixie fedora-44 fedora-rawhide
1007 #, no-wrap
1008 msgid "B<LIRC_SET_REC_CARRIER> (I<int>)"
1009 msgstr ""
1010
1011 #. type: TP
1012 #: debian-trixie fedora-44 fedora-rawhide
1013 #, no-wrap
1014 msgid "B<LIRC_SET_REC_CARRIER_RANGE> (I<int>)"
1015 msgstr ""
1016
1017 #. type: TP
1018 #: debian-trixie fedora-44 fedora-rawhide
1019 #, no-wrap
1020 msgid "B<LIRC_SET_MEASURE_CARRIER_MODE> (I<int>)"
1021 msgstr ""
1022
1023 #. type: TP
1024 #: debian-trixie fedora-44 fedora-rawhide
1025 #, no-wrap
1026 msgid "B<LIRC_GET_REC_RESOLUTION> (I<void>)"
1027 msgstr ""
1028
1029 #. type: TP
1030 #: debian-trixie fedora-44 fedora-rawhide
1031 #, no-wrap
1032 msgid "B<LIRC_SET_TRANSMITTER_MASK> (I<int>)"
1033 msgstr ""
1034
1035 #. type: TP
1036 #: debian-trixie fedora-44 fedora-rawhide
1037 #, no-wrap
1038 msgid "B<LIRC_SET_WIDEBAND_RECEIVER> (I<int>)"
1039 msgstr ""
1040
1041 #. type: Plain text
1042 #: debian-trixie fedora-44 fedora-rawhide
1043 msgid ""
1044 "Using these devices requires the kernel source header file I<lirc.h>. This "
1045 "file is not available before Linux 4.6. Users of older kernels could use "
1046 "the file bundled in E<.UR http://www.lirc.org> E<.UE .>"
1047 msgstr ""
1048
1049 #. type: Plain text
1050 #: debian-trixie
1051 msgid "B<ir-ctl>(1), B<lircd>(8),\\ B<bpf>(2)"
1052 msgstr ""
1053
1054 #. type: Plain text
1055 #: debian-trixie fedora-44 fedora-rawhide
1056 msgid ""
1057 "E<.UR https://www.kernel.org/\\:doc/\\:html/\\:latest/\\:userspace-api/"
1058 "\\:media/\\:rc/\\:lirc-dev.html> E<.UE>"
1059 msgstr ""
1060
1061 #. type: TH
1062 #: fedora-44 fedora-rawhide
1063 #, no-wrap
1064 msgid "2024-09-01"
1065 msgstr ""
1066
1067 #. type: TH
1068 #: fedora-44 fedora-rawhide
1069 #, no-wrap
1070 msgid "Linux man-pages 6.13"
1071 msgstr ""
1072
1073 #. type: TH
1074 #: mageia-cauldron
1075 #, no-wrap
1076 msgid "Linux man-pages 6.17"
1077 msgstr ""
1078
1079 #. type: TH
1080 #: opensuse-leap-16-1 opensuse-tumbleweed
1081 #, no-wrap
1082 msgid "Linux man-pages (unreleased)"
1083 msgstr ""