Anyone got problems building modules with this patch? I updated the firmware and use your modules/kernel. I downloaded the 3.2.18 linux kernel and tried to build... no success
- Code: Select all
pi@raspberrypi:/usr/src/3.2.18+$ sudo modprobe -f prism2usb
FATAL: Error inserting prism2usb (/lib/modules/3.2.18+/prism2usb.ko): Invalid module format
Works for me. "Invalid module format" sounds like you didn't use a cross compiler for ARM, but maybe compiled it with the host system compiler. What says "file prism2usb.ko"? It should say something like "ELF 32-bit LSB relocatable, ARM, version 1 (SYSV), not stripped".
Another problems with this driver is that it is in the staging area of the Linux kernel, and it needs WLAN support, which is not enabled in my version of the kernel. The general advice is to use this tutorial:http://elinux.org/RPi_Kernel_Compilation
Maybe with my version of the kernel at https://github.com/FrankBuss/linux-1/tree/rpi-w1
But I've tested it and created two different update files, with the prism2 and WLAN support enabled:http://www.frank-buss.de/raspberrypi/kernel-prism2.tgzhttp://www.frank-buss.de/raspberrypi/modules-prism2.tgz
When I do "modprobe prism2_usb", in /var/log/messages (and on the console, if you are logged in with the keyboard) it says this:
Jun 10 23:51:21 raspberrypi kernel: cfg80211: Calling CRDA to update world regulatory domain
Jun 10 23:51:21 raspberrypi kernel: prism2_usb: module is from the staging directory, the quality is unknown, you have been warned.
Jun 10 23:51:21 raspberrypi kernel: usbcore: registered new interface driver prism2_usb
I don't have this hardware, but it should work.