Ask / Submit

HowTo: enable debug mode with ofono

asked 2017-12-01 15:01:48 +0300

harry gravatar image

To enable debug mode you have to create a text file which ends with ".conf" in the directory "/var/lib/environment/ofono/" and set the variable "OFONO_DEBUG" to "-d". After a restart of ofono service it will log in debug mode for ofono. To undo this simply delete the file and restart ofono.

echo "OFONO_DEBUG=-d" > /var/lib/environment/ofono/debug.conf

Simply reboot your phone. Then you can see what is going on

journalctl --unit=ofono -f
edit retag flag offensive close delete

2 Answers

Sort by » oldest newest most voted

answered 2017-12-01 15:55:19 +0300

coderus gravatar image

edit flag offensive delete publish link more



answered 2017-12-01 15:55:21 +0300

why not use ofono logger in openrepos or Jolla store? it is developed by sailor

edit flag offensive delete publish link more


thanks, I did not know that this exists

harry ( 2017-12-01 16:23:16 +0300 )edit

imho it does not cover all usecases. So there are two options one can choose from.

harry ( 2017-12-01 16:53:05 +0300 )edit

Why install an app when all you need is two lines of code? It reminds me of the Android sheeple who install an app for every single news site they read, when all they'd really need is the browser.

My philosophy since the good ole days of the Nokia Internet Tablets has been "Less Apps, More Terminal", so I'll gladly upvote the original post and ignore all attempts at making me install something I don't need.

bocephus ( 2017-12-02 07:01:01 +0300 )edit

This app provides a direct channel to our developer - it is easy to send the log over email to the telephony expert.

Everyone can of course do it in the way he/she prefers. :-)

jovirkku ( 2018-01-11 10:10:04 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2017-12-01 15:01:48 +0300

Seen: 264 times

Last updated: Dec 01 '17