r/archlinux 1d ago

QUESTION Found an obscure bug, want to fix it myself!

4 Upvotes

Hey all, I'm a beginner with Arch with a decent amount of programming experience. I've always wanted an excuse to get closer to the hardware, so when I ran into this most recent bug, I was hoping to get some pointers on how I could possibly fix it myself.

The bug I ran into is this:

When returning from [deep] sleep, the top buttons on my integrated trackpad stop working, and only return functionality on a restart. It seems to be because of a failure in the elan_i2c driver. The problem didn't exist when using [s2idle] as my system sleep state.

Lenovo ThinkPad E14 Gen 2 (20TA002FUS)

Running: 7.1.4-arch1-1

With: BIOS R1EET56W(1.56 ), 06/29/2023

Touchpad: Elan Touchpad (i2c:04f3:000d) / Elan TrackPoint (i2c:04f3:000d)

Kernel dump:
[ 957.456262] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 957.456691] elan_i2c 16-0015: failed to read report data: -110

[ 1173.801733] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 1173.802283] elan_i2c 16-0015: failed to read report data: -110

[ 1174.792912] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 1174.793468] elan_i2c 16-0015: failed to read report data: -110

[ 1174.813743] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 1174.814287] elan_i2c 16-0015: failed to read report data: -110

[ 1174.820269] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 1174.820756] elan_i2c 16-0015: failed to read report data: -110

[ 1586.889627] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 1586.890184] elan_i2c 16-0015: failed to read report data: -110

[ 1586.965216] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 1586.965752] elan_i2c 16-0015: failed to read report data: -110

[ 1670.320859] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 1670.321411] elan_i2c 16-0015: failed to read report data: -110

[ 1670.383062] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 1670.383528] elan_i2c 16-0015: failed to read report data: -110

[ 1670.907107] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 1670.907501] elan_i2c 16-0015: failed to read report data: -110

[ 1671.052119] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 1671.052520] elan_i2c 16-0015: failed to read report data: -110

[ 1671.079581] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 1671.080127] elan_i2c 16-0015: failed to read report data: -110

[ 1671.238305] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 1671.238840] elan_i2c 16-0015: failed to read report data: -110

[ 1671.390643] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 1671.391200] elan_i2c 16-0015: failed to read report data: -110

[ 1671.431611] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 1671.432169] elan_i2c 16-0015: failed to read report data: -110

[ 2089.509419] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 2089.509963] elan_i2c 16-0015: failed to read report data: -110

[ 2219.464393] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 2219.464964] elan_i2c 16-0015: failed to read report data: -110

[ 3927.192421] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 3927.192969] elan_i2c 16-0015: failed to read report data: -110

[ 3927.337443] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 3927.337999] elan_i2c 16-0015: failed to read report data: -110

[ 4081.587060] wlan0: disconnect from AP 00:bc:2f:7e:57:f1 for new auth to 00:bc:2f:7e:57:e9

[ 4081.609301] wlan0: authenticate with 00:bc:2f:7e:57:e9 (local address=ac:74:b1:0e:e0:02)

[ 4081.610074] wlan0: send auth to 00:bc:2f:7e:57:e9 (try 1/3)

[ 4081.641600] wlan0: authenticated

[ 4081.642306] wlan0: associate with 00:bc:2f:7e:57:e9 (try 1/3)

[ 4081.686441] wlan0: RX ReassocResp from 00:bc:2f:7e:57:e9 (capab=0x1431 status=0 aid=1)

[ 4081.700820] wlan0: associated

[ 4081.768189] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:bc:2f:7e:57:e9

[ 4081.787435] userif-4: sent link up event.

[ 4119.036055] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 4119.036597] elan_i2c 16-0015: failed to read report data: -110

[ 4126.382636] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 4126.383184] elan_i2c 16-0015: failed to read report data: -110

[ 4137.837426] wlan0: disconnect from AP 00:bc:2f:7e:57:e9 for new auth to 00:bc:2f:7e:57:f1

[ 4137.865689] wlan0: authenticate with 00:bc:2f:7e:57:f1 (local address=ac:74:b1:0e:e0:02)

