On Wed, Sep 29, 1999 at 07:46:12AM +0200, Dag Brattli wrote:
> > Terrific!  My Canon BJC-80 printer is working properly again!
> 
> This is great news!! I made a small fix but I never expected it to have
> much effect for your problem.
> 
> The problem was that when writing small amounts of data (less than 2K), the
> remote device could flow-control off to prevent Linux from sending more
> data. After some time, it would flow control on again to signal that it
> could receive more data. When this happens, Linux would signal (wake up)
> the writing process telling it that it could write more data again. The
> problem was however that if the writing process had finished writing, then
> all the data would be in IrCOMM's transmit buffer which I had forgot to
> check. So the data would only be sent if the process had something more to
> write ;-) At least this is the only change I could think of. I found the
> bug after using Mincom towards the Ericsson phone. The init string would
> only be written fully if I pressed a key afterwards(which would then flush
> the transmit buffer).

Have you got a diff for this for the 2.2.11 patch ? I
have nearly exact the same problem as mentioned in the first
mail.

Flo
-- 
Florian Lohoff          [EMAIL PROTECTED]                  +49-5241-470566
  ...  The failure can be random; however, when it does occur, it is
  catastrophic and is repeatable  ...             Cisco Field Notice


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

Reply via email to