Monthly Archives: September 2013

IEEE1588 PTPv2

Standards Standards/Ethernet PTP/frames
National Institute of Standards and Technology: IEEE 1588


Why is IEEE 1588 so accurate?
End-to-End Versus Peer-to-Peer
IEEE 1588, Standard for a Precision Clock Synchronization Protocol (PDF)
Precision Time Protocol (PTP/IEEE-1588) (PDF)
Evaluation of 1588v2 for Deployment (PDF)

PTPv2 Simulator

Similiar programs

Windows Based Pcap Editor


Symmetricom, Inc.
Microsemi (Symmetricom): TimeProvider 5000 (PTP IEEE 1588 v2 Grandmaster Clock)
Meinberg Funkuhren GmbH & Co. KG


Time server using 1PPS GPS receiver


Bug 6126 – 1588-2008 does not decode tlvType in Signaling Message

TI Voyage 200: Cheatsheet


Programming for TI Calculator | TIGCC Tutorial #1
CAVERUSH by HeroQbe #GPPCC6 (source code)


List/Vector operations List append
Array/Matrix operations
List of lists: use comma!!



YouTube Programming Tutorial

  • If
  • For
  • Disp

Programación Voyage 200 #1
Programación Voyage 200 #2
Programación Voyage 200 #3 (If)
Programación Voyage 200 #4 (Ejemplo)
Programación Voyage 200 #5 Entrada y Salida de datos


TI-Basic Developer

[   50.007217] usb 2-1.7: new full-speed USB device number 5 using ehci-pci
[   50.117451] usb 2-1.7: New USB device found, idVendor=0451, idProduct=e001
[   50.117456] usb 2-1.7: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   50.117459] usb 2-1.7: Product: TI-GRAPH LINK USB
[   50.117462] usb 2-1.7: Manufacturer: Texas Instruments

TiLP Project at TiLP

$ sudo apt-get install tilp2 
[sudo] password for andreas: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libticables2-6 libticalcs2-11 libticonv7 libtifiles2-9
The following NEW packages will be installed:
  libticables2-6 libticalcs2-11 libticonv7 libtifiles2-9 tilp2

TiEmu is a multi-platform emulator for TI89 / TI89 Titanium / TI92 / TI92+ / V200PLT hand-helds.

TilEm is an emulator and debugger for Texas Instruments Z80-based graphing calculators.

Basic Function Graphing

  • Finding y(x) at a Specified Point
  • Finding a Zero, Minimum, or Maximum within an Interval
  • Finding the Intersection of Two Functions within an Interval
  • Finding the Derivative (Differenzial) at a Point
  • Finding the Numerical Integral over an Interval
  • Finding an Inflection Point (Wendepunkt) within an Interval
  • Finding the Distance between Two Points
  • Drawing a Tangent Line

Units and Constants

List of Predefined Constants on the Voyage 200 Graphing Calculators
The Stefan-Boltzmann Constant Not Displaying as Listed in the Voyage 200 Guidebook

Serial Port Access Control


Cannot open /dev/ttyS0: Permission denied


$ ls -la /dev/ttyUSB0 
crw-rw---- 1 root dialout 188, 0 Sep 29 17:59 /dev/ttyUSB0

$ groups $USER
andreas : andreas adm cdrom sudo dip plugdev lpadmin sambashare wireshark

$ sudo gpasswd --add $USER dialout
Adding user andreas to group dialout

$ groups $USER
andreas : andreas adm dialout cdrom sudo dip plugdev lpadmin sambashare wireshark

Source: Serial port terminal > Cannot open /dev/ttyS0: Permission denied

Freescale/Motorola 68HC12

  • PC68HC912B32
  • 68HC912
  • 68HC12
  • HCS12
  • MC9S12
  • MC9S12XS128MAL
  • MC9S12XEP10
  • MC9S12XDT256


Freescale MC9S12 and MC9S12X 68HC12
Freescale 68HC12
68HC12 CPU and Peripheral Overview
Türkisches 68HC12 Tutorial
M68HC12B32EVB Evaluation Board (PDF)
Microcontroller and PLD projects – 68HC11 (Motorola)
Roger’s Embedded Microcontrollers Home Page


GCC-HCS12 Video Tutorials
Getting Started with GCC for Motorola 68HC12 Using DRAGON12 and MiniDRAGON+ (PDF)

GCC Compiler

stackoverflow: GCC toolchain for 68HC12/68HC12X
GCC 3.3.6: 68HC11 & 68HC12 Windows Packages
GCC 3.3.1: 68HC11 & 68HC12 Windows Packages
Weblog GNU 68HC11/12
GNU C and the MicroController eXecutive for 68HC12


ELMICRO: Elektronikladen
ELMICRO: CardS12 HCS12 / S12X Controller Modul
BiPOM: 68HC12 Training Kit – DRAGON12-Plus2

Technological Arts neCore12: “networked embeddable” microcontroller
MicroController Pros LLC: MC9S12NE64 Embedded Ethernet Starter Kit


weixinliang729: Freescale development board for MC9S12XS128MAL XS128
weixinliang729: Freescale USBDM Emulator BDM Support HCS12 HC08 Coldfire Codewarrior
zysz68: XS128 Evaluation Board for Freescale MC9S12XS128MAL

xrdp (sesman-Xvnc) Keyboard Layout

How to use Remote Desktop connection against Ubuntu 12.04
XRDP – How To Make your keyboard “special keys” (Alt+Gr, Up,Down,..) working when using XRDP

$ onboard
2015-04-15 18:15:14,063:WARNING:Config: mousetweaks GSettings schema not found, mousetweaks integration disabled.
2015-04-15 18:15:14,407:WARNING:OnboardGtk: vk: XkbGetKeyboard failed.
2015-04-15 18:15:14,481:WARNING:Onboard.XInput: Failed to create osk.Devices: failed to initialize XInput extension
2015-04-15 18:15:14,481:WARNING:TouchInput: XInput event source failed to initialize, falling back to GTK.
2015-04-15 18:15:14,481:WARNING:Onboard.Keyboard: XInput click simulator CSFloatingSlave unavailable, falling back to CSButtonMapper.
2015-04-15 18:15:14,721:WARNING:TouchInput: XInput event source failed to initialize, falling back to GTK.
2015-04-15 18:15:15,868:WARNING:OnboardGtk: vk: XkbGetKeyboard failed.
2015-04-15 18:15:16,866:WARNING:OnboardGtk: vk: XkbGetKeyboard failed.

Microsoft’s proprietary Remote Desktop Protocol (RDP)

Language Code

@OSLang codes
Locale IDs Assigned by Microsoft
Locale IDs, Input Locales, and Language Collections for Windows XP and Windows Server 2003

German – Switzerland => 0807

Bug Report

Keyboard not working

Keyboard mapping

GitHub: FreeRDP/xrdp/instfiles/
GitHub: FreeRDP/xrdp/instfiles/km-0807.ini

# cd /root
# git clone
# cd /etc/xrdp
# cp /root/xrdp/instfiles/km-0807.ini km-0807.ini


xrdp tab does not work
Bash auto_completion with Xubuntu and xrdp from windows
Fix for xubuntu/xrdp tab/autocomplete in multi-user environment

Xlib KeySym KeyCode

Nead help to create a shortcut with Xlib in C
Convert ASCII character to x11 keycode
Xkb: How to convert a keycode to keysym

Display *display = ...;
KeySym sym_a = XStringToKeysym("A");
KeyCode code_a = XKeysymToKeycode(display, sym_a);


Xrdp (= FeeRDP ?)
Remmina – The GTK+ Remote Desktop Client

xrdp, X11rdp and X11RDP-o-Matic

X11RDP-o-Matic Version 3 Now Released
GitHub: X11RDP-o-Matic


 Done. The new package has been installed and saved to


 You can remove it from your system anytime using:

      dpkg -r xrdp

Selecting previously unselected package x11rdp.
(Reading database ... 161218 files and directories currently installed.)
Unpacking x11rdp (from .../Xorg/x11rdp_0.7.0-1_amd64.deb) ...
Setting up x11rdp (0.7.0-1) ...
(Reading database ... 174238 files and directories currently installed.)
Preparing to replace xrdp 0.7.0-1 (using .../xrdp/xrdp_0.7.0-1_amd64.deb) ...
Unpacking replacement xrdp ...
Setting up xrdp (0.7.0-1) ...
Processing triggers for man-db ...
update-rc.d: using dependency based boot sequencing
insserv: script sedqp6v5P: service xrdp already provided!
[ ok ] Starting Remote Desktop Protocol server : xrdp sesman.
X11rdp and xrdp should now be fully installed, configured, and running on this system. One last thing to do now is to configure which desktop will be presented to the user after they log in via RDP. Use the RDPsesconfig utility to do this.

GTK+ Container Superclass


  • Container widgets are the inner nodes in the resulting tree of widgets: they contain other widgets.
  • There are two major kinds of container widgets in GTK+.
    • The first type of container widget has a single child widget and derives from GtkBin. These containers are decorators, which add some kind of functionality to the child.
    • The second type of container can have more than one child; its purpose is to manage layout. This means that these containers assign (= zuweisen, bestimmen) sizes and positions to their children.

GtkContainer: Description

Child properties

  • GtkContainer introduces child properties. These are object properties that are not specific to either the container or the contained widget, but rather to their relation.

GtkContainer: Child properties


  • The border is added on all sides of the container.
  • To add space to only one side, one approach is to create a GtkAlignment widget, call gtk_widget_set_size_request() to give it a size, and place it on the side of the container as a spacer.