Henning Meier-Geinitz | 1 Aug 2004 15:39
Picon

Re: reverse engineering techniques

Hi,

On Wed, Jul 21, 2004 at 06:26:26PM -0400, Dave Burns wrote:
> Let me try an example which someone out there might solve readily for all I
> know. I can see the parameters where other drivers control the RGB gain and
> gamma curves (at least I think they specify gamma curves).

Gain is usually one value that inluences the whole image. At least for
the scanners I know it's used the set the amplification of the analog
frontend (AFE) during calibration.

Hardware gamma curves are nor supported by every scanner.

> RGB gain is fine,
> I have the values for that figured out. But there are two other values per
> RGB channel that remain unknown to me. The first value ranges from 0-63 and
> may have something to do with a black point (but not sure of that).

Maybe offset? Think of gain as the amplification and offset as the
zero point. 

> Typical
> values across RGB are 47, 36, 36. The second value is made up of two bytes.
> I'm not 100% sure though that it is a short int. Since the 1st byte is only
> ever a 1 or 0 and when I've graphed scanned image data with varying values,
> there's a big discontinuity in the data. Typical values that give good
> results for me are 0x119, 0x108, 0x106. But I've also see weird combinations
> like 0x115, 0x9, 0x5. These combinations were from a driver that does
> autoexposure. If it helps, I can tell what the sequence is that the driver
> goes through before settling on those values (it iterates from a known
(Continue reading)

Henning Meier-Geinitz | 1 Aug 2004 15:51
Picon

Re: Re: [Canoscan5000f-cvs] [Canoscan5000f] news.

Hi,

On Thu, Jul 22, 2004 at 01:42:15PM +0200, Thibault North wrote:

Ok, that's the first log:
> <device descriptor of 0x03f0/0x0517 at 002:003>

That's not your scanner.

> <device descriptor of 0x04fc/0x0561 at 002:002>
> <trying to find out which USB chip is used>
>     checking for GT-6801 ...
>     this is not a GT-6801 (bDeviceProtocol = 0x0)
>     checking for GT-6816 ...
>     this is not a GT-6816 (bDeviceClass = 255, bInterfaceClass = 255)
>     checking for MA-1017 ...
>     this is not a MA-1017 (bDeviceClass = 255, bInterfaceClass = 255)
>     checking for MA-1015 ...
>     this is not a MA-1015 (bcdUSB = 0x110)
>     checking for MA-1509 ...
>     this is not a MA-1509 (bDeviceProtocol = 0x0)
>     checking for LM983[1,2,3] ...
>     this is not a LM983x (bDeviceSubClass = 0xff)
>     checking for GL646 ...
>     this is not a GL646 (bDeviceClass = 255, bInterfaceClass = 255)
>     checking for GL646_HP ...
>     this is not a GL646_HP (bDeviceProtocol = 0x0)
>     checking for GL660+GL646 ...
>     this is not a GL660+GL646 (bDeviceClass = 255, bInterfaceClass = 255)
>     checking for GL841 ...
(Continue reading)

Henning Meier-Geinitz | 1 Aug 2004 15:55
Picon

Re: FW: Other new info

Hi,

On Fri, Jul 23, 2004 at 12:56:29AM -0500, Frank Zago wrote:
> Your scanner uses isochronous pipes to communicate. libusb does not yet 
> support isochronous transfers.

Are you sure? I may be wrong but I think the iso endpoints in his logs
are from a completely different device.

Bye,
  Henning

--

-- 
sane-devel mailing list: sane-devel <at> lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request <at> lists.alioth.debian.org

Henning Meier-Geinitz | 1 Aug 2004 16:01
Picon

Re: usb scanner found by kernel but not by sane?

Hi,

On Wed, Jul 28, 2004 at 03:48:27AM +0200, Palle Girgensohn wrote:
> Any ideas if/how to get this scanner working w/ FreeBSD?

I'm afraid that's not possible at all. Even with Linux a lot of people
told us that it wouldn't work because of the kernel patch which is for
old kernels.

> man uscanner(4) says it is supported, but there is noting about it on the 
> sane site.

Support by uscanner (or the Linux kernel scanner driver) just means
that someone has added the ids of the scanner to the uscanner code.
All the real "intelligent" code must be in userspace, e.g. sane.

> sane-find-scanner says:
> 
>  # No SCSI scanners found. If you expected something different, make sure 
> that
>  # you have loaded a SCSI driver for your SCSI adapter.
> 
> found USB scanner (vendor=0x0461, product=0x0360) at /dev/uscanner0

Oh, sane-find-scanner now detects the ids of USB scanners on FreeBSD?
That's new. I'll look for the changes to sane-find-scanner in the ports.

Anyway, it doesn't really help in this case.

> Note: when running sane-find-scanner as non-root, it does not find 
(Continue reading)

Frank Zago | 1 Aug 2004 19:10
Picon

Re: FW: Other new info

Henning Meier-Geinitz wrote:
> Hi,
> 
> On Fri, Jul 23, 2004 at 12:56:29AM -0500, Frank Zago wrote:
> 
>>Your scanner uses isochronous pipes to communicate. libusb does not yet 
>>support isochronous transfers.
> 
> 
> Are you sure? I may be wrong but I think the iso endpoints in his logs
> are from a completely different device.
> 
> Bye,
>   Henning
> 

Yes, you're right. I looked at the first email, and it didn't contain the 
scanner, so I assumed the one with iso pipes was the scanner.
Looking more closely at the second shows the scaner is there.
Unfortunately that doesn't change the fact that the chipset is not recognized :(

Frank.

--

-- 
sane-devel mailing list: sane-devel <at> lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request <at> lists.alioth.debian.org

(Continue reading)

Ullrich Sigwanz | 3 Aug 2004 08:35
Picon

RE: Including the NIASH Backend...

Hello Henning, Hello Gerhard

I (developer of in the niash project - ullsig ) tested Gerhard's changes in
source code.
I substituted "our" files by Gerhard's files. Our testtool as well as a
freshly patched sane tree compiled and worked fine.

The changes can be approved.

Here is a short status summary of the project:

All 4 supported Scanners ( HP ScanJet 3300C, 3400C, 4300C and Agfa SnapScan
Touch ) now work reasonably well as forum posts show
Only color scans are supported
The only transfer method is via "libusb". libieee1284-support and
scanner-kernel-module-support are completely abandoned
The scanner buttons, the LED-control, and the LCD-Display are not an issue
of this driver, yet, though they could be in future

Regards

Ullrich

BTW:
When I try to register to the devel-list from my private mail I get this.
Any idea what that means?
(i substitued the " <at> " by NOSPAM <at> just in case).
----------------------------------------------------------------------------
---

(Continue reading)

Gerhard Jaeger | 3 Aug 2004 09:20
Picon

Re: Including the NIASH Backend...

Hi Ullrich,

thanks for your tests - I will add the backend code ASAP and 
mark you in the AUTHORS file as current maintainer.
I'll also put a comment to the .desc file, that ony color scans
are supported.
What about this testtool - will it be needed?
If there is still some ongoing development (which hopefully is ;-)
should get write access to the repository to do the necessary
changes on your own...

Ciao,
  Gerhard

On Tuesday 03 August 2004 08:35, Ullrich Sigwanz wrote:
> Hello Henning, Hello Gerhard
>
> I (developer of in the niash project - ullsig ) tested Gerhard's changes in
> source code.
> I substituted "our" files by Gerhard's files. Our testtool as well as a
> freshly patched sane tree compiled and worked fine.
>
> The changes can be approved.
>
> Here is a short status summary of the project:
>
> All 4 supported Scanners ( HP ScanJet 3300C, 3400C, 4300C and Agfa SnapScan
> Touch ) now work reasonably well as forum posts show
> Only color scans are supported
> The only transfer method is via "libusb". libieee1284-support and
(Continue reading)

Ullrich Sigwanz | 3 Aug 2004 09:44
Picon

RE: Including the NIASH Backend...

Hello Gerhard,
The "testtool" is only provided to test the niash backend code, outside the
scope of SANE to minimized risk of spoiling the system setup. 
There is no need to include it in the SANE sources. 
It will be still available at our sourceforge homepage (we will keep the
SANE sources and the "sourceforge code" in synch).

Thank you for taking care

Regards

Ullrich

-----Original Message-----
From: Gerhard Jaeger [mailto:gerhard <at> gjaeger.de]
Sent: Dienstag, 3. August 2004 09:21
To: SANE-Devel
Cc: Ullrich Sigwanz; 'sane-devel <at> lists.alioth.debian.org'
Subject: Re: [sane-devel] Including the NIASH Backend...

Hi Ullrich,

thanks for your tests - I will add the backend code ASAP and 
mark you in the AUTHORS file as current maintainer.
I'll also put a comment to the .desc file, that ony color scans
are supported.
What about this testtool - will it be needed?
If there is still some ongoing development (which hopefully is ;-)
should get write access to the repository to do the necessary
changes on your own...
(Continue reading)

Gerhard Jaeger | 3 Aug 2004 10:12
Picon

Niash backend...

... is now in the CVS, hopefully I didn't forget anything.

 <at> Ullrich - I noticed this niash-types.h - please if you find some time,
try and remove this ugly thing and replace all the FALSE and TRUE and
other niash-types by the SANE ones...

Ciao,
  Gerhard

--

-- 
sane-devel mailing list: sane-devel <at> lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request <at> lists.alioth.debian.org

Ullrich Sigwanz | 3 Aug 2004 10:28
Picon

RE: Niash backend...

Hello Gerhard,

Great!

The "types-thing" slipped in because of the SANE independency of the
"testtool".
I know how to, and I will clean it up on ocassion ;-)

Thank you again
Ullrich

-----Original Message-----
From: Gerhard Jaeger [mailto:gerhard <at> gjaeger.de]
Sent: Dienstag, 3. August 2004 10:12
To: SANE-Devel
Subject: [sane-devel] Niash backend...

... is now in the CVS, hopefully I didn't forget anything.

 <at> Ullrich - I noticed this niash-types.h - please if you find some time,
try and remove this ugly thing and replace all the FALSE and TRUE and
other niash-types by the SANE ones...

Ciao,
  Gerhard

--

-- 
sane-devel mailing list: sane-devel <at> lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
(Continue reading)


Gmane