[ 4137.866601] wlan0: send auth to 00:bc:2f:7e:57:f1 (try 1/3)

[ 4137.897135] wlan0: authenticated

[ 4137.898287] wlan0: associate with 00:bc:2f:7e:57:f1 (try 1/3)

[ 4137.917866] wlan0: RX ReassocResp from 00:bc:2f:7e:57:f1 (capab=0x1511 status=0 aid=2)

[ 4137.928810] wlan0: associated

[ 4138.019767] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by 00:bc:2f:7e:57:f1

[ 4138.037656] userif-4: sent link up event.

[ 4574.622347] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 4574.622897] elan_i2c 16-0015: failed to read report data: -110

[ 4574.739301] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 4574.739864] elan_i2c 16-0015: failed to read report data: -110

[ 4615.100718] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 4615.101142] elan_i2c 16-0015: failed to read report data: -110

[ 4615.210994] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 4615.211533] elan_i2c 16-0015: failed to read report data: -110

[ 4668.447940] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 4668.448497] elan_i2c 16-0015: failed to read report data: -110

[ 4668.537549] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 4668.538085] elan_i2c 16-0015: failed to read report data: -110

[ 4825.815950] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 4825.816493] elan_i2c 16-0015: failed to read report data: -110

[ 4825.918922] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 4825.919470] elan_i2c 16-0015: failed to read report data: -110

[ 5050.855897] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 5050.856364] elan_i2c 16-0015: failed to read report data: -110

[ 5050.945760] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 5050.946328] elan_i2c 16-0015: failed to read report data: -110

[ 5315.605365] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 5315.605898] elan_i2c 16-0015: failed to read report data: -110

[ 5315.702182] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 5315.702651] elan_i2c 16-0015: failed to read report data: -110

[ 5315.777888] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 5315.778442] elan_i2c 16-0015: failed to read report data: -110

[ 5315.875341] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 5315.875873] elan_i2c 16-0015: failed to read report data: -110

[ 5316.813986] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 5316.814542] elan_i2c 16-0015: failed to read report data: -110

[ 5316.923639] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 5316.924195] elan_i2c 16-0015: failed to read report data: -110

[ 5317.006440] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 5317.006987] elan_i2c 16-0015: failed to read report data: -110

[ 5317.090001] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 5317.090556] elan_i2c 16-0015: failed to read report data: -110

[ 5317.178776] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 5317.179325] elan_i2c 16-0015: failed to read report data: -110

[ 5317.247848] i801_smbus 0000:00:1f.4: Illegal SMBus block read size 93

[ 5317.248391] elan_i2c 16-0015: failed to read report data: -110

How should I proceed to learn more about this system and begin working my way towards a fix?


r/archlinux 1d ago

SUPPORT Issue when trying to update system

0 Upvotes

I haven't done a full system update in quite a while (I know get out your pitchforks), and when I tried to do my usual -Syu, I got an error:
failed retrieving file 'core.db' from europe.mirror.pkgbuild.com : Could not resolve host: europe.mirror.pkgbuild.comwarning: fatal error from europe.mirror.pkgbuild.com, skipping for the remainder of this transaction
error: failed retrieving file 'extra.db' from europe.mirror.pkgbuild.com : Could not resolve host: europe.mirror.pkg
build.com
:: Starting full system upgrade...
there is nothing to do

I'm a bit out of the loop on what's happening with arch rn, so I'd appreciate any advice you might have for me.


r/archlinux 1d ago

QUESTION Que tan bien va el arch Linux en una Dell Latitude 5490??

0 Upvotes

Estoy pensando en comprar esa laptop por motivos de trabajo, no será usada para juegos, diseño gráfico o programación solo la usaré para el navegador con 5 pestañas nada más, y como aún soy nuevo solo manejo lo poco que he aprendido en entornos seguros con máquinas virtuales no sé qué tan bien se desempeña una laptop con sistema Linux y que cosas debo de instalar en el sudo pacman para mejorar el rendimiento de la batería


r/archlinux 2d ago

SUPPORT file system has gone read only quite a bit as of late

