Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: Jason W on August 28, 2011, 10:20:22 PM
-
Ibam is not working with TC 4.x, seems to be some changes in where the kernel keeps relevant files, a snipped output of strace:
open("/proc/apm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/apm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/apm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/apm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/apm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/apm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/apm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/apm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/apm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/apm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/apm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
mkdir("/home/tc/.ibam", 0755) = -1 EEXIST (File exists)
open("/home/tc/.ibam/ibam.rc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
write(2, "No apm data available.", 22No apm data available.) = 22
write(2, "\n", 1
) = 1
exit_group(0) = ?
-
Is APM enabled in the 4.x kernel?
Which command line switch was used?
-
No flags were used, I always just used the command alone.
This patch that gentoo uses on it's package fixes the issue on my box:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-laptop/ibam/files/ibam-0.5.2-acpi.patch?revision=1.1
-
I will take a look on the patch. Good to hear it is used!
-
Yes, there is APM, but newer boxes do not have it.
-
No flags were used, I always just used the command alone.
This patch that gentoo uses on it's package fixes the issue on my box:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-laptop/ibam/files/ibam-0.5.2-acpi.patch?revision=1.1
Recompiled on TC4.0 apllying patch. It works fine. However binary is 470k after stripping resulting a 201k .tcz while TC 3.x build is only 29k.
:( :(
-
updated univarsal (TC 0.75) extension sent
-
Thanks, I will upload them.