This article might contain some answers to these questions. You might be able to find out which component is involved, but if it doesn’t generate any suspicious log messages by itself, what do you do? Or you may not even know if something is happening at all, like when the phone “seems” to consume more power than usual. when the UI locks up or starts lagging or the battery runs out in a very short amount of time. There aren’t many components which are involved in mobile communications, at the end it quickly narrows down to the likes of ofono and rild, and usually the logging facilities and ofono debugging scripts give you enough information to quickly debug the problem.īut there are a lot of other cases when you don’t immediately know who is at fault, e.g. let’s say your phone refuses to connect to the mobile network despite the baseband being powered on and a SIM card being present. In many cases you have a clear idea about what’s going wrong and there are enough log messages, e.g. Even if you’re run grep over all logfiles, you have to know what you’re looking for. You get to have an idea about which component is at fault, or at least what the logged message could look like. The process has to actually log the one thing you’re interested in. Not every single one does, you might have noted all the missing fields in the table at the end of my previous article. The process you are looking for has to actually use a logging facility. Well, log files are an easy way to debug easy problems, but their usefullness can be quite limited: In the last article I introduced you, the reader, to the different logging facilities present on current Ubuntu Touch devices and how you can query the stored messages. Thanks to Oliver Grawert, Stéphane Graber, Ricardo Salveti and Selene Scriven from Canonical for their input. NOTE: This is a continuation of the series and relies on having Developer mode enabled. Hacking Ubuntu Touch, Part 7: System and process monitoring tools (part 1)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |