System :: FIR dongle on VIA EPIA



Gents,
I had this kernel module loaded from boot:
Code Sample
dsl@ttyp0[dsls]$ lsmod|grep irda
irda                   90352   0 [via-ircc]

Obviously, DSL took a liking to some hardware on the Epia MB and decided to load the via-ircc module. Haven't got a clue what it does though so I removed it and replaced it by the irda module
included in irda-utils.unc into the kernel,

Code Sample
# rmmod via-ircc
# modprobe irda
# lsmod |grep irda
irda                   90352   0

# setserial /dev/ttyS1
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
# setserial /dev/ttyS0
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
# modprobe irport
# modprobe irtty

I've got a serial port here:

# setserial /dev/ttyS0
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
#irattach /dev/ttyS0 -s
#cat /var/log/messages
...
Jan 11 04:21:09 weksarahdio user.info irattach: executing: 'echo weksarahdio > /proc/sys/net/irda/devname'
Jan 11 04:21:09 weksarahdio user.info irattach: executing: 'echo 1 > /proc/sys/net/irda/discovery'
Jan 11 04:21:09 weksarahdio user.info irattach: Starting device irda0


But again to no avail !
The dongle is plugged into this 5-pin connector on the motherboard. I suppose that the ttyS0 is the serial port so irattach /dev/ttyS0 is unlikely to receive any packets !
When I deactivate the FIR thingy in Bios, the via-ircc is not loaded which suggests there's a linux-ready device lurking there.
So it would seem that I've got to attach my irda stack to this through this mysterious via-ircc module.
Cheers.

You might want to load more of the irda modules or change the interrupts to match your ir device, maybe this post might help?

You could also try unloading the serial module, loading the FIR module for your device and then connect in FIR mode?


original here.