Re: [SailfishDevel] The Other Half I2C

2014-01-07 Thread Kalle Jokiniemi

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

Re: [SailfishDevel] The Other Half I2C

2013-12-27 Thread Kimmo Lindholm
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

Re: [SailfishDevel] The Other Half I2C

2013-12-23 Thread Kimmo Lindholm
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

Re: [SailfishDevel] The Other Half I2C

2013-12-23 Thread David Greaves
>From some (soon-to-be-released) docs by Kalle Jokiniemi

# Enable VDD
echo 1 > /sys/devices/platform/reg-userspace-consumer.0/state
# Disable VDD
echo 0 > /sys/devices/platform/reg-userspace-consumer.0/state

David

On 23/12/13 14:49, Kimmo Lindholm wrote:
> 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.
>  
>  
>  
> Best Regards,
> -  --... ...--  -.. .  ---  ..---  --.- .--. 
> 
>  
> *Kimmo Lindholm *
> *Hardware and Platform Development Manager*
>  
> EKE-Electronics Ltd.
> Piispanportti7, FI-02240 Espoo, Finland
> Tel. +358 9 6130 3305, fax +358 96130 3300, mobile +358 40 500 0081
> kimmo.lindh...@eke.fi www.eke.com 
>  
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
>  
>  
>  
>  
> 
> 
> ___
> SailfishOS.org Devel mailing list
> 

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] The Other Half I2C

2013-12-23 Thread Jonni Rainisto

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.



Best Regards,
-  --... ...--  -.. .  ---  ..---  --.- .--.  


Kimmo Lindholm
Hardware and Platform Development Manager

EKE-Electronics Ltd.
Piispanportti7, FI-02240 Espoo, Finland
Tel. +358 9 6130 3305, fax +358 96130 3300, mobile +358 40 500 0081
kimmo.lindh...@eke.fi www.eke.com<http://www.eke.com>

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.




___
SailfishOS.org Devel mailing list

[SailfishDevel] The Other Half I2C

2013-12-23 Thread Kimmo Lindholm
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.



Best Regards,
-  --... ...--  -.. .  ---  ..---  --.- .--.  


Kimmo Lindholm
Hardware and Platform Development Manager

EKE-Electronics Ltd.
Piispanportti7, FI-02240 Espoo, Finland
Tel. +358 9 6130 3305, fax +358 96130 3300, mobile +358 40 500 0081
kimmo.lindh...@eke.fi www.eke.com

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.




___
SailfishOS.org Devel mailing list