購買的主要原因是它有提供官方的 Linux 驅動!
由於一開始使用「Normal」安裝,
所以很容易就安裝完成了!
但這次嚐試用「Expert」作安裝,
所以來做個記錄。
首先在終端機中切換至已解壓縮的目錄中(假設解壓至 ~/ 之下),
並下指令執行 AVERMEDIA-Linux-x64-H826D-0.10-beta.sh:
owl@owl-desktop:~$ sudo ./H826D_Installer_x64_0.10-Beta/AVERMEDIA-Linux-x64-H826D-0.10-beta.sh |
然後切換至該目錄下執行 make 讓它編譯出 2 個 .ko 檔:
owl@owl-desktop:~/H826D-expert-install$ sudo make make -C /lib/modules/2.6.32-40-generic/source O=/lib/modules/2.6.32-40-generic/build SUBDIRS=`pwd` make[1]: Entering directory `/usr/src/linux-headers-2.6.32-40-generic' LD /home/owl/H826D-expert-install/built-in.o CC [M] /home/owl/H826D-expert-install/aver/averusb-mod.o CC [M] /home/owl/H826D-expert-install/driver-core.o SHIPPED /home/owl/H826D-expert-install/aver/osdep_dvb.o CC [M] /home/owl/H826D-expert-install/aver/osdep_th2.o CC [M] /home/owl/H826D-expert-install/aver/osdep_v4l2.o CC [M] /home/owl/H826D-expert-install/aver/osdep_vbuf.o CC [M] /home/owl/H826D-expert-install/aver/osdep_alsa.o SHIPPED /home/owl/H826D-expert-install/_prebuild.o LD [M] /home/owl/H826D-expert-install/h826d.o LD [M] /home/owl/H826D-expert-install/averusbh826d.o Building modules, stage 2. MODPOST 2 modules WARNING: could not find /home/owl/H826D-expert-install/aver/.osdep_dvb.o.cmd for /home/owl/H826D-expert-install/aver/osdep_dvb.o CC /home/owl/H826D-expert-install/averusbh826d.mod.o LD [M] /home/owl/H826D-expert-install/averusbh826d.ko CC /home/owl/H826D-expert-install/h826d.mod.o LD [M] /home/owl/H826D-expert-install/h826d.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-40-generic' strip --strip-debug *.ko |
編譯完後會在此目錄下看見 2 個「.ko」檔就完成初步的驅動製造了。
owl@owl-desktop:~/H826D-expert-install$ ls aver H826D_LinuxDrv_ReleaseNotes_0.10-Beta.txt averusbh826d.ko h826d.mod.c averusbh826d.mod.c h826d.mod.o averusbh826d.mod.o h826d.o averusbh826d.o KernToCUsb.hpp aver_version.h Makefile built-in.o modules.order driver-core.c Module.symvers driver-core.h _prebuild.o driver-core.o _prebuild.o_shipped h826d.ko |
沒有留言:
張貼留言