Here are the diffs:
rx30 at dsolomon-devbox:~/nslu2/downloads/temp/sane-backends-1.0.18/backend$
cat avision.h.diff
*** avision.h.orig 2007-07-23 10:21:01.0 -0400
--- avision.h 2007-07-17 12:07:25.0 -0400
***
*** 57,62
--- 57,65
# define PATH_MAX
Hi,
thanks, I'll go over them. Btw. nowadays virtually everyone rather
prefers unified diffs (diff -u) - but I can of course also read those :-)
On Monday 23 July 2007 16:25, David Solomon wrote:
Here are the diffs:
rx30 at dsolomon-devbox:~/nslu2/downloads/temp/sane-backends-1.0.18/backend$
On Tuesday 17 July 2007 18:58:03 David Solomon wrote:
I got it working. I needed to use PACKED8 on the structures in the
avision.c file also. Moved all of the Avision device structures to
PACKED16.
Can you please send me a diff(1) of your modificatoins, thanks :-)
Yours,
Ren?
David
OK. I have it scanning, but it looks as though it is failing to close
the scanner. Sane completes, but the scanner never ejects the paper
and just freezes. I need to reset the scanner to scan another image.
Here is the end of the output:
[sanei_usb] sanei_usb_read_bulk: wanted 40800 bytes, got
Here is my modified avision.h file:
/***
* SANE - Scanner Access Now Easy.
avision.h
This file is part of the SANE package.
This program is free software; you can redistribute it and/or
modify it under the
I got it working. I needed to use PACKED8 on the structures in the
avision.c file also. Moved all of the Avision device structures to
PACKED16.
David Solomon
On 7/16/07, m. allan noah kitno455 at gmail.com wrote:
this webpage is all i know about it (but google will give more):
Allan,
I tried disabling Gamma in the code (couldn't get it work in the
config for some reason). Now it is having a problem at the sense.
Could this be related to usb issues? Is udev required when using
libusb?
Here is the new output:
[avision] set_window: [45-46] line-width: 3825
[avision]
Thank you. I have filed the bug. Also, I am trying to use some
#pragma pack statements to see if they will work.
David Solomon
On 7/13/07, Jochen Eisinger jochen at penguin-breeder.org wrote:
Hi,
that's a common problem of many backends, please file a bug at our
alioth bug tracker. See bug
I think you are right. I am trying some pragma pack statments to see
if they will help. I looked at some of the plustek_usb header changes
and found that they used: #define PACKED8 __attribute__
((packed,aligned(1))) and #define PACKED16 __attribute__
((packed,aligned(2))) statements to pack
On 7/16/07, David Solomon lorddavon at gmail.com wrote:
I think you are right. I am trying some pragma pack statments to see
if they will help. I looked at some of the plustek_usb header changes
and found that they used: #define PACKED8 __attribute__
((packed,aligned(1))) and #define
Allan,
Do I add them to all of the command structs or just the Avision_Connection?
David Solomon
On 7/16/07, m. allan noah kitno455 at gmail.com wrote:
On 7/16/07, David Solomon lorddavon at gmail.com wrote:
I think you are right. I am trying some pragma pack statments to see
if they will
this webpage is all i know about it (but google will give more):
http://sig9.com/articles/gcc-packed-structures
allan
On 7/16/07, David Solomon lorddavon at gmail.com wrote:
Allan,
Do I add them to all of the command structs or just the Avision_Connection?
David Solomon
On 7/16/07, m.
Allan,
That is a pretty good find. Thank you!
David Solomon
On 7/16/07, m. allan noah kitno455 at gmail.com wrote:
this webpage is all i know about it (but google will give more):
http://sig9.com/articles/gcc-packed-structures
allan
On 7/16/07, David Solomon lorddavon at gmail.com
Hi,
that's a common problem of many backends, please file a bug at our
alioth bug tracker. See bug #303681
http://alioth.debian.org/tracker/index.php?func=detailaid=303681group_id=30186atid=410366
for a similar bug.
regards
-- jochen
On 7/13/07, Jochen Eisinger jochen at penguin-breeder.org wrote:
Hi,
that's a common problem of many backends, please file a bug at our
alioth bug tracker. See bug #303681
http://alioth.debian.org/tracker/index.php?func=detailaid=303681group_id=30186atid=410366
for a similar bug.
from
I am having terrible problems getting SANE to work with my AVISION
scanner on the NSLU2. I did compile SANE 1.0.18 for the NSLU2, but
don't think it is the code. Anyone have any suggestions?
I have the following modules loaded:
root at OpenWrt:/dev# lsmod
Module Size Used by
note that i have never really used any avision equipment, but you
might try disabling the gamma table in the conf file. man sane-avision
for more.
allan
On 7/12/07, David Solomon lorddavon at gmail.com wrote:
I am having terrible problems getting SANE to work with my AVISION
scanner on the
17 matches
Mail list logo