Hi,
For now, it's root only.
- Kalle
On 28.12.2013 01:31, Kimmo Lindholm wrote:
Should this work?
in path /sys/devices/platform/reg-userspace-consumer.0
[nemo@localhost reg-userspace-consumer.0]$ echo 1 > state
-bash: state: Lupa evätty
or need root access?
------------------------------------------------------------------------
*Lähettäjä:* devel-boun...@lists.sailfishos.org
[devel-boun...@lists.sailfishos.org] käyttäjän Kimmo Lindholm
[kimmo.lindh...@eke.fi] puolesta
*Lähetetty:* 23. joulukuuta 2013 18:20
*Vastaanottaja:* Sailfish OS Developers
*Aihe:* Re: [SailfishDevel] The Other Half I2C
Then I have to just sit and wait.
Or is there any magic that I can store to the eeprom to keep it active?
-kimmo
*From:*devel-boun...@lists.sailfishos.org
[mailto:devel-boun...@lists.sailfishos.org] *On Behalf Of *Jonni Rainisto
*Sent:* Monday, December 23, 2013 6:06 PM
*To:* Sailfish OS Developers
*Subject:* Re: [SailfishDevel] The Other Half I2C
NOTE: This API is not supported in initial Jolla device software. It
will be available from 1.0.2.* and later Sailfish OS releases.
# Enable VDD
echo 1 > /sys/devices/platform/reguserspaceconsumer.0/state
# Disable VDD
echo 0 > /sys/devices/platform/reguserspaceconsumer.0/state
So unfortunately you have to wait for next update before you can
unable 3.3V pin from user space. But that should happen 'soon'...
------------------------------------------------------------------------
*From:*devel-boun...@lists.sailfishos.org
[devel-boun...@lists.sailfishos.org] on behalf of Kimmo Lindholm
[kimmo.lindh...@eke.fi]
*Sent:* Monday, December 23, 2013 4:49 PM
*To:* devel@lists.sailfishos.org
*Subject:* [SailfishDevel] The Other Half I2C
Anchors aweigh!
Just hooked up scope to I2C bus on pogo pins, and there is life!
Can someone point me in correct direction to enable 3.3V pin?
3.3V seems to be active just for a while when I press the cover
detector switch and after eeprom in address 0x50 is tested 3.3V is gone.
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list