Author Topic: Kernel 2.4.22 Or Irda Patch For 2.4.20?  (Read 3304 times)

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Kernel 2.4.22 Or Irda Patch For 2.4.20?
« on: June 17, 2005, 04:39:44 am »
Hello,

I still try to get my Ericsson phones working over IrDA with my SL-C3000. No way so far. According to Jean Tourrilhes' findings, the problem is tthat 1. the Ericsson phones pretend they can return a packet in zero time.

echo 1000 > /proc/sys/net/irda/min_tx_turn_time

should do the trick. Have applied that.

The second problem is that the phone does not say which window size it can handle, so the IrDA stack of Linux tries to send more than 1 packet at once, but the phone cannot handle that.
The workaround would be to advise the kernel to send only one packt per window with

echo 1 > /proc/sys/net/irda/max_tx_window.

But that last proc entry is only available in kernel 2.4.22 or with a patch in older kernels.
Does anyone have either another way of making the kernel send only one package, or a new working kernel which has that patch included?

I do not really want (nor do I know how) to compile a new kernel for/on the Zaurus.

Thanks

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Kernel 2.4.22 Or Irda Patch For 2.4.20?
« Reply #1 on: June 21, 2005, 02:04:37 pm »
Here is the patch Im currently using for C1000 Cacko ROM development. You'll need to patch kernel sources and build a kernel for your C3000

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Kernel 2.4.22 Or Irda Patch For 2.4.20?
« Reply #2 on: June 21, 2005, 03:32:23 pm »
Quote
Here is the patch Im currently using for C1000 Cacko ROM development. You'll need to patch kernel sources and build a kernel for your C3000
[div align=\"right\"][a href=\"index.php?act=findpost&pid=85209\"][{POST_SNAPBACK}][/a][/div]

Well, thanks a lot! I hoped that I can avoid compiling a new kernell. But it doesn't seem sp.
Is tehre somewhere a tutorial how to compile and install a new kernel? I have done so many times on a Linux PC, but never on an ARM machine...

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Kernel 2.4.22 Or Irda Patch For 2.4.20?
« Reply #3 on: June 21, 2005, 04:51:14 pm »
Actualy you do that on a Linux PC with cross compiler. mcheck hOTO section on ZUG regarding development environment setup. You'll need Sharp kernel sources and patches from tetsu (author of the special kernel that many people use)