1141cc406Sopenharmony_ci
2141cc406Sopenharmony_ci-----------------------------------------------------------------------
3141cc406Sopenharmony_ciHow to install a CanoScan 2700F on a Linux box ?
4141cc406Sopenharmony_ciby Stephan Hegel <ea273@fen.baynet.de>.
5141cc406Sopenharmony_ciDate:   Fri Jan 15 16:13:15 MEZ 1999
6141cc406Sopenharmony_ci-----------------------------------------------------------------------
7141cc406Sopenharmony_ci
8141cc406Sopenharmony_ciHere is a short description on how to install the CanoScan 2700F film and
9141cc406Sopenharmony_cislide scanner on a Linux box. Actually it was just written as a reminder
10141cc406Sopenharmony_cifor myself but I think it is a good idea to add it to Manuel Panea's
11141cc406Sopenharmony_ciCanon backend package. Please remember that there is NO GUARANTEE that
12141cc406Sopenharmony_cithis step by step instruction works also for you.
13141cc406Sopenharmony_ciCorrections and suggestions are welcome, of course. Thank you.
14141cc406Sopenharmony_ci
15141cc406Sopenharmony_ci
16141cc406Sopenharmony_ci1. How to install an Adaptec AVA-1502AP ?
17141cc406Sopenharmony_ci-----------------------------------------
18141cc406Sopenharmony_ci
19141cc406Sopenharmony_ci   The AVA-1502AP is is a small ISA Adaptec SCSI controller which is
20141cc406Sopenharmony_ci   shipped with the CanoScan slide scanner. Per default is has the
21141cc406Sopenharmony_ci   address 0x140, the IRQ 10 and the SCSI host id 7. Check first for
22141cc406Sopenharmony_ci   conflicts with your already existing hardware.
23141cc406Sopenharmony_ci
24141cc406Sopenharmony_ci   Install the controller into the computer.
25141cc406Sopenharmony_ci
26141cc406Sopenharmony_ci   After starting the BIOS should detect the board as a PNP board.
27141cc406Sopenharmony_ci   Boot the computer with the "SCSISelect" disk which is shipped with
28141cc406Sopenharmony_ci   the scanner to check that the controller is detected. Don't change
29141cc406Sopenharmony_ci   any settings except address, IRQ or SCSI id if necessary.
30141cc406Sopenharmony_ci
31141cc406Sopenharmony_ci   Configure a new Linux kernel (version 2.0.30 or newer) with:
32141cc406Sopenharmony_ci      SCSI Support (yes)
33141cc406Sopenharmony_ci      SCSI Generic support (yes)
34141cc406Sopenharmony_ci      Low level driver for aha152x (yes)
35141cc406Sopenharmony_ci   Note: here you can try to compile the SCSI support as modules as
36141cc406Sopenharmony_ci         long as you don't boot the computer from a SCSI disk. But this
37141cc406Sopenharmony_ci         is not tested.
38141cc406Sopenharmony_ci
39141cc406Sopenharmony_ci   Compile and install the new Linux kernel.
40141cc406Sopenharmony_ci
41141cc406Sopenharmony_ci   Add "aha152x=0x140,10,7" to the "append" line to the already existing
42141cc406Sopenharmony_ci   kernel parameters in lilo.conf, e.g:
43141cc406Sopenharmony_ci   -------------------
44141cc406Sopenharmony_ci   # Linux bootable partition config begins
45141cc406Sopenharmony_ci   image = /vmlinuz
46141cc406Sopenharmony_ci   root = /dev/hdc1
47141cc406Sopenharmony_ci   label = linux
48141cc406Sopenharmony_ci   append = "sbpcd=0x230,SoundBlaster aha152x=0x140,10,7"
49141cc406Sopenharmony_ci   # Linux bootable partition config ends
50141cc406Sopenharmony_ci   -------------------
51141cc406Sopenharmony_ci
52141cc406Sopenharmony_ci   Invoke lilo to activate the changes.
53141cc406Sopenharmony_ci
54141cc406Sopenharmony_ci   Reboot the computer and watch the boot messages. The SCSI host
55141cc406Sopenharmony_ci   adapter should be there now.
56141cc406Sopenharmony_ci
57141cc406Sopenharmony_ci
58141cc406Sopenharmony_ci2. How to connect the scanner ?
59141cc406Sopenharmony_ci------------------------------
60141cc406Sopenharmony_ci
61141cc406Sopenharmony_ci   Shutdown and turn off the computer, connect the scanner with the SCSI
62141cc406Sopenharmony_ci   cable to the SCSI adapter. Set the SCSI Id with the turn-switch at
63141cc406Sopenharmony_ci   the back of the scanner body. I'm using SCSI Id 1 with "termination
64141cc406Sopenharmony_ci   on" since the scanner is the one and only device connected to my host
65141cc406Sopenharmony_ci   adapter.
66141cc406Sopenharmony_ci
67141cc406Sopenharmony_ci   Turn on the scanner first and wait for a few second. The scanner
68141cc406Sopenharmony_ci   performs a short self test.
69141cc406Sopenharmony_ci
70141cc406Sopenharmony_ci   Turn on the computer.
71141cc406Sopenharmony_ci
72141cc406Sopenharmony_ci   Watch the boot messages, there should be a message indicating that
73141cc406Sopenharmony_ci   the SCSI host adapter and the scanner are there.
74141cc406Sopenharmony_ci
75141cc406Sopenharmony_ci   Now you can check again that the scanner device is there:
76141cc406Sopenharmony_ci      cat /proc/scsi/scsi
77141cc406Sopenharmony_ci   Should print something like that:
78141cc406Sopenharmony_ci      Host: scsi0 Channel: 00 Id: 01 Lun: 00
79141cc406Sopenharmony_ci        Vendor: CANON    Model: IX-27015C        Rev: 1.17
80141cc406Sopenharmony_ci        Type:   Scanner                          ANSI SCSI revision: 02
81141cc406Sopenharmony_ci
82141cc406Sopenharmony_ci
83141cc406Sopenharmony_ci3. How to install SANE for the Canon 2700 film scanner ?
84141cc406Sopenharmony_ci--------------------------------------------------------
85141cc406Sopenharmony_ci
86141cc406Sopenharmony_ci   Fetch the latest SANE distribution from the SANE homepage at:
87141cc406Sopenharmony_ci       http://www.sane-project.org/
88141cc406Sopenharmony_ci
89141cc406Sopenharmony_ci   Unpack and configure it.
90141cc406Sopenharmony_ci
91141cc406Sopenharmony_ci   Get the latest canon backend from Manuel's homepage:
92141cc406Sopenharmony_ci      http://www.rzg.mpg.de/~mpd/sane
93141cc406Sopenharmony_ci
94141cc406Sopenharmony_ci   Put the files in the sane/backend directory as described in the
95141cc406Sopenharmony_ci   README of the package. This overwrites the existing canon.* files
96141cc406Sopenharmony_ci   with the latest version of these files.
97141cc406Sopenharmony_ci
98141cc406Sopenharmony_ci   Compile and install SANE.
99141cc406Sopenharmony_ci
100141cc406Sopenharmony_ci   Add the "canon" scanner to the /usr/local/etc/sane.d/dll.conf file:
101141cc406Sopenharmony_ci      -------- cut here ------------
102141cc406Sopenharmony_ci      # enable the next line if you want to allow access through the network:
103141cc406Sopenharmony_ci      #net
104141cc406Sopenharmony_ci      pnm
105141cc406Sopenharmony_ci      #mustek
106141cc406Sopenharmony_ci      #hp
107141cc406Sopenharmony_ci      #qcam
108141cc406Sopenharmony_ci      #umax
109141cc406Sopenharmony_ci      canon
110141cc406Sopenharmony_ci      -------- cut here ------------
111141cc406Sopenharmony_ci
112141cc406Sopenharmony_ci   Add a "canon.conf" file to the /usr/local/etc/sane.d directory:
113141cc406Sopenharmony_ci      -------- cut here ------------
114141cc406Sopenharmony_ci      scsi CANON
115141cc406Sopenharmony_ci      -------- cut here ------------
116141cc406Sopenharmony_ci
117141cc406Sopenharmony_ci   Check the available scanners:
118141cc406Sopenharmony_ci      scanimage -L
119141cc406Sopenharmony_ci   This should give something like this:
120141cc406Sopenharmony_ci      device `canon:/dev/sg0' is a CANON IX-27015C        film scanner
121141cc406Sopenharmony_ci      device `pnm:0' is a Noname PNM file reader virtual device
122141cc406Sopenharmony_ci      device `pnm:1' is a Noname PNM file reader virtual device
123141cc406Sopenharmony_ci
124141cc406Sopenharmony_ci   Invoke the frontend:
125141cc406Sopenharmony_ci      xscanimage &
126141cc406Sopenharmony_ci   NOTE: The "xscanimage" frontend is in the SANE distribution. There
127141cc406Sopenharmony_ci   is also another SANE frontend available which is called "xsane" by
128141cc406Sopenharmony_ci   Oliver Rauch. It is still under heavy development and can be grabbed
129141cc406Sopenharmony_ci   from:
130141cc406Sopenharmony_ci      http://www.wolfsburg.de/~rauch
131141cc406Sopenharmony_ci
132141cc406Sopenharmony_ci   A dialog box appears, select the canon scanner and here we go ...
133141cc406Sopenharmony_ci   Happy scanning !!!
134141cc406Sopenharmony_ci
135141cc406Sopenharmony_ci-----------------------------------------------------------------------
136