<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Systemd, udev, and kernel camera module in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Systemd-udev-and-kernel-camera-module/m-p/680922#M105176</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a way to do that,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added a rule for udev:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;SUBSYSTEM=="video4linux", ATTR{fsl_csi_property}=="ipu1_csi1", SYMLINK+="video0", TAG+="systemd" ENV{SYSTEMD_WANTS}="video.service"&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The service is started at the end of the probe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jun 2017 07:23:39 GMT</pubDate>
    <dc:creator>pierre-olivierh</dc:creator>
    <dc:date>2017-06-09T07:23:39Z</dc:date>
    <item>
      <title>Systemd, udev, and kernel camera module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Systemd-udev-and-kernel-camera-module/m-p/680921#M105175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm currently struggling with systemd. We made a custom driver for CSI interface on iMX6, and we decided to move on systemd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main goal is to be notified when the driver is running and start our video application after that. I tried to modify udev rules and add:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;KERNEL=="video0", SYMLINK="video0", TAG+="systemd"‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and create a service for the video&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;[Unit]
Description=Video application service
BindsTo=dev-video0.device
After=dev-video0.device

[Service]
Type=forking
ExecStart=/usr/bin/video-app‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The service never start. I don't know if I'm doing it right, but I don't know how to proceed exactly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can give me some hints,&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Pierre-Olivier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2017 14:35:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Systemd-udev-and-kernel-camera-module/m-p/680921#M105175</guid>
      <dc:creator>pierre-olivierh</dc:creator>
      <dc:date>2017-06-08T14:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Systemd, udev, and kernel camera module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Systemd-udev-and-kernel-camera-module/m-p/680922#M105176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a way to do that,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added a rule for udev:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;SUBSYSTEM=="video4linux", ATTR{fsl_csi_property}=="ipu1_csi1", SYMLINK+="video0", TAG+="systemd" ENV{SYSTEMD_WANTS}="video.service"&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The service is started at the end of the probe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 07:23:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Systemd-udev-and-kernel-camera-module/m-p/680922#M105176</guid>
      <dc:creator>pierre-olivierh</dc:creator>
      <dc:date>2017-06-09T07:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Systemd, udev, and kernel camera module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Systemd-udev-and-kernel-camera-module/m-p/680923#M105177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/pierre-olivierhuard"&gt;pierre-olivierhuard&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks for sharing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 16:30:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Systemd-udev-and-kernel-camera-module/m-p/680923#M105177</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2017-06-13T16:30:10Z</dc:date>
    </item>
  </channel>
</rss>

