![]() |
Re: Only boots up in RD Mode
Don't worry, it's pretty cheap. Talk about ~1$. By the way, anyone got an idea what may cause wrong raw BSI value readings + wrong bme battery SoC readings at the same time?...
Also, could You re-try all "{cat /sys/class (...)" again? With full battery? |
Re: Only boots up in RD Mode
bme state of charge readings depend on correct BSI. If BSI is wrong, bme SOC measurement is also wrong, frozen, or always 0.
|
Re: Only boots up in RD Mode
I retried "cat /sys/class/..."
Have the same results but /charge_full wich gives '2056320' value |
Re: Only boots up in RD Mode
Quote:
|
Re: Only boots up in RD Mode
Quote:
|
Re: Only boots up in RD Mode
Ah, I figured it out: To use the libcal library, I needed to add the "-lcal" flag to the gcc command. Also, using '-Wall' was making it not compile because of an implicit mention of ioctl or something like that. Without that it compiled fine. I'm gonna test it as soon as the CSSU and busybox-power are installed on my N900 again.
|
Re: Only boots up in RD Mode
Quote:
Just using -lcal flag as you said (compile for armel) is enough... |
Re: Only boots up in RD Mode
Quote:
Coming back to this tho: Quote:
|
Re: Only boots up in RD Mode
Quote:
ANYWAY - I've just rebooted my N900 using the open source getbootstate and it WORKED. Now, it worked only ONCE, since I have only rebooted with it once. But it worked, no R&D mode on or anything, no errors thrown out. I call that reason to tentatively get our hopes up. |
Re: Only boots up in RD Mode
Rebooted again a second time. Still boots fine - however I noticed that at first it said "Entering state SHUTDOWN" each time at boot. Since my memory sucks I don't quiet remember if this is the same getbootstate behavior as the closed source getbootstate binary gave after a normal shutdown+turn on...Or if this is the same thing that I just said had the 'correct' state of USER just two posts ago (since USER appears in one place for sure during normal boot, and if I recall correctly it shows up where SHUTDOWN is showing up for me now... Except this time I'm really not sure I recall correctly..).
|
| All times are GMT. The time now is 14:25. |
vBulletin® Version 3.8.8