Blacklisting doesn't persist between restarts

There's a kernal module, drivers for a certain brand of tablets, that I need to blacklist to get the OpenTabletDriver to work. I was able to get it to work with the directions on the site. You can find the driver here. Once I restarted, however and started up the UX, the errors that happen when it's not blacklisted appeared again.

While it functions as intended for the session, here's the console log.

Fish output:

╭─stelle@Radiance in ~
╰─λ echo "blacklist hid_uclogic" | sudo tee -a /etc/modprobe.d/blacklist.conf
sudo rmmod hid_uclogic
[sudo] password for stelle: **********
blacklist hid_uclogic

I personally miss here your output of garuda-inxi, as text

3 Likes

Here you go, sorry:

System:
Kernel: 5.16.13-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=89c07dc9-a654-420e-83cc-01f4d5fc9b52 rw rootflags=subvol=@
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: KDE Plasma 5.24.3 tk: Qt 5.15.3 info: latte-dock wm: kwin_x11
vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 81SX v: Legion Y540-15IRH
serial: <superuser required> Chassis: type: 10 v: Legion Y540-15IRH
serial: <superuser required>
Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN
serial: <superuser required> UEFI: LENOVO v: BHCN41WW date: 11/30/2020
Battery:
ID-1: BAT0 charge: 53.6 Wh (98.9%) condition: 54.2/57.0 Wh (95.0%)
volts: 12.9 min: 11.5 model: SMP L17M3PG2 type: Li-poly serial: <filter>
status: N/A cycles: 5
Device-1: hidpp_battery_0 model: Logitech M570 serial: <filter>
charge: 25% rechargeable: yes status: Discharging
CPU:
Info: model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Coffee Lake
family: 6 model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xEC
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
L3: 12 MiB desc: 1x12 MiB
Speed (MHz): avg: 2601 high: 2609 min/max: 800/4500 scaling:
driver: intel_pstate governor: performance cores: 1: 2600 2: 2600 3: 2607
4: 2600 5: 2600 6: 2601 7: 2601 8: 2609 9: 2600 10: 2600 11: 2600
12: 2600 bogomips: 62399
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
IBRS_FW, STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA TU106M [GeForce RTX 2060 Mobile] vendor: Lenovo
driver: nvidia v: 510.54 alternate: nouveau,nvidia_drm pcie: gen: 3
speed: 8 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:1f11 class-ID: 0300
Device-2: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 1-6:8
chip-ID: 5986:2130 class-ID: 0e02
Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
loaded: nvidia unloaded: modesetting alternate: fbdev,nouveau,nv,vesa
gpu: nvidia display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 144 s-size: 339x191mm (13.3x7.5")
s-diag: 389mm (15.3")
Monitor-1: DP-2 pos: primary,1-1 res: 1920x1080 hz: 144 dpi: 142
size: 344x193mm (13.5x7.6") diag: 394mm (15.5")
Monitor-2: HDMI-0 pos: primary,1-1 res: 1920x1080 hz: 60 dpi: 113
size: 432x243mm (17.0x9.6") diag: 496mm (19.5")
OpenGL: renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
v: 4.6.0 NVIDIA 510.54 direct render: Yes
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel
v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
chip-ID: 8086:a348 class-ID: 0403
Device-2: NVIDIA TU106 High Definition Audio vendor: Lenovo
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:10f9 class-ID: 0403
Device-3: Logitech Blue Microphones type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-3.1:18
chip-ID: 046d:0ab7 class-ID: 0300 serial: <filter>
Sound Server-1: ALSA v: k5.16.13-zen1-1-zen running: yes
Sound Server-2: sndio v: N/A running: no
Sound Server-3: PulseAudio v: 15.0 running: no
Sound Server-4: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 00:14.3 chip-ID: 8086:a370 class-ID: 0280
IF: wlp0s20f3 state: down mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: 3000 bus-ID: 07:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: anbox0 state: down mac: <filter>
Bluetooth:
Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB
driver: btusb v: 0.8 bus-ID: 1-14:12 chip-ID: 8087:0aaa class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 3 state: up address: <filter>
Drives:
Local Storage: total: 1.38 TiB used: 142.84 GiB (10.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
model: PC SN520 SDAPMUW-512G-1101 size: 476.94 GiB block-size:
physical: 512 B logical: 512 B speed: 15.8 Gb/s lanes: 2 type: SSD
serial: <filter> rev: 20290001 temp: 39.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ04ABF100
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B
speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter> rev: 2J scheme: GPT
Partition:
ID-1: / raw-size: 492.23 GiB size: 492.23 GiB (100.00%)
used: 142.8 GiB (29.0%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
used: 44.8 MiB (46.7%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 492.23 GiB size: 492.23 GiB (100.00%)
used: 142.8 GiB (29.0%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-4: /var/log raw-size: 492.23 GiB size: 492.23 GiB (100.00%)
used: 142.8 GiB (29.0%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-5: /var/tmp raw-size: 492.23 GiB size: 492.23 GiB (100.00%)
used: 142.8 GiB (29.0%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.54 GiB used: 6.9 MiB (0.0%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 54.0 C pch: 64.0 C mobo: N/A gpu: nvidia
temp: 49 C
Fan Speeds (RPM): N/A
Info:
Processes: 349 Uptime: 1h 3m wakeups: 12 Memory: 15.54 GiB
used: 5.58 GiB (35.9%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 2057 lib: 568 Shell: fish
v: 3.3.1 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.13
Garuda (2.5.5-1):
System install date:     2022-03-07
Last full system update: 2022-03-10
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       Probably (Run as root to verify)
Snapshots:               Snapper
Failed units:            systemd-networkd-wait-online.service

Being honest, I have been lucky to not have to mess with initramfs, but the FAQ for that driver indicates that if modules are reloading on Arch to run:

sudo mkinitcpio -P

http://opentabletdriver.net/Wiki/FAQ/Linux

I would presume that is after you run the blacklist cmds.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.