I have the following problem using ircomm at debian 2.2 on the hardware in 
the subject:

Kernel is 2.2.17, Irda-utils are now 0.9.13.

When I try >irattach /dev/ttyS1 
irattach terminates with the following in /var/log/syslog:

Dec 20 00:17:03 matthschulzg irattach: device=/dev/ttyS1
Dec 20 00:17:03 matthschulzg irattach: SIR device
Dec 20 00:17:03 matthschulzg irattach: tcsetattr: Input/output error          

and therefore:

> pilot-xfer -p /dev/ircomm0 -l
Unable to bind to port '/dev/ircomm0'.
(Please see 'man pilot-xfer' or 'pilot-xfer --help' for information on 
setting the port).
>

I loaded all drivers by hand

modprobe nsc-ircc
modprobe irtty
ifconfig irda0 up (this allocates irq3 to irda in /proc/interrupts)

>lsmod says then:
Module                  Size  Used by
serial                 18388   2 (autoclean) [serial_cs]
irtty                   5124   0 (unused)
nsc-ircc               10020   1
irda                   74337   0 [irtty nsc-ircc]
opl3                   11304   0
opl3sa2                 4176   0
ad1848                 16752   0 [opl3sa2]
mpu401                 19184   0 [opl3sa2]
sound                  57388   0 [opl3 opl3sa2 ad1848 mpu401]
soundcore               2564   7 [sound]
unix                   10660 108 (autoclean) 

ifconfig shows incoming and outgoing packets:

irda0     Link encap:IrLAP  HWaddr 61:62:7f:31
          UP RUNNING NOARP  MTU:2048  Metric:1
          RX packets:133 errors:0 dropped:0 overruns:0 frame:0
          TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:8                                           
                                                                
compared to (one minute later)

irda0     Link encap:IrLAP  HWaddr 61:62:7f:31
          UP RUNNING NOARP  MTU:2048  Metric:1
          RX packets:265 errors:0 dropped:0 overruns:0 frame:0
          TX packets:132 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:8                                           
                                                                

> cat /proc/net/irda/discovery          says:
IrLMP: Discovery log:
 
nickname: IrCOMM, hint: 0x8204, saddr: 0x61627f31, daddr: 0xb20a792d
 
>

What I'm doing wrong?


Matth

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

Reply via email to