上一页 1 ··· 98 99 100 101 102 103 104 105 106 ··· 127 下一页

/dev下没有input

摘要: mdev.conf写的不对。 加入下面的就可以: # Move input devices to input directoryevent.* 0:0 0660 @(mkdir -p input&&mv $MDEV input)mice 0:0 0660 @(mkdir -p input&&mv $MDEV input)mouse.* 0:0 0660 @(mkdir -p input&&mv $... 阅读全文
posted @ 2011-07-06 17:22 katago 阅读(1057) 评论(0) 推荐(0) 编辑

poor-man’s-graphical-boot

摘要: 1.用gimp转化为ppm 原始数据形式 2.修改fbsplash.cfg ,适合分辨率 #1280x720 # progress bar position BAR_LEFT=490 BAR_TOP=600 BAR_WIDTH=300 BAR_HEIGHT=20 # progress bar color BAR_R=80 BAR_G=80 BAR_B=130 3.启动脚本加入 mkfifo cmd... 阅读全文
posted @ 2011-07-06 16:58 katago 阅读(287) 评论(0) 推荐(0) 编辑

many former solutions has been "deleted"

摘要: 2011/07/04 21:11 1,951,044 qtanimationframework-2.1-opensource.tar.gz 2011/07/04 21:11 2,189,330 qtanimationframework-2.1-opensource.zip 2011/07/04 21:11 2,111,027 qtanimationframework-2.2-opensource.... 阅读全文
posted @ 2011-07-04 21:23 katago 阅读(519) 评论(0) 推荐(0) 编辑

通过metamethod调用函数

摘要: 通过metamethod调用函数普通函数,发现indexOfMethod总是返回-1,查看文档,发现下面: Q_INVOKABLE Apply this macro to definitions of member functions to allow them to be invoked via the meta-object system. The macro is written befor... 阅读全文
posted @ 2011-07-04 16:36 katago 阅读(304) 评论(0) 推荐(0) 编辑

监控页面所有checkbox改变状态的简单方法

摘要: QList<QCheckBox *> widgets = findChildren<QCheckBox *>(); foreach(QCheckBox* checkbox, widgets) { connect(checkbox, SIGNAL(stateChanged(int)), this, SLOT(slotEnableSaveButton())); } 阅读全文
posted @ 2011-07-04 12:03 katago 阅读(416) 评论(0) 推荐(0) 编辑

什么情况下可以不创建QCoreApplication

摘要: Under what circumstances do I not need to create aQApplication/QCoreApplication?https://snapbrowse.com/browse.php/Oi8vbGlzdHMudHJvbGx0ZWNoLmNvbS9xdC1pbnRlcmVzdC8yMDA2LTAyL3RocmVhZDAxNTQwLTAuaHRtbA_3D_... 阅读全文
posted @ 2011-07-03 12:08 katago 阅读(2485) 评论(0) 推荐(0) 编辑

Linux 高精確的時序(sleep, usleep,nanosleep)

摘要: Linux 高精確的時序(sleep, usleep,nanosleep) 2009-04-16 11:36:48| 分类: Linux | 标签:无 |字号订阅 首先, 我会说不保证你在使用者模式 (user-mode) 中执行的行程 (process) 能够精确地控制时序因为 Linux 是个多工的作业环境. 你在执行中的行程 (process) 随时会因为各种原因被暂停大约 10 毫秒到数... 阅读全文
posted @ 2011-07-03 11:40 katago 阅读(1234) 评论(0) 推荐(0) 编辑

init脚本

摘要: #!/bin/sh echo "init..." mount -t proc proc /proc mount -t sysfs sysfs /sys mdev -s newroot=`findfs LABEL=ROOT` cleanmntdir() { rm -rf /mnt/* } copyroot() { FILES=`ls /` for F in $FILES do [ $F !... 阅读全文
posted @ 2011-07-02 15:39 katago 阅读(322) 评论(0) 推荐(0) 编辑

switch_root 过程错误分析

摘要: ~ # switch_root BusyBox v1.18.3 (2011-02-23 16:15:41 CST) multi-call binary. Usage: switch_root [-c /dev/console] NEW_ROOT NEW_INIT [ARGS] Free initramfs and switch to another root fs: chroot to NEW_R... 阅读全文
posted @ 2011-07-02 15:38 katago 阅读(13844) 评论(0) 推荐(0) 编辑

2 NICs on same subnet

摘要: http://lists.netfilter.org/pipermail/netfilter/2004-November/056913.html 阅读全文
posted @ 2011-07-01 21:02 katago 阅读(136) 评论(0) 推荐(0) 编辑
上一页 1 ··· 98 99 100 101 102 103 104 105 106 ··· 127 下一页