<?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: Cooperate with sysfs Kernel I2C driver from C application side in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Cooperate-with-sysfs-Kernel-I2C-driver-from-C-application-side/m-p/1745189#M214613</link>
    <description>Oh, I've found good solution here: &lt;A href="https://github.com/mozcelikors/tea5767_kernel_driver" target="_blank"&gt;https://github.com/mozcelikors/tea5767_kernel_driver&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It's the way to access the files on /sys/class/i2c-dev/i2c-3/device/3-0038/bh1770glc/. All files here are the attributes of sysfs group.</description>
    <pubDate>Tue, 24 Oct 2023 10:00:15 GMT</pubDate>
    <dc:creator>Anton_K</dc:creator>
    <dc:date>2023-10-24T10:00:15Z</dc:date>
    <item>
      <title>Cooperate with sysfs Kernel I2C driver from C application side</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cooperate-with-sysfs-Kernel-I2C-driver-from-C-application-side/m-p/1744654#M214573</link>
      <description>&lt;P&gt;Hello, I'm using i.MX8 yocto build and able to select supported MISC I2C drivers as the Kernel driver. Actually I2C driver located on the &lt;EM&gt;kernel/drivers/misc/bh1770glc.c&lt;/EM&gt;&amp;nbsp;and I can see some sysfs attributes to configure and cooperate with physical I2C slave.&amp;nbsp;&lt;BR /&gt;My question is how am I able to write my own C application to access the sysfs control attribute from&amp;nbsp;&lt;EM&gt;&lt;SPAN&gt;struct&lt;/SPAN&gt; &lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;attribute_group&lt;/EM&gt; list? Can someone help my to search some C API or examples of how to control I2C devices as the Kernel driver via sysfs attributes for example?&lt;BR /&gt;Thanks in advance, Anton!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 16:35:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cooperate-with-sysfs-Kernel-I2C-driver-from-C-application-side/m-p/1744654#M214573</guid>
      <dc:creator>Anton_K</dc:creator>
      <dc:date>2023-10-23T16:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cooperate with sysfs Kernel I2C driver from C application side</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cooperate-with-sysfs-Kernel-I2C-driver-from-C-application-side/m-p/1745189#M214613</link>
      <description>Oh, I've found good solution here: &lt;A href="https://github.com/mozcelikors/tea5767_kernel_driver" target="_blank"&gt;https://github.com/mozcelikors/tea5767_kernel_driver&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It's the way to access the files on /sys/class/i2c-dev/i2c-3/device/3-0038/bh1770glc/. All files here are the attributes of sysfs group.</description>
      <pubDate>Tue, 24 Oct 2023 10:00:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cooperate-with-sysfs-Kernel-I2C-driver-from-C-application-side/m-p/1745189#M214613</guid>
      <dc:creator>Anton_K</dc:creator>
      <dc:date>2023-10-24T10:00:15Z</dc:date>
    </item>
  </channel>
</rss>

