Hi everyone!

Someone has probably asked this question before but because browsing the
mailing list archive over 9.6Kbit/s GSM-data connection is really
frustrating I decided to post this message. SH888 is my only
Internet connection at the moment and I haven't subscribed to the list so
PLEASE CC ME if you reply.

According to Tekram and my experience the Tekram IR-210B cannot communicate
reliably with Ericsson SH888 at speeds that are higher than 38.4Kbps. If the
IrDA link speed is too high, it works only about 10-20 seconds and then gets
disconnected. I've had the exact same results with Windows98 (which allows
limiting IrDa speed). Then to the real problem. What should I do to limit
the connection speed? I couldn't find any variable from the proc fs.
Setting serial port (in this case /dev/ircomm0) speed in minicom or in any
other program (ppp dialers etc) doesn't change the baud rate. When a program
opens /dev/ircomm0 the kernel prints to the log a line like this:
irlap_change_speed(), setting speed to 115200

It's always 115200. When a program closes the device then it sets the speed
to 9600. /proc/net/irda tells that the speed is always either 115200 or
9600. 

I've solved the problem but I know that my solutions is not the right
solution. I brutally edited tekram_open function in tekram.c (Tekram IRmate
driver) and changed the baud rate bits in QoS structure. Now everything
works perfectly. There's a better way of controlling the baud rate, right?

I'm using Linux 2.2.14 with the latest irda patch and irda-utils 0.9.10.

-jukka


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

Reply via email to