Linux target framework (tgt) aims to simplify various SCSI target driver (iSCSI, Fibre Channel, SRP, etc) creation and maintenance. The key goals are ...
分类:
系统相关 时间:
2014-07-07 12:21:36
阅读次数:
738
本文以USB鼠标讲解USB设备驱动。驱动程序中调用usb_register(struct usb_driver *)函数时,先判断USB总线驱动程序是否支持usb_driver里定义的id_table,若支持,调用usb_driver的probe函数。所以首先要定义并初始化usb_driver结构体...
分类:
系统相关 时间:
2014-07-06 23:38:42
阅读次数:
339
一下是在xml配置文件中设置一个参数,此标签在:标签下使用 value property常用参数如下:connection.driver_class 数据库连接驱动 connection.url 数据库的连接urlconnection.username 登录名connection.password ...
分类:
系统相关 时间:
2014-07-03 19:11:52
阅读次数:
249
开发程序需要登录功能 ,就不想用大数据库,直接用java连接access。 在自己机器上一切正常, url直连 和配置数据源都没有问题。 发布到windows server2008 上 ,获取不到数据连接。 系统都是64位, office是2010 32位。 问题找了半天,最终得以解决:
32为的Access driver 需要用32为的jd...
分类:
数据库 时间:
2014-07-03 17:57:43
阅读次数:
294
要想容错,该怎么办?父actor首先要获知子actor的失败状态,然后确定该怎么办, “怎么办”这回事叫做“supervisorStrategy"。 // Restart the storage child when StorageException is thrown. // After 3 re...
分类:
其他好文 时间:
2014-07-03 00:21:47
阅读次数:
340
本篇文章通过按键驱动为例讲解输入子系统的开发流程。输入子系统由驱动层、输入子系统核心、事件处理层三部分组成。一个输入事件,如鼠标移动、键盘按下等通过Driver->Inputcore->Event handler->userspace的顺序到达用户控件的应用程序。用于报告EV_KEY,EV_REL,...
分类:
其他好文 时间:
2014-07-02 22:06:53
阅读次数:
175
This guide explains how you can set up an iSCSI target and an iSCSI initiator (client), both running Ubuntu 10.04. The iSCSI protocol is a storage are...
分类:
其他好文 时间:
2014-07-02 17:22:37
阅读次数:
236
ERROR 1665 (HY000): Cannot executestatement: impossible to write to binary log since BINLOG_FORMAT = STATEMENTand at least one table uses a storage engine limited to row-based logging.InnoDB is limited to row-logging when transaction isolation level is REA...
分类:
数据库 时间:
2014-07-02 07:46:46
阅读次数:
322
做Linux方面也有三个多月了,对代码中的有些结构一直不是非常明确,比方platform_device与platform_driver一直分不清关系。在网上搜了下,做个总结。两者的工作顺序是先定义platform_device -> 注冊 platform_device->,再定义 platfor....
分类:
其他好文 时间:
2014-07-01 18:51:30
阅读次数:
247
物理存储结构主要是指: extent的分配, 以及datablock 存储相关, 置于tablespace, segment 都是逻辑结构.tablespace : 逻辑结构, 没有实际物理存储.segment : 逻辑结构, 比如一个表, 索引等 object, 每次按照extent分配.exte...
分类:
其他好文 时间:
2014-07-01 18:35:53
阅读次数:
297