Hello IrDA group, As you can see from the Subject line, I need help. I guess some of you have been there, done that, so I'm posting to this list after tearing my hair out for some days. My setup: Debian potato running 2.4.5 kernel (kernel upgrade for potato from http://www.fs.tum.de/~bunk/kernel-24.html), all IrDA config'd as modules, CONFIG_SERIAL=m. Also tried 2.4.4 kernel with same bad results. [Anyone else with this setup gotten it to work? Is there a particular kernel (eg Alan Cox) I should be using? Patches?] My goal is simply to IR-HotSync my Palm V, but I think I'm being foiled way before the Palm enters the picture. I've home-brewed an IR circuit based on the HP HSDL-1100, following the recommended circuit on HP/Agilent's site. My BIOS setting is IRDA 1.0 on ttyS1, port 0x2f8, irq 3, half duplex, Tx/Rx Active Hi/Lo (though I've run through nearly all BIOS options with no effect, even turning off all of the other serial ports). The length of cord is 4ft from tranceiver to motherboard, Palm distance is Right Smack Up Against tranceiver (also tried moving to other distances). [Anyone else make their own IR tranceiver circuit? Want to compare voltages?] I've tried the IrCOMM and IrPort methods. IrCOMM: > rmmod serial > modprobe irda > insmod irtty > insmod ircomm > insmod ircomm-tty > l /dev/ir* crw-rw-rw- 1 root dialout 161, 0 Jun 14 15:04 /dev/ircomm0 crw-rw-rw- 1 root root 161, 1 Jun 12 14:23 /dev/ircomm1 crw-rw-rw- 1 root root 161, 10 Jun 12 14:23 /dev/irlpt0 crw-rw-rw- 1 root root 161, 11 Jun 12 14:23 /dev/irlpt1 crw-rw-rw- 1 root root 10, 187 Jun 12 14:23 /dev/irnet > lsmod Module Size Used by ircomm-tty 31504 0 (unused) ircomm 14128 0 [ircomm-tty] irtty 7536 0 (unused) irda 145296 1 [ircomm-tty ircomm irtty] ipt_state 832 2 (autoclean) iptable_filter 1968 0 (autoclean) (unused) rtc 5408 0 (autoclean) > irattach /dev/ttyS1 -s 1 Palm shows "Waiting for Sender" dialog. irdadump shows 17:35:01.926961 xid:cmd f4e755a6 > ffffffff S=6 s=0 (14) 17:35:02.016941 xid:cmd f4e755a6 > ffffffff S=6 s=1 (14) 17:35:02.106940 xid:cmd f4e755a6 > ffffffff S=6 s=2 (14) 17:35:02.196945 xid:cmd f4e755a6 > ffffffff S=6 s=3 (14) 17:35:02.286957 xid:cmd f4e755a6 > ffffffff S=6 s=4 (14) 17:35:02.376943 xid:cmd f4e755a6 > ffffffff S=6 s=5 (14) 17:35:02.466954 xid:cmd f4e755a6 > ffffffff S=6 s=* pris hint=0400 [ Computer ] (20) 17:35:04.926969 xid:cmd f4e755a6 > ffffffff S=6 s=0 (14) 17:35:05.016955 xid:cmd f4e755a6 > ffffffff S=6 s=1 (14) 17:35:05.106947 xid:cmd f4e755a6 > ffffffff S=6 s=2 (14) 17:35:05.196945 xid:cmd f4e755a6 > ffffffff S=6 s=3 (14) 17:35:05.286953 xid:cmd f4e755a6 > ffffffff S=6 s=4 (14) 17:35:05.376946 xid:cmd f4e755a6 > ffffffff S=6 s=5 (14) 17:35:05.466953 xid:cmd f4e755a6 > ffffffff S=6 s=* pris hint=0400 [ Computer ] (20) ... Trying HotSync'ing, irdadump reports nothing different. > ifconfig irda0 irda0 Link encap:IrLAP HWaddr f4:e7:55:a6 UP RUNNING NOARP MTU:2048 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:8 Looks bad to me. The IrPort try seemed a tad better: (fresh reboot) > setserial /dev/ttyS1 uart none irq 0 port 0 > rmmod serial > modprobe irda > insmod irport io=0x2f8 irq=3 > lsmod Module Size Used by irport 7136 1 irda 145296 1 [irport] ipt_state 832 2 (autoclean) iptable_filter 1968 0 (autoclean) (unused) rtc 5408 0 (autoclean) > irattach irda0 -s 1 Again Palm shows "Waiting for Sender" dialog. irdadump shows 17:35:01.926961 xid:cmd f4e755a6 > ffffffff S=6 s=0 (14) forever, same as before. However, ifconfig irda0 is a bit better: irda0 Link encap:IrLAP HWaddr f4:e7:55:a6 UP RUNNING NOARP MTU:2048 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:3489 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:8 Interrupt:3 Base address:0x2f8 This time I see TX packets, and 'Interrupt' and 'Base address' info. [Should I have expected this info doing it the IrCOMM way?] No RX packets, and I think that's the root of my problem. Anyone have any insight? BTW, I managed to IR-connect my Palm V to my wife's Mac G3 Powerbook using the Palm program 'IR Ping', tho the connection was flaky. My Palm can beam business cards to my Nokia 8290 as well, so I think the Palm's sending out IR ok. I didn't get 'IR Monitor' (the program to measure IR intensity, previously posted to this list) to work, however, not with anything: TV remote, Powerbook, my tranceiver. But it does consistently pop up the "Waiting for Sender", so IR receiver seems ok, too. I'm sorry this post is so long, but I wanted to provide as complete a description as necessary, w/o driving you more nuts than I am at this point. Maybe now I'll go outside and get some food... Thanks, fellow masochists! Victor See-le [EMAIL PROTECTED] _______________________________________________ Linux-IrDA mailing list - [EMAIL PROTECTED] http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda
