Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SKYWORTH E900V22C, WiFi/RTL88x2cs not recognized #2715

Open
rodomb opened this issue Dec 25, 2024 · 3 comments
Open

SKYWORTH E900V22C, WiFi/RTL88x2cs not recognized #2715

rodomb opened this issue Dec 25, 2024 · 3 comments

Comments

@rodomb
Copy link

rodomb commented Dec 25, 2024

**Device Information: SKYWORTH E900V22C/KINHANK X2 PRO

  • SOC: S905L3a
  • Model: SKYWORTH E900V22C/KINHANK X2 PRO

**Armbian Version: Armbian OS 25.02.0 bookworm aarch64

  • Kernel Version: 6.6.67-merry-christmas
  • Release: bookworm

**Describe the bug:
I installed armbian on game console KINHANK X2 PRO. I used image Armbian_25.02.0_amlogic_s905l3a_bookworm_6.6.67_server_2024.12.24.img.gz.
Ethernet is working but Wifi not. I would like to try add WiFi. Earlier on android I noted that is used rtl88x2cs card. So I did:

  1. git clone https://github.com/jethome-ru/rtl88x2cs.git
  2. cd rtl88x2cs
  3. make
    But I received:
    make ARCH=aarch64 CROSS_COMPILE= -C /lib/modules/6.6.67-merry-christmas/build M=/rtl88x2cs modules
    make[1]: Entering directory '/usr/src/linux-headers-6.6.67-merry-christmas'
    /usr/src/linux-headers-6.6.67-merry-christmas/Makefile:768: arch/aarch64/Makefile: No such file or directory
    make[2]: *** No rule to make target 'arch/aarch64/Makefile'. Stop.
    make[1]: *** [Makefile:234: __sub-make] Error 2
    make[1]: Leaving directory '/usr/src/linux-headers-6.6.67-merry-christmas'
    make: *** [Makefile:2416: modules] Error 2

Can you point out me what to do??

@rodomb
Copy link
Author

rodomb commented Dec 26, 2024

OK so I did not waited and made some changes.
Problem is with gcc version (point 4) but maybe is not so important??
Finally in point 6 anyway I have error.
Now my procedure in steps looks like below:

  1. git clone https://github.com/jethome-ru/rtl88x2cs.git

  2. cd rtl88x2cs

  3. root@armbian:/rtl88x2cs# sed -i 's/$(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd)/$(MAKE) -j4 -C $(KSRC) M=$(shell pwd)/g' Makefile
    root@armbian:/rtl88x2cs# sed -i 's/$(CROSS_COMPILE)strip $(MODULE_NAME).ko --strip-unneeded/strip $(MODULE_NAME).ko --strip-unneeded/g' Makefile

  4. root@armbian:/rtl88x2cs# make
    at the beginning I received:
    warning: the compiler differs from the one used to build the kernel
    The kernel was built by: aarch64-none-elf-gcc (Arm GNU Toolchain 14.2.Rel1 (Build arm-14.52)) 14.2.1 20241119
    You are using: gcc (Debian 12.2.0-14) 12.2.0
    .
    .
    .
    at the end I received:
    Skipping BTF generation for /rtl88x2cs/88x2cs.ko due to unavailability of vmlinux
    make[1]: Leaving directory '/usr/src/linux-headers-6.6.67-merry-christmas'

  5. root@armbian:/rtl88x2cs# make install
    install -p -m 644 88x2cs.ko /lib/modules/6.6.67-merry-christmas/kernel/drivers/net/wireless/
    /sbin/depmod -a 6.6.67-merry-christmas

  6. root@armbian:/rtl88x2cs#sudo insmod 88x2cs.ko
    insmod: ERROR: could not insert module 88x2cs.ko: Unknown symbol in module

@rodomb
Copy link
Author

rodomb commented Dec 26, 2024

Thx adeepn for help.
I did everything like in link (adjusted to my kernel version, paths, etc.) and finally I did not have any errors. Finally last entry after dmesg was "loading out-of-tree module taints kernel" but I suppose that this is only warning/information.

But anyway I do not see any wireless interface. Maybe information that it is rtl88x2cs was fake like also about chipset version in this console.
So I do not have idea what to do and have to give up. I will not have wifi in this box.

Maybe I have to start from DTB file.

@ophub is wifi included in meson-g12a-s905l3a-e900v22c.dtb file??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants