Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion utils/build_install_header_from_apt_raspi2.bash
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ rm Makefile
ln -s Makefile.header_from_apt Makefile
make clean
make
sudo insmod rtmouse.ko
sudo install -D -m 644 rtmouse.ko /lib/modules/$(uname -r)/extra/rtmouse.ko
sudo depmod -a
sudo modprobe rtmouse
Comment on lines +15 to +16

# initialize the driver
sleep 1
Expand Down
4 changes: 3 additions & 1 deletion utils/build_install_header_from_apt_raspi4.bash
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ make clean
# Update for Raspberry Pi 4
sed -i -e "s/#define RASPBERRYPI 2/#define RASPBERRYPI 4/g" rtmouse.c
make
sudo insmod rtmouse.ko
sudo install -D -m 644 rtmouse.ko /lib/modules/$(uname -r)/extra/rtmouse.ko
Comment on lines 15 to +16
sudo depmod -a
sudo modprobe rtmouse

# initialize the driver
sleep 1
Expand Down
4 changes: 3 additions & 1 deletion utils/build_install_header_from_source_raspi2.bash
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ rm Makefile
ln -s Makefile.header_from_source Makefile
make clean
make
sudo insmod rtmouse.ko
sudo install -D -m 644 rtmouse.ko /lib/modules/$(uname -r)/extra/rtmouse.ko
sudo depmod -a
sudo modprobe rtmouse

# initialize the driver
Comment on lines 17 to 18
sleep 1
Expand Down
4 changes: 3 additions & 1 deletion utils/build_install_header_from_source_raspi4.bash
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ make clean
# Update for Raspberry Pi 4
sed -i -e "s/#define RASPBERRYPI 2/#define RASPBERRYPI 4/g" rtmouse.c
make
sudo insmod rtmouse.ko
sudo install -D -m 644 rtmouse.ko /lib/modules/$(uname -r)/extra/rtmouse.ko
sudo depmod -a
sudo modprobe rtmouse
Comment on lines +17 to +18

# initialize the driver
sleep 1
Expand Down