Got the modinfo/vermagic right by cross compiling on my lappy.
Looks like from reading through this:
http://www.raspberrypi.org/forums/viewtopic.php?f=63&t=23478
that this module and its tuner will not be working in 3.4 kernel
versions. Seems it was kernel 3.7 where it things were fully up & going
for this device.
Is there any way to back port this from a later kernel? I have not seen
a working kernel for sun4i armv7 later than 3.4.79 so I guess this means
the answer is no.
It works fine on a raspi on kernel 3.10.25+ but a different architecture.
The only other option is to wait for 3.15 to land for Allwinner chips -
unknown eta.
Thanks
On 18/05/14 00:13, Robert Brown wrote:
After my recent partial success with 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.
Rob
Ok this compile works without errors. Yay (have you any idea how
long I have been at this?) and creates a
dvb-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.o
without errors and similar so should produce a rtl2832u.ko IMHO.
I found that the vermagic of the module produced was incorrect - it
should be
vermagic: 3.4.67-sun4i+ preempt mod_unload modversions ARMv7 p2v8
instead get:
vermagic: 3.4.67-sun4i preempt mod_unload modversions ARMv7 p2v8
In trying to track this down I have not found the source of sun4i
versus sun4i+. Is it being determined by scripts/setlocalversion by
any chance since .config and Makefile look correct.
I have attached the .config Makefile and setlocalversion files.
Thanks
_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main
_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main