| Summary: | [Beaglebone] mouse doesn't work when system startup | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] Matchbox | Reporter: | Yi Zhao <yi.zhao> |
| Component: | matchbox | Assignee: | Plauchu Edwin <edwin.plauchu.camacho> |
| Status: | VERIFIED FIXED | QA Contact: | Yi Zhao <yi.zhao> |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | jose.perez.carranza, ke.zou, kexin.hao, leonardo.sandoval.gonzalez, ross.burton, sgw, yi.zhao |
| Version: | 2.2 | ||
| Target Milestone: | 2.2 M2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | Regression (Used to work) |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Yi Zhao
2016-06-27 09:05:10 UTC
My spider-sense says this is something to do with formfactor. Mouse is working well! # hexdump -v -e '3/1 "%02x " "\n"' /dev/input/mice 18 ff 00 18 fe 00 18 ff 00 18 ff 00 18 ff 00 18 ff 00 18 ff 00 18 ff 00 18 ff 00 08 01 00 It is mostly a problem related to mouse visualization that disappears when use keyboard to launch an application. It is even possible launching an application with mouse when it is still invisible. Just a comment: For this kind of situations, you may do a git bisect in case you know a good commit (you know the bad one). At the end, bisect takes 'just' log2(n) steps. The problem is that is too time consuming building a whole image each time. When an application is launched, it'll be called "launcher_start" within: matchbox-desktop-2/tree/libtaku/launcher-util.c This call will end up over a method xcb_flush "https://xcb.freedesktop.org/manual/group__XCB__Core__API.html#ga9361ead09eb756ba9cc8953c4569a789". So mouse is back and run without problems. Gdb Breakpoints utilized to get such details: break launcher_start break sn_launcher_context_initiate break sn-launcher.c:291 break sn-xmessages.c:221 "Mouse is working as expected with xf86-video-fbdev when system startup" It seems a configuration problem related to xf86-video-modesetting We switched to 4.1 instead of 4.4 root@beaglebone:~# uname -mnr beaglebone 4.1.24-yocto-standard armv7l Mouse is still invisible when using modesetting This issue still happens on 2.2 M2 RC1 Git rev: master/36feb38045b7a2af86ece147fec54b0db3bf491f The mouse is working well over X.Org X Server 1.18.4 Release Date: 2016-07-19 :) X.Org X Server 1.18.4 Release Date: 2016-07-19 tested on and working well ** qemux86 ** qemuarm ** real x86-64 PATCH to upgrade xserver version from 1.18.3 to 1.18.4 http://lists.openembedded.org/pipermail/openembedded-core/2016-July/124393.html Verified with 20160819 build. git rev: master/f038f069977170e323c9c6884c69e0b9e1cf1c6f |