GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — linux_kernel_driver/example/driver_Lab2 at master · uniquefeng/linux_kernel_driver

Expand file tree

/

driver_Lab2

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

driver_Lab2

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
.tmp_versions
.tmp_versions
 
 
.demo.ko.cmd
.demo.ko.cmd
 
 
.demo.mod.o.cmd
.demo.mod.o.cmd
 
 
.demo.o.cmd
.demo.o.cmd
 
 
Makefile
Makefile
 
 
Module.symvers
Module.symvers
 
 
README
README
 
 
demo.c
demo.c
 
 
demo.ko
demo.ko
 
 
demo.mod.c
demo.mod.c
 
 
demo.mod.o
demo.mod.o
 
 
demo.o
demo.o
 
 
modules.order
modules.order
 
 

README

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
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.