| Summary: | 30xTs_Calibrate.sh block X start if config file missing | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Edwin Zhai <edwin.zhai> |
| Component: | meta-yocto | Assignee: | Edwin Zhai <edwin.zhai> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | jessica.zhang, kevin.tian, poky.bs.watcher, poky.watcher, richard.purdie, sgw |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Program Management | Documentation change: | --- |
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. |
/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.