[SailfishDevel] The Other Half I2C

Kalle Jokiniemi kalle.jokiniemi at jolla.com
Tue Jan 7 10:15:46 UTC 2014


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 at localhost reg-userspace-consumer.0]$ echo 1 > state
> -bash: state: Lupa evätty
>
> or need root access?
> ------------------------------------------------------------------------
> *Lähettäjä:* devel-bounces at lists.sailfishos.org 
> [devel-bounces at lists.sailfishos.org] käyttäjän Kimmo Lindholm 
> [Kimmo.Lindholm at 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-bounces at lists.sailfishos.org 
> [mailto:devel-bounces at 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-bounces at lists.sailfishos.org 
> [devel-bounces at lists.sailfishos.org] on behalf of Kimmo Lindholm 
> [Kimmo.Lindholm at eke.fi]
> *Sent:* Monday, December 23, 2013 4:49 PM
> *To:* devel at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140107/e49f59cb/attachment.html>


More information about the Devel mailing list