SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
use the same kernel source (clean up first)
change the line
CONFIG_LOCALVERSION=
so not to overwrite existing /lib/modules/5.x-x
change as you suggest
-CONFIG_APPLE_MFI_FASTCHARGE=m
+CONFIG_APPLE_MFI_FASTCHARGE=y
build new kernel (10 min?) and give it different name (vmlinuz-yy)
reboot and test
in less than 20min you should have your answer.
I don't know if there is a problem with iphone because I don't use it (although could borrow from my wife). If you don't see an option in 5.14.0-rc7, after you copied Slackware-current config, then first thing to do is to remove config file and check if option is available, then build real custom kernel, then check functionality, then ask about the bug (if there is a bug)
Default Arch configuration
This method will create a .config file for the custom kernel using the default Arch kernel settings. If a stock Arch kernel is running,
you can use the following command inside the custom kernel source directory:
If you want to use the configuration for the currently running kernel as your base, you may be able to locate it at /proc/config.gz.
This is a special kernel-related file that includes the entire kernel configuration in a compressed format and requires that your
kernel was built to support it.
Anyway, I've been compiling my own kernel for a long time
I'm not saying I know everything about compiling a kernel from source
but that the way I compile my own kernel works pretty well
It took me 10 min to rebuild kernel with the option
connecting/re-connecting my wife's iphone (S6) leads to charging each time when iphone is connected.
Clearly, if you would know how to re-build custom kernel, you would get exactly the same result
note
..and after another rebuild (next 10min)
I got exactly the same result as you did with CONFIG_APPLE_MFI_FASTCHARGE set as module. So in 20min I got all the answers.
I hadn't noticed at first
But the problem is not specifically focused on the reloading
The problem is the tethering (I may be wrong, but it seems that you haven't tested it)
Now that the 5.14 is in slackware
And I have my own kernel in 5.14, I can say :
CONFIG_APPLE_MFI_FASTCHARGE=y with my own kernel, everything is fine
CONFIG_APPLE_MFI_FASTCHARGE=m with both generic or huge kernel
the reload is ok
but no tethering
I hadn't noticed at first
But the problem is not specifically focused on the reloading
The problem is the tethering (I may be wrong, but it seems that you haven't tested it)
Now that the 5.14 is in slackware
And I have my own kernel in 5.14, I can say :
CONFIG_APPLE_MFI_FASTCHARGE=y with my own kernel, everything is fine
CONFIG_APPLE_MFI_FASTCHARGE=m with both generic or huge kernel
the reload is ok
but no tethering
It's still relevant today
It would be nice, if nobody sees any inconvenience, if this module could be built-in
CONFIG_APPLE_MFI_FASTCHARGE=y
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.