Topic: Debian Squeeze on Chumby8
Hey all,
I am trying to get Debian squeeze on a Chumby8 running off an SD card.
I started with these instructions
http://forum.chumby.com/viewtopic.php?id=6411
I have got to the point where I have X11 running but I can't get ts_calibrate to run correctly
using these TSLIB environment variables:
export TSLIB_TSDEVICE=/dev/input/event0
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_PLUGINDIR=/usr/lib/ts
export TSLIB_CONSOLEDEVICE=/dev/ttyS0
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_CALIBFILE=/etc/pointercal
with this ts.conf
# Uncomment if you wish to use the linux input layer event interface
#module_raw input
# Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d
#module_raw collie
# Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860
#module_raw corgi
# Uncomment if you're using a device with a UCB1200/1300/1400 TS interface
# module_raw ucb1x00
# Uncomment if you're using an HP iPaq h3600 or similar
# module_raw h3600
# Uncomment if you're using a Hitachi Webpad
# module_raw mk712
# Uncomment if you're using an IBM Arctic II
# module_raw arctic2
module_raw input
module pthres pmin=1
module variance delta=30
module dejitter delta=100
module linear
and this /etc/X11/xorg.conf
Section "Device"
Identifier "Chumby Video Device"
Option "UseFBDev" "true"
Driver "fbdev"
#Option "fbdev" "/dev/fb0"
EndSection
Section "InputDevice"
Identifier "Touchscreen"
Driver "tslib"
Option "CorePointer" "true"
Option "SendCoreEvents" "true"
Option "TslibDevice" "/dev/input/event0"
Option "Protocol" "Auto"
Option "Width" "800"
Option "Height" "600"
#Option "EmulateRightButton" "1"
EndSection
Section "ServerLayout"
Identifier "Base layout"
Screen "Chumby Screen"
InputDevice "Touchscreen"
EndSection
Section "Monitor"
Identifier "Chumby Monitor"
DisplaySize 600 800
EndSection
Section "Screen"
Identifier "Chumby Screen"
Device "Chumby Video Device"
Monitor "Chumby Monitor"
EndSection
I get these results
Couldnt load module input
No raw modules loaded.
ts_config: Success
and in case it helps here is what I get with startx:
root@chumby:/# startx
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32 armv5tel Debian
Current Operating System: Linux chumby 2.6.28-M2.1.8.12 #5 Thu Jul 7 13:09:56 PDT 2011 armv5tejl
Kernel command line: root=/dev/mmcblk0p2 rootfstype=ext3 rootwait console=ttyS0,115200 mem=128M uart_
dma init=/linuxrc sysrq_always_enabled brandnum=1000 ro logo.brand=chumby
Build Date: 30 October 2011 09:07:45PM
xorg-server 2:1.7.7-14 (Julien Cristau <jcristau@debian.org>)
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 3 02:27:10 2012
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) FBDEV(0): FBIOBLANK: Invalid argument
SELinux: Disabled on system, not enabling in X server
ts_open failed (device=(null))
(EE) PreInit returned NULL for "Touchscreen"
(EE) FBDEV(0): FBIOBLANK: Invalid argument
(matchbox-desktop:1534): GLib-GObject-CRITICAL **: g_type_class_add_private: assertion `private_size > 0' failed
I thought it may be the patch that was previously needed in Lenny (the min screen size was hardcoded to 1024) but looking at the source it seemed to be patched in the latest version from apt-get
Any help is appreciated - trying to get openFrameworks (http://openFrameworks.cc) going on the device as we have a few of these