[sane-devel] Canan CanoScan 8400F backend driver

2011-09-14 Thread stef
Le mercredi 14 septembre 2011 10:22:26 Joachim Franek, vous avez ?crit :
 On Wednesday 14 September 2011 06:32:44 Chris Riddoch wrote:
  I also have a CanoScan 8400F, and may be able to assist with testing.  I
  currently don't have a Windows system available to do USB snooping with,
  so I'm not sure whether I can be of much use for development...
  
  --
  Chris Riddoch
 
 Same for me. During october I (hope) can do
 some programming, if someone tells me, what to
 do.
 
 Joachim

Hello,

thanks for volunteering for testing and coding. I am currently not 
aware 
of any development for this gl847 based scanner. 


Regards,
Stef



[sane-devel] Canan CanoScan 8400F backend driver

2011-09-14 Thread br...@amason.net
I too, am willing to test and do some coding, but not as a lead programmer.
I thought I saw a thread by someone who was working on it.

I do currently have a few desktops, and enough parts to make more and
plenty of copies of various versions of windows. Although I doubt I have a
copy of Windows 7 (of 9?).

If pushed comes to shove, I might even be able to locate my Windows v1.01.
;')

I have spec sheets on most (all?) of the chips, at my subterranean
workstation. [No, I'm not living in my mom's basement! ;')]

Brian

On Wed, September 14, 2011 6:42 am, stef wrote:
 Le mercredi 14 septembre 2011 10:22:26 Joachim Franek, vous avez ?crit :
 On Wednesday 14 September 2011 06:32:44 Chris Riddoch wrote:
  I also have a CanoScan 8400F, and may be able to assist with testing.
 I
  currently don't have a Windows system available to do USB snooping
 with,
  so I'm not sure whether I can be of much use for development...
 
  --
  Chris Riddoch

 Same for me. During october I (hope) can do
 some programming, if someone tells me, what to
 do.

 Joachim

   Hello,

   thanks for volunteering for testing and coding. I am currently not aware
 of any development for this gl847 based scanner.


 Regards,
   Stef








[sane-devel] Canan CanoScan 8400F backend driver

2011-09-01 Thread stef
Le mardi 30 ao?t 2011 16:34:15 brian at amason.net, vous avez ?crit :
 I can tell you for sure the 8400F runs on a GL843 processor. I took mine
 apart years ago in thinking I would be able to develop a driver. I'm
 fairly certain I posted the entire guts of the scanner years ago. Both to
 this list and to other places. But like Allesandro, I haven't the time to
 develop one. I will however gladly test any developing 8400F drivers. I
 mean really test. I will even test the negatives scanner including medium
 format pictures and all. I would also help fine tune some parts of such a
 driver, if necessary.
 The purpose of this scanner was meant to scan and preserve very old
 negatives including a good number of large and medium format negatives.
 
 Brian
 
Hello,

thanks for the confirmation. One quick test would be to add this device 
in genesys_device.c by cloning the G4050 entry, and add its USB id in 
genesys.conf.in, then compile and run to see what it gives. When doing 
development, I don't do 'make install' for a version I test, I use the 
appended script place in the backend subdirectory to run scanimage (or xsane). 
Read it and edit the line that fits the test you want to do. For instance to 
do a quick 'what if' test I would do a preview.
In the long run, the usual source of data it to run it under windows 
and 
record USB activity with UsbSnoop. Then decode it to find how it should be run 
by the backend.

Regards,
Stef
-- next part --
A non-text attachment was scrubbed...
Name: run-genesys
Type: application/x-shellscript
Size: 895 bytes
Desc: not available
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20110901/9c94001f/attachment.bin


[sane-devel] Canan CanoScan 8400F backend driver

2011-08-30 Thread br...@amason.net
I can tell you for sure the 8400F runs on a GL843 processor. I took mine
apart years ago in thinking I would be able to develop a driver. I'm
fairly certain I posted the entire guts of the scanner years ago. Both to
this list and to other places. But like Allesandro, I haven't the time to
develop one. I will however gladly test any developing 8400F drivers. I
mean really test. I will even test the negatives scanner including medium
format pictures and all. I would also help fine tune some parts of such a
driver, if necessary.
The purpose of this scanner was meant to scan and preserve very old
negatives including a good number of large and medium format negatives.

Brian

On Mon, August 29, 2011 11:50 am, John McGill wrote:
 The 8400f is reported to have a GL843 processor. Study the source code
 of the genesys backend. You may be able to clone the settings of an
 existing supported GL843 scanner.
 https://help.ubuntu.com/community/CheckIfScannerIsClone

 Stef Voltz maintains the genesys backend and may be able to help you.






[sane-devel] Canan CanoScan 8400F backend driver

2011-08-29 Thread Chris Molanus

Hi,
I would like to attempt to create backend support for the Canon CanoScan 8400f 
Scanner.I am finding it difficult to to find information on how to start as I 
have never done this before.I can program in C but have no experience in 
writing back end drivers.
Can anyone point me to some information are tell me a good place to start?
Chris 
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20110829/5d991ab4/attachment.html


[sane-devel] Canan CanoScan 8400F backend driver

2011-08-29 Thread Alejandro Imass
On Mon, Aug 29, 2011 at 5:01 AM, Chris Molanus chrismolanus at hotmail.com 
wrote:
 Hi,
 I would like to attempt to create backend support for the Canon CanoScan
 8400f Scanner.
 I am finding it difficult to to find information on how to start as I have
 never done this before.
 I can program in C but have no?experience?in writing back end drivers.
 Can anyone point me to some information are tell me a good place to start?
 Chris
 --

There are already some Canon ADF drivers that work pretty well. The
process is not that simple as there are a lot of details regarding
mechanical movements, sensors and there is always the possibility of
damage to the device while developing.

The usual method is to snoop the comm between the OS and the scanner
by using the officially supported driver in the supported OS, e.g. the
Windoze driver. Is the interface is USB you can use the USB Snoop
program and capture a sample scan of a black and white page and then a
color one. Your test subjects should be large rectangles of color
and/or black so it makes it easier to identify the image data block.

It's a painstaking job but you need to figure out the protocol first.
You will need background into many subjects of which C is probably the
least of your worries. Before you talk to the scanner in Linux you
need to understand about the USB subsystem, probably deal with libusb,
udev and/or hal (a.k.a. hell ;-) ) and many other layers of software
and options that Sane handles. Remember that Sane runs on many types
us *nix set-ups so there are *many* options and paths to talk to the
hw.

