FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

linux_kernel_driver/example/driver_Lab2 at master · dwlinux/linux_kernel_driver · GitHub

Repository navigation

Latest commit

 

History

History
 
 
  1. linux_kernel_driver
  2. example

driver_Lab2

make -Wall -C /lib/modules/`uname -r`/build M=`pwd` modules

sudo insmod demo.ko

cat /proc/devices | ag demo

sudo mknod /dev/demo c 60 0  // 建立裝置檔案

cat /proc/devices | ag demo

sudo ./test

Back | FazBrowse Home | New Git URL