07-04-2016, 09:24 AM
(07-04-2016, 07:38 AM)longsleep Wrote: If you clone sources then you need to build a complete kernel unless you have set up out of tree compile properly.
The current kernel package has everything in place for that out of the box to let dkms work. That is why you came so far as you did with the log you posted.
The right way would be to fix the dkms package and upload it to launchpad once it works.
Thank you for your help so far.
In the meantime I have followed instructions on building kernel and I had success with getting the original dkms to compile and install. The problem was either working with wrong git branch (I don't know which one is default on kernel source, but the instructions on build are cloning specific one) or what is more plausible that the instructions also include proper kernel configuration (sun50iw1p1smp_linux_defconfig). After successfully configuring and building the kernel and symbolically linking /lib/modules/3.10..../build to these kernel sources, the dkms installation was success without any errors.
However, even after reboot the dongle is still not working, so I'm currently investigating further. I was also able to build sources I got from github for this device so hopefully one way or another I will be able to get this working and report back.