[Gta04-owner] itg3200 sleep mode

Dr. H. Nikolaus Schaller hns at goldelico.com
Wed Sep 10 08:08:30 CEST 2014


Hi,
yes, that seems to be a good improvement.

I have looked into the 3.17 driver - but the patch won't apply. They have reworked (and simplified) the driver:

http://git.goldelico.com/?p=gta04-kernel.git;a=blobdiff;f=drivers/iio/gyro/itg3200_core.c;h=6a8020d4814038b67cbad3b3c51d20d1987bbd77;hp=8295e318399f9874ccde4f4429a001141a4004be;hb=refs/heads/3.17-rc4;hpb=5e2aa2ed08e2e280121dc7cf5609c87d464f12ef

But it should also be possible to follow the principle.

Therefore I have created an Issue in our kernel project:

	http://projects.goldelico.com/p/gta04-kernel/issues/660/

Someone who wants to work on this and submit a 3.17 patch?

BR,
Nikolaus

Am 09.09.2014 um 19:34 schrieb Rico Rommel:

> Hi list,
> 
> to save a little more Power i tried to put itg3200 into sleep mode.
> 
> The attached patch applies to kernel 3.12.
> 
> Sleep mode can be activated by 
> echo 0 > /sys/bus/iio/devices/iio:device1/sampling_frequency
> 
> Writing a sampling frequency > 0 wakes up the device. 
> 
> Rico<0001-itg3200-enable-sleep-mode-by-setting-sample_frequenc.patch>_______________________________________________
> Gta04-owner mailing list
> Gta04-owner at goldelico.com
> http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner



More information about the Gta04-owner mailing list