Other OS

[SOLVED] How to get "original" 3.4.90 header files

2 3819
Post Last Edited by ryad at 2014-9-7 13:50

Hi community,
I would like to compile the module "dvb-usb-rtl2832u" (see https://aur.archlinux.org/packages/dvb-usb-rtl2832u-openpli/) to get my DVB-T USB device working. Unfortunately the device is not supported out of the box on kernel 3.4.90. To compile for myself, I have to have the header files installed.

When I install "linux-sun7i-headers", I get header files under "/usr/src/linux-3.4.90-4-ARCH" which is not suitable for my purpose, as "uname -r" prints "3.4.90" (instead of 3.4.90-4-ARCH).

If I still fiddle around, try to compile and force to modprobe the resulting dvb-usb-rtl2832u.ko module, the module crashes as expected and prints a long stack trace on dmesg, which I'm not able to understand.

So is there a opportunity to get the "original" header files for the "ArchLinux_For_BananaPi_v2.0" image installed? I guess its built somehow from the sources at https://github.com/LeMaker/linux-bananapi.

Any help is appreciated. Thanks in advance!

Never mind, I successfully compiled a working kernel module by cloning the kernel from https://github.com/LeMaker/linux-bananapi, patching the appropriate files with sources from original Linux kernel version 3.6 and building it via cross compilation on my x64 machine. It was quite a challenge, but indeed its possible!
Nevertheless it might be a good idea, to provide a PKGBUILD for users who needs to build applications with a dependency to the header files.


Hi ryad,

I'm interested about the patching details. I'm actually facing the same problem and I've published my problem on this thread:

Could you give me more details ?

Thank you.


You have to log in before you can reply Login | Sign Up

Points Rules