From: Jean Tourrilhes <jt@bo...> - 2004-10-25 16:42:49
On Fri, Oct 22, 2004 at 08:57:49PM -0300, RMD wrote:
> Hello, Mr Tourrilhes.
> Sorry, but I'm stuck, I think i'm missing something very basic.
> I do not understand how to set a FIR device in SIR mode, how to set up & use
> a FIR driver!!
> I've done:
> Running findchip -v, I have:
> Found WINBOND W83977ATF Controller at 0x3f0, DevID=0x97, Rev. 116
> SIR Base 0x2e8, FIR Base 0x2e8
> IRQ = 5, DMA = -1
> Enabled: no, Suspended: no
> UART compatible: yes
> Half duplex delay = -1073742499 us
> First doubts:
> Why enabled=no?
> Why IRQ=5 (I would think irq=3, with that SIR & FIR base io)?
> Why DMA=-1 (What kind of DMA channel is that)?
> And, at least, what a delay is a negative one??
> Whatever, I set my modules.conf accordingly:
> options w83977af_ir io=0xf0
> alias irda0 w83977af_ir
> alias tty-ldisc-11 irtty
> alias char-major-161 ircomm-tty
> alias irlan0 irlan
> alias char-major-10-187 irnet
> I do "irattach irda0 -s", now I have an irda0 interface with Link
> encap:UNSPEC (according to ifconfig), and if I run irdadump, nothing appears
> (0 packets) after a long while.
> No messages in the syslog, except one related to wrong chip version in
> w83977af_ir probe(), but it loads the module anyway.
It means your hardware is not supported. Too bad.