On 06/22/2015 10:40 PM, Stef wrote:
Hi Stef,

Debug levels are defined like this for genesys_low:

genesys_low.h:#define DBG_io          6    /* io functions */
genesys_low.h:#define DBG_io2         7    /* io functions that are
called very often */
genesys_low.h:#define DBG_data        8    /* log image data */

     So if you get the problem at log level below seven, we must look at
DBG_data usage in genesys_low.c . But here isn't on. So try 7 and 6 as
debug levels. Once we know the exact kind of logging level that fix this
timing issue, the next step is to remove this messages one by on until
you find the one that makes difference. I haven't seen nothing obvious,
so experimenting/testing is needed.

     sanei_genesys_wait_for_home(), sanei_genesys_set_buffer_address()
and sanei_genesys_write_ahb functions() are printing messages in the
middle of the code and are first candidates to try, in this order.


It works at debug level 7, but not 6. I'm not sure from the rest of your answer if there's testing you want me to do, or if it's just informational. I'm a retired sys admin/engineer but not much of a programmer. I'm willing to test more, but I'll need more detailed instructions.

Thanks,

John

--
John Weber
jwebe...@gmail.com

--
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
            to sane-devel-requ...@lists.alioth.debian.org

Reply via email to