Results 1 to 6 of 6

Thread: PenMount DMC9000 rs232 touchscreen Qt/E 4.5

  1. #1
    Join Date
    Apr 2009
    Posts
    5
    Thanks
    2

    Default PenMount DMC9000 rs232 touchscreen Qt/E 4.5

    Hi,

    I'm trying to do my fist toy with Qt/E. The plataform is:

    IEI AFL-07A-LX
    framebuffer lxgx
    kernel 2.6.29.1
    Qt/E 4.5.0
    and .... DMC9000 Penmount touchscreen.

    It's a rs232 touch screen who works in /dev/ttyS3

    with minicom I can read data in response to screen events.

    with penmount snifer It's work

    root@afolux:~/pmlinux-ubuntu8.10# ./pm-sniff /dev/ttyS3
    +---------------------------------------------------------------+
    | pmsniff - PenMount sniffer (build:Nov 13 2007 14:33:21) |
    +---------------------------------------------------------------+
    Port : /dev/ttyS3
    Baud : 19200 bps
    PenMount 9000 found!
    1 : bf 03 27 05 4a ( 423, 714) Up
    2 : ff 03 27 05 4a ( 423, 714) Down
    ....

    But I can't make work together with my application

    I have do:
    export QWS_MOUSE_PROTO=IntelliMouse:/dev/ttyS3
    export QWS_MOUSE_PROTO=MouseMan:/dev/ttyS3
    export QWS_MOUSE_PROTO=Microsoft:/dev/ttyS3

    but... nothing (now I'm building QT with tslib support bun I'm not so confident)

    Please help!

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: PenMount DMC9000 rs232 touchscreen Qt/E 4.5

    If you are using a touchscreen then try the touchscreen driver
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Apr 2009
    Posts
    5
    Thanks
    2

    Default Re: PenMount DMC9000 rs232 touchscreen Qt/E 4.5

    Quote Originally Posted by wysota View Post
    If you are using a touchscreen then try the touchscreen driver
    I try........

    if I use:

    # export QWS_MOUSE_PROTO=linuxTP:/dev/ttyS3

    # myapp -qws

    I get:
    Could not read calibration: "/etc/pointercal"

    and if screen is pressed the cursos goes.....

    I've try

    # ts_test
    /dev/touchscreen/ucb1x00: No such file or directory

    and...

    # ts_calibrate
    ts_open: No such file or directory


    with:
    # export QWS_MOUSE_PROTO=tslib:/dev/ttyS3
    # myapp -qws
    Does nothing.

    another clue?

  4. #4
    Join Date
    Apr 2009
    Posts
    5
    Thanks
    2

    Talking Re: PenMount DMC9000 rs232 touchscreen Qt/E 4.5

    Quote Originally Posted by wysota View Post
    If you are using a touchscreen then try the touchscreen driver
    WOW!!!! wwWidgets - a set of Qt widgets for your applications


    Beautiful widgets! Please make me a beautiful answer (I know that you can!)

    Regards

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: PenMount DMC9000 rs232 touchscreen Qt/E 4.5

    As far as I remember QtEmbedded docs contain instructions on how to debug your input device step by step. Try finding it and see where it leads you. My experience with embedded is very limited so I'm unable to help you with such details. You have to make your device work with tslib if you want to use it with Qt or you can implement your own input plugin if you can determine what events are sent from the device (seems a bit similar to what you posted at the beginning of this thread).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  6. The following user says thank you to wysota for this useful post:

    mquinteiro (8th April 2009)

  7. #6
    Join Date
    Apr 2009
    Posts
    5
    Thanks
    2

    Default Re: PenMount DMC9000 rs232 touchscreen Qt/E 4.5

    Quote Originally Posted by wysota View Post
    As far as I remember QtEmbedded docs contain instructions on how to debug your input device step by step.
    I didn't found it, but "We can"

    Try finding it and see where it leads you. My experience with embedded is very limited so I'm unable to help you with such details. You have to make your device work with tslib if you want to use it with Qt
    I think you are right, ts_test do not work properly, my first approach will be make tslib and utils work.

    or you can implement your own input plugin if you can determine what events are sent from the device (seems a bit similar to what you posted at the beginning of this thread).
    I have found this link http://lists.trolltech.com/qt-embedd...ad00000-0.html and it looks like your second approach.

    Calibration

    I have read Lots of questions about this ts and no answer, I will write here if I get some solution.

    Thanks wysota

    Calibration
    Last edited by mquinteiro; 8th April 2009 at 22:58.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.