標題: Linux mint 安裝 driver. [打印本頁]
作者: ahtao 時間: 2019-10-23 15:45 標題: Linux mint 安裝 driver.
我想在Linux mint 安裝 一個音響 (mytek 192 dsd )driver.
1)但不知可不可以安裝.
2)又不知道怎樣安裝
請指教幫忙
drive download :
https://github.com/lintweaker/mytekusb2
作者: domeso 時間: 2019-10-23 15:59
git clone https://github.com/lintweaker/mytekusb2.git
cd TARGET_DIR
make
make install
作者: chue 時間: 2019-10-23 16:04
咁 AMD GPU DRIVER 呢?
作者: ahtao 時間: 2019-10-23 16:23
回覆 2# domeso
謝今晚返家試試
作者: ahtao 時間: 2019-10-23 19:34
本帖最後由 ahtao 於 2019-10-23 20:53 編輯
removed
作者: ahtao 時間: 2019-10-24 22:07
k@k-ThinkPad-X201:~$ ls
Desktop Downloads mytekusb2-master Public Videos
Documents Music Pictures Templates
k@k-ThinkPad-X201:~$ cd mytekusb2-master
k@k-ThinkPad-X201:~/mytekusb2-master$ ls
chip.c common.h firmware.h Module.symvers snd-usb-mytek.ko
chip.h control.c firmware.o pcm.c snd-usb-mytek.mod.c
chip.o control.h INSTALL pcm.h snd-usb-mytek.mod.o
comm.c control.o ISSUES pcm.o snd-usb-mytek.o
comm.h FIRMWARE Makefile README.md version.h
comm.o firmware.c modules.order scripts
k@k-ThinkPad-X201:~/mytekusb2-master$ make install
rm -f /lib/modules/4.15.0-54-generic/extras/snd-usb-mytek.ko
rm -f /lib/modules/4.15.0-54-generic/extra/snd-usb-mytek.ko
rm: cannot remove '/lib/modules/4.15.0-54-generic/extra/snd-usb-mytek.ko': Permission denied
Makefile:23: recipe for target 'install' failed
make: *** [install] Error 1
k@k-ThinkPad-X201:~/mytekusb2-master$ make
make CONFIG_DEBUG_SECTION_MISMATCH=y -C /lib/modules/4.15.0-54-generic/build M=/home/k/mytekusb2-master modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-54-generic'
CC [M] /home/k/mytekusb2-master/chip.o
CC [M] /home/k/mytekusb2-master/comm.o
CC [M] /home/k/mytekusb2-master/control.o
CC [M] /home/k/mytekusb2-master/firmware.o
CC [M] /home/k/mytekusb2-master/pcm.o
LD [M] /home/k/mytekusb2-master/snd-usb-mytek.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/k/mytekusb2-master/snd-usb-mytek.mod.o
LD [M] /home/k/mytekusb2-master/snd-usb-mytek.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-54-generic'
k@k-ThinkPad-X201:~/mytekusb2-master$ make install
rm -f /lib/modules/4.15.0-54-generic/extras/snd-usb-mytek.ko
rm -f /lib/modules/4.15.0-54-generic/extra/snd-usb-mytek.ko
rm: cannot remove '/lib/modules/4.15.0-54-generic/extra/snd-usb-mytek.ko': Permission denied
Makefile:23: recipe for target 'install' failed
make: *** [install] Error 1
k@k-ThinkPad-X201:~/mytekusb2-master$ ^C
k@k-ThinkPad-X201:~/mytekusb2-master$
作者: chue 時間: 2019-10-24 22:17
我而家照呢度嘗試裝 amd gpu driver,暫未知 WORK 唔 WORK
https://www.amd.com/en/support/kb/faq/gpu-635
Extract
After the archive is downloaded, extract the contents to a temporary location from which you can install it. The example below assumes you have downloaded the archive to /tmp and will extract to the same location. If your file was downloaded into the ~/Downloads/ folder by default, you can also extract and install from there, and afterwards you can remove the install files.
(Notes: Please replace the "NNNNNN" in the following command line with the actual build number of the downloaded file)
cd /tmp
tar -Jxvf amdgpu-pro-17.30-NNNNNN.tar.xz
Install
Once the archive is expanded on the local machine, run the included script (amdgpu-pro-install) to install the graphics stack. During the installation you will be required to provide sudo access, and also to provide two confirmations to:
Install the packages, and
Allow installation of "unverified" packages from the AMDGPU-PRO archive.
The script will use the package manager to install the components of the graphics stack, with a short delay during the DKMS (Dynamic Kernel Module Support) installation. From the directory where you extracted the archive, issue the following command:
(Notes: Please replace the "NNNNNN" in the following command line with the actual build number of the downloaded file.)
cd amdgpu-pro-17.30-NNNNNN
./amdgpu-pro-install –y
sudo reboot
作者: ahtao 時間: 2019-10-24 22:42
回覆 7# chue
1). 謝師兄回應. 我DOWNLOAD 個DRIVER, 原本是 ZIP. 可以按一下自動解壓,
後就出現以下FILES,
k @ k-ThinkPad-X201:〜/ mytekusb2-master $ ls
chip.c common.h firmware.h Module.symvers snd-usb-mytek.ko
chip.h control.c firmware.o pcm.c snd-usb-mytek.mod.c
chip.o control.h INSTALL pcm。 h snd-usb-mytek.mod.o
comm.c control.o問題pcm.o snd-usb-mytek.o
comm.h FIRMWARE Makefile README.md version.h
comm.o firmware.c modules.order腳本
2). 然後跟最上面師兄講,
k @ k-ThinkPad-X201:〜/ mytekusb2-master $ MAKE
k @ k-ThinkPad-X201:〜/ mytekusb2-master $MAKE INSTALL
出現以下訊息
k @ k-ThinkPad-X201:〜/ mytekusb2-master $ make install
rm -f /lib/modules/4.15.0-54-generic/extras/snd-usb-mytek.ko
rm -f /lib/modules/4.15.0-54-generic/extra/snd-usb-mytek.ko
rm:無法刪除“ /lib/modules/4.15.0-54-generic/extra/snd-usb-mytek.ko”:權限被拒絕
Makefile:23:目標“ install”的配方失敗
3) 我完全唔明白點解會有權限被拒
rm:無法刪除'/lib/modules/4.15.0-54-generic/extra/snd-usb-mytek .ko':權限被拒絕
Makefile:23:目標配方'install'失敗
make:*** [install]錯誤1
作者: chue 時間: 2019-10-24 22:42
未能成功安裝 FOR LINUX MINT,但其他 DISTRO 可能 WORK
作者: ahtao 時間: 2019-10-24 23:17
OK, 明白
作者: chue 時間: 2019-10-25 05:23
要繼續研究,同埋希望有成功左既經驗分享
作者: domeso 時間: 2019-10-25 10:40
did you sudo make? or run as root?
作者: chue 時間: 2019-10-25 11:09
就係 SUDO ./AMDGPU-PRO INSTALL-Y 都唔得
作者: ahtao 時間: 2019-10-28 11:53
等我都再試試
作者: god_md5 時間: 2019-10-29 00:59
依到有寫明
https://github.com/lintweaker/mytekusb2/blob/master/INSTALL
作者: ahtao 時間: 2019-11-1 09:34
thanks for Ching.

