Xilinx 驅動的安裝方法 其它非標準usb設備的安裝方法相似

在linux下常常要安裝一些設備,可是linux下又不像windows同樣有能自動檢測到設備有沒有鏈接到,因此 安裝usb等設備就有一些困難,下面我以xilinx爲例進行介紹:
 
首先確認設備有沒有鏈接
查看 /var/log/messages

[root@digican108 ~]# tail -f /var/log/messages
Dec 17 13:53:52 digican108 gpm[8048]: imps2: Auto-detected intellimouse PS/2
Dec 17 13:54:18 digican108 kernel: usbcore: registered new driver windrvr6_0
Dec 17 13:56:15 digican108 gconfd (root-8754): 閫€鍑?
Dec 17 13:59:57 digican108 kernel: usb 1-6: USB disconnect, address 29
Dec 17 13:59:58 digican108 kernel: usbcore: deregistering driver windrvr6_0

Dec 17 13:59:57 digican108 kernel: usb 1-6: USB disconnect, address 29
Dec 17 13:59:58 digican108 kernel: usbcore: deregistering driver windrvr6_0
Dec 17 14:02:49 digican108 sshd(pam_unix)[10201]: session closed for user root
Dec 17 14:02:53 digican108 sshd(pam_unix)[8489]: session closed for user root
Dec 17 14:25:25 digican108 htt_server[8080]: Client shut down the connection owned by im_id(1).
Dec 17 14:25:25 digican108 last message repeated 2 times
Dec 17 14:53:50 digican108 sshd(pam_unix)[11487]: session opened for user root by (uid=0)

若是沒有驅動,測在deregistering 則顯示爲disconnect
 
則要安裝相關驅動,安裝方法以下:
注意將驅動文件名install_drivers.tar.gz.rar改成install_drivers.tar.gz
 
1) Disconnect all Xilinx USB cables from the host computer. 2) Open a shell or terminal console. 3) Extract the driver script and its support files to a local drive of the machine where the cable will be used by typing: tar xzvf install_drivers.tar.gz The extraction creates a directory named install_drivers in the current directory. 4) Navigate to the install_drivers directory by typing: cd install_drivers 5) Run the script by typing: ./install_drivers 6) When the installation is complete, reconnect the cable. 7. Change permissions on the USB / PC4 driver by typing: chmod 666 /dev/windrvr6.
相關文章
相關標籤/搜索