I downloaded the driver (for linux) from the AVerMedia site, unpacked it into an xyz directory, and from that directory I gave the command
make
.
I got the following output
Missing files that required to build driver: /lib/modules/4.9.35-v7+/source/drivers/media/dvb/dvb-usb/dvb-usb-common.h dvb-usb/dvb-usb.h dvb-usb/dvb-usb-ids.h dvb-core/dvb_frontend.h dvb-core/dvbdev.h dvb-core/dmxdev.h dvb-core/dvb_demux.h dvb-core/dvb_net.h dvb-core/demux.h dvb-core/dvb_ringbuffer.h frontends/dvb-pll.h
Try to get kernel source closest to 4.9.35-v7+ from www.kernel.org and then copy to /lib/modules/4.9.35-v7+/source/drivers/media/dvb.
Indeed the directory /lib/modules/4.9.35-v7+
exists on my raspbian installation (raspberry Pi 2) but with no source
subdirectory under it.
I do not know how to interpret the suggestion above Try to get kernel source *closest* to 4.9.35-v7+ ...
, and I haven't the slightest idea how I could find and download the required files from that site.
Perhaps it is useless to say, but the command uname -r
returns 4.9.35-v7+
Can anybody please give me instructions (detailed if possible) how-to ...?
Added later : Or at least some clarification?
sudo apt-get source linux-image-$(uname -r)
. Result wasReading package lists... Done Building dependency tree Reading state information... Done E: Unable to find a source package for linux-image-4.9.35-v7+
sudo apt-get update
(resulted in a list with many URIs inside - do not know if and how i am supposed to use) and then issued againsudo apt-get source linux-image-$(uname -r)
. (result wasReading package lists... Done Building dependency tree Reading state information... Done E: Unable to find a source package for linux-image-4.9.35-v7+
)