Hi, all!
I'm using a Tekram Dongle with a cell phone with Linux 2.4.3. The tekram
kernel module (tekram.c) allows speeds up to
115200 bps, but with my cell phone it only works up to 38400 (which is
well documented and consistent with what happens in windows). So I
modified the tekram.c file to not allow speeds over 38400 and
recompiled. Now everything seems to work fine except everything starts
to go very slowly. I didn't see this behaviour in the 2.2 series
kernels.
With the old setting (115200) I get the following from irdadump when the
port is open and no traffic.
20:53:55.535297 rr:cmd > ca=1a pf=1 nr=2 (2)
20:53:55.565296 rr:rsp < ca=1a pf=1 nr=5 (2)
20:53:55.665292 rr:cmd > ca=1a pf=1 nr=2 (2)
20:53:55.695293 rr:rsp < ca=1a pf=1 nr=5 (2)
20:53:55.795310 rr:cmd > ca=1a pf=1 nr=2 (2)
20:53:55.825300 rr:rsp < ca=1a pf=1 nr=5 (2)
As you can see about 10 "communication events" per second, but when I
remove the high speed modes by setting
qos->baud_rate.bits &= IR_9600|IR_19200|IR_38400;
in tekram.c the number of "communication events" drops to one or two per
second. This also happens when there is traffic
on the line so I end up having a ~300 bps connection with a one second
latency to the cell phone.
Obviously something else is changed when I change the baud rate. Coud
someone point me to where this is done?
/Best regards
Thomas Hellstr�m
--
Thomas Hellstr�m, Fyrm�stareg�ngen 8, S-413 18 G�teborg,
Sweden
Email: [EMAIL PROTECTED]
Tel: +46 31 244077, +46 31 663295, +46 704 976916 // Fax: +46 31
546710
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda