umac.ko for 2.6.26
Gregoire Gentil
gregoire at gentil.com
Mon Aug 18 00:03:45 EEST 2008
Faheem,
Thanks for the tip. I tried it and it worked. I can insmod both umac and
cx3110x in 2.6.26 and it looks fine in dmesg:
cx3110x: chip variant STLC4550
cx3110x: firmware version 2.13.0.0.a.22.8.
cx3110x: driver version 2.0.15 loaded.
But then I get multiple errors:
ifconfig wlan0 up reports "SIOCSIFFLAGS: Cannot assign requested
address"
iwlist wlan0 scan doesn't work
and in dmesg, I get many:
cx3110x: WARNING SoftMAC not initialized, chip not booted
I compiled cx3110x from
http://repository.maemo.org/pool/maemo4.1/free/c/cx3110x-module-src/cx3110x-module-src_2.0.15-1.tar.gz
against my 2.6.26 kernel. I had to modify the code in two locations:
- in sm_drv_spi_io.c, replace SA_INTERRUPT by IRQF_DISABLED
- in sm_drv.c, remove the line where mac.raw is assigned
Any idea? Has anyone successfully tried what I'm doing now?
Grégoire
On Sun, 2008-08-17 at 11:23 +0100, Faheem Pervez wrote:
> Hi,
>
> A bit of a dirty trick, but have you tried loading umac.ko in a hex
> editor and changing the string "vermagic=2.6.21-omap1"?
>
> I managed to recompile cx3110x against my preempt kernel by using the
> mamona patch for cx3110x and a dummy_umac.c file from 0.8.1 +
> binary_umac.o (renamed umac.ko from my initfs)
>
> Regards,
> Faheem
>
> On Sun, Aug 17, 2008 at 2:27 AM, Gregoire Gentil <gregoire at gentil.com>
> wrote:
> Hello,
>
> I'm experimenting with 2.6.26 on N810. I have successfully
> compiled
> cx3110x but I need umac.ko. How can I get this proprietary
> module
> compiled for 2.6.26? (Obviously, I can't insmod the 2.6.21
> version).
>
> Thanks in advance,
>
> Gregoire
>
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
>
More information about the cx3110x-devel
mailing list