ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Qt/Embedded - almost there!

To:
Subject: Re: [ts-7000] Re: Qt/Embedded - almost there!
From: Scott Zimmerman <>
Date: Sun, 23 Aug 2009 19:50:58 -0700


Turns out the error is coming from the tslib from fbutils.c.  Looks like I can open /dev/fb0 but not perform those ioctls on it.  I'm going to try commenting them out and hardcoding the screen resolution and see if I get further.

On Sun, Aug 23, 2009 at 6:49 PM, Scott Zimmerman <> wrote:
I'm back to it again.  I recompiled my tslib, and this time I actually used the CCFLAGS and LDFLAGS to make sure it was including the correct libs and include files.  Now I've ended up with a tslib that reports the right stuff when I run ldd on the 7390.  So that's all good.  I checked my configuration and made sure my ts.conf file and it's configured like this:


module_raw input
module pthres pmin=1
module variance delta=30
module dejitter delta=100
module linear

When I built tslib, I left off the "--disableinputapi" flag from configure as that makes the test apps open "/dev/event0" instead of the "/dev/touchscreen/ucb1x00" device which doesn't exist on my 7390.

Now when I run any of the ts apps I get this:

/mnt/root/usr/local/linux-arm/bin # ./ts_calibrate
ioctl FBIOGET_FSCREENINFO: Inappropriate ioctl for device

When I look at the loaded modules, I see this:

/mnt/root/usr/local/linux-arm/bin # lsmod
Module                  Size  Used by
fbcon                  40472  65
font                    7968  1 fbcon
bitblit                 4672  1 fbcon
softcursor              1632  1 bitblit
mousedev               10144  0
usbhid                 16036  0
hid                    25952  1 usbhid
ohci_hcd               27304  0
usbcore               121500  3 usbhid,ohci_hcd
ts_lcd                  4160  0
evdev                   8096  0
ts7370fb                5732  1
tsuart7350              2024  0
tsuart1                13868  1 tsuart7350
tssdcard               31836  0
ts7350                  2928  0
/mnt/root/usr/local/linux-arm/bin #

The error being printed is not coming from the tslib, so I know I'm reaching the device.  Just not sure why it's bailing out.  Any clues on this would be great.  I googled the error but didn't find anything related.

As for my mounts and running out of space, things look like this:

/ # mount
rootfs on / type rootfs (rw)
/dev/root on / type ext2 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev type tmpfs (rw)
none on /dev/pts type devpts (rw)
none on /dev/shm type tmpfs (rw)
192.168.1.140:/nfs/root.7390 on /mnt/root type nfs (rw,vers=3,rsize=32768,wsize=
32768,hard,nolock,proto=udp,timeo=7,retrans=3,sec=sys,addr=192.168.1.140)
/ # df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/ram0                 1507      1097       410  73% /
none                     31256       416     30840   1% /dev
none                     31256         0     31256   0% /dev/shm
192.168.1.140:/nfs/root.7390
                     186386432  51425952 125492576  29% /mnt/root

It looks to me like everyone has plenty of space, but I'm a little fuzzy on rootfs on / versus my nfs stuff on /mnt/root.  I assume rootfs is a ramdisk running on / that is 73% full.  Is there anyway I can get that to use my nfs mount instead?

Thanks.  I think tslib was the problem with my qt stuff before.  I'm going to see if I can get qt built correctly now.  But I don't think it's going to run until I can make the tslib test apps run.

...Zz




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU