Hi all,

our company has serval MS-6204 NetPc's with IRDA from mirco-star and have problems
to get irattach working. The machine runs debian with latest 2.2.15 pacthed
with patch-irda2.2.15pre20 and latest irda-utils 0.9.10. All Irdastuff compiled
with debug and as modules.

I enabled irda on com2 with io=2f8, irq=3 and dma=1 in the bios.

Under linux /dev/ttyS1 is confed with setserial /dev/ttyS1 uart none

findchip says the following:

Probing for EFER at 0x03f0 ...
hefras = 0x00
EFER seems to be probed at 0x03f0
chip id = 0x97, revision = 0x74
Device Revision 0x97 : W83977ATF is detected!
 TX DMA is inactive, or single DMA mode
 RX->TX Turn around delay(4 char time) is enabled
 TX->RX Turn around delay(4 char time) is disabled
 Bank selection is disabled(CRF0 = 0x04).
Found WINBOND W83977ATF Controller at 0x3f0, DevID=0x97, Rev. 116
    SIR Base 0x2f8, FIR Base 0x2f8
    IRQ = 3, DMA = 1
    Enabled: no, Suspended: no
    UART compatible: yes
    Half duplex delay = 1073819856 us

then I modprobe irda, which goes fine,

modprobe w83977af_ir io=2f8 irq=3, i have to do that because only the
module will set irq to 11 and io to 1f8. I look up in the source code
and find out that this are the standard values for the variables.

after modprobe the syslog says the following:

un 23 08:15:27 razor kernel: w83977af_init()
Jun 23 08:15:27 razor kernel: w83977af_open()
Jun 23 08:15:27 razor kernel: w83977af_probe()
Jun 23 08:15:27 razor kernel: w83977af_probe(), Wrong chip version<7>w83977af_probe()
(maybee this where something goes wrong)
Jun 23 08:15:27 razor kernel: W83977AF (IR) driver loaded. Version: 0x11
Jun 23 08:15:27 razor kernel: w83977af_net_init()
Jun 23 08:15:27 razor kernel: IrDA: Registered device irda0

then findchip says:

Probing for EFER at 0x03f0 ...
hefras = 0x00
EFER seems to be probed at 0x03f0
chip id = 0x97, revision = 0x74
Device Revision 0x97 : W83977ATF is detected!
 TX DMA is inactive, or single DMA mode
 RX->TX Turn around delay(4 char time) is disabled
 TX->RX Turn around delay(4 char time) is disabled
 Bank selection si enabled.
Found WINBOND W83977ATF Controller at 0x3f0, DevID=0x97, Rev. 116
    SIR Base 0x2f8, FIR Base 0x2f8
    IRQ = 3, DMA = 1
    Enabled: yes, Suspended: no
    UART compatible: yes
    Half duplex delay = 1073819856 us

Now I can bring up irda0 with: ifconfig irda0 up

Then I modprobe ircomm and ircomm-tty and syslog shows:

un 23 08:16:41 razor kernel: w83977af_net_open()
Jun 23 08:16:41 razor kernel: irlap_change_speed(), setting speed to 9600
Jun 23 08:16:59 razor kernel: IrCOMM protocol (Dag Brattli)

If I try now irattach /dev/ttyS1 I got:

Jun 23 08:17:18 razor irattach: tcsetattr: Input/output error


In the Motherboardmanual and on the homepage are no Inforamtion about the chipset.
Thats why I opened the machine and I took a look a my self, but I only found
the  alphanumerics HP1100 on the IR-LED.
 
Now my Question are, have some one the same problem and a solutioni?

If no I will ask micro-star for the chipset name and the spezification.
Maybe do a patch, but I am not such a good coder

Henning Heinold

-- 
Henning Heinold <[EMAIL PROTECTED]> (Products & Development)
* ID-PRO GmbH Arnsberg * M�hnestra�e 11-17 * D-59755 Arnsberg
* Tel. +49 (0) 29 32-9 16-0
* http://open-for-the-better.com

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

Reply via email to