
technical fantasia
文章平均质量分 54
sehrich
这个作者很懒,什么都没留下…
展开
-
Android touch screen Calibrate with Intent
<br />screen coordinate(Xs) VS device coordinate(Xd)<br />screen coordinate is related to screen rotation, which could be change after orietation. But device coordinate is fixed, left up is original point.<br /> <br />Xs= Xd*A+Yd*B+C<br />Ys= Yd*D+Yd*E原创 2011-03-03 16:09:00 · 1537 阅读 · 0 评论 -
dmabounce investment
Phenomenon:Some internal or external DMA controllerhas address limitation, for example, which could only access lower 128MBphysical memory. While not all driver will alloc proper physical memory to meetthis limitation. How could Linux kernel do then?原创 2011-03-16 16:54:00 · 1661 阅读 · 0 评论 -
[转]Page Cache, the Affair Between Memory and Files
Previously we looked at how the kernel managesvirtual memory for a user process, but files and I/O were left out. Thispost covers the important and often misunderstood relationship between filesand memory and its consequences for performance.Two se转载 2011-03-18 10:24:00 · 930 阅读 · 0 评论 -
rtc sync with system time
hwclock --systohc: sync hardware time to system timehwclock --hctosys: sync system time to hardware time原创 2012-02-03 17:30:39 · 1085 阅读 · 0 评论 -
Android 4.0 UI for Tablet and Handset
Android 4.0(ICS) merge handset and tablet UI together, make customer flexible to use which UI they want. On marketing nowdays, phone use phone mode directly and other product like tablet/MID/PND use t原创 2012-02-29 10:36:55 · 3486 阅读 · 0 评论 -
glib wpa_supplicant Unix上库编译错误解决与总结
编译Linux下的库是一件痛苦的事情,这里主要阐述glib和wpa_supplicant库的编译,因各自的依赖关系,另外一些库要事先编译。glib依赖libffi和zlib,而wpa_supplicant依赖dbus和openssl。总结下交叉编译几个常见的逻辑:1. 指定CC为交叉编译器2. 指定--prefix,如果不指定,会将宿主机PC上相应的库给覆盖了,如果是系统关键的原创 2013-08-05 16:39:25 · 4958 阅读 · 0 评论