Notices


Reply
Thread Tools
Posts: 203 | Thanked: 445 times | Joined on Mar 2010
#31
I can confirm that the .desktop file as installed from the repos lacks the full path to bnf.
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#32
It is not lacking anything - icons placed in standard directories where hildon expect them, doesn't need to be provided with full path.

Thanks for confirming, though

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 2 Users Say Thank You to Estel For This Useful Post:
Posts: 10 | Thanked: 0 times | Joined on Jun 2012
#33
Hello, it is not about icons but about the path to the binary.
 
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#34
Yes, it was not about icons (where full path is not only not needed, but must not be set, to my experience).

But I have to apologize, Estel.
Of course a sudo in front of command does not require full path!

But I had similar once and thought it was that (not having root rights); and it was late...

As I just greyed out my nonsense in former post, it was not fully nonsense ;j My script is in totally different location!

karlitos
can you run
sudo bnf
from terminal as user (not as root)?
Please open a new x-term and directly type
sudo bnf

If that starts the window or black screen, then give us output of
lsmod | grep bq27

Last edited by peterleinchen; 2012-07-20 at 19:06.
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Posts: 2,290 | Thanked: 4,133 times | Joined on Apr 2010 @ UK
#35
@Estel
Trying to calibrate my battery using your bqCapacity post.

Have you forgotten to mention ./i2cget needs chmod as well as bq27200.sh?
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following 2 Users Say Thank You to sixwheeledbeast For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#36
Good catch. I need to refine instructions anyway - i2cget is available from i2c-tool package for ages (in fact, was in time of writing initial tutorial...), so messing with placing i2cget manually isn't needed. bq27200.sh definitely needs chmod +x it.

Considering, that bq27200.sh is sitting in some random server for ages, I guess I will refine it a little, ask ShadowJK for permission and put it as part of bnf package - it will make things much easier.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 4 Users Say Thank You to Estel For This Useful Post:
uros's Avatar
Posts: 151 | Thanked: 108 times | Joined on Jan 2011 @ Belgrade, Serbia
#37
Hi Estel

Any idea why sudo bnf after reflashing my devica and clean install CSSU fthumb sudo bnf granted me with

Error: Could not set address to 0x55: Device or resource busy
/usr/sbin/bnf: line 44: arithmetic syntax error

tnx
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#38
Looks like something is occupying i2cbus - I bet, that bq27x00_battery module is loaded at startup. check your blacklist and enforced modules list (refer to kernel-power thread, it was discussed there, "somewhere" - I don't remember locations now, sadly ).

// edit

For quick confirm/deny, try (as root) modprobe -r bq27x00_battery - if it accepts command without errors, and then, bnf starts to work, you can be sure it is it.
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!

Last edited by Estel; 2012-10-26 at 18:53.
 
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#39
Yep, exactly that is my assumption/explanation also

@Estel
Maybe you meant that from here on and ff?
Can not remember in kernel thread, but maybe also there...


--edit
and I remembered why bnf called from menu icon may sometimes not display any output, but shows black screen
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature

Last edited by peterleinchen; 2012-10-26 at 19:35.
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#40
Yea

BTW, don't get too 1337 with blacklisting bq27x00_battery - do it using a way, that you will be able to revert easily. Current progress on bme replacement (via re-written bq2415_battery and bq27x00_battery modules) mean, that after some time, you *will* want to use "reborn" bq27x00_battery, as module for exporting things for userland bme replacement bits.

After all, talking directly to i2c is always - more or less "dirty hack", and with dawn of proper BME replacement, it's going to get obsolete. While it will - for sure - mean availability of nicely integrated, GUI battery meters, it doesn't mean BNF will go away, though - for those hardy pack of people, that still like it, I will for sure release version that uses bq27x00_battery instead of i2cget, as soon as BME replacement using kernel module will be available.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!

Last edited by Estel; 2012-10-26 at 20:03.
 

The Following 2 Users Say Thank You to Estel For This Useful Post:
Reply

Tags
battery, bnf script, bq27200, bq27x00, charging


 
Forum Jump


All times are GMT. The time now is 17:27.