From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6E31C43387 for ; Sun, 6 Jan 2019 13:28:37 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7E2F22070B for ; Sun, 6 Jan 2019 13:28:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="NxpMjZhQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7E2F22070B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.91) (envelope-from ) id 1gg8TY-0001OH-KL; Sun, 06 Jan 2019 08:28:24 -0500 Received: from mail-ot1-x330.google.com ([2607:f8b0:4864:20::330]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gg8TW-0001OB-Kd for kernelnewbies@kernelnewbies.org; Sun, 06 Jan 2019 08:28:22 -0500 Received: by mail-ot1-x330.google.com with SMTP id w25so35671764otm.13 for ; Sun, 06 Jan 2019 05:28:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=POXPLmt+mscOXV4YujoO4zeayeyTLWtROwWaNGhkXok=; b=NxpMjZhQ5CYtZ73RgsNNp7NgxXJuLOGNSVMPXKtmiTde75XfHRDXa+jmX8Zab+Wgda 22PzLP1wFn/9VVSUEZpZJQ2sUREVBtkdQo+/0oUuREzE8d2OWGWhosUBOIFf4M/5Hnw1 cw58ICmvgIRqs7vZVTwzzVjfY0lvqptl4YrbAe6553byRYhAl0CJf9EcWsvCnwuvGua3 HEnHdqRL2UBO0n7VNVaP85BqRKa9tml/0kzybgLSNV38tmC0+MpqAi4pC3YJ3xKf0GKo KKwn8hdM+EDAigXEe6sQKLHOwbkeTTZ7xhOyVm7AA0mXtIbUPJPsKMj0pQGV/NovZekg ri1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=POXPLmt+mscOXV4YujoO4zeayeyTLWtROwWaNGhkXok=; b=dFd3wWNvQ8Vmgl1ClBcylUowVoZrwWKZMaCNdiu3PsvEuPamf7EYZPLwL/NRMaFfLx 0UJiVS6iZMEOdSFlRCepEWbUGTOReUcXwtHhbQHTYzQf5td68h8Kkjhn7UL78OWr153X vlfjaF0xwMshR3LpyMnjP3zBwxNREUru+e//EYUceH3QuSxoeT+PHSNAZlvWI6NoIK40 sUscT4i7ooec56/5n124oAvZeKFY9qw2SrbLqYOcMoa+p+ZeHSi5Ww7OeoObH256wM5e fNkEBqWWUMXREWZNQYiB7dqsfgSb2+YgalG3OSGVh76piayTSjsDUoPmlM4UzJ/+PFZS T5aA== X-Gm-Message-State: AJcUuke/sxWKPytqKBJGTlb4+ekScrdVc5fzcc6stzrbWWMbBHu6W75u g1hY0a3eK/HUGyAs++Zg4TCwBTpBKLHH7lKPJlbso8Ns X-Google-Smtp-Source: ALg8bN7XCW0LgUsc8+Fr4r1ccT55RqyBm5mOiRoRvNG4me1ApZth4d4NHV6i5M3etwiPAkMBOlTPzfzjOGezi42GCnw= X-Received: by 2002:a9d:684b:: with SMTP id c11mr1500216oto.323.1546781301141; Sun, 06 Jan 2019 05:28:21 -0800 (PST) MIME-Version: 1.0 References: <20190106111914.GF2250@gavran.carpriv.carnet.hr> <20190106130057.GG2250@gavran.carpriv.carnet.hr> In-Reply-To: <20190106130057.GG2250@gavran.carpriv.carnet.hr> From: Jay Aurabind Date: Sun, 6 Jan 2019 18:58:09 +0530 Message-ID: Subject: Re: The Kernel knows. But how ? Did the acpi make a secret dead drop ? To: Valentin Vidic Cc: kernelnewbies X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2406894521139918102==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============2406894521139918102== Content-Type: multipart/alternative; boundary="000000000000fff631057eca15c2" --000000000000fff631057eca15c2 Content-Type: text/plain; charset="UTF-8" On Sun, 6 Jan 2019 at 18:32, Valentin Vidic wrote: > On Sun, Jan 06, 2019 at 06:17:44PM +0530, Jay Aurabind wrote: > > Apparently it could be both I2C or SPI, as I find lis3lv02d_spi.c as > well. > > I don't really know if this device sits on I2C bus or SPI. > > Yes, but you can check lsmod after boot to see if i2c driver was loaded. > Also you can try to list i2c devices to see if it appears there. > I do not have any /dev/i2c* listings. Besides, these are the only modules with i2c in their names: i2c_algo_bit i2c_i801 i2c_smbus i915 uses the first one. Nothing else. > -- > Valentin > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > -- Thanks and Regards, *Aurabindo J* --000000000000fff631057eca15c2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

=

On Sun, 6 Jan 2= 019 at 18:32, Valentin Vidic <Valentin.Vidic@carnet.hr> wrote:
On Sun, Jan 06, 2019 at 06:17:44PM +0530, Jay Aur= abind wrote:
> Apparently it could be both I2C or SPI, as I find lis3lv02d_spi.c as w= ell.
> I don't really know if this device sits on I2C bus or SPI.

Yes, but you can check lsmod after boot to see if i2c driver was loaded. Also you can try to list i2c devices to see if it appears there.

I do not have any /dev/i2c* listings. Besides, thes= e are the only modules with i2c in their names:

i2c_al= go_bit=C2=A0=C2=A0=C2=A0
i2c_i801=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
i2c_smbus=C2=A0=C2=A0= =C2=A0

i915 uses the first one. Nothing else.


--
Valentin

_______________________________________________
Kernelnewbies mailing list
Kernel= newbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailma= n/listinfo/kernelnewbies


--

Thanks and Regards,
Aurabindo J
--000000000000fff631057eca15c2-- --===============2406894521139918102== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============2406894521139918102==--