readme

来自「linux device drive II 的示例移植到2.6.x内核」· 代码 · 共 43 行

TXT
43
字号
	It is very simple.hehe.	You just type:		insmod scull.ko		./scull_user	Early,i want to modified deeply, but i think we just can learn linux-2.6.x interface, that is all.	If you want to run the programming, you must recompile the linux 2.6.x kernel, add devfs support, mount devfs and sysfs.The result is :1.[caolingzi@localhost caolingzi]$ cat /proc/versionLinux version 2.6.10 (root@localhost.localdomain) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #6 Sat Feb 19 11:58:16 CST 20052.[caolingzi@localhost caolingzi]$ ls /sys/module/scull/refcnt  sections3.[caolingzi@localhost caolingzi]$ ls /devfs/scull/04.[caolingzi@localhost caolingzi]$ cat /proc/devices...180 usb253 scull254 devfs...5.[root@localhost scull_user]# ./scull_userHello, Kernel-2.6.10_scull!ok, good lucky!zhengjiecaolingzi@netease.com2005.2.21

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?