I've installed the latest IRDA patch for 2.2.13 and compiled the kernel with
mostly good success on a LinuxPPC machine (Apple Powerbook G3 'wallsreet').
Here's a status report.

Kernel:
All IRDA protocols compile.
All SIR drivers compile. 
For FIR drivers, only the Toshiba driver seems to 'work' -- to compile and 
allow normal bootup (I haven't actually tested FIR). Other FIR drivers have 
the following problems: The SMC IRCC driver does not compile. The NSC PC87108
and  Winbond W83977AF drivers compile, but produce a kernel panic part way 
through bootup.
I didn't ever try to compile the dongle driver, since I'm only interested 
in using the built-in IRDA port on the laptop.

IRDA-Utils:
IRDA-utils 0.95 compiles better then 0.94. The only thing that didn't compile
was irdaping. I have LinuxPPC binaries for irmanager, irattach, irdadump,
irpsion5, and irkbd.

The command 'irattach /dev/ttyS1 -s 1' appears to work. I can run irdadump
and get packets!!

I haven't actually tested any IR hardware yet. I'm going to read through
the list archives to see what hardware might be worth borrowing for testing
and also what software to use with which hardwware devices.
Any suggesrtions are welcome. Any debug info from my system is welcome.

Here are more details on the errors I get with some of the drivers:


The FIR driver IRCC is not compiling on my linuxppc machine. I believe this was
working with patch-2.2.12-irda3 with 2.2.13 source. Now I'm using 
patch-2.2.13-irda3 with 2.2.13 source. Here's the kernel compile results:

ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000 -Bstatic arch/ppc/kernel/head.o 
init/main.o init/version.o \
        --start-group \
        arch/ppc/kernel/kernel.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o kernel/kernel.o 
mm/mm.o fs/fs.o ipc/ipc.o \
        fs/filesystems.a \
        net/network.a \
        drivers/block/block.a drivers/char/char.a drivers/misc/misc.a 
drivers/net/net.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a drivers/sound/sound.a 
drivers/pci/pci.a drivers/macintosh/macintosh.a drivers/video/video.a 
drivers/net/irda/irda_drivers.a \
        /usr/src/linux/lib/lib.a \
        --end-group \
        -o vmlinux
drivers/net/irda/irda_drivers.a(smc-ircc.o): In function `ircc_change_speed':
smc-ircc.o(.text+0x654): undefined reference to `irport_change_speed'
make: *** [vmlinux] Error 1


For irda-utils version 0.95, almost everything compiled except irdaping. 
Here's the compiler message:

> ls
CVS  Makefile  README.lyx  README.sgml  README.txt  irdaping.c
> make
gcc  -I/usr/src/linux/include -I/usr/include -Wall -Wstrict-prototypes 
-I/usr/src/linux/include -I/usr/include -c irdaping.c
gcc  -I/usr/src/linux/include -I/usr/include -Wall -Wstrict-prototypes irdaping.o -o 
irdaping
irdaping.o: In function `timeout':
irdaping.o(.text+0xe0): undefined reference to `__fswab32'
irdaping.o(.text+0xfc): undefined reference to `__fswab32'
irdaping.o(.text+0x130): undefined reference to `__fswab16'
irdaping.o: In function `main':
irdaping.o(.text+0x664): undefined reference to `__fswab32'
irdaping.o(.text+0x7a0): undefined reference to `__fswab16'
collect2: ld returned 1 exit status
make: *** [irdaping] Error 1


-Dave




_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda

Reply via email to