<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, 6 Jan 2019 at 18:32, Valentin Vidic <<a href="mailto:Valentin.Vidic@carnet.hr">Valentin.Vidic@carnet.hr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sun, Jan 06, 2019 at 06:17:44PM +0530, Jay Aurabind wrote:<br>
> Apparently it could be both I2C or SPI, as I find lis3lv02d_spi.c as well.<br>
> I don't really know if this device sits on I2C bus or SPI.<br>
<br>
Yes, but you can check lsmod after boot to see if i2c driver was loaded.<br>
Also you can try to list i2c devices to see if it appears there.<br></blockquote><div><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">I do not have any /dev/i2c* listings. Besides, these are the only modules with i2c in their names:</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">i2c_algo_bit <br>i2c_i801 <br>i2c_smbus <br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">i915 uses the first one. Nothing else.</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
-- <br>
Valentin<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br>
<a href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" target="_blank">https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><br><div><font face="trebuchet ms, sans-serif" color="#073763">Thanks and Regards,</font></div><div><font face="trebuchet ms, sans-serif" color="#073763"><b>Aurabindo J</b></font></div></div></div></div></div></div>