IVI/Enabling other Touchscreens

From Tizen Wiki
< IVI
Jump to: navigation, search


The ia32 and x86_64 prebuilt images usually come preconfigured to support Giantec monitors, especially when configured to run the Modello sample HMI. However, Giantec monitors can be difficult to source, and there are alternatives. To enable a different monitor the steps in general are:

  1. install weston-clients (zypper install weston-clients)
  2. run weston-calibrator and make note of the resulting values
  3. create a file in /etc/udev/rules.d with a filename like 99-device.rules that matches your device, for example 99-chinav7.rules
    1. the file contents should look something like this:
      1. ATTRS{idVendor}=="0eef", ATTRS{idProduct}=="0001", ENV{WL_OUTPUT}="HDMI1", ENV{WL_CALIBRATION}="-1.051762 0.001586 1312.557129 0.003569 1.085967 -32.689575"
    2. Note that the format is very specific including the use of "==" and "="
    3. You can verify the idVendor and idProduct values by grepping the output of dmesg and looking for your particular touchscreen device.
    4. Ensure that the value for WL_OUTPUT is the same as in the [output] section of your weston.ini file
  4. Reboot to load the udev rule configuration


Two low-cost but seemingly decent monitors are these from Chinavision:

For this monitor you can paste this code into /etc/udev/rules.d/99-chinav7.rule instead of steps 1-3 above
ATTRS{idVendor}=="0eef", ATTRS{idProduct}=="0001", ENV{WL_OUTPUT}="HDMI1", ENV{WL_CALIBRATION}="-1.051762 0.001586 1312.557129 0.003569 1.085967 -32.689575"

For this monitor you can paste this code into /etc/udev/rules.d/99-chinav8.rule instead of steps 1-3 above
ATTRS{idVendor}=="0eef", ATTRS{idProduct}=="0001", ENV{WL_OUTPUT}="DP1", ENV{WL_CALIBRATION}="0.004971 1.899095 -47.686184 -0.628267 0.001864 745.340537"
NOTE: In the example udev rules above, "HDMI1" is the output used on MinnowMax, "DP1" is the output used on VTC-1010

Both of these Chinavision monitors have an HDMI port and a combo port that includes VGA and the touchscreen USB, they include a cable that splits these connections out, which you will need for the touchscreen part to work even if using the HDMI input.