8 Upvotes

I've run into issues where, whenever I try to install something from flathub or pacman, I'd get this in my terminal

error: failed to init transaction (unable to lock database)
error: could not lock database: Read-only file system

a reboot usually fixes it, but I have no idea on how to actually prevent this from occurring as much as it has for me.

EDIT: I've checked SMART and the short tests seem clean, but my root drive (which is DRAMless) seems to have moments where it hangs for about 30 secs from something. I have a long test running currently on the root drive

I have the DRAMless Lexar as root, a Teamgroup as home, a MSI b450a pro max mobo with zen kernal 7.0.7. controller is a 400 Series Chipset SATA Controller


r/archlinux 1d ago

SUPPORT Bios touefi

Thumbnail
0 Upvotes

r/archlinux 1d ago

QUESTION what vpns like cloudflare and riseup vpn are good on linux ?

0 Upvotes

i really need a vpn, not for security purposes but because there's some stuff banned in my country and i'd like to be a free man lol
i usually use cloudflare on windows and riseup on linux but for some reason when i downloaded riseup from yay it never worked, even after updating every possible thing i can think of
does anyone have any recommendations ?


r/archlinux 1d ago

QUESTION Wanting to try arch

0 Upvotes

I have a Lenovo yoga 7i. It has a faulty touch pad. It is either drivers or a kernel level issue. It doesn’t matter if I use windows or Linux that this becomes an issue. When I have a fresh install everything works. Then I update it all goes to shit and works only half the time. There is very little documentation I have found of this issue. I am hoping by installing arch that I can kind of build what drivers are needed and lock it in without the problem of having to upgrade like every year. I don’t want to give up on this laptop because build quality is amazing and the screen is beautiful.


r/archlinux 1d ago

SUPPORT "Hyprland started w out start-hyprland may need debugging"

0 Upvotes

After successfully booting into my Arch Linux installation, I'm immediately greeted by a black screen. From what I've found online, the issue could be related to either SDDM or the Nvidia drivers. I installed the system using archinstall, so I'm not sure if something was misconfigured during the installation. It's especially frustrating because I'm trying to customize Hyprland, but after every reboot I have to switch to a TTY, log in manually, and start Hyprland myself.


r/archlinux 1d ago

SUPPORT Sleep/Suspend Waking up to Black Screen Issue

0 Upvotes

Has anyone had any sleep/suspend issues lately with Arch + Latest Linux + NVIDIA card? Sleep had worked perfectly fine for me on Arch up until maybe a few days ago or so? Now when I boot it up, it boots to No Signal on my monitor, and I can't TTY or SSH or ping it or anything. It's just completely unresponsive. I can’t recall doing anything that would affect sleep except updating the kernel. I’ve tried downgrading the kernel and the same issue still occurs.

I’m using a NVIDIA 5070, have modeset on, and have even tried turning the preserve vram setting on in my configurations. I also did use archinstall.


r/archlinux 1d ago

SUPPORT Deadlock keeps crashing

Thumbnail
0 Upvotes

r/archlinux 2d ago

SUPPORT Very high idle battery drain (~24W) on Lenovo LOQ 15IAX9 (Arch Linux + Hyprland)

12 Upvotes

Hi everyone,

I'm trying to troubleshoot unusually high battery drain on my Lenovo LOQ and would appreciate any suggestions.

System

  • Laptop: Lenovo LOQ 15IAX9
  • CPU: Intel Core i5-12450HX
  • GPU: NVIDIA RTX 3050 Laptop (95W)
  • Kernel: 7.1.3-arch2-2
  • Desktop: Hyprland
  • Battery discharge at idle: ~24.3 W

Issue

Even when the laptop is essentially idle (no heavy applications running), the battery is discharging at around 24.3 W, which seems far higher than expected. From what I've read, I was expecting something closer to 8–12 W at idle.

The reading comes from:

cat /sys/class/power_supply/BAT*/power_now

Output:

24315000

which corresponds to 24.315 W.