I wanted to build a driver myself a few years ago, but even with 23
years of work experience in the field, I decided to hire someone from
this list and then just helped to snoop, test, debug and even hack the
driver a little bit.  This experience taught me the basics of sane
driver building and hacking and I can now appreciate some of the
complexities of this. Of course, given enough time, you will
eventually become an expert, but at least in my case I usually don't
have much free time to head-bang at something that requires a very
wide of skills and I'd rather focus my time on the expertise I already
have. YMMV of course.

Your best option IMHO is to download the Sane and Sane Backends source
code and look at the existing Canon drivers. Who knows, the current
drivers may even work with the 8400f, and you could contact the author
of some of these drivers directly and perhaps they could dedicate some
one-to-one time which you'll probably have to pay for but in my case
it was completely worth it.

Hope this helps,

--
Alejandro Imass



[sane-devel] Canan CanoScan 8400F backend driver

2011-08-29 Thread John McGill
The 8400f is reported to have a GL843 processor. Study the source code
of the genesys backend. You may be able to clone the settings of an
existing supported GL843 scanner.
https://help.ubuntu.com/community/CheckIfScannerIsClone

Stef Voltz maintains the genesys backend and may be able to help you.

Jack


On Mon, Aug 29, 2011 at 7:41 AM, Alejandro Imass ait at p2ee.org wrote:
 On Mon, Aug 29, 2011 at 5:01 AM, Chris Molanus chrismolanus at hotmail.com 
 wrote:
 Hi,
 I would like to attempt to create backend support for the Canon CanoScan
 8400f Scanner.
 I am finding it difficult to to find information on how to start as I have
 never done this before.
 I can program in C but have no?experience?in writing back end drivers.
 Can anyone point me to some information are tell me a good place to start?
 Chris
 --

 There are already some Canon ADF drivers that work pretty well. The
 process is not that simple as there are a lot of details regarding
 mechanical movements, sensors and there is always the possibility of
 damage to the device while developing.

 The usual method is to snoop the comm between the OS and the scanner
 by using the officially supported driver in the supported OS, e.g. the
 Windoze driver. Is the interface is USB you can use the USB Snoop
 program and capture a sample scan of a black and white page and then a
 color one. Your test subjects should be large rectangles of color
 and/or black so it makes it easier to identify the image data block.

 It's a painstaking job but you need to figure out the protocol first.
 You will need background into many subjects of which C is probably the
 least of your worries. Before you talk to the scanner in Linux you
 need to understand about the USB subsystem, probably deal with libusb,
 udev and/or hal (a.k.a. hell ;-) ) and many other layers of software
 and options that Sane handles. Remember that Sane runs on many types
 us *nix set-ups so there are *many* options and paths to talk to the
 hw.

 I wanted to build a driver myself a few years ago, but even with 23
 years of work experience in the field, I decided to hire someone from
 this list and then just helped to snoop, test, debug and even hack the
 driver a little bit. ?This experience taught me the basics of sane
 driver building and hacking and I can now appreciate some of the
 complexities of this. Of course, given enough time, you will
 eventually become an expert, but at least in my case I usually don't
 have much free time to head-bang at something that requires a very
 wide of skills and I'd rather focus my time on the expertise I already
 have. YMMV of course.

 Your best option IMHO is to download the Sane and Sane Backends source
 code and look at the existing Canon drivers. Who knows, the current
 drivers may even work with the 8400f, and you could contact the author
 of some of these drivers directly and perhaps they could dedicate some
 one-to-one time which you'll probably have to pay for but in my case
 it was completely worth it.

 Hope this helps,

 --
 Alejandro Imass

 --
 sane-devel mailing list: sane-devel at 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-request at lists.alioth.debian.org