Skip to content

Commit

Permalink
install: add scripts to .bash_profile for loading module automiclly
Browse files Browse the repository at this point in the history
Signed-off-by: Kinglong Mee <[email protected]>
  • Loading branch information
kinglongmee committed Sep 13, 2016
1 parent ea668c3 commit 99166ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ endif
install:
cp -f hid-rapoo.ko /lib/modules/`uname -r`/kernel/drivers/hid/
depmod
cat installdriver.sh >> ~/.bash_profile

clean:
rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ Compile the driver module with make, make install and run ./installdriver.sh.

Job done! Then enjoy typing!

# Todo
Loads hid-rapoo.ko module automically when system startup.
# Notice
After installing new kernel(contains compile and install kernel),
you must reinstall hid-rapoo module again by "make install".

0 comments on commit 99166ae

Please sign in to comment.