[sane-devel] ENABLE_LOCKING

2005-08-08 Thread Paul Smedley
Hi Gerhard

Gerhard Jaeger wrote:
 On Monday 25 July 2005 02:49, Paul Smedley wrote:
 Hi all,

 On OS/2 - enable_locking gets enabled by configure, however as far as I
 can tell, this is only used in sanei_access.c, and then, only by the
 plustek backend - and the code doesn't work on OS/2.

 I know that I can run configure with a switch to disable locking, but can
 configure be changed such that ENABLE_LOCKING is not set on os/2..
snip

 Try the patch below...

For what it's worth - I just tried this and it works perfectly - is it 
possible to get the patch checked in?

Cheers,

Paul.


[sane-devel] re: 2480 Transparency Issues

2005-08-08 Thread Ken Ramey
Still trying to resolve the issues with the 2480 scanner when using
the transparency unit.  Using gimp and the Acquire Image... with
xsane also results in messed up preview area.  The scans are still not
usable, but getting closer.  From Gimp, the number of color bands is
reduced by half.  I'm not sure why, but the resulting scans are still
not usable.

Still looking for any pointers.

ken


[sane-devel] ENABLE_LOCKING

2005-08-08 Thread Gerhard Jaeger
Hi Paul,

On Monday 08 August 2005 07:49, Paul Smedley wrote:
 Hi Gerhard
 
 Gerhard Jaeger wrote:
  On Monday 25 July 2005 02:49, Paul Smedley wrote:
  Hi all,
 
  On OS/2 - enable_locking gets enabled by configure, however as far as I
  can tell, this is only used in sanei_access.c, and then, only by the
  plustek backend - and the code doesn't work on OS/2.
 
  I know that I can run configure with a switch to disable locking, but can
  configure be changed such that ENABLE_LOCKING is not set on os/2..
 snip
 
  Try the patch below...
 
 For what it's worth - I just tried this and it works perfectly - is it 
 possible to get the patch checked in?

yup - already done, pls cross-check.

ciao,
Gerhard

 
 Cheers,
 
 Paul.
 



[sane-devel] Anon cvs problems

2005-08-08 Thread Paul Smedley
HI All,
Anyone else seeing this error when trying to update cvs via anonymous login?

cvs -z3  -d:pserver:anonym...@cvs.alioth.debian.org:/cvsroot/sane co 
sane-backends

cvs [checkout aborted]: unrecognized auth response from 
cvs.alioth.debian.org: cvs: WARNING: Read-only repository access mode 
selected via `cvs -R'.

Cheers,

Paul.


[sane-devel] Anon cvs problems

2005-08-08 Thread Stefan Urbanek
Cit?t Paul Smedley p...@smedley.info:

 HI All,
 Anyone else seeing this error when trying to update cvs via anonymous login?
 
 cvs -z3  -d:pserver:anonym...@cvs.alioth.debian.org:/cvsroot/sane co 
 sane-backends
 
 cvs [checkout aborted]: unrecognized auth response from 
 cvs.alioth.debian.org: cvs: WARNING: Read-only repository access mode 
 selected via `cvs -R'.
 

I was experiencing the same yesterday.

s.
--
http://stefan.agentfarms.net

First they ignore you, then they laugh at you, then they fight you, then
you win.
- Mahatma Gandhi


[sane-devel] Re: Is reverse engineering legal ?

2005-08-08 Thread Johannes Berg
On Sat, 2005-08-06 at 17:29 +0200, Julien HENRY wrote:
 No, I don't include ASM in my program. I just inspect
 ASM to understand USB logs, and I write my personnal C
 code that imitate what ASM does.

Yeah. And they can claim that they developed the algorithms and thus
you're violating their Copyright. By actually looking at their code
you're tainted.

Ultimately, it's your choice (and possibly problem). I wouldn't do it
that way for the given reasons.

johannes
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 832 bytes
Desc: This is a digitally signed message part
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20050808/be6d7bef/attachment.pgp
From p...@all-the-johnsons.co.uk  Mon Aug  8 09:31:36 2005
From: p...@all-the-johnsons.co.uk (Paul F. Johnson)
Date: Mon Aug  8 09:52:27 2005
Subject: [sane-devel] Re: Is reverse engineering legal ?
In-Reply-To: 1123491622.6068.16.camel@localhost
References: 20050806152904.58093.qm...@web26610.mail.ukl.yahoo.com
1123491622.6068.16.camel@localhost
Message-ID: ikwd4o.shf...@webmail.all-the-johnsons.co.uk

Hi,

  No, I don't include ASM in my program. I just inspect
  ASM to understand USB logs, and I write my personnal C
  code that imitate what ASM does.
 
 Yeah. And they can claim that they developed the algorithms and thus
 you're violating their Copyright. By actually looking at their code
 you're tainted.

Depends on if you're in the EU or not. In the EU, if either the company has
gone to the wall or the software will not work on your specific hardware, you
can (in some circumstances) reverse engineer the source to fix it. IANAL, but
looking at logs doesn't taint anyone - logs just tell you what messages have
been sent, nothing about the code etc.
 
 Ultimately, it's your choice (and possibly problem). I wouldn't do it
 that way for the given reasons.

That's always the choice. I know I've reverse engineered the odd scanner 
printer or three, released the source and nothing has happened (I even offered
it to the company who made the scanner!)

TTFN

Paul
-- 
Logic, my dear Zoe, is merely the ability to be wrong with authority - Dr
Who




[sane-devel] genesys gl841 patch

2005-08-08 Thread Pierre Willenbrock
Hi,

This is the newest and hopefully final version of my genesys_com patch.

This patch makes the bulk transfer functions chip specific and completes
the gl841 side with a gamma bulk transfer function. It also moves the
last two occurances of send_slope_table inside the chip specific init
functions. Lastly it corrects the register arrays for gl841.

Please check it does not break anything on the gl646 side.
If there are no complaints this patch can go into cvs.

Regards,
  Pierre
-- next part --
A non-text attachment was scrubbed...
Name: genesys_com.diff.gz
Type: application/x-gzip
Size: 6982 bytes
Desc: not available
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20050808/d6811883/genesys_com.diff-0001.bin
From an...@pfeiffer.edu  Mon Aug  8 13:26:35 2005
From: an...@pfeiffer.edu (m. allan noah)
Date: Mon Aug  8 13:27:33 2005
Subject: [sane-devel] latest sane screwed up my hoary box
In-Reply-To: c18d39a20508060936df4f...@mail.gmail.com
References: c18d39a20508060936df4f...@mail.gmail.com
Message-ID: pine.lnx.4.61.0508080922130.25...@limos.pfeiffer.edu

On Sat, 6 Aug 2005, Jon Dodson wrote:

 so i downloaded the latest sane to support my astra scanner.

 i ran configure, no worries, ran make, no worries.

 ran sudo checkinstall -D and my whole box went crazy.  windows
 started popping up, then all my gnome icons were X'ed out.  finally i
 can not login in it says  Cannot cd to /home/jdodson I cant login
 with any other user.  I downloaded sane via your website, WTF kind of
 software is this?  Some sort of trojan?

 it was the sanebackend 1.0.15 from here:
 ftp://ftp.sane-project.org/pub/sane/sane-backends-1.0.15/

 I am using an old laptop because all I can do it go into single user
 mode on my ubuntu machine, a little help here as you caused the issue
 in the first place?

woah, back off buddy. checkinstall is not part of sane. if running the 
command 'checkinstall' caused all sorts of crazy problems, then i 
recommend you start with that, since it presumably does not _run_ any part 
of sane either.


 btw I install packages from source all the time, first issue i have ever had.


if you do this all the time, wtf is up with you not following the 
directions that come with the source? the directions that dont mention 
checkinstall, i might add. you went off into the weeds own your own, now 
you get to find your way back to the trail on your own.

allan

-- 
so don't tell us it can't be done, putting down what you don't know.
money isn't our god, integrity will free our souls - Max Cavalera


[sane-devel] scanimage/saned segfault

2005-08-08 Thread Scott Hazen Mueller
I'm playing with network scanning.  I have a Linksys NSLU2 running Unslung
(the opened-up firmware) acting as the scanner server (for an Epson Perfection
1670, backend is snapscan) scanner.  Local scanning works fine at 8.5x11
(large debug output):

http://zorac.sf-bay.org/~scott/scanimage-local-8.5x11.txt

Network scanning works fine at a size of 6x4 (more debug output):

http://zorac.sf-bay.org/~scott/saned-6x4.txt
http://zorac.sf-bay.org/~scott/scanimage-net-6x4.txt

However, when I try a network scan at 8.5x11, scanimage dies with a broken
pipe and saned segfaults (yet more debug output):

http://zorac.sf-bay.org/~scott/saned-8.5x11.txt
http://zorac.sf-bay.org/~scott/scanimage-net-8.5x11.txt

Thoughts?

-- 
Scott Hazen Mueller | sc...@zorch.sf-bay.org or zorch!scott
Boycott Internet Spam:  See URL:http://spam.abuse.net/.



[sane-devel] scanimage/saned segfault

2005-08-08 Thread m. allan noah
scott, not enough data from the debug logs there. with both the endianness 
and alignment issues of gcc on the slug, it could be a host of things. can 
you try doing some differences in color depth and resolution, and see if 
it is truly size based, or rather data size based.

can you verify that your setup works with an x86 linux box in place of the 
slug?

can you try openslug?

allan
nslu2-linux moderator, and sane backend maintainer.

On Mon, 8 Aug 2005, Scott Hazen Mueller wrote:

 I'm playing with network scanning.  I have a Linksys NSLU2 running Unslung
 (the opened-up firmware) acting as the scanner server (for an Epson Perfection
 1670, backend is snapscan) scanner.  Local scanning works fine at 8.5x11
 (large debug output):

 http://zorac.sf-bay.org/~scott/scanimage-local-8.5x11.txt

 Network scanning works fine at a size of 6x4 (more debug output):

 http://zorac.sf-bay.org/~scott/saned-6x4.txt
 http://zorac.sf-bay.org/~scott/scanimage-net-6x4.txt

 However, when I try a network scan at 8.5x11, scanimage dies with a broken
 pipe and saned segfaults (yet more debug output):

 http://zorac.sf-bay.org/~scott/saned-8.5x11.txt
 http://zorac.sf-bay.org/~scott/scanimage-net-8.5x11.txt

 Thoughts?



-- 
so don't tell us it can't be done, putting down what you don't know.
money isn't our god, integrity will free our souls - Max Cavalera