View Single Post
Posts: 14 | Thanked: 124 times | Joined on Jul 2010
#446
Originally Posted by titan View Post
I have uploaded a fcam-drivers package for kernel-power
http://n900.tannerlab.com/kernel/fca....5-1_armel.deb

There is nothing special about those modules. They just need to be compiled
against the kernel-power headers.
In the future we probably need a separate fcam-drivers-package (but AFAIK HAM is not sophisticated enough to handle such dependencies and conflicts) or we would need to add modules for both kernel versions to the fcam-drivers package.
Thanks Titan!

We'd be happy to add modules compiled for the power-kernel to fcam-drivers. I had a little trouble compiling them though. Maybe I was doing something silly. Here's what I did:

In scratchbox:

- fakeroot apt-get install kernel-power-headers

- apt-get source fcam-drivers

- edit fcam-drivers Makefile to point to /usr/src/kernel-power-headers

- lots of include files are missing from /usr/src/kernel-power-headers/linux/include, so I figure perhaps kernel-power-headers is more like a patch over the base headers package

- cp -r /usr/src/kernel-headers kernel-headers-combined

- cp -r /usr/src/kernel-power-headers kernel-headers-combined

- change the fcam-drivers Makefile to point to kernel-headers-combined

- Now it compiles, but after installing kernel-power (and kernel-power-flasher, etc, etc) on the device, power-cycling it, forcibly installing the fcam-drivers package, power-cycling again, I get the usual nonsense about wrong versions in dmesg when I try to insmod the new modules. vermagic seems to match uname though according to modinfo (2.6.28.10power37), so I get confused and give up.

What am I doing wrong?

- Andrew (one of the fcam guys)
 

The Following 5 Users Say Thank You to abadams For This Useful Post: