Code: Select all
sudo dpkg -i w311miv6-pkg-v1.0.0-amd64.deb
[sudo] password for gaurav:
(Reading database ... 167550 files and directories currently installed.)
Preparing to unpack w311miv6-pkg-v1.0.0-amd64.deb ...
Uninstall aic8800 wifi driver!!!!!
rmmod: ERROR: Module aic8800_fdrv is not currently loaded
rmmod: ERROR: Module aic_load_fw is not currently loaded
/bin/sh: 1: test: -lt: unexpected operator
rm -rf *.o *.ko *.o.* *.mod.* modules.* Module.* .a* .o* .*.o.* *.mod .tmp* .cache.mk
/bin/sh: 1: test: -lt: unexpected operator
rm -rfv /lib/modules/6.1.0-22-amd64/kernel/drivers/net/wireless/aic8800/aic8800_fdrv.ko
/sbin/depmod -a 6.1.0-22-amd64
rm -rf *.o *.ko *.o.* *.mod.* modules.* Module.* .a* .o* .*.o.* *.mod .tmp* .cache.mk
rm -rfv /lib/modules/6.1.0-22-amd64/kernel/drivers/net/wireless/aic8800/aic_load_fw.ko
/sbin/depmod -a 6.1.0-22-amd64
rm *.o wifi_test bt_test
Install aic8800 wifi driver!!!!!
Unpacking w311miv6-pkg (1.0.0) over (1.0.0) ...
Uninstall aic8800 wifi driver successful!!!!!
Setting up w311miv6-pkg (1.0.0) ...
udev done
device not exist
cp fw done
make -C /lib/modules/6.1.0-22-amd64/build M=/AIC8800/drivers/aic8800 ARCH=x86_64 CROSS_COMPILE= modules
make[1]: *** /lib/modules/6.1.0-22-amd64/build: No such file or directory. Stop.
make: *** [Makefile:55: modules] Error 2
mkdir -p /lib/modules/6.1.0-22-amd64/kernel/drivers/net/wireless/aic8800
install -p -m 644 aic_load_fw/aic_load_fw.ko /lib/modules/6.1.0-22-amd64/kernel/drivers/net/wireless/aic8800/
install: cannot stat 'aic_load_fw/aic_load_fw.ko': No such file or directory
make: *** [Makefile:59: install] Error 1
insmod: ERROR: could not load module /AIC8800/drivers/aic8800/aic_load_fw/aic_load_fw.ko: No such file or directory
insmod: ERROR: could not load module /AIC8800/drivers/aic8800/aic8800_fdrv/aic8800_fdrv.ko: No such file or directory
insmod done
gcc -c wifi_test.c -o wifi_test.o
gcc wifi_test.o -o wifi_test
gcc -c bt_test.c -o bt_test.o
gcc bt_test.o -lpthread -o bt_test
sudo cp wifi_test /sbin
sudo cp bt_test /sbin
Install aic8800 wifi driver successful!!!!!
What can I do to resolve the problem?
Cheers!