Trolltech Home | Qt-embedded-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-embedded-interest Archive, June 2003
ucb1x00 driver


Message 1 in thread

Hello all,
Does a Touchscreen which uses ucb1x00 driver is supported by Qt embedded
3.1.1 or it is necessary to change somethig in the code of the QT (further
than the node name). If yes, to which protocol should I set the
QT_MOUSE_PROTO?
TIA
Filippo


Message 2 in thread

> Does a Touchscreen which uses ucb1x00 driver is supported by Qt embedded
> 3.1.1 or it is necessary to change somethig in the code of the QT (further
> than the node name). If yes, to which protocol should I set the
> QT_MOUSE_PROTO?

No idea 'bout 3.1.1, but in 2.3.x, the ucb1x00 is supported by the
ipaq-ts-raw protocol. We ported Qt/Embedded 2.3.x to the SIMpad webpad,
which uses the ucb1x00. Have a look at the SIMpad patches in the opie
cvs, e.g.
http://cvs.handhelds.org/cgi-bin/viewcvs.cgi/opie/qt/

-- 
 [ signature omitted ] 

Message 3 in thread

Hi,

MontaVista provides a configuration to support ucb1x00 driver for pxa250
processaor for linux kernel 2.4.18. The support of this feature is based
on tslib and you must apply a patch to qt-embedded. It works for QT/E
3.0.5 and it could be used for 3.1.x.

#
# Environment settings for Qt/Embedded 2.3.3
# Target: Intel DBPXA250 (arm_xscale_le)
#

#
# Install touchscreen module and make sure the touchscreen device file
# is present
#

modprobe ucb1x00-ts

#
# tslib settings
#
export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_PLUGINDIR=/usr/share/ts/plugins
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_CONSOLEDEVICE=/dev/tty
export TSLIB_TSDEVICE=/dev/ts

#
# Qt/Embedded settings
#
export QTDIR=/usr/FB/QTE
export PATH=$PATH:$QTDIR/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QTDIR/lib:$TSLIB_PLUGINDIR
export QWS_MOUSE_PROTO=CompaqTPanel


But maybe there is an other way to use it.



Le lun 16/06/2003 à 15:43, Michael Lauer a écrit :
> > Does a Touchscreen which uses ucb1x00 driver is supported by Qt embedded
> > 3.1.1 or it is necessary to change somethig in the code of the QT (further
> > than the node name). If yes, to which protocol should I set the
> > QT_MOUSE_PROTO?
> 
> No idea 'bout 3.1.1, but in 2.3.x, the ucb1x00 is supported by the
> ipaq-ts-raw protocol. We ported Qt/Embedded 2.3.x to the SIMpad webpad,
> which uses the ucb1x00. Have a look at the SIMpad patches in the opie
> cvs, e.g.
> http://cvs.handhelds.org/cgi-bin/viewcvs.cgi/opie/qt/
-- 
 [ signature omitted ]