全部博文(404)
| 标题 | 阅读 | 评论 | 转发 | 发布日期 | |
|---|---|---|---|---|---|
| 思想博客 http://blog.qq.com/thought/ | 949 | 0 | 0 | 2009-05-31 | |
| 怎样高效学习嵌入式 | 3019 | 4 | 5 | 2009-05-21 | |
| google黑了,没有办法工作了 | 828 | 0 | 0 | 2009-05-21 | |
| VeryCD上感兴趣的地址 | 765 | 0 | 0 | 2009-05-20 | |
| ARM中文 | 1015 | 0 | 0 | 2009-05-13 | |
| http://bbs.5qzone.net | 1041 | 0 | 0 | 2009-05-08 | |
| 学习计划 | 1010 | 0 | 0 | 2009-05-07 | |
| http://blog.csdn.net/colorant/ | 521 | 0 | 0 | 2009-05-27 | |
| 移植和使用内核函数跟踪系统KFT | 1001 | 0 | 0 | 2009-05-27 | |
| http://www.xfocus.net/tools/1.html | 570 | 0 | 0 | 2009-05-27 | |
| linux用C语言读取网卡MAC地址 | 798 | 0 | 0 | 2009-05-27 | |
| C语言难点 | 592 | 0 | 0 | 2009-05-27 | |
| 调试Uboot ZZ | 772 | 0 | 0 | 2009-05-27 | |
| http://blog.csdn.net/unbutun/archive/2009/03.aspx | 1074 | 2 | 0 | 2009-05-27 | |
| linux resouce,platform_device和platform_driver驱动的关系 | 486 | 0 | 0 | 2009-05-27 | |
| Linux 驱动开发的要求 | 581 | 0 | 0 | 2009-05-26 | |
| BMP格式详解(转) | 1478 | 0 | 0 | 2009-05-25 | |
| g++用gcc的错误 | 1274 | 0 | 0 | 2009-05-25 | |
| 中国移动厕所 | 552 | 0 | 0 | 2009-05-25 | |
| Socket编程的参考地址 | 612 | 0 | 0 | 2009-05-25 |
chinaunix网友2009-06-20 19:34
您好!我刚刚又详细看了一次Linux Device Driver书籍中关于USB 驱动的部分。了解更深入了些,现在发现的问题是: 照一个博主(http://blog.chinaunix.net/u2/60434/showart_471562.html)的解释。在加载驱动模块成功后就会在/dev/下生成设备文件了,此框架程序生成的是skel0(可以自由修改)的设备文件,现在就可以对这个设备文件进行打开、读写、关闭等的操作了。 我是可以看到skel0的设备文件的了。我也尝试对其打开进行读写操作。 if((SKELETON=fopen("/dev/skel0","r"))==NULL) { printf("\nEooro on opening source file!") ; return ; } if((STOREDEVICE=fopen("/usr/temp.txt", "aw"))==NULL) { printf("\nEooro on opening desitination file!") ; return ; } 但是结果是没有什么反应。。temp.txt里面是空的,也就是没读出什么东西来。但是那个usb设备中确实灌注了程序的。。不知道怎么回事。 请帮忙解答下。谢谢了~~
chinaunix网友2009-01-04 10:30
您好,我是猎头顾问Susie,目前手上有一个MNC的Linux开发的职位,如果有兴趣的话欢迎与我联系,我的邮箱是susie.ren@globalassociates.com.谢谢。