This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Touch calibration not working properly using Android 2.2 and SBC8530

Hi,all

     I am having a problem in Touch screen calibration. Using Android 2.2 and Hardware SBC8530 (from embest) . The Embest used the  7 inch LCD (800x 480), I replaced the LCD with 5inch LCD (480*800).

     When using 7 inch LCD (800x480),  I can see Touch screen calibration interface.   When using 5 inch LCD (480*800),LCD display properly, but  the Touch screen calibration interface can not appear.

I modify the sbc8530_panel_timings in Linux kernel 's drivers,as follows:

      .x_res         = 480,//800,
        .y_res          =  800,//480,

        .hsw            = 48,    //hsync_len (4) - 1
        .hfp            = 1,      // right_margin (4) - 1 */
        .hbp            = 1,      // left_margin (40) - 1
        .vsw            = 3,      //  vsync_len (2) - 1
        .vfp            = 12,     // lower_margin
        .vbp            = 25,     // upper_margin (8) - 1

        .pixel_clock    = 36000,

 

  • I am not able to understand your problem. Is the touchscreen not working? or does it give wrong coordinates (offset etc) or is the LCD screen itself not working?

    Also how are you calibrating your touchscreen? Is it by modifying the touchscreen driver itself or by some other way?

  • Hi,

         Thank you for your reply, My LCD is OK, but touch screen give wrong coordinate. I deleted the pointercal file, rebooted the board,  the calibration interface(See Feature 1,Feature2) can not appear , the board   goes directly into Android system's Safe Mode(See Feature 3), I can not calibrate the touch screen.

                                                                  Feature 1

                                                                     Feature 2


  • The calibration app that you are using is not part of the recent TI Android DevKit releases. I am not in a position to help with that.

    Would it be possible to disable the calibration app and try calibrating at the driver itself as documented in our porting guide?

    http://processors.wiki.ti.com/index.php/TI-Android-GingerBread-2.3.4-DevKit-2.1.1_PortingGuides#Touch_Calibration

  • Hi,

       Thank you for reply,  The calibration interface  appears when I used the 7 inch the sbc8530_panel_timings( as follows).

         .x_res         = 480,//800,
            .y_res          =  800,//480,

            .hsw            = 48,    //hsync_len (4) - 1
            .hfp            = 1,      // right_margin (4) - 1 */
            .hbp            = 1,      // left_margin (40) - 1
            .vsw            = 3,      //  vsync_len (2) - 1
            .vfp            = 12,     // lower_margin
            .vbp            = 25,     // upper_margin (8) - 1

            .pixel_clock    = 36000,


     could you give me a advice?

     Thank you

     

  • Hi,

       Thank you for reply,  The calibration interface  appears when I used the 7 inch-- the original sbc8530_panel_timings( as follows).

         .x_res         = 800,
            .y_res          =  480,//480,

            .hsw            = 48,    //hsync_len (4) - 1
            .hfp            = 1,      // right_margin (4) - 1 */
            .hbp            = 1,      // left_margin (40) - 1
            .vsw            = 3,      //  vsync_len (2) - 1
            .vfp            = 12,     // lower_margin
            .vbp            = 25,     // upper_margin (8) - 1

            .pixel_clock    = 36000,


     could you give me a advice?

     Thank you

  • I used the android 2.2