Hi, 2009/10/19 Denis Kenzior <[email protected]>: >> I just got a Openmoko FreeRunner and I wonder how oFono can talk with >> it. >> Use ser2net, but how? Can someone help on some simple steps or >> instructions? Thanks a lot! By the way, the OS installed in it is Android >> Cupcake. Need I change to other OS? > > There are a couple of ways: > - Cross compile oFono itself to run directly on the device using the > calypso > driver. > - Cross compile ser2net, but run oFono on the desktop using the > phonesim > driver. > > Either way you will need the cross compiler and toolchain here: > http://wiki.openmoko.org/wiki/Toolchain > > Note that my device came stock with the OpenMoko rootfs, so I have no > experience with Android. > > For ser2net: > - Cross compile ser2net using the supplied toolchain, I don't remember > exactly, but I think this will get you there: ./configure --prefix=/usr -- > sysconfdir=/etc --host=arm-angstrom-linux-gnueabi
You can possibly avoid the cross compiling if you're going to run oFono on PC anyway, by using netcat instead of ser2net. Either "netcat" or "nc" is usually in the packages repo of any distribution. The command would be # nc -l -p 2000 < /dev/ttySAC0 > /dev/ttySAC0 All other steps would be same as Denis outlined. If you find that the port is spitting corrupt data, it's probably not initialised. I use picocom to initialise ttys, it's: # picocom /dev/ttySAC0 then ^a^q to quit picocom without resetting the port and then re-run nc. Regards _______________________________________________ ofono mailing list [email protected] http://lists.ofono.org/listinfo/ofono
