lkml.org 
[lkml]   [2023]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Accelerometer lis3lv02d is present on SMBus but its address is unknown, skipping registration
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

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2023-03-27 00:38    [W:0.083 / U:1.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site