PDA

Bekijk de volledige versie : STIr4200 USB kernel module



drp
02-08-2007, 10:49
Hello,
I would like to ask anybody to compile STIr4200 drivers for olegs 1.9.2.7-7g wl-500g Premium
Sources http://developer.osdl.org/shemminger/stir4200/

Additional info http://www.qbik.ch/usb/devices/showdr.php?id=187

A tutorial how to compile modules would be nice.
Maybe is something as replacement for Stir4200 Irda usb dongles?

Cheers,
Drq

oleo
03-08-2007, 18:06
this Sigmatel 4200 - old versions of IRDA driver that is now in 2.6 can be used on 2.6 kernels only, while Oleg uses 2.4.20 and this will not change.

The way for you would be using OpenWRT kamikaze with 2.6kernel. Bulding firmware is relatively simple. You can then build module by simple kernel reconfigure, if it is not built with stock OpenWRT distro.

drp
06-08-2007, 06:51
Thank you oleo.

I found information http://csd.informatik.uni-oldenburg.de/~eagle/stir4200.html#sec-2
Unfortunately


[dru@debie 2]$ make
cc -I/lib/modules/2.4.20/build/include -I../include -Wall -Wcast-align -Wstrict-prototypes -O2 -DLINUX -D__KERNEL__ -DMODULE -DMODVERSIONS -fomit-frame-pointer -fno-common -pipe -mpreferred-stack-boundary=2 -include /lib/modules/2.4.20/build/include/linux/modversions.h -DKBUILD_BASENAME=stir4200 -o stir4200.o -c stir4200.c
cc1: error: unrecognized command line option "-mpreferred-stack-boundary=2"
make: *** [stir4200.o] Error 1


Is related to unsupported 2.4?