Re: Tuxedo drivers on LFS

"Xi Ruoyao" ([email protected] via blfs-support Mailing List) <[email protected]> Wed, 03 Sep 2025 21:29:47 +0800
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <[email protected]>
On Wed, 2025-09-03 at 13:22 +0000, Cliff mcDiarmid wrote:

/* snip */


> ERROR: modpost: "devm_led_classdev_multicolor_unregister" [/home/cliffy/
> Downloads/temp2/tuxedo-drivers/src/ite_8291/ite_8291.ko] undefined!
> ERROR: modpost: "devm_led_classdev_multicolor_register_ext" [/home/cliffy/
> Downloads/temp2/tuxedo-drivers/src/ite_8291/ite_8291.ko] undefined!
> ERROR: modpost: "devm_led_classdev_multicolor_unregister" [/home/cliffy/
> Downloads/temp2/tuxedo-drivers/src/ite_8291_lb/ite_8291_lb.ko] undefined!
> ERROR: modpost: "devm_led_classdev_multicolor_register_ext" [/home/cliffy/
> Downloads/temp2/tuxedo-drivers/src/ite_8291_lb/ite_8291_lb.ko] undefined!
> ERROR: modpost: "devm_led_classdev_multicolor_unregister" [/home/cliffy/
> Downloads/temp2/tuxedo-drivers/src/ite_829x/ite_829x.ko] undefined!
> ERROR: modpost: "devm_led_classdev_multicolor_register_ext" [/home/cliffy/
> Downloads/temp2/tuxedo-drivers/src/ite_829x/ite_829x.ko] undefined!
> ERROR: modpost: "sparse_keymap_setup" [/home/cliffy/Downloads/temp2/tuxedo-
> drivers/src/tuxedo_nb05/tuxedo_nb05_keyboard.ko] undefined!
> ERROR: modpost: "sparse_keymap_entry_from_scancode" [/home/cliffy/Downloads/
> temp2/tuxedo-drivers/src/tuxedo_nb05/tuxedo_nb05_keyboard.ko] undefined!
> ERROR: modpost: "sparse_keymap_report_entry" [/home/cliffy/Downloads/temp2/
> tuxedo-drivers/src/tuxedo_nb05/tuxedo_nb05_keyboard.ko] undefined!
> ERROR: modpost: "sparse_keymap_setup" [/home/cliffy/Downloads/temp2/tuxedo-
> drivers/src/tuxedo_nb04/tuxedo_nb04_keyboard.ko] undefined!

It looks like you've missed some kernel configuration settings required
by that driver.  Try to grep for those identifiers in the kernel tree
and find the configuration settings needed, then enable them.

If you cannot find them with all efforts, it's likely the driver is
incompatible with the kernel version you are using.  You need to tell
its developer to adapt it then.

And it's NOT a bug of GCC, nor one of the kernel, nor one of (B)LFS. 
The instability of kernel internal API is quite intentional and (B)LFS
does not support building/running out-tree modules in general (some may
happens to work but they just happen).

-- 
Xi Ruoyao <[email protected]>

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page