maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCE] Advanced Interface Switcher (https://talk.maemo.org/showthread.php?t=60473)

joshv06 2010-11-07 20:40

Re: [ANNOUNCE] Advanced Interface Switcher
 
Does anyone know how to get this to work with PR1.3? It's not showing up in the drop down menu.

Thanks

MaddogG 2010-11-09 12:09

Re: [ANNOUNCE] Advanced Interface Switcher
 
Quote:

Originally Posted by joshv06 (Post 866271)
Does anyone know how to get this to work with PR1.3? It's not showing up in the drop down menu.

Thanks

Same problem here...

xiton 2010-11-09 15:44

Re: [ANNOUNCE] Advanced Interface Switcher
 
I'm begging for an update or fix. Or even both! :)

avidscavenger 2010-11-17 06:35

Re: [ANNOUNCE] Advanced Interface Switcher
 
For what it's worth, it's working with PR1.3 for me. It didn't work immediately after the upgrade, but I ended up re-flashing anyway, then installed advanced-interface-switcher and it worked.

I see there are a number of suggested improvements in there already - so I hope I'm not repeating what went before, but my main gripe with it is that it won't shut down BT while there is an active BT connection. So I end up using bluezwitch anyway because it can do this.

vebulous 2010-11-19 05:18

Re: [ANNOUNCE] Advanced Interface Switcher
 
I too am having problems with Advanced Interface Switcher (and Advanced Power Monitor, program made by same author) not showing up on the applet menu (or statusbar, or whatever that thing is called).

As per OP's suggestion for debugging, i ran
Code:

python /usr/lib/hildon-desktop/advanced-interface-switcher.py 1
But it said
Code:

[Errno 2] No such file or directory
did a quick "ls" to see what files were in /usr/lib/hildon-desktop; the problem was and it turns out you have to use underscores "_" instad of dashes "-".

So the correct code to run is
Code:

python /usr/lib/hildon-desktop/advanced_interface_switcher.py 1
Anyway, after running the python script i get this as an output
Code:

process 4681: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5757.
This is normally a bug in some application using the D-bus library.
process 4681: arguments to dbus_connection_set_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5721.
This is normally a bug in some application using the D-bus library.
Aborted

Now, I dont know what to do from here. I know enough about linux just to break it, but not how to fix it :D

Thanks to anyone who tries to pick at this, its greatly appreciated.

BACKSTORY: I had this same problem but i cant remember if it was before or after PR1.3. The programs failed to show up, but after some time, they both started working...it might have to do with D-Bus itself, but im not sure. And yes, i did the whole "reflash" then "reboot" then "reboot again". No dice. Also tried POWATOOLS and see if enabling then disabling would fix. No go.

But when the program does work (along with Advanced Power Monitor) they are awesome. I don't know why this isn't enabled by default in Maemo?

EDIT: Ran the same command for Advanced Power
Code:

python /usr/lib/hildon-desktop/advanced_power.py 1
Got nearly the same output
Code:

process 4682: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5757.
This is normally a bug in some application using the D-bus library.
process 4682: arguments to dbus_connection_set_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5721.
This is normally a bug in some application using the D-bus library.
Aborted

Only the process number changed. Just thought I'd throw it out there.

joshv06 2010-11-19 05:41

Re: [ANNOUNCE] Advanced Interface Switcher
 
A simple/noob way to get this app working that I've found, is to install this app last after all of your apps are installed. It just works.

vebulous 2010-11-27 19:22

Re: [ANNOUNCE] Advanced Interface Switcher
 
Quote:

Originally Posted by joshv06 (Post 877643)
A simple/noob way to get this app working that I've found, is to install this app last after all of your apps are installed. It just works.

Yeah, i tried that when i did my latest reflash. But even after installing Advanced power last, then rebooting (as suggested after installing anything) the applet still didnt show up.

SOLIDSNAKE 2011-01-22 00:15

Re: [ANNOUNCE] Advanced Interface Switcher
 
Hi I stumbled on a fix for me.

Firstly uninstall advanced-power and advanced-interface-manager.

I then uninstalled from terminal python-dbus and Python-imaging

So in X term:

root

apt-get remove python-dbus

Note: Uninstalling python-dbus will affect some apps installed and these apps will be removed with it.

then:

apt-get remove python-imaging

run: apt-get update

After this reinstall Python-dbus and python-imaging

apt-get install python-dbus

apt-get install python-imaging

once this has completed for me advanced power and interface manager worked after reboot.But did work before reboot just was a bit messed up (showing power bar in GSM position etc).

Hope this helps

motom 2011-01-29 19:28

Re: [ANNOUNCE] Advanced Interface Switcher
 
I flashed my n900, advanced interface switcher and advanced power are some of the apps i want to install
after many attempts and they failed to appear on the status bar, I'm able to make it works.
here's what I tried:
basically I installed advanced interface switcher reboot,
then uninstall it reboot,
reinstall again... it appear on the status bar...
and the advanced power also appear...
I don't know why but it works...
hope it helps others.

:)

412b 2011-04-08 13:52

Re: [ANNOUNCE] Advanced Interface Switcher
 
For those having problems with fresh install on PR1.3: somehow new firmware fails to install advanced-power-common correctly, all you need is to reinstall advanced-power-common.


All times are GMT. The time now is 21:14.

vBulletin® Version 3.8.8