Skip to content

Commit dc6da29

Browse files
committed
Wiki/Linux: Simplify rmmod commands
This ensures that the user actually unloads all driver modules, in case only 1 of the 2 commands was run
1 parent 5751bf7 commit dc6da29

2 files changed

Lines changed: 6 additions & 11 deletions

File tree

site/_wiki/Documentation/RequiredPermissions.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,10 @@ Currently, two kernel modules are also unloaded as they interfere with OpenTable
2929
A kernel module blacklist is used to prevent these modules from loading on boot.
3030

3131
If you've just installed OpenTabletDriver, make sure these
32-
modules aren't loaded by running the following commands:
32+
modules aren't loaded by running the following command:
3333

3434
```sh
35-
sudo rmmod wacom
36-
sudo rmmod hid_uclogic
35+
sudo rmmod wacom hid_uclogic
3736
```
3837

3938
### Set up udev rules and kernel module blacklist {#setup-linux}
@@ -73,8 +72,7 @@ if [ -f /etc/modprobe.d/blacklist.conf ]; then
7372
fi
7473

7574
sudo modprobe uinput
76-
sudo rmmod wacom > /dev/null 2>&1
77-
sudo rmmod hid_uclogic > /dev/null 2>&1
75+
sudo rmmod wacom hid_uclogic > /dev/null 2>&1
7876

7977
sudo udevadm control --reload-rules && sudo udevadm trigger
8078
```
@@ -124,8 +122,7 @@ cd ..
124122
rm -rf OpenTabletDriver
125123

126124
sudo modprobe uinput
127-
sudo rmmod wacom > /dev/null 2>&1
128-
sudo rmmod hid_uclogic > /dev/null 2>&1
125+
sudo rmmod wacom hid_uclogic > /dev/null 2>&1
129126

130127
sudo udevadm control --reload-rules && sudo udevadm trigger
131128
```

site/_wiki/Install/Linux.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ Then refer to [this section]({% link _wiki/FAQ/Linux.md %}#autostart) for instru
8282
# Regenerate initramfs
8383
sudo mkinitcpio -P
8484
# Unload kernel modules
85-
sudo rmmod wacom
86-
sudo rmmod hid_uclogic
85+
sudo rmmod wacom hid_uclogic
8786
```
8887
8988
### `makepkg` method {#manual-makepkg-method}
@@ -101,8 +100,7 @@ Then refer to [this section]({% link _wiki/FAQ/Linux.md %}#autostart) for instru
101100
# Regenerate initramfs
102101
sudo mkinitcpio -P
103102
# Unload kernel modules
104-
sudo rmmod wacom
105-
sudo rmmod hid_uclogic
103+
sudo rmmod wacom hid_uclogic
106104
```
107105
108106
## Gentoo {#gentoo}

0 commit comments

Comments
 (0)