From: Grahame J. <gb...@th...> - 2007-12-27 20:14:47
|
Latest oe. Yes It loads tsc2003 during boot. tsdev loads but is not required (Obsolite) I tried running /etc/X11/Xserver but it gets confused about the mouse device among other things. Somehow the device changed from /dev/input/touchscreen0 to /dev/input/ts0 after I updated kernel & modules but by changing the link to event0, that was fixed Grahame Steve Sakoman wrote: > Grahame, > > Which svn revision are you working with? The latests revs shouldn't > need the modprobe tsc2003. > > Steve > > On Dec 27, 2007 3:02 AM, Grahame Jordan <gb...@th...> wrote: > >> Good News >> >> First of all: >> Add wiring mod >> >> bitbake gumstix-x11-image >> Install image and boot >> >> modprobe tsc2003 >> After a while it will talk on i2c. This may be a speed issue? >> >> export DISPLAY=:0 >> ln -s /dev/input/event0 /dev/input/touchscreeen0 >> >> Xfbdev & xtscal >> Calibrate screen "Thanks to my son on this one :)" >> x-window-manager & >> >> Touch screen is working! >> >> Needs tweaking but a good start >> >> >> Cheers >> >> Grahame Jordan >> >> >> >> >> Steve Sakoman wrote: >> >>>> may need to tweak the values in /etc/X11/Xserver to be more >>>> appropriate for your setup (although those changes might already be >>>> present?? >>>> >>>> >>> Yes, I tweaked /etc/X11/Xserver to incorporate a couple of changes >>> needed to work with gumstix. >>> >>> I found that if you kill the touchscreen calibration tool that >>> launches at boot you will get a desktop with a few icons. In the most >>> recent build you can connect a usb mouse, move the cursor around the >>> screen , and even launch a couple of the applets. For some reason the >>> mouse only works after you press the escape key on the keyboard. >>> >>> As I said, this is all still highly experimental :-) I'm surprised >>> anyone noticed it was there! It's also a bit hefty in size. >>> Surprisingly the glibc version is smaller than the uclibc version. >>> >>> Steve >>> >>> >>> On Dec 26, 2007 6:30 PM, Chris Dollar <chr...@gm...> wrote: >>> >>> >>>> Hi Grahame, >>>> >>>> Xfbdev should work fine with /dev/input/event0. The gumstix-x11-image >>>> file was based off of a build I did for a connex + Alps lcd, so you >>>> may need to tweak the values in /etc/X11/Xserver to be more >>>> appropriate for your setup (although those changes might already be >>>> present?? I only build for my custom setup...). Also, I'm not sure >>>> that the touchscreen driver for the tsc2003 is working properly yet, >>>> which might cause you some problems starting X. >>>> >>>> Chris >>>> >>>> >>>> On Dec 26, 2007 7:11 PM, Grahame Jordan <gb...@th...> wrote: >>>> >>>> >>>>> Hi, >>>>> >>>>> I have compiled and installed oe based on gumstix-x11-image.bb. >>>>> When I run cat /dev/input/event0 it is spewing information, however it >>>>> reacts to my finger on the screen. >>>>> >>>>> This is some of the spewing information: >>>>> tsc2003_read: cmd=1] pd=3 m=1 >>>>> tsc2003_read: val[1] = 7878 >>>>> tsc2003_read: cmd=1] pd=2 m=1 >>>>> tsc2003_read: val[1] = 7920 >>>>> tsc2003_read: cmd=c] pd=3 m=1 >>>>> tsc2003_read: val[c] = 78 >>>>> tsc2003_read: cmd=d] pd=3 m=1 >>>>> tsc2003_read: val[d] = f778 >>>>> tsc2003_read: cmd=e] pd=3 m=1 >>>>> tsc2003_read: val[e] = 78 >>>>> tsc2003_read: cmd=1] pd=3 m=1 >>>>> >>>>> Running Xfbdev complains about no /dev/input/touchscreen0 >>>>> ln -s /dev/input/event0 /dev/input/touchscreen0 >>>>> Xfbdev starts but spews out information. Does react somewhat to finger >>>>> on screen but nothing coherently? >>>>> >>>>> This looks like there is something stuck? >>>>> >>>>> Cheers >>>>> >>>>> Grahame Jordan >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------- >>>>> This SF.net email is sponsored by: Microsoft >>>>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>>> _______________________________________________ >>>>> gumstix-users mailing list >>>>> gum...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/gumstix-users >>>>> >>>>> >>>>> >>>> ------------------------------------------------------------------------- >>>> This SF.net email is sponsored by: Microsoft >>>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>> _______________________________________________ >>>> gumstix-users mailing list >>>> gum...@li... >>>> https://lists.sourceforge.net/lists/listinfo/gumstix-users >>>> >>>> >>>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> gumstix-users mailing list >>> gum...@li... >>> https://lists.sourceforge.net/lists/listinfo/gumstix-users >>> >>> >>> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> gumstix-users mailing list >> gum...@li... >> https://lists.sourceforge.net/lists/listinfo/gumstix-users >> >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > |