COM AM35 Linux

From Wiki-DB
Revision as of 08:30, 8 May 2012 by Lzenz (talk | contribs) (Created page with "==<br/>Debian system == === Calibrating the touchscreen === $ TSLIB_TSDEVICE=/dev/input/event0 ts_calibrate ===Running example Qt Apps === Run demos with touch-screen as input d...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Debian system

Calibrating the touchscreen

$ TSLIB_TSDEVICE=/dev/input/event0 ts_calibrate

Running example Qt Apps

Run demos with touch-screen as input device:

$ QWS_MOUSE_PROTO=Tslib:/dev/input/event0 /usr/qt/demos/demoname/demoname -qws
For the Qt-Browser change demoname to browser

Run demos with a usb-mouse as input device:

$ QWS_MOUSE_PROTO=Auto:/dev/input/mice /usr/qt/demos/demoname/demoname -qws

Login/Shutdown system

Login:
  Name:     root
  password: foo

Shutdown:
  $ shutdown -h now

Initialize and test CAN

Initialize:
  $ ip link set can0 up type can bitrate 500000

Send test message via cansend (part of can-utils):
  $ cansend can0 100#11.2233.44556677.88