libera/#maemo/ Sunday, 2024-07-21

fireonlivecrowdwho? <:307:32
sunshavi_Hi. on nokia n9 this is giving me access denied. any idea?. dbus-send --type=method_call --print-reply --dest=com.nokia.messaging-ui / com.nokia.MessagingIf.sendSMS string:987654321 string:fromCLI boolean:true18:25
joergno idea if that's even supposed to work on N918:42
sunshavi_ technically it should19:18
sunshavi_at least this one works dbus-send --type=method_call --dest=com.nokia.contacts / com.nokia.maemo.meegotouch.ContactsInterface.openContactCardForPhoneNumber array:string:"987654321"19:18
sicelomaybe needs root?19:26
sicelowith sending of sms being an operation that can cost you money vs. opening a contact card19:27
sunshavi_ sicelo: even with root it fails, probably it should part of a group perhaps19:31
sunshavi_n900 has better dbus api than n9 (this part is lacking on the N9)19:32
sunshavi_on n900 i could from cli opening an sms-ui for an specific number directly with dbus-send --system --type=method_call --print-reply --dest=com.nokia.MessagingUI /com/nokia/MessagingUI com.nokia.MessagingUI.messaging_ui_interface_start_sms string:sms:98765432119:33
sunshavi_But that method sendSMS is not present on the n900 (I think It should). For when the phone is charging and I am on my desktop19:35
sicelomaybe monitor the bus while sending an sms19:36
sunshavi_ how to do that?. which tool?19:37
sicelodbus-monitor19:37
sunshavi_let me check if it is present on the phone. Yes it is19:38
sunshavi_I am going to try it19:38
joergto start with, there are two dbus buses: system and *session*, with session being user-specific afaik20:19
joergand most certainly Aegis on HARM ha, or enforces, some special policies about who may use what on dbus20:21
joerghas, or...20:21
joergdbus itself has a very complex rule set somewhere, I never looked into that20:22
joergcomplexity iirc same level like a NAT/router/firewall20:23
siceloyes, dbus policies20:24

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!