sixdiamants
Group: Members
Posts: 10
Joined: Mar. 2007 |
|
Posted: Jan. 10 2008,22:05 |
|
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.
-------------- ce qui se conçoit bien s'énonce clairement
|