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

Ubuntu 16.04 Kernal 4.4 - Not Working - No Errors #29

Open
KayUOM opened this issue Jul 25, 2017 · 1 comment
Open

Ubuntu 16.04 Kernal 4.4 - Not Working - No Errors #29

KayUOM opened this issue Jul 25, 2017 · 1 comment

Comments

@KayUOM
Copy link

KayUOM commented Jul 25, 2017

Hi,

I have a TP-LINK T2U im trying to get working with Ubuntu 16.04 k 4.4.0-83-generic.

sudo make

make -C tools make[1]: Entering directory '/home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/tools' gcc -g bin2h.c -o bin2h make[1]: Leaving directory '/home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/tools' /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/tools/bin2h chipset = mt7650u chipset = mt7630u chipset = mt7610u cp -f os/linux/Makefile.6 /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/Makefile make -C /lib/modules/4.4.0-83-generic/build SUBDIRS=/home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux modules make[1]: Entering directory '/usr/src/linux-headers-4.4.0-83-generic' CC [M] /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.o /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c: In function ‘SetRfChFreqParametersMT76x0’: /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:1224:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] pMT76x0_freq_item = &(MT76x0_SDM_Frequency_Plan[i]); ^ /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:1226:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] pMT76x0_freq_item = &(MT76x0_Frequency_Plan[i]); ^ In file included from include/linux/list.h:8:0, from include/linux/module.h:9, from /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:31, from /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44, from /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75, from /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33, from /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:28: /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c: In function ‘NICInitMT76x0RFRegisters’: include/linux/kernel.h:726:17: warning: comparison of distinct pointer types lacks a cast (void) (&_min1 == &_min2); \ ^ /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:1576:12: note: in expansion of macro ‘min’ RFValue = min(RFValue, 0xBF); /* Max of 9-bit built-in crystal oscillator C1 c ^ /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c: In function ‘MT76x0_ChipSwitchChannel’: /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:1791:20: warning: unused variable ‘delta_pwr’ [-Wunused-variable] UCHAR bbp_ch_idx, delta_pwr; ^ /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:1787:8: warning: unused variable ‘RFValue’ [-Wunused-variable] UCHAR RFValue = 0; ^ /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c: In function ‘mt76x0_read_per_rate_tx_pwr’: /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:2319:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] UCHAR bw40_gband_delta = 0, bw40_aband_delta = 0, bw80_aband_delta = 0; ^ /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:2361:35: warning: overflow in implicit constant conversion [-Woverflow] pAd->chipCap.delta_tw_pwr_bw80 = (e2p_val & 0xFF00) == 0xFF00 ? 0 : (e2p_val & ^ /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c: In function ‘mt76x0_read_tx_alc_info_from_eeprom’: /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/mt76x0.c:5498:10: warning: unused variable ‘status’ [-Wunused-variable] BOOLEAN status = TRUE; ^ LD [M] /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/mt7650u_sta.o Building modules, stage 2. MODPOST 1 modules LD [M] /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/mt7650u_sta.ko make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-83-generic' cp -f /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/mt7650u_sta.ko /tftpboot 2>/dev/null || :

sudo make install

make -C /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux -f Makefile.6 install make[1]: Entering directory '/home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux' mkdir: cannot create directory ‘/etc/Wireless’: File exists rm -rf /etc/Wireless/RT2860STA mkdir /etc/Wireless/RT2860STA cp /home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/conf/RT2860STA.dat /etc/Wireless/RT2860STA/. install -d /lib/modules/4.4.0-83-generic/kernel/drivers/net/wireless/ install -m 644 -c mt7650u_sta.ko /lib/modules/4.4.0-83-generic/kernel/drivers/net/wireless/ /sbin/depmod -a 4.4.0-83-generic make[1]: Leaving directory '/home/kay/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux'

I don't see any errors, so then i rebooted. I ran the following command

sudo modprobe mt7610u_sta

modprobe: FATAL: Module mt7610u_sta not found in directory /lib/modules/4.4.0-83-generic

Any help is appreciated.

@wxd81818
Copy link

HI! @KayUOM ,
You need use lsmod command ,print message.

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