public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa@kernel.org>
To: Paul Menzel <pmenzel@molgen.mpg.de>
Cc: "Jean Delvare" <jdelvare@suse.com>,
	linux-i2c@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
	Dell.Client.Kernel@dell.com, "Pali Rohár" <pali@kernel.org>
Subject: Re: Accelerometer lis3lv02d is present on SMBus but its address is unknown, skipping registration
Date: Tue, 28 Feb 2023 11:50:08 +0100	[thread overview]
Message-ID: <Y/3cYL0s1Ul9fgR+@ninjato> (raw)
In-Reply-To: <47ed190e-ebae-fdc6-f46a-f42a36fb6f26@molgen.mpg.de>

[-- Attachment #1: Type: text/plain, Size: 411 bytes --]

Hi Paul,

> So, 29 shows up in the dump. Let’s see if I am going to find the time to
> build a Linux kernel. (I couldn’t find a module parameter to force loading
> at a specific address.)

We do this via sysfs:

# echo lis3lv02d 0x29 > /sys/bus/i2c/devices/i2c-6/new_device

(Depending on your system, you might need to ensure the lis3 driver is
loaded before)

Hope it works!

   Wolfram


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2023-02-28 10:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-27 14:23 Accelerometer lis3lv02d is present on SMBus but its address is unknown, skipping registration Paul Menzel
2023-02-27 19:27 ` Wolfram Sang
2023-02-28 10:39   ` Paul Menzel
2023-02-28 10:50     ` Wolfram Sang [this message]
2023-02-28 10:56       ` Paul Menzel
2023-02-28 11:00         ` Wolfram Sang
2023-07-19 19:32           ` Pali Rohár

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y/3cYL0s1Ul9fgR+@ninjato \
    --to=wsa@kernel.org \
    --cc=Dell.Client.Kernel@dell.com \
    --cc=jdelvare@suse.com \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pali@kernel.org \
    --cc=pmenzel@molgen.mpg.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox