Re: Accelerometer lis3lv02d is present on SMBus but its address is unknown, skipping registration

From: Wolfram Sang
Date: Tue Feb 28 2023 - 05:53:14 EST


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: signature.asc
Description: PGP signature