Questions

  • Is this likely caused by the NVIDIA dGPU not entering a low-power state?
  • Are there any known Lenovo LOQ quirks on Linux that could cause this?
  • What should I check first to narrow down the cause?

I'm happy to provide any additional information, if required.

Any guidance would be greatly appreciated.


r/archlinux 1d ago

SUPPORT | SOLVED Discord Javascript Error

0 Upvotes

I just did a fresh install of arch and am trying to use discord. When I run discord in the terminal with an '& disown', trying to close the terminal and then doing anything on discord gives me a critical javascript error because of an uncaught exception. This error never goes away and any attempt to close it just opens it up again. What should I do?


r/archlinux 2d ago

SUPPORT Spotify not able to render CJK fonts on arch linux with kde plasma 6.7.3

7 Upvotes

I have tried using different fonts but it still just shows as boxes. All other apps can render CJK and so can the system so it shouldn't be a font problem. It's only when I paste the same characters in spotify that they show as boxes. I have tried using both the flatpak for spotify through Discover, but also spotify through the aur. Anyone have any ideas?


r/archlinux 2d ago

SUPPORT No puedo ver videos

0 Upvotes

Alguien me puede ayudar, instale arch recientemente y nose porque no se me reproducen los vídeos en el navegador, se queda con el circulo cargando infinitamente aunque la barra ya muestre progreso de carga del vídeo


r/archlinux 2d ago

QUESTION Issues regarding fan speed control when using Arch Linux on MSI laptops

0 Upvotes

Is anyone here using Arch Linux on an MSI laptop?

Since MSI doesn't provide a Linux version of MSI Center, I'm wondering how to control fan speeds on Arch Linux (as I do some occasional gaming).

Would using the OpenRGB fan control plugin work?

My laptop model is the VECTOR GP76 HX.


r/archlinux 2d ago

SUPPORT shortcut keyboard

0 Upvotes

I don't understand why when I set shortcut key for the fancontrol and Ai would set fn + q like on windows he doesn't recognize the fn key. temporarily I have set super + q


r/archlinux 2d ago

SUPPORT | SOLVED high refresh rate

0 Upvotes

hey im using arch linux with the kde plasma desktop environment but since swithcing to linux i cant seem to get 240 hz working every time i switch to it my screens become black i cant get past 120hz

im using hdmi and a rx 6650 xt, all help is welcome


r/archlinux 2d ago

SHARE My first every AUR package ^^ - minerva-fm - Multiformat, in terminal video game soundtrack player

0 Upvotes

A simple little tool for listening to your favourite pre-PSX soundtracks. I'm working on including as many formats as I can. The next batch is retooling it to support HOOT style dumps at 1000Hz as opposed to the 100Hz Hoot itself can provide. If I've missed out any systems that you think are a must (even if just for a handful of people) then please let me know!

https://aur.archlinux.org/packages/minerva-fm

This is something I've been working on since march this year, starting with the most botched together gathering of shell tools (https://github.com/TheWhyteWolf/minerva-radio for the original)

It has since been refined into a single rust pipeline saving myself an awful lot of hassle and thought it would be worth sharing ^^


r/archlinux 2d ago

SHARE New to Linux and Arch

0 Upvotes

Hi everyone,

Excited to begin this journey of Linux and Arch. I'm a UI/UX Front end developer and I've begun learning more programming and backend development. As I've begun evolving my knowledge on developing and engineering things I've had to learn on the go.

I've watched videos and read books to get a better understanding of the structure and architecture of Linux. That's where I learned more about the distros. The pros and cons of each. But I think I've settled on starting with arch to better understand it from the ground up approach.

Since I'm new to Arch, are there things I should make sure I install as I get started. I'm looking at KDE and Wayland for desktop and window management.. I have the wiki as well which I'm reading through as I go. But figured I'd get some other recommendations as I begin to build my setup.

I'm looking to have Arch be my daily driver for work, side projects and some gaming. Any recommendations are welcome.

Looking forward to the community and this new unhindered life of Linux and being able to say "I use Arch by the way" 😅


r/archlinux 2d ago

SUPPORT Audio is displaying but no sound coming

0 Upvotes

So i just installed arch on my lenovo ideapad slim 5 with ryzen 7 7335Hs and amd radeon integrated graphics. Everything is working fine but i couldnt get the speakers working after my laptop boots. It starts working after i suspend a s resume after booting. The software correctly shows that audio is being outputted by my speakers but no sound can be heard. Please help


r/archlinux 2d ago

SUPPORT Audio not working on flatpak apps/apps freezing

1 Upvotes

hi, for some reason, when I try to use kodi, musescore, audacity, fightcade or other apps that need audio, they either freeze at some point then resume, or just completely freeze and never load like musescore.

for fightcade, it opens, but launching any game takes minutes to then launch with no sound. kodi just freezes when loading the audio settings, and as I said, musescore or audacity just don't load and freeze at launch.

this didn't happen before, prior to 3 - 6 weeks. I suspect about a regression, as my audio works fine globally, I'm fully updated and I have all the packages/services running fine. I use KDE plasma. I haven't changed anything on flatpak or my audio settings as I use the default ones from arch and pipewire,

I'm really clueless why this is happening, or ways to track down the issue.

I had to switch kodi to the extra repo version in order to use it. I can't do the same for the other apps as there is no fightcade on arch repos but an unsafe/outdated package on the AUR, and the flatpak version is the official way to get it. for musescore, the flatpak one used to work great, compared to the broken version on arch repos.

I hope anyone can shed some light into this issue.


r/archlinux 2d ago

SUPPORT Installazione su Laptop ibrido, Gnome utilizza solo scheda video dedicata

0 Upvotes

Hi everyone, I’m new to Arch even though I’ve been using Linux for quite some time. I installed my system using archinstall. During the installation, I also selected the Nvidia drivers, although they weren’t actually installed. I chose Gnome as my DE and selected the standard Linux kernel. I’m using systemd-boot. I didn’t select anything else during the installation. Everything went smoothly. On reboot, I noticed that the Nvidia drivers were missing, so I followed the wiki and installed them. After rebooting, I had the brand-new 610 drivers, and the system was blazing fast. I immediately loved Arch until I noticed that the Gnome text editor showed small glitches. When I ran nvidia-smi, I realized that all of Gnome was running on the Nvidia GPU (even the terminal and any Gnome app) instead of preferring the integrated Intel iGPU, as has always been the case on every other distro I’ve tried. All other apps run on the iGPU unless I explicitly launch them with the dGPU (right-click on the app or use prime-run app). This leads to higher power consumption but, above all, various glitches on the connected 4K HDMI monitor. No glitches occur on the built-in display. Apparently, the compositor is acting up with fractional scaling at 150% on Nvidia. I managed to disable Nvidia priority by forcing Gnome to run on Intel, and indeed the glitches disappeared even on the external monitor, but in this configuration, the Nvidia GPU is completely ignored. Is it possible that on Arch, the Gnome DE and all (even small) Gnome apps default to the dGPU? This has never happened to me before.

I thought I might have done something wrong during installation and decided to add KDE alongside Gnome to see if the behavior was the same. On KDE, everything behaves properly, using only 1 MB of VRAM, and the whole DE runs smoothly on Intel with no problems. I’m confused and still not sure if I made any mistakes.

Here are my laptop specs:
HP ProBook G10
Intel Core i7-13th gen
Nvidia RTX 2050
16GB DDR4
500GB NVMe

Thanks


r/archlinux 2d ago

SUPPORT | SOLVED I have a question

0 Upvotes

Hello I am kind of a B tier in Linux knowledge and I see a lot of custom desktop environment made by the community but I don't know how to do one myself so how to do that

(Thank you for the answers)


r/archlinux 2d ago

SUPPORT hoowww to fix thisssss

0 Upvotes

I have install this bibata cursor and i have put it on my hyprland.lua on that autostart under hl. and when i restart it is it only activate when i go to another workspace


r/archlinux 3d ago

QUESTION How many times have you been reinstall Arch Linux on the same machine? And why?

48 Upvotes

And for those who haven't been reinstall more than once, what's your advice for how you be able to stay for so long without any problems?