Ticket #152 (closed defect: invalid)
org.freesmartphone.GSM.Device.Timeout
| Reported by: | mic.renda@… | Owned by: | mickey |
|---|---|---|---|
| Priority: | major | Milestone: | milestone5 |
| Component: | framework/ogsmd | Version: | |
| Keywords: | Cc: |
Description
When I try to activate -> Deactivate -> Activate the GSM module in my OM Freerunner I receive this error:
/org/freesmartphone/GSM/Device: SetAntennaPower? failed: org.freesmartphone.GSM.Device.Timeout
To replicate the error execute this:
mdbus -s org.freesmartphone.frameworkd /org/freesmartphone/Device/PowerControl/GSM SetPower? 1 mdbus -s org.freesmartphone.frameworkd /org/freesmartphone/GSM/Device SetAntennaPower? 1 mdbus -s org.freesmartphone.frameworkd /org/freesmartphone/GSM/Device Register
mdbus -s org.freesmartphone.frameworkd /org/freesmartphone/GSM/Device Unregister mdbus -s org.freesmartphone.frameworkd /org/freesmartphone/GSM/Device SetAntennaPower? 0 mdbus -s org.freesmartphone.frameworkd /org/freesmartphone/Device/PowerControl/GSM SetPower? 0
mdbus -s org.freesmartphone.frameworkd /org/freesmartphone/Device/PowerControl/GSM SetPower? 1 mdbus -s org.freesmartphone.frameworkd /org/freesmartphone/GSM/Device SetAntennaPower? 1
The last command cause a timeout and from this moment I can not to call any /org/freesmartphone/GSM/Device until I restart the phone.
I have this problem with DEBIAN - FSO package updated to the last package. I watched another similar bug already fixed. Is possible that I don't have the last version?
Thank you Michele Renda
Change History
comment:1 Changed 3 years ago by mickey
- Status changed from new to assigned
- Owner changed from mickey@… to mickey
- Milestone set to milestone5

You are not supposed to use org.freesmartphone.frameworkd /org/freesmartphone/Device/PowerControl/GSM. What happens here is that you kill the device underneath the gsm MUXer and ogsmd. Even if you power it on, it will be in a state where operation can not be recovered. I will remove this dbus path in the future. Please _only_ use SetAntennaPower?(), never use SetPower?() on the actual GSM device.