城市老鼠
101oio · 共 87 篇文章
vold.conf is missed in system.img . rebuild system.img by mkyaffs2image ( ./out/host/linux-x86/bin/) will solve this issue. But why vold.conf is missed during building? Need to be investigate later
2010-03-02 20:48 · Android · 评论(0)
p++, 要看p 的所指类型占用的 byte 数
2009-12-22 18:04 · OS · 评论(0)
Method 1 #!/bin/sh # for usb auto suspend , triggered by usb insert stringK=$1 i=1 seg="1-1" while [ -n "$seg" ] do if [ "$i" -eq "1" ]; then stringU=$seg else stringU=$stringU"."$seg fi if [ -d /sys/bus/usb/devices/$stringu ]; then .... fi let "i+=1" seg=`echo $stringK $i| awk '{ split($1,list,"."…
2009-12-18 19:04 · 评论(0)
这个错误很可能是由于 kernel version 不一致导致的
2009-12-18 12:07 · Linux · 评论(0)
http://www.cyberciti.biz/tips/compiling-linux-kernel-26.html Step # 1 Get Latest Linux kernel code Visit http://kernel.org/ and download the latest source code. File name would be linux-x.y.z.tar.bz2, where x.y.z is actual version number. For example file inux-2.6.25.tar.bz2 represents 2.6.25 kerne…
2009-12-17 19:37 · Linux · 评论(0)
http://reactivated.net/writing_udev_rules.html http://www.lesswatts.org/projects/devices-power-management/usb.php
2009-12-11 11:42 · Linux · 评论(0)
/etc/network/interface
2009-12-02 16:37 · Linux · 评论(0)
/etc/init.d/gdm stop to reback to X /etc/init.d/gdm start
2009-11-27 23:42 · Linux · 评论(0)
gnome resolution config files are located in .gconf/desktop/gnome/screen/ it is used with higher priority than xorg after gdm login.
2009-11-27 23:41 · Linux · 评论(0)
http://ubuntuguide.org/wiki/Ubuntu:Feisty#Disable_the_touchpad_while_typing https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig Touchpad Disable the touchpad while typing The utility syndaemon can be used to temporarily disable a Synaptic touchpad while typing. First you must edit /etc/X1…
2009-11-27 19:35 · Linux · 评论(0)
liunx 硬件查看 lsusb lspci dmesg
2009-11-27 19:34 · Linux · 评论(0)
top ->'f' ->'v' http://www.linuxforums.org/articles/using-top-more-efficiently_89.html. Note: On 2.6.x, this field is always zero without unknown reason. 2.you can check the size of dirty pages by checking /proc/ /smaps http://www.linux.com/learn/tutorials/42048-uncover-the-meaning-of-tops-statisti…
2009-11-24 15:44 · Linux · 评论(0)
CXXFLAGS多了一个参数-fvisibility-inlines-hidden的原因,这个参数是以前在望上看的能够加速编译的
2009-11-20 16:51 · C++ · 评论(0)
filename The absolute path name of the input or output file. Windows users might need to use an E'' string and double backslashes used as path separators. example: copy bi_k1_q_net from E'd:\1K.txt';
2009-10-10 15:15 · DB · 评论(0)
Please don't select "default" in locale when you are using no-English version windows, or you will the following error Problem running post-install step. Installation may not complete correctly Error reading file D:/Program/POSTGRESQL/8.4/data/postgresql.conf You can select "C", other than "default"
2009-10-03 21:36 · DB · 评论(0)