ir_info

Presentation

ir_info displays some informations about a specific interface. The supported devices and their corresponding interfaces are listed here. The displayed informations and the output parameters changes according to the provided interface.

Compatible devices

Input parameters

Name

Default value

Possible values

Description

INTERFACE

irma0

irmaX

Interface to display

SHOW_CAPABILITIES

yes

yes|no

Indicates if the capabilities of the interface should be displayed

Output parameters

Name

Possible values

Description

INTERFACE

irmaX

Selected interface

DEVICE_INDEX

#X

Device index

SERIAL_PORT

<string>

Serial port used by the interface

FREQUENCY

<integer>

Frequency used by the interface

Usage

If you want to display the informations related to an IRMA interface :

$ mirage ir_info INTERFACE=irma0
[INFO] Module ir_info loaded !
┌───────────┬──────────────┬──────────────┬───────────┐
│ Interface │ Device Index │ Serial Port  │ Frequency │
├───────────┼──────────────┼──────────────┼───────────┤
│ irma0     │ #0           │ /dev/ttyUSB0 │ 38 kHz    │
└───────────┴──────────────┴──────────────┴───────────┘
[INFO] Mirage process terminated !