Hallo, I'm trying to sync my Handspring Visor to my Linux box. I'm lucky to have a supported FIR chip (PC87338), and it seems that all modules are loaded properly and everything runs fine so far. However, when I try to sync, e.g. using
export PILOTRATE=57600 pilot-xfer /dev/ircomm0 -l I get eventually connected, but the connection is deadly slow, regardless what baud rate was chosen. A look at ~ # cat /proc/tty/driver/ircomm State: IRCOMM_TTY_READY Service type: 9_WIRE Port name: DTE status: RTS|DTR DCE status: CTS|DSR|CD|RI Configuration: DTE <-> DTE (null modem emulation) Data rate: 57600 Flow control: Flags: ASYNC_INITIALIZED|ASYNC_NORMAL_ACTIVE Role: client Open count: 1 Max data size: 508 Max header size: 6 Hardware: Running shows me (at least) that the hardware is running at 57600. This is the output of ~# irdadump -d ... 13:08:09.010900 (0000.00 ms) rr:rsp < ca=f8 pf=1 nr=5 (2) 13:08:09.510900 (0500.00 ms) rr:cmd > ca=f8 pf=1 nr=1 (2) 13:08:09.510900 (0000.00 ms) i:rsp < ca=f8 pf=1 nr=5 ns=1 LM slsap=02 dlsap=12 TTP credits=0 (26) 13:08:09.510900 (0000.00 ms) i:cmd > ca=f8 pf=1 nr=2 ns=5 LM slsap=12 dlsap=02 TTP credits=3 (22) 13:08:09.520900 (0010.00 ms) i:rsp < ca=f8 pf=1 nr=6 ns=2 LM slsap=02 dlsap=12 TTP credits=1 (5) 13:08:09.520900 (0000.00 ms) i:cmd > ca=f8 pf=1 nr=3 ns=6 LM slsap=12 dlsap=02 TTP credits=0 (32) 13:08:09.530900 (0010.00 ms) i:rsp < ca=f8 pf=1 nr=7 ns=3 LM slsap=02 dlsap=12 TTP credits=1 (5) 13:08:10.030900 (0500.00 ms) rr:cmd > ca=f8 pf=1 nr=4 (2) 13:08:10.030900 (0000.00 ms) i:rsp < ca=f8 pf=1 nr=7 ns=4 LM slsap=02 dlsap=12 TTP credits=0 (22) 13:08:10.530900 (0500.00 ms) rr:cmd > ca=f8 pf=1 nr=5 (2) 13:08:10.530900 (0000.00 ms) rr:rsp < ca=f8 pf=1 nr=7 (2) 13:08:11.030900 (0500.00 ms) rr:cmd > ca=f8 pf=1 nr=5 (2) 13:08:11.040900 (0010.00 ms) i:rsp < ca=f8 pf=1 nr=7 ns=5 LM slsap=02 dlsap=12 TTP credits=0 (88) 13:08:11.040900 (0000.00 ms) i:cmd > ca=f8 pf=1 nr=6 ns=7 LM slsap=12 dlsap=02 TTP credits=2 (22) 13:08:11.540900 (0500.00 ms) rr:cmd > ca=f8 pf=1 nr=6 (2) 13:08:11.540900 (0000.00 ms) rr:rsp < ca=f8 pf=1 nr=7 (2) 13:08:11.540900 (0000.00 ms) i:cmd > ca=f8 pf=1 nr=6 ns=7 LM slsap=12 dlsap=02 TTP credits=2 (22) ... If I interprete this right, it shows, that after a couple of sucsessfully transmitted/received packages the Linux box times out (500ms) and sends rr:cmd instead of imediately sending the next required package. This happens - with any transmission rates( 2400-115200), - with the FIR driver as well as with the SIR driver (!), - with Handspring Visor as well as with PalmIII, - regardless what HotSync Software is used( pilot-link, kpilot). So I guess, it might be a bug in ircomm, but I'm really not deep enough into that protocol stuff to be sure about it. BTW, I'm running SuSE-Linux 7.2 with 2.4.4-kernel What do you folks think about it? Regards, Roland _______________________________________________ Linux-IrDA mailing list - [EMAIL PROTECTED] http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda
