From: WiseLYNX <wis...@fa...> - 2002-11-27 22:37:07
|
Werner Heuser wrote: >>The question is: is this ML the suitable place to ask for a little help >>about configuring a harsh IrDA interface? If not, can you please me >>suggest me a more suitable place? >> > >If you use latest irda-utils and latest (stable) kernels and read >the docs before posting: > OK, I checked out everything, now I'm pretty sure I can ask help :-) I'm using a stable kernel (2.4.20-acpi-r6 from Gentoo) and latest=20 irda-utils (0.9.15), I enabled all required options in kernel (serial,=20 sysctl, irda support). In particular, the irda section is, cut&pasted=20 =66rom make menuconfig: <*> IrDA subsystem support --- IrDA=20 protocols =20 <M> IrLAN=20 protocol =20 <M> IrNET=20 protocol =20 <M> IrCOMM=20 protocol =20 [*] Ultra (connectionless)=20 protocol =20 --- IrDA=20 options =20 [*] Cache last=20 LSAP =20 [*] Fast RRs (low=20 latency) =20 [*] Debug information =20 and --- SIR device=20 drivers =20 <M> IrTTY (uses Linux serial=20 driver) =20 <M> IrPORT (IrDA serial=20 driver) =20 --- Dongle=20 support =20 [*] Serial dongle=20 support =20 <M> ESI JetEye PC=20 dongle =20 <M> ACTiSYS IR-220L and IR220L+=20 dongle =20 <M> Tekram IrMate 210B=20 dongle =20 <M> Greenwich GIrBIL=20 dongle =20 <M> Parallax LiteLink dongle =20 <M> Microchip=20 MCP2120 =20 <M> Old Belkin=20 dongle =20 <M> ACTiSYS IR-200L dongle=20 (Experimental) =20 <M> Mobile Action MA600 dongle=20 (Experimental) =20 --- FIR device=20 drivers =20 <M> IrDA USB dongles=20 (Experimental) =20 <M> NSC=20 PC87108/PC87338 =20 <M> Winbond W83977AF=20 (IR) =20 < > Toshiba Type-O IR=20 Port =20 <M> ALi M5123 FIR=20 (Experimental) =20 <M> VLSI 82C147 SIR/MIR/FIR (Experimental) =20 <M> SMC IrCC (Experimental) I set all those options as modules, because I did not know with=20 precision which hardware was mine; I excluded just the Toshiba module,=20 because my laptop is a Fujitsu Siemens Amilo M. Anyway, I lately discovered that probably my ir device is a simple=20 standard SIR, correctly seen by the kernel as a serial port. From dmesg=20 I can see: Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ=20 SERIAL_PCI enabled ttyS00 at 0x03f8 (irq =3D 4) is a 16550A <--- this is the serial port ttyS01 at 0x02f8 (irq =3D 3) is a 16550A <--- this is the ir port I can say the second one is surely the ir because the addres and IRQ are=20 the same set in the BIOS. Here it comes the first oddness. I followed the instruction in the Linux=20 Infrared HOWTO, but when came the time to create various devices in=20 /dev, I found out there where already some ircomm devices... more than=20 30!! From ircomm0 to ircomm30... strange indeed. Then I irattach /dev/ttyS1 -s, and I don't get any error mesg... should=20 it be all right? To check it, I try to irdadump with my ir cellular=20 phone . All I can see is: bash-2.05a# irdadump 22:26:13.966346 xid:cmd 08fb025d > ffffffff S=3D6 s=3D0 (14) 22:26:14.056338 xid:cmd 08fb025d > ffffffff S=3D6 s=3D1 (14) 22:26:14.146353 xid:cmd 08fb025d > ffffffff S=3D6 s=3D2 (14) 22:26:14.236338 xid:cmd 08fb025d > ffffffff S=3D6 s=3D3 (14) 22:26:14.326521 xid:cmd 08fb025d > ffffffff S=3D6 s=3D4 (14) 22:26:14.416342 xid:cmd 08fb025d > ffffffff S=3D6 s=3D5 (14) 22:26:14.506346 xid:cmd 08fb025d > ffffffff S=3D6 s=3D* naima hint=3D0400= [=20 Computer ] (21) 22:26:16.966344 xid:cmd 08fb025d > ffffffff S=3D6 s=3D0 (14) 22:26:17.056340 xid:cmd 08fb025d > ffffffff S=3D6 s=3D1 (14) 22:26:17.146344 xid:cmd 08fb025d > ffffffff S=3D6 s=3D2 (14) 22:26:17.236342 xid:cmd 08fb025d > ffffffff S=3D6 s=3D3 (14) 22:26:17.326527 xid:cmd 08fb025d > ffffffff S=3D6 s=3D4 (14) 22:26:17.416340 xid:cmd 08fb025d > ffffffff S=3D6 s=3D5 (14) 22:26:17.506341 xid:cmd 08fb025d > ffffffff S=3D6 s=3D* naima hint=3D0400= [=20 Computer ] (21) 14 packets received by filter bash-2.05a# Mhhh... I can't say if this is right or wrong, but one thing is pretty=20 sure, it would go on that way if I wouldn't ctrl-C it. I made a, maybe clumsy, try to use the phone as a modem with minicom,=20 trying to use /dev/ircomm0 as modem (I read about it somewhere on the=20 net... if necessary I'll find the page again), but neither this seemed=20 to work. Nor the Gnome applet Girda seems to detect any device... What can you tell me about this case? I'm sure I did not give all the=20 deteils you'd need to diagnosticate what the problem is; just ask, I'll=20 try to find them out. Thank you in advance to whomever will try to help me in this case... =B0=B0=B0 Wise O LYNX |