Re: Network Manager

2008-04-03 Thread Alex Zhang

Hi Mickey,

Uh Oh... we have half a dozen of MIPS machines in OpenEmbedded. Building
all that stuff could have been done by:

MACHINE = mtx-1
DISTRO = openmoko

bitbake networkmanager
  


Thanks a million for your tip, I will have a try.  :)

Cheers,
Alex

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Network Manager

2008-04-01 Thread Alex Zhang

Hi Stefan,

Long time no see. :)
I think it's easy to develop a daemon talking with NM to manage the  
networks. But most important thing is to merge NM into our devices,  
because NM depends on many packages like: libnl, hal, udev, dhclient,  
wpa_supplicant ...



That is the point where a good build system comes into play.
OpenEmbedded handles this for us. I hope you don't build all the stuff
for your device by hand.

  


Yes, I did it by hand, because my device is based on MIPS. I have no 
idea how to setup OE to support MIPS. :-[
I wrote a little Makefile to build GLib, DBus, HAL, UDEV, Libnl ... NM, 
it works just fine for me. :)

In addition, though NM-0.7 has a clear framework, but it's not ready ATM :(



Well, have you tested it at least? I'm using SVN rev 3202 of the NM
daemon here for some months now. 


I run SVN r3506 or NM-0.6.5 on my device. They are NOT work so good as 
my expected, maybe I miss something.

It allows me to connect to wired
ethernet, open wifi, WEP wifi, WPA wifi and WPA2 wifi. It is not SVN
HEAD but runs pretty stable. 


You mean on your PC or GTA02?

Of course I'm also waiting for a 0.7
release, but having all the API changes in mind, coding against 0.6.6
makes no sense.

  
Anyway, glad to see you're starting such project, Hope can share some  
idea with you :)



To elaborate a bit more on enlazar. It is not a daemon. It is an UI
for NM using EFL written against a given product spec. The major work
goes into e_nm, a convenience library inside e_dbus.

There are also more ideas how to improve NM itself on mobile
devices. For example keep the wifi connection down most of the time
and react on network requests of applications. Like pppd dial on
demand. But that are just ideas right now.
  


Yes, it needs many effort to improve NM for embedded device.

So if your device uses EFL enlazar could be interesting for you. Or
better e_nm could be interesting. If you don't you EFL, enlazar gives
you nothing extra.
  

Sorry, What's EFL  e_nm?

Thanks so much for your comments!
Alex

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Network Manager

2008-03-31 Thread Alex Zhang

Hi Tick,


In fact we have a project doing such thing, and we are very welcome 
you join us. :D


Cool! Will be great to share experience with you.

The project is http://projects.openmoko.org/projects/enlazar/


I think it's easy to develop a daemon talking with NM to manage the 
networks. But most important thing is to merge NM into our devices, 
because NM depends on many packages like: libnl, hal, udev, dhclient, 
wpa_supplicant ...

In addition, though NM-0.7 has a clear framework, but it's not ready ATM :(

Anyway, glad to see you're starting such project, Hope can share some 
idea with you :)


Cheers,
Alex

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Network Manager

2008-03-30 Thread Alex Zhang

Hi All,

As we know, there are many ways to access Internet in GTA02:
 - wired:usbnet
 - wireless:wifi, bluetooth
 - GSM

Is there any daemon or framework OM uses to manage these networks as 
NetworkManager on PC right now?


We are developing a portable media device with usbnet  wifi support, I 
am planning to use NM-0.7 or to develop a daemon for managing the networks.


Any idea or comments?

Alex

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: No Android on the Neo1973 - Only MyPhone left

2007-12-09 Thread Alex Zhang



So, to get Android running, you need a processor with ARM v5 ISA. I.e. A
gumstix with its XScale processor (Both PXA255  PXA270 should work).
Anyone fancy having a go at putting Android on their MyPhone?

  


Hi All,

I am trying to get Android running on my motorola A1200E (based on 
PXA270) today. And now, the init has been running and framebuffer 
entered graphic mode from text mode. But screen is flashing 
intermittently, looks like phone is trying hard to load Android VM 
without successful.
Do I miss something? Can anybody give me some tips or has interests to 
research together? :-)
BTW, which fb mode is VM running? My phone is 18BPP, (and I tried 16BPP, 
seems framebuffer cannot enter graphic mode from text mode).


Alex Zhang

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Keypad for fingers, not stylus

2007-10-12 Thread Alex Zhang


It might be worth reusing/reimplementing SCIM or other multilingual 
dictionary system (http://www.jw-stumpel.nl/stestu.html) instead of 
T9.  I have used SCIM with Gnome on Ubuntu Linux to convert pinyin to 
mandarin.  I think SCIM also plays nice with X, and I assume it would 
not be too difficult to make it convert number-speak to English.  
So, the hardest part would probably be building the dictionary, and 
getting the whole thing to build and fit on the phone.
AFAIK, there is a Linux Mobile-Phone design house uses SCIM for thier 
product in China.
In fact, I plan to port SCIM to openmoko after openmoko runs OK on my 
A1200 or I get a Neo. :)
And a good news is I remember Sean mentioned in ML that Openmoko 
development team has an input method expert. ;)


Alex Zhang

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Vorbis Support on Nokia N800

2007-10-09 Thread Alex Zhang



It gives me the following error:


GLIB WARNING ** Gstreamer - Failed to load plugin: Opening module 
failed: /usr/lib/gstreamer-0.10/libgstivorbis.so: cannot open shared 
object file: No such file or directory



I have installed the ogg- support package and the libgstivorbis.so is 
there in the /usr/lib/gsteamer-0.10 folder.


Maybe you should try this,
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/gsteamer-0.10

Alex Zhang

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: test message

2007-08-11 Thread Alex Zhang
Me too, cannot get message from all of openmoko lists too. I don't know 
what's happen. Maybe the maintainers can give us an answer!


___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community