在 Windows Mobile Device Center 处点击 Mobile Device Settings, Connection Settings, 选择 This computer connects to => The Internet 按 [OK] 退出在 WM 设备上,设置 => 连...
Program for Linux USB-devices driver
开始啃硬骨头~ 这里我打算一步步给出USB device driver 的demo,希望有心能能够共同交流学习. 希望认识更多对Linux有兴趣的geek.
目前由于环境和自身能力方面原因还没能做实物的测试,篇章的最后打算给出一个在x86上模拟USB读写的driver,以后能够做实物测试之后再更新this blo...
分类:
系统相关 时间:
2014-08-18 03:53:13
阅读次数:
457
启动了AVD却说找不到AVD
错误提示:
No active compatible AVD's or devices found. Relaunch this configuration after connecting a device o
查看你的project版本是运行在哪个版本的(AndroidManifest.xml中android:targetSdkVersion属性...
分类:
其他好文 时间:
2014-08-18 00:20:43
阅读次数:
253
__FUNCTION__, __LINE__
今天无意之间看到一段代码,里面有这样一个片段:
if (!interface) {
err ("%s - error, can't find device for minor %d",
__FUNCTION__, subminor);
retval = -ENODEV;
goto exit;
}
这...
分类:
其他好文 时间:
2014-08-17 22:49:32
阅读次数:
285
1.首先关闭NetworkManager服务[root@localhost~]#serviceNetworkManagerstop
[root@localhost~]#chkconfigNetworkManageroff2.配置网卡一[root@localhost~]#viifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
MASTER=bond0
SLAVE=yes3.配置网卡二[root@localhost..
分类:
系统相关 时间:
2014-08-17 09:14:32
阅读次数:
283
#include "cuda_runtime.h"#include "device_launch_parameters.h"#include #include #include "cublas_v2.h"void multiCPU(float *c, float *a, float *b, unsi...
分类:
Windows程序 时间:
2014-08-17 01:03:11
阅读次数:
1113
问题:怎么canvas上的不同的不同绘制图案,反应到终端。setDIBitsToDevice()函数默认是将其中的srcx、srcy中的bitmap当做绘制buffer的。与canvas是无关的。那么怎么将canvas的绘制反应到device呢?canvas = new SkCanvas(*bitm...
分类:
其他好文 时间:
2014-08-16 22:29:31
阅读次数:
385
#include "cuda_runtime.h"#include "device_launch_parameters.h"#include #include #include #include "cublas_v2.h"#define BLOCK_SIZE 16cudaError_t multiC...
分类:
其他好文 时间:
2014-08-16 22:20:01
阅读次数:
351
#include "cuda_runtime.h"#include "device_launch_parameters.h"#include #include #include "cublas_v2.h"#define BLOCK_SIZE 16/***************/用cuBlas的内置...
分类:
其他好文 时间:
2014-08-16 22:17:21
阅读次数:
292
打开eclipse时出现无法识别android的项目,即所有android项目均显示红色错误标记。点击菜单Window的Android Virtual Device Manager 插件的标志时出现了Location of the Android SDK has not been setup i.....
分类:
移动开发 时间:
2014-08-16 20:57:41
阅读次数:
332