Skip to main content
Topic: Battery not found, other systems don’t have this issue (Read 150 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Battery not found, other systems don’t have this issue

Code: [Select]
# /var/log/openrc.log
...
* Loading acpi_call ...
* Failed to load acpi_call :(
...
All the ACPI, uPower, eLoginD packages are installed before the reboot, but the system still doesn’t load the battery.
Artix; OpenRC; SDDM
Plasma 5, LXQt, Lumina, LiquidShell, Liri
Xfce, Sway, Budgie, Cinnamon, Enlightenment :) :D 8)


Re: Battery not found, other systems don’t have this issue

Reply #2
Code: [Select]
# /var/log/openrc.log
...
* Loading acpi_call ...
* Failed to load acpi_call :(
...
All the ACPI, uPower, eLoginD packages are installed before the reboot, but the system still doesn’t load the battery.

If you try to start it manually /usr/sbin/acpid  what do you get as output?  I think all that acpid-openrc does is this.

Re: Battery not found, other systems don’t have this issue

Reply #3
Please, post the output of
Code: [Select]
$ sudo modprobe acpi_call
$ lsmod | grep acpi
Code: [Select]
[[email protected] ~]$ sudo modprobe acpi_call && lsmod|grep acpi
modprobe: FATAL: Module acpi_call not found in directory /lib/modules/4.20.12-artix1-1-ARTIX
[[email protected] ~]$
Kernel-specific issue should be ... Since other systems don’t occur this
Artix; OpenRC; SDDM
Plasma 5, LXQt, Lumina, LiquidShell, Liri
Xfce, Sway, Budgie, Cinnamon, Enlightenment :) :D 8)

Re: Battery not found, other systems don’t have this issue

Reply #4
If you try to start it manually /usr/sbin/acpid  what do you get as output?  I think all that acpid-openrc does is this.

‘‘sudo acpid’’ command just runs without any logs. :)
Artix; OpenRC; SDDM
Plasma 5, LXQt, Lumina, LiquidShell, Liri
Xfce, Sway, Budgie, Cinnamon, Enlightenment :) :D 8)

Re: Battery not found, other systems don’t have this issue

Reply #5
Code: [Select]
[[email protected] ~]$ sudo modprobe acpi_call && lsmod|grep acpi
modprobe: FATAL: Module acpi_call not found in directory /lib/modules/4.20.12-artix1-1-ARTIX
[[email protected] ~]$
Kernel-specific issue should be ... Since other systems don’t occur this
Your kernel installation is incomplete or botched, run
Code: [Select]
find /usr/lib/modules -name "*acpi_call*"
and post results. If it comes back empty, re-install your kernel.

Re: Battery not found, other systems don’t have this issue

Reply #6
Code: [Select]
[[email protected] ~]$ sudo updatedb && locate acpi_call|grep -e /usr/lib/modules 
/usr/lib/modules/extramodules-ARCH/acpi_call.ko.xz
/usr/lib/modules-load.d/acpi_call.conf
[[email protected] ~]$ cat /usr/lib/modules-load.d/acpi_call.conf                                                                                                                                                                                                                                                                            
acpi_call                                                                                                                                                                                                                                                                                                                                      
[[email protected] ~]$
Your kernel installation is incomplete or botched, run
Code: [Select]
find /usr/lib/modules -name "*acpi_call*"
and post results. If it's come back empty, re-install your kernel.
I have these acpi_call modules and what to do now? After kernel reinstallation the above results are remained the same. After a reboot then nothing wrong? :)
Artix; OpenRC; SDDM
Plasma 5, LXQt, Lumina, LiquidShell, Liri
Xfce, Sway, Budgie, Cinnamon, Enlightenment :) :D 8)

Re: Battery not found, other systems don’t have this issue

Reply #7
Are you by any chance using the new arch kernel 5.0 or 5.0.1?
I tried it and had some problems, USB disks sticks, etc, wouldn't list on /dev/disk
Hwinfo would show that the system read the hw but this didn't translate in being able to access them or mount them.
I switched back to artix 4.19 and the problem went away.

Re: Battery not found, other systems don’t have this issue

Reply #8
Code: [Select]
[[email protected] ~]$ sudo updatedb && locate acpi_call|grep -e /usr/lib/modules 
/usr/lib/modules/extramodules-ARCH/acpi_call.ko.xz
/usr/lib/modules-load.d/acpi_call.conf
[[email protected] ~]$ cat /usr/lib/modules-load.d/acpi_call.conf                                                                                                                                                                                                                                                                            
acpi_call                                                                                                                                                                                                                                                                                                                                      
[[email protected] ~]$
I have these acpi_call modules and what to do now? After kernel reinstallation the above results are remained the same. After a reboot then nothing wrong? :)

Please, run the commands exactly as I requested. Not updatedbs, no locates, no greps. It makes it hard to get meaningful information. Even so, your result only showed a module in extramodules-ARCH and you seem to be running 4.20.12-artix1-1-ARTIX. No wonder your kernel can't load it.
Follow the instructions of my previous post and also show us your running kernel with uname -a.

Re: Battery not found, other systems don’t have this issue

Reply #9
My kernel is 4.20.12-ARTIX, and the outputs from the command you request are the same from:
Code: [Select]
/usr/lib/modules/extramodules-ARCH/acpi_call.ko.xz
Please, run the commands exactly as I requested. Not updatedbs, no locates, no greps. It makes it hard to get meaningful information. Even so, your result only showed a module in extramodules-ARCH and you seem to be running 4.20.12-artix1-1-ARTIX. No wonder your kernel can't load it.
Follow the instructions of my previous post and also show us your running kernel with uname -a.
Artix; OpenRC; SDDM
Plasma 5, LXQt, Lumina, LiquidShell, Liri
Xfce, Sway, Budgie, Cinnamon, Enlightenment :) :D 8)


Re: Battery not found, other systems don’t have this issue

Reply #11
Install acpi_call-dkms, it should fix your problem.
Code: [Select]
[[email protected] ~]$ cat /var/log/rc*.log|grep -e acpi && pacman -Ss acpi_call-dkms
 * Stopping acpid ...
 * Stopping acpid ...
 * Loading module acpi_call ...
 * Failed to load acpi_call
 * Starting acpid ...
community/acpi_call-dkms 1.1.0-199 [installed]                                                                                                                                                                                                                                                                                                 
    A linux kernel module that enables calls to ACPI methods through /proc/acpi/call                                                                                                                                                                                                                                                           
galaxy/acpi_call-dkms 1.1.0-199 [installed]                                                                                                                                                                                                                                                                                                    
    A linux kernel module that enables calls to ACPI methods through /proc/acpi/call                                                                                                                                                                                                                                                           
[[email protected] ~]$ sudo rc-update|grep -e elogind -e acpi
                acpid | boot                                  
              elogind | boot                                  
[[email protected] ~]$
Seems useless :(
Artix; OpenRC; SDDM
Plasma 5, LXQt, Lumina, LiquidShell, Liri
Xfce, Sway, Budgie, Cinnamon, Enlightenment :) :D 8)

Re: Battery not found, other systems don’t have this issue

Reply #12
Try re-installing, the acpi_call is missing from your kernel modules directory.
This is what you should be seeing:
Code: [Select]
hyperion:[nous]:~% uname -a
Linux hyperion 4.20.14-1-ck-haswell #1 SMP PREEMPT Tue Mar 5 16:47:13 EST 2019 x86_64 GNU/Linux
hyperion:[nous]:~% find /usr/lib/modules/`uname -r` -name "acpi_call*"
/usr/lib/modules/4.20.14-1-ck-haswell/kernel/drivers/acpi/acpi_call.ko
hyperion:[nous]:~% lsmod|grep acpi
acpi_call              16384  0
hyperion:[nous]:~% pacman -Q | grep acpi_call
acpi_call-dkms 1.1.0-195
hyperion:[nous]:~%

Re: Battery not found, other systems don’t have this issue

Reply #13
Code: [Select]
[hd_s[email protected] ~]$ uname -a && find /usr/lib/modules/`uname -r` -name "acpi_call*" && lsmod|grep -e acpi && pacman -Q|grep -e acpi_call
Linux hd-scania 5.0.2-artix1-1-ARTIX #1 SMP PREEMPT Thu Mar 14 22:57:06 UTC 2019 x86_64 GNU/Linux                                                                                                                                                                                                                                              
pata_acpi              16384  0
libata                278528  3 ata_piix,pata_acpi,ata_generic
acpi_call-dkms 1.1.0-199
[[email protected] ~]$
Note that I’m already 5.0.2 kernel that misses acpi kernel object somewhy. So downgrade the kernel as casually proposed before?
Try re-installing, the acpi_call is missing from your kernel modules directory.
This is what you should be seeing:
Code: [Select]
hyperion:[nous]:~% uname -a
Linux hyperion 4.20.14-1-ck-haswell #1 SMP PREEMPT Tue Mar 5 16:47:13 EST 2019 x86_64 GNU/Linux
hyperion:[nous]:~% find /usr/lib/modules/`uname -r` -name "acpi_call*"
/usr/lib/modules/4.20.14-1-ck-haswell/kernel/drivers/acpi/acpi_call.ko
hyperion:[nous]:~% lsmod|grep acpi
acpi_call              16384  0
hyperion:[nous]:~% pacman -Q | grep acpi_call
acpi_call-dkms 1.1.0-195
hyperion:[nous]:~%
Artix; OpenRC; SDDM
Plasma 5, LXQt, Lumina, LiquidShell, Liri
Xfce, Sway, Budgie, Cinnamon, Enlightenment :) :D 8)