← Back to team overview

ac100 team mailing list archive

Re: help test oneiric kernel image

 

On Sun, Sep 25, 2011 at 08:10:29PM +0200, Julian Andres Klode wrote:
> On Sun, Sep 25, 2011 at 11:36:46AM +0300, scoopr wrote:
> > I occasionally get this in syslog:
> > Sep 25 11:18:24 ac100 kernel: [  815.981076] nvec nvec.0: RX
> > incomplete: Expected 3 bytes, got 2
> > 
> > and that might manifest as keystroke not going through or, how I
> > noticed it, keyup not going through so I get stuck keys..
> Yes, this seems to be a timing issue or whatever. If nvec_interrupt()
> runs longer, all 3 bytes are correctly received, at least according
> to my short tests yesterday. It also helps slightly to run on
> performance governor instead of ondemand.
> 
> I'll investigate this further during the next week and hopefully
> find a real solution for this.

I believe that this problem has been fixed in the latest
git tree, in the commit indicated below.

commit 03d85ef91f0c5a28bfcb660ca4c109ee675b0e4a
Author: Julian Andres Klode <jak@xxxxxxxxxxxxx>
Date:   Mon Sep 26 14:52:09 2011 +0200

    staging: nvec: Add a udelay(100) to nvec_interrupt
    
    As the comment indicates, adding that udelay seems to
    improve the stability of the communication, although
    it is not known why this is the case.
    
    Signed-off-by: Julian Andres Klode <jak@xxxxxxxxxxxxx>

-- Notes:

As indicated by the commit message, I have absolutely zero
idea why that fixes the problem. It is most likely not
the correct solution and only works due to some other
reasons.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Attachment: pgpNKqNdfky5m.pgp
Description: PGP signature


Follow ups

References