I purchased a PCIe USB card PEXUSB3S44V from StarTech (link below). I use ubuntu 16.04 and kernel 4.15. I can see the card when typing lspci and lsusb. But it doesn't work. I contacted StarTech support and they tell me that this card doesn't work with kernels higher than 4.9. Do I have any way to fix this? Can I compile and run the kernel 4.9? Could this interfere with other softwares on this system? I only use CUDA and tensorflow on this system.
Home
/
user-809871
baca's questions
I'm trying to install a USB wifi dongle under Ubuntu 16.04. It came with linux drivers supposedly compatible with linux 2.6x-4.1x. I tried to install the driver (called RTL88x2BU_WiFi_linux_v5.2.4.1) but I originally received the following error:
.../include/osdep_service.h:355:2: error: implicit declaration of function ‘allow_s
ignal’ [-Werror=implicit-function-declaration]
allow_signal(SIGTERM);
I found somewhere that adding this code to the script "osdep_service.h" prevents the error:
#include <linux/version.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
#include <linux/sched/signal.h>
#endif
But then I get a new error:
.../os_dep/linux/ioctl_cfg80211.c:734:3: error: too many arguments to function ‘cfg80211_roamed’
cfg80211_roamed(padapter->pnetdev
I read somewhere else that removing the #if LINUX... condition from this code would solve the problem:
cfg80211_roamed(padapter -> pnetdev
# if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 39) || defined(COMPAT_KERNEL_RELEASE)
, notify_channel
#endif
, cur_network -> network.MacAddress
, pmlmepriv -> assoc_req + sizeof(struct rtw_ieee80211_hdr_3addr) + 2
, pmlmepriv -> assoc_req_len - sizeof(struct rtw_ieee80211_hdr_3addr) - 2
, pmlmepriv -> assoc_rsp + sizeof(struct rtw_ieee80211_hdr_3addr) + 6
, pmlmepriv -> assoc_rsp_len - sizeof(struct rtw_ieee80211_hdr_3addr) - 6
, GFP_ATOMIC
);
Unfortunately I now have the following error:
.../os_dep/linux/ioctl_cfg80211.c:734:3: error: too many arguments to function ‘cfg80211_roamed’
cfg80211_roamed(padapter->pnetdev
Could someone explain to me how to install this wifi dongle? I'm not very familiar with linux. Thanks.