[sane-devel] SANE 1.0.18 and the NSLU2 running OpenWRT

2007-07-23 Thread David Solomon
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

[sane-devel] SANE 1.0.18 and the NSLU2 running OpenWRT

2007-07-23 Thread Rene Rebe
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$

[sane-devel] SANE 1.0.18 and the NSLU2 running OpenWRT

2007-07-18 Thread René Rebe
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

[sane-devel] SANE 1.0.18 and the NSLU2 running OpenWRT

2007-07-17 Thread David Solomon
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

[sane-devel] SANE 1.0.18 and the NSLU2 running OpenWRT

2007-07-17 Thread David Solomon
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

[sane-devel] SANE 1.0.18 and the NSLU2 running OpenWRT

2007-07-17 Thread David Solomon
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):

[sane-devel] SANE 1.0.18 and the NSLU2 running OpenWRT

2007-07-16 Thread David Solomon
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]

[sane-devel] SANE 1.0.18 and the NSLU2 running OpenWRT

2007-07-16 Thread David Solomon
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

[sane-devel] SANE 1.0.18 and the NSLU2 running OpenWRT

2007-07-16 Thread David Solomon
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

[sane-devel] SANE 1.0.18 and the NSLU2 running OpenWRT

2007-07-16 Thread m. allan noah
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

[sane-devel] SANE 1.0.18 and the NSLU2 running OpenWRT

2007-07-16 Thread David Solomon
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

[sane-devel] SANE 1.0.18 and the NSLU2 running OpenWRT

2007-07-16 Thread m. allan noah
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.

[sane-devel] SANE 1.0.18 and the NSLU2 running OpenWRT

2007-07-16 Thread David Solomon
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

[sane-devel] SANE 1.0.18 and the NSLU2 running OpenWRT

2007-07-13 Thread Jochen Eisinger
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

[sane-devel] SANE 1.0.18 and the NSLU2 running OpenWRT

2007-07-13 Thread m. allan noah
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

[sane-devel] SANE 1.0.18 and the NSLU2 running OpenWRT

2007-07-12 Thread David Solomon
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

[sane-devel] SANE 1.0.18 and the NSLU2 running OpenWRT

2007-07-12 Thread m. allan noah
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