View source for Host OS Tips

From Openmoko

Jump to: navigation, search

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Administrators.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page:

Return to Host OS Tips.

Personal tools

With a variety of linux distributions come a myriad of differences. Below are some quirks you may find when building, flashing or talking to your Neo1973

OpenSuSE 10.2

u-boot

When booting the Neo1973 in u-boot mode /dev/ttyACM0 may not appear automatically. You may have to:

# modprobe cdc_acm

before hand. Conversely cdc_ether seems to work automatically without any issues.

VNC

Virtual Network Computing (VNC) is a graphical desktop sharing system which uses the RFB protocol to remotely control another computer. It transmits the keyboard and mouse events from one computer to another, relaying the graphical screen updates back in the other direction, over a network. (source: Wikipedia)

Install a VNC server on the FR

# opkg install x11vnc

Create a launcher icon on the desktop like this:

# cat /usr/share/applications/x11vnc.desktop 
[Desktop Entry]
Encoding=UTF-8
Name=x11vnc
Comment=Bring up x11vnc
Exec=xterm -e x11vnc -display :0.0 -ncache 10
Icon=x11vnc
Terminal=false
Type=Application
Categories=Application;Utilities;
SingleInstance=true
StartupNotify=true

One can now fully control the FR from the desktop by launching

$ vncviewer 192.168.0.202:0

It even accepts keyboard input, for example in the dialer, or any other control using the desktop mouse as the styler; this way it's also very easy to make screenshots for presentation, or even capture a session in a movie with:

$ vnc2swf openmoko.swf 192.168.0.202:0

some examples here:

http://www.unixarea.de/home.jpg http://www.unixarea.de/minimo.jpg http://www.unixarea.de/dialer.jpg

Posted by Matthias Apitz on the community mailing list, 28/09/2008