User talk:Alessandro

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Settingsgui bug: Answer)
(What does "ipkgorphan" do?: Answer)
Line 40: Line 40:
  
 
I was unwilling to try it without some brief clue about what it's supposed to do :-)
 
I was unwilling to try it without some brief clue about what it's supposed to do :-)
 +
 +
It reads ipkg database and computes which packages are 'leaf' in the graph. That is those packages
 +
that are not needed by any other package. Examples are the task-openmoko-* packages which are only
 +
meta packages used to install all the needed programs.
 +
 +
This program is useful when you need space in rootfs, as every program it lists can be removed without
 +
breaking any other dependency. It is also useful in the case you want to try a program that needs a
 +
library. You install both packages. Then you try the program and remove it as you don't like it.
 +
The package of the library remains if you don't remember to uninstall it explicitely. That package
 +
name will be shown by ipkgorphan.

Revision as of 13:14, 13 September 2007

Settingsgui bug

I added your repository (it took four tries because it's very poorly documented that the file name in /etc/ipkg/ has to end in ".conf"!), ran ipkg update, and installed settingsgui. This didn't seem to create any way to RUN it from the screen (perhaps you have to reboot? I wasn't willing to do that, seemed too much like Microsoft. My old Zaurus was able to install apps without rebooting.)


The desktop file that the packages installs has to be read by the openmoko application list program.
For this to happen it is enough to restart that application or more simply done the xserver (the
script in /etc/init.d/ would do the trick)

So I ran it from a shell with DISPLAY set. It ran and was able to control the screen brightness. But when dealing with GSM, it said on the terminal:

Executes subprocess [/usr/bin/libgsmd-tool -m shell]
libgsmd-tool: <# # Power-On>
libgsmd-tool: <# Register>
libgsmd-tool: <EVENT: Netreg searching for network >
Exception in thread Thread-3:
Traceback (most recent call last):
 File "/usr/lib/python2.5/threading.py", line 460, in __bootstrap
   self.run()
 File "/usr/lib/python2.5/site-packages/SettingsGUI/ProcessInterface.py", line 131, in run
   event[1](line)
 File "/usr/lib/python2.5/site-packages/SettingsGUI/GSMPanel.py", line 112, in network_registration_changed
   location_area = line.split(" ")[7]
IndexError: list index out of range

I don't know why. I was able to manually (with atcmd mode) get my SIM to register, make calls (no audio), and send an SMS. FYI.

Addendum: I tried the last settings page (GPRS), which won't work with T-Mobile Prepaid sim. But when I clicked "Connect", it failed without any error message. In this case I don't even think the GSM modem is connected to T-Mobile yet...perhaps better error reporting here would be good.


For this error you have to ask Kriss who is the developer of SettingsGUI (I just did the package).
I'll drop him an email telling to read here.

What does "ipkgorphan" do?

I was unwilling to try it without some brief clue about what it's supposed to do :-)

It reads ipkg database and computes which packages are 'leaf' in the graph. That is those packages
that are not needed by any other package. Examples are the task-openmoko-* packages which are only
meta packages used to install all the needed programs.

This program is useful when you need space in rootfs, as every program it lists can be removed without
breaking any other dependency. It is also useful in the case you want to try a program that needs a
library. You install both packages. Then you try the program and remove it as you don't like it.
The package of the library remains if you don't remember to uninstall it explicitely. That package
name will be shown by ipkgorphan.
Personal tools

Settingsgui bug

I added your repository (it took four tries because it's very poorly documented that the file name in /etc/ipkg/ has to end in ".conf"!), ran ipkg update, and installed settingsgui. This didn't seem to create any way to RUN it from the screen (perhaps you have to reboot? I wasn't willing to do that, seemed too much like Microsoft. My old Zaurus was able to install apps without rebooting.)


The desktop file that the packages installs has to be read by the openmoko application list program.
For this to happen it is enough to restart that application or more simply done the xserver (the
script in /etc/init.d/ would do the trick)

So I ran it from a shell with DISPLAY set. It ran and was able to control the screen brightness. But when dealing with GSM, it said on the terminal:

Executes subprocess [/usr/bin/libgsmd-tool -m shell]
libgsmd-tool: <# # Power-On>
libgsmd-tool: <# Register>
libgsmd-tool: <EVENT: Netreg searching for network >
Exception in thread Thread-3:
Traceback (most recent call last):
 File "/usr/lib/python2.5/threading.py", line 460, in __bootstrap
   self.run()
 File "/usr/lib/python2.5/site-packages/SettingsGUI/ProcessInterface.py", line 131, in run
   event[1](line)
 File "/usr/lib/python2.5/site-packages/SettingsGUI/GSMPanel.py", line 112, in network_registration_changed
   location_area = line.split(" ")[7]
IndexError: list index out of range

I don't know why. I was able to manually (with atcmd mode) get my SIM to register, make calls (no audio), and send an SMS. FYI.

Addendum: I tried the last settings page (GPRS), which won't work with T-Mobile Prepaid sim. But when I clicked "Connect", it failed without any error message. In this case I don't even think the GSM modem is connected to T-Mobile yet...perhaps better error reporting here would be good.


For this error you have to ask Kriss who is the developer of SettingsGUI (I just did the package).
I'll drop him an email telling to read here.

What does "ipkgorphan" do?

I was unwilling to try it without some brief clue about what it's supposed to do :-)

It reads ipkg database and computes which packages are 'leaf' in the graph. That is those packages
that are not needed by any other package. Examples are the task-openmoko-* packages which are only
meta packages used to install all the needed programs.

This program is useful when you need space in rootfs, as every program it lists can be removed without
breaking any other dependency. It is also useful in the case you want to try a program that needs a
library. You install both packages. Then you try the program and remove it as you don't like it.
The package of the library remains if you don't remember to uninstall it explicitely. That package
name will be shown by ipkgorphan.