1 2----------------------------------------------------------------------- 3How to install a CanoScan 2700F on a Linux box ? 4by Stephan Hegel <ea273@fen.baynet.de>. 5Date: Fri Jan 15 16:13:15 MEZ 1999 6----------------------------------------------------------------------- 7 8Here is a short description on how to install the CanoScan 2700F film and 9slide scanner on a Linux box. Actually it was just written as a reminder 10for myself but I think it is a good idea to add it to Manuel Panea's 11Canon backend package. Please remember that there is NO GUARANTEE that 12this step by step instruction works also for you. 13Corrections and suggestions are welcome, of course. Thank you. 14 15 161. How to install an Adaptec AVA-1502AP ? 17----------------------------------------- 18 19 The AVA-1502AP is is a small ISA Adaptec SCSI controller which is 20 shipped with the CanoScan slide scanner. Per default is has the 21 address 0x140, the IRQ 10 and the SCSI host id 7. Check first for 22 conflicts with your already existing hardware. 23 24 Install the controller into the computer. 25 26 After starting the BIOS should detect the board as a PNP board. 27 Boot the computer with the "SCSISelect" disk which is shipped with 28 the scanner to check that the controller is detected. Don't change 29 any settings except address, IRQ or SCSI id if necessary. 30 31 Configure a new Linux kernel (version 2.0.30 or newer) with: 32 SCSI Support (yes) 33 SCSI Generic support (yes) 34 Low level driver for aha152x (yes) 35 Note: here you can try to compile the SCSI support as modules as 36 long as you don't boot the computer from a SCSI disk. But this 37 is not tested. 38 39 Compile and install the new Linux kernel. 40 41 Add "aha152x=0x140,10,7" to the "append" line to the already existing 42 kernel parameters in lilo.conf, e.g: 43 ------------------- 44 # Linux bootable partition config begins 45 image = /vmlinuz 46 root = /dev/hdc1 47 label = linux 48 append = "sbpcd=0x230,SoundBlaster aha152x=0x140,10,7" 49 # Linux bootable partition config ends 50 ------------------- 51 52 Invoke lilo to activate the changes. 53 54 Reboot the computer and watch the boot messages. The SCSI host 55 adapter should be there now. 56 57 582. How to connect the scanner ? 59------------------------------ 60 61 Shutdown and turn off the computer, connect the scanner with the SCSI 62 cable to the SCSI adapter. Set the SCSI Id with the turn-switch at 63 the back of the scanner body. I'm using SCSI Id 1 with "termination 64 on" since the scanner is the one and only device connected to my host 65 adapter. 66 67 Turn on the scanner first and wait for a few second. The scanner 68 performs a short self test. 69 70 Turn on the computer. 71 72 Watch the boot messages, there should be a message indicating that 73 the SCSI host adapter and the scanner are there. 74 75 Now you can check again that the scanner device is there: 76 cat /proc/scsi/scsi 77 Should print something like that: 78 Host: scsi0 Channel: 00 Id: 01 Lun: 00 79 Vendor: CANON Model: IX-27015C Rev: 1.17 80 Type: Scanner ANSI SCSI revision: 02 81 82 833. How to install SANE for the Canon 2700 film scanner ? 84-------------------------------------------------------- 85 86 Fetch the latest SANE distribution from the SANE homepage at: 87 http://www.sane-project.org/ 88 89 Unpack and configure it. 90 91 Get the latest canon backend from Manuel's homepage: 92 http://www.rzg.mpg.de/~mpd/sane 93 94 Put the files in the sane/backend directory as described in the 95 README of the package. This overwrites the existing canon.* files 96 with the latest version of these files. 97 98 Compile and install SANE. 99 100 Add the "canon" scanner to the /usr/local/etc/sane.d/dll.conf file: 101 -------- cut here ------------ 102 # enable the next line if you want to allow access through the network: 103 #net 104 pnm 105 #mustek 106 #hp 107 #qcam 108 #umax 109 canon 110 -------- cut here ------------ 111 112 Add a "canon.conf" file to the /usr/local/etc/sane.d directory: 113 -------- cut here ------------ 114 scsi CANON 115 -------- cut here ------------ 116 117 Check the available scanners: 118 scanimage -L 119 This should give something like this: 120 device `canon:/dev/sg0' is a CANON IX-27015C film scanner 121 device `pnm:0' is a Noname PNM file reader virtual device 122 device `pnm:1' is a Noname PNM file reader virtual device 123 124 Invoke the frontend: 125 xscanimage & 126 NOTE: The "xscanimage" frontend is in the SANE distribution. There 127 is also another SANE frontend available which is called "xsane" by 128 Oliver Rauch. It is still under heavy development and can be grabbed 129 from: 130 http://www.wolfsburg.de/~rauch 131 132 A dialog box appears, select the canon scanner and here we go ... 133 Happy scanning !!! 134 135----------------------------------------------------------------------- 136