On 10/05/14 09:49, Robert Brown wrote:
On 10/05/14 08:44, Robert Brown wrote:On 10/05/14 08:11, Robert Brown wrote:Ok this compile works without errors. Yay (have you any idea how long I have been at this?) and creates aTry extending the EXTRA_CFLAGS in the Makefile thus:The result is in the attached compile2.txt and have also attached dvb_frontend.h... -I$(SOURCEDIR)/$(INCLUDE_EXTRA_DVB) \ -I/home/debian/linux-sunxi-pat-3.4.67/drivers/media/dvb/dvb-usb/ I.e. The "\" extends from the pre-existing last line, adding one new.Now it has somewhere to find dvb-usb.h, and anything could happen afterthat. ErikA bit of searching on the error led me to:https://github.com/ambrosa/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/issues/12which suggests this:https://github.com/tmair/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/tree/master/RTL2832-2.2.2_kernel-3.0.0 which I am about to d/l and try. Beats me why all of my previous searches for "rtl2832 and kernel 3.4" have not taken me to this possibly vital link.Robdvb-usb-rtl2832u.ko but not a rtl2832u.ko despite there being a bunch of files like rtl2832u.c and rtl2832u.o and dmesg complains of no frontend: dvb-usb: found a 'RTL2832U DVB-T USB DEVICE' in warm state.[ 2040.777066] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.[ 2040.793621] DVB: registering new adapter (RTL2832U DVB-T USB DEVICE)[ 2040.833115] RTL2832U usb_init_bulk_setting : USB2.0 HIGH SPEED (480Mb/s) [ 2041.153012] RTL2832U check_tuner_type : ERROR Unknown tuner on board...[ 2041.166512] dvb-usb: no frontend was attached by 'RTL2832U DVB-T USB DEVICE'[ 2041.190209] input: IR-receiver inside an USB DVB receiver as /devices/platform/sw-ehci.1/usb2/2-1/input/input3[ 2041.226625] dvb-usb: schedule remote query interval to 287 msecs.[ 2041.251663] dvb-usb: RTL2832U DVB-T USB DEVICE successfully initialized and connected.[ 2041.267826] usbcore: registered new interface driver dvb_usb_rtl2832u [ 2548.427451] rtl2832: disagrees about version of symbol module_layout so I will attach -v in the Makefile and run it again. Getting there!So the make is running:CC [M] /home/debian/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/RTL2832-2.2.2_kernel-3.0.0/rtl2832u.owithout errors and similar so should produce a rtl2832u.ko IMHO. It says : ignoring nonexistent directory "/drivers/media/dvb/frontends/"and 3 others like it but those directories exist e.g. ~/linux-sunxi-pat-3.4.67/drivers/media/dvb/frontends so it must be looking in a different place. Not sure if that's why I don't get a rtl2832u.ko but I notice that the install part of the makefile doesn't seem to expect such a .ko file. Maybe I could try mkdir /drivers/media/dvb/frontends/ in directory DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/RTL2832-2.2.2_kernel-3.0.0 from where I run make?
Ok so that doesn't help.I decided that makefile was missing the instructions to create rtl2832u.ko so added this:
rtl2832u-objs := rtl2832u.o rtl2832u_fe.o rtl2832u_io.o \
rtl2832u_rc.o
obj-m += rtl2832u.o
but got errors:
make[1]: Circular
/home/debian/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/RTL2832-2.2.2_kernel-3.0.0/rtl2832u.o
<-
/home/debian/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/RTL2832-2.2.2_kernel-3.0.0/rtl2832u.o
dependency dropped.
make[1]: *** No rule to make target
`/home/debian/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/RTL2832-2.2.2_kernel-3.0.0/rtl2832u_rc.o',
needed by
`/home/debian/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/RTL2832-2.2.2_kernel-3.0.0/rtl2832u.o'.
Stop.
make: ***
[_module_/home/debian/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/RTL2832-2.2.2_kernel-3.0.0]
Error 2
make: Leaving directory `/home/debian/linux-sunxi-pat-3.4.67' confirming that I was only guessing at what to do.
_______________________________________________ luv-main mailing list [email protected] http://lists.luv.asn.au/listinfo/luv-main
