the mods in the kernel allow you to write IR-codes to /dev/ir :
example code from displayserver.c :

struct empeg_ir_write {
int type;
long ircode;
} *irdata;

irfd = open("/dev/ir", O_WRONLY|O_CREAT|O_TRUNC);
irdata->type=0;
irdata->ircode=1;
rts = write(irfd, irdata, sizeof(irdata));
if (rts == -1 )
perror("Writing to IR device.");
close(irfd);


the type is actually allways zero
_________________________
Frank van Gestel