Linux IIO development
 help / color / mirror / Atom feed
* st_lsm6dsx minor issue
@ 2024-08-08 13:27 Okba Slatnia
  2024-08-17 16:46 ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Okba Slatnia @ 2024-08-08 13:27 UTC (permalink / raw)
  To: linux-iio

Hi all,

I'm building a yocto firmware based on Linux kernel version 5.15.148
and i'm facing a little limitation or problem preventing me from
changing the value of the sampling_frequency of the accelerator:
/sys/bus/iio/devices/iio:device0/sampling_frequency
despite i'm following the
/sys/bus/iio/devices/iio:device0/sampling_frequenc_available for the
possible values.
for the info , i can successfully change the sampling_frequency on
another yocto firmware based on Linux kernel version 4.19 and despite
keeping the same kernel flags confs i'm still facing this issue , i
made sure it's not an access right issue because i can change other
files in the same path with same access rights.

Can you please help me and tell me if I missed anything ?
Thanks in advance.
Best Regards.
--
Okba

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: st_lsm6dsx minor issue
  2024-08-08 13:27 st_lsm6dsx minor issue Okba Slatnia
@ 2024-08-17 16:46 ` Jonathan Cameron
  2024-08-18  7:50   ` Lorenzo Bianconi
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Cameron @ 2024-08-17 16:46 UTC (permalink / raw)
  To: Okba Slatnia; +Cc: linux-iio, Lorenzo Bianconi

On Thu, 8 Aug 2024 15:27:33 +0200
Okba Slatnia <okbaslatnia@gmail.com> wrote:

> Hi all,
> 
> I'm building a yocto firmware based on Linux kernel version 5.15.148
> and i'm facing a little limitation or problem preventing me from
> changing the value of the sampling_frequency of the accelerator:
> /sys/bus/iio/devices/iio:device0/sampling_frequency
> despite i'm following the
> /sys/bus/iio/devices/iio:device0/sampling_frequenc_available for the
> possible values.
> for the info , i can successfully change the sampling_frequency on
> another yocto firmware based on Linux kernel version 4.19 and despite
> keeping the same kernel flags confs i'm still facing this issue , i
> made sure it's not an access right issue because i can change other
> files in the same path with same access rights.
> 
> Can you please help me and tell me if I missed anything ?
> Thanks in advance.
> Best Regards.
> --
> Okba

+CC Lorenzo on basis maybe he's seen this before?

Jonathan

> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: st_lsm6dsx minor issue
  2024-08-17 16:46 ` Jonathan Cameron
@ 2024-08-18  7:50   ` Lorenzo Bianconi
  0 siblings, 0 replies; 3+ messages in thread
From: Lorenzo Bianconi @ 2024-08-18  7:50 UTC (permalink / raw)
  To: Jonathan Cameron; +Cc: Okba Slatnia, linux-iio

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

> On Thu, 8 Aug 2024 15:27:33 +0200
> Okba Slatnia <okbaslatnia@gmail.com> wrote:
> 
> > Hi all,

Hi Okba,

> > 
> > I'm building a yocto firmware based on Linux kernel version 5.15.148
> > and i'm facing a little limitation or problem preventing me from
> > changing the value of the sampling_frequency of the accelerator:
> > /sys/bus/iio/devices/iio:device0/sampling_frequency
> > despite i'm following the
> > /sys/bus/iio/devices/iio:device0/sampling_frequenc_available for the
> > possible values.
> > for the info , i can successfully change the sampling_frequency on
> > another yocto firmware based on Linux kernel version 4.19 and despite
> > keeping the same kernel flags confs i'm still facing this issue , i
> > made sure it's not an access right issue because i can change other
> > files in the same path with same access rights.

Can you please provide more details about the issue? Are you able to change
gyro sample frequency? Is the sensor-hub enabled?

Regards,
Lorenzo

> > 
> > Can you please help me and tell me if I missed anything ?
> > Thanks in advance.
> > Best Regards.
> > --
> > Okba
> 
> +CC Lorenzo on basis maybe he's seen this before?
> 
> Jonathan
> 
> > 
> 

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-08-18  7:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-08 13:27 st_lsm6dsx minor issue Okba Slatnia
2024-08-17 16:46 ` Jonathan Cameron
2024-08-18  7:50   ` Lorenzo Bianconi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox