我正在尝试nanopi的设备驱动程序。
我可以使用
下载linux源代码
git clone https://github.com/friendlyarm/linux.git -b sunxi-4.14.y --depth 1
此外,make
命令已经生效,并且生成了dvb-usb-it913x.ko
文件,但是,我无法安装到我的nano pi。我该如何解决这个问题?
下面是模块的信息。
root@NanoPi-NEO-Core:/home/pi/it913x_driver# modinfo dvb-usb-it913x.ko
filename: /home/pi/it913x_driver/dvb-usb-it913x.ko
license: GPL
version: v18.05.21.1
description: Driver for devices based on ITEtech IT913x
author: Figo Chang <Figo.Chang@ite.com.tw>
license: GPL
description: Driver for the IT913x demodulator
author: Figo Chang <Figo.Chang@ite.com.tw>
srcversion: 741FE5FD33216AB55995F3F
alias: usb:v048Dp9135d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v048Dp9006d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v048Dp9005d*dc*dsc*dp*ic*isc*ip*in*
depends:
name: dvb_usb_it913x
vermagic: 4.14.111 SMP mod_unload ARMv7 p2v8
parm: debug:Set debugging level.(info = 1, deb_fw = 2, deb_fwdata = 4, deb_data = 8) (debugging is not enabled) (int)
parm: remote:int
parm: URB_BUFSIZE:URB_BUFSIZE = 188*xxx (int)
parm: adapter_nr:DVB adapter numbers (array of short
root@/nano:/# uname -r
4.14.111
root@/nano:/# uname -a
Linux NanoPi-NEO-Core 4.14.111 #64 SMP Mon May 20 15:32:02 CST 2019 armv7l armvl armv7l GNU/Linux
root@/nano:/# dmsg
[ 2038.589152] dvb_usb_it913x: Unknown symbol dvb_usb_device_init (err 0)
[ 2038.589181] dvb_usb_it913x: Unknown symbol dvb_usb_device_exit (err 0)