Linux mint 安裝 driver.

我想在Linux mint 安裝 一個音響 (mytek 192 dsd )driver.
1)但不知可不可以安裝.
2)又不知道怎樣安裝
請指教幫忙


drive download :
https://github.com/lintweaker/mytekusb2

git clone https://github.com/lintweaker/mytekusb2.git
cd TARGET_DIR
make
make install

TOP

git clone
cd TARGET_DIR
make
make install
domeso 發表於 2019-10-23 15:59



    咁 AMD GPU DRIVER 呢?

TOP

回覆 2# domeso


    謝今晚返家試試

TOP

本帖最後由 ahtao 於 2019-10-23 20:53 編輯

removed

TOP

git clone
cd TARGET_DIR
make
make install
domeso 發表於 2019-10-23 03:59 PM





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$

TOP

我而家照呢度嘗試裝 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

TOP

回覆 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

TOP

未能成功安裝 FOR LINUX MINT,但其他 DISTRO 可能 WORK

TOP

OK, 明白

TOP