Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2930

Installing a driver on WSL 2 Ubuntu

$
0
0

Im trying to install a driver for an FPGA JTAG cable. Ive already sorted the software, and used WSL USB to forward the usb to WSL. I cant install the driver though. Here is my output:

    --Install log = ./install_drivers--Installing cable drivers.--Driver versions in this package: windrvr=1301, xpc4drvr=1041--Script name = ./install_drivers--HostName = BCW7GJ3--Current working dir = /opt/Xilinx/14.7/LabTools/common/bin/lin64/install_script/install_drivers--Script location = /opt/Xilinx/14.7/LabTools/common/bin/lin64/install_script/install_drivers--No script argument.--Kernel version = 5.15.167.4-microsoft-standard-WSL2.--Arch = x86_64.--Installer version = 1100--Unsetting ARCH environment variable.--User has root permission.--File /lib/modules/misc/install_windrvr6 does not exist.--Installing USB drivers--------------------------------------------File /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex exists.--File /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex version = 1030--File xusbdfwu.hex exists.--File xusbdfwu.hex version = 1030--File xusbdfwu.hex is already updated.--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex exists.--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xlp.hex version = 1028--File xusb_xlp.hex exists.--File xusb_xlp.hex version = 1028--File xusb_xlp.hex is already updated.--File /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex exists.--File /etc/hotplug/usb/xusbdfwu.fw/xusb_emb.hex version = 1028--File xusb_emb.hex exists.--File xusb_emb.hex version = 1028--File xusb_emb.hex is already updated.--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex exists.--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xpr.hex version = 2004--File xusb_xpr.hex exists.--File xusb_xpr.hex version = 2004--File xusb_xpr.hex is already updated.--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex exists.--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xup.hex version = 1030--File xusb_xup.hex exists.--File xusb_xup.hex version = 1030--File xusb_xup.hex is already updated.--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex exists.--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xp2.hex version = 2300--File xusb_xp2.hex exists.--File xusb_xp2.hex version = 2300--File xusb_xp2.hex is already updated.--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex exists.--File /etc/hotplug/usb/xusbdfwu.fw/xusb_xse.hex version = 2006--File xusb_xse.hex exists.--File xusb_xse.hex version = 2006--File xusb_xse.hex is already updated.--Product ID 0007 is already in the usermap.--Product ID 0009 is already in the usermap.--Product ID 000d is already in the usermap.--Product ID 000f is already in the usermap.--Product ID 0013 is already in the usermap.--Product ID 0015 is already in the usermap.--Product ID 0008 is already in the usermap.--Installing windrvr6-----------------------------------------------Checking version.--File /lib/modules/5.15.167.4-microsoft-standard-WSL2/kernel/drivers/misc/windrvr6.ko does not exist.--File LINUX.5.15.167.4-microsoft-standard-WSL2.x86_64/windrvr6.ko does not exist.--Setting source version to 1301.--File LINUX.5.15.167.4-microsoft-standard-WSL2.x86_64/windrvr6.ko is newer than the destination file../configure: line 51: 6: Bad file descriptorconfigure: error: please install the kernel source or             specify alternate locationmake: *** No rule to make target 'clean'.  Stop.make: *** No targets specified and no makefile found.  Stop.make: *** No rule to make target 'install'.  Stop.--make windrvr install rc= 2cp: cannot create regular file '/lib/modules/5.15.167.4-microsoft-standard-WSL2/kernel/drivers/misc/install_windrvr6': No such file or directory--install_windrvr6 rc = 2--Module windrvr6 is not running.--Module xpc4drvr is not running.--Note: By default, the file permission of /dev/windrvr6 is enabled for the root user only  and must be changed to allow access to other users.--real rc=2--Driver installation failed.--Digilent Return code = 0--Xilinx Return code = 1--Return code = 1

And when trying to use sudo apt-get install linux-header it won't locate a package.Are there any solutions?


Viewing all articles
Browse latest Browse all 2930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>