Bug 251 - 30xTs_Calibrate.sh block X start if config file missing
Summary: 30xTs_Calibrate.sh block X start if config file missing
Status: VERIFIED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: ---
Assignee: Edwin Zhai
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-08-31 17:58 UTC by Edwin Zhai
Modified: 2010-12-21 06:07 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified: Program Management
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Edwin Zhai 2010-08-31 17:58:43 UTC
/etc/X11/Xsession.d/30xTs_Calibrate.sh, as part of Xsession, would do following:
===================================================================
        while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ]
        do
           /usr/bin/xtscal
        done

In general, xtscal(produce pointercal) should fail on x86 arch. But we provide the /etc/pointercal in advance in the disk image in general, so it's okay.

When adding a new arch or during board bringup, we probably forget to provide pointercal, which leads an endless loop to block other scripts to start matchbox.
Comment 2 Edwin Zhai 2010-09-28 17:13:16 UTC
Have verified it on latest master (maybe cf09c7a1e35a0dc3219fa196e8811c50957be4a2).

To emulate the missing of /etc/pointercal, just remove it. Without this fix, the system hang when starting X. With this fix, we can get the matchbox environment in seconds.