![]() |
2009-01-29
, 20:33
|
|
Posts: 334 |
Thanked: 366 times |
Joined on Nov 2008
@ Italy
|
#52
|
If you want to access retu as a user, just run
chmod a+rw /dev/retu
(You need to run this every time you boot).
About using the info from python scripts - you can use ioctls directly from python, there is no need to use retu-adc program or variant.
Something like:
import fcntl
f = open("/dev/retu")
adc8 = fcntl.ioctl(f, 0x6003, 8)
![]() |
2009-03-23
, 19:13
|
|
Posts: 1,562 |
Thanked: 349 times |
Joined on Jun 2008
|
#53
|
![]() |
2009-06-03
, 16:45
|
Posts: 15 |
Thanked: 2 times |
Joined on Mar 2009
@ Lappeenranta, Finland
|
#54
|
![]() |
2009-06-04
, 11:55
|
Posts: 15 |
Thanked: 2 times |
Joined on Mar 2009
@ Lappeenranta, Finland
|
#55
|
Nokia-N810-23-14:/home/user# ./kcbatt -q 98 Nokia-N810-23-14:/home/user# ./kcbatt -q 99 Nokia-N810-23-14:/home/user# ./kcbatt -q 99 Nokia-N810-23-14:/home/user# ./kcbatt -q 98
![]() |
2009-06-04
, 16:22
|
Posts: 15 |
Thanked: 2 times |
Joined on Mar 2009
@ Lappeenranta, Finland
|
#56
|
Extremely unlikely - those chips are used in many Nokia phones, not only in the tablets. Furthermore - those are probably generic GPIO/ADC/RTC/etc. devices. The real question is what is connected to which GPIOs, ADC ports, and how.