码迷,mamicode.com
首页 >  
搜索关键字:kernel driver    ( 11073个结果
linux kernel将关键信息保存到文件做法 很好的调试方法
linux kernel将关键信息保存到文件做法      很好的调试方法 下面有2个示例:     1:保存机器从开机到结束的VBATT;     2:保存uart接收到的数据到文件; 意义不多说了。 以下是代码: #include #include #include static struct file *fp =NULL; int write_to_file...
分类:系统相关   时间:2014-09-05 22:28:22    阅读次数:318
Ubuntu wireless network connection in command line
After installed the the graphical card driver in Ubuntu, the gnome desktop was not working anymore, needs to install and setup the wireless network, herewith the procedure,...
分类:Web程序   时间:2014-09-05 22:27:02    阅读次数:226
Windows Self Signed Driver
In particular, Microsoft® instituted a device driver certification process for itsWindows® desktop and server operating systems to ensure the drivers ...
分类:Windows程序   时间:2014-09-05 16:07:11    阅读次数:497
限制USB延迟启动
阻止用户从未经授权的位置安装设备驱动程序。 组策略 。。。too long too see directly.what determins when a drivers i s load.specifying driver laod order./ load order group for file...
分类:其他好文   时间:2014-09-05 14:09:41    阅读次数:222
nova baremetal tips
最近同事在用icehouse版本nova的baremetal driver在CentOS6.3上遇到了一些坑。之前对这块没什么了解,简单记录如下。...
分类:其他好文   时间:2014-09-05 11:28:41    阅读次数:269
WinDbg配置和使用基础
WinDbg配置和使用基础 WinDbg是微软发布的一款相当优秀的源码级(source-level)调试工具,可以用于Kernel模式调试和用户模式调试,还可以调试Dump文件。1. WinDbg介绍: Debugging Tools and Symbols: Getting Startedhttp...
分类:数据库   时间:2014-09-04 18:25:29    阅读次数:415
Guest与virtio netdev的交互方式
Qemu为virtio设备分配了专门的pci设备ID,device IDs (vendor ID 0x1AF4) from 0x1000 through 0x10FF,而pci子系统中的厂商ID和设备ID就成为了virtio类型和厂商域的组成,所以PCI驱动是不需要知道virtio设备类型的真正含义,对于Kernel来说只是注册了一个struct virtio_device,并挂载到了virtio...
分类:Web程序   时间:2014-09-04 11:47:59    阅读次数:195
Vhost Architecture
在前面的文章中在介绍virtio机制中,可以看到在通常的应用中一般使用QEMU用户态程序来模拟I/O访问,而Guest中的数据要通过Guest到Host Userspace的第一次拷贝,再经过Host userspace的第二次拷贝,这种多次的数据拷贝和CPU特权级的切换对性能有相当大的影响。为加速virtio设备的I/O性能,VHOST通过driver的形式在Host Kernel中直接实现...
分类:其他好文   时间:2014-09-04 11:47:39    阅读次数:280
android 玩愤怒小鸟等全屏游戏时TP失效
1.tp driver的tpd_down()和tpd_up()函数中不需要上报id号,上层会自动进行匹配; 2.tpd_up()函数中只需要上报BTN_TOUCH和mt_sync信息,其他信息不用上报,如下: static  void tpd_up(int x, int y,int *count)  {      input_report_key(tpd->dev, BTN_TOUCH, ...
分类:移动开发   时间:2014-09-04 09:47:07    阅读次数:283
android 虚拟按键是通过哪种机制上报的?
1.在normal mode下,tp button也是和其它触摸事件一样,以坐标形式的input_event进行上报。在初始化时会通过tpd_button_setting()函数根据定义在tpd_custom_XXX.h文件中的配置信息将虚拟按键的坐标信息写在/sys/board_properties/virtualkeys.mtk-tpd中。工作时,tp driver将按下的点的坐标进行上报,A...
分类:移动开发   时间:2014-09-04 09:46:47    阅读次数:196
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!