Rev | Author | # | Line |
---|---|---|---|
2 | AristotlePagaltzis | 1 | System: |
2 | Ubuntu 6.06 | ||
3 | Kernel: | ||
4 | 2.6.15-28-686 | ||
5 | Scanner: | ||
6 | “Vuego 4300U” | ||
1 | AristotlePagaltzis | 7 | |
2 | AristotlePagaltzis | 8 | * Flatbed Scanner |
9 | * 600 x 1200dpi (Windows?) | ||
10 | * USB 1.0 | ||
11 | * Power pack 16VDC @ 1A | ||
12 | * Center terminal on plug is Positive (+)/Outer terminal is Negative (-). | ||
1 | AristotlePagaltzis | 13 | |
2 | AristotlePagaltzis | 14 | !!! Procedure: |
1 | AristotlePagaltzis | 15 | |
2 | AristotlePagaltzis | 16 | # __Before plugging in__: <tt>tail -f /var/log/messages</tt> |
1 | AristotlePagaltzis | 17 | |
2 | AristotlePagaltzis | 18 | # __When the scanner is recognised__ upon plugging it in, the following message appears: |
1 | AristotlePagaltzis | 19 | |
2 | AristotlePagaltzis | 20 | <verbatim> |
21 | usb 5-2: new full speed USB device using uhci_hcd and address 2 | ||
22 | </verbatim> | ||
1 | AristotlePagaltzis | 23 | |
2 | AristotlePagaltzis | 24 | # __<tt>lsusb</tt>__ |
1 | AristotlePagaltzis | 25 | |
2 | AristotlePagaltzis | 26 | Output: |
1 | AristotlePagaltzis | 27 | |
2 | AristotlePagaltzis | 28 | <verbatim> |
29 | Bus 005 Device 001: ID 0000:0000 | ||
30 | Bus 001 Device 001: ID 0000:0000 | ||
31 | Bus 003 Device 001: ID 0000:0000 | ||
32 | Bus 002 Device 001: ID 0000:0000 | ||
33 | Bus 004 Device 002: ID 04a5:20b0 Acer Peripherals Inc. (now BenQ Corp.) S2W 3300U/4300U | ||
34 | Bus 004 Device 001: ID 0000:0000 | ||
35 | </verbatim> | ||
1 | AristotlePagaltzis | 36 | |
2 | AristotlePagaltzis | 37 | # __Check <tt>/proc/bus/usb/devices</tt> to see if the scanner was recognised and loaded a driver__ – look for something after the "<tt>Driver=xxx</tt>" bit. None found in my case: |
1 | AristotlePagaltzis | 38 | |
2 | AristotlePagaltzis | 39 | <verbatim> |
40 | T: Bus=05 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 | ||
41 | D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs= 1 | ||
42 | P: Vendor=04a5 ProdID=20b0 Rev= 1.00 | ||
43 | S: Manufacturer=Color | ||
44 | S: Product= FlatbedScanner 22 | ||
45 | C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=100mA | ||
46 | I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) | ||
47 | E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms | ||
48 | E: Ad=02(O) Atr=02(Bulk) MxPS= 8 Ivl=0ms | ||
49 | E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=16ms | ||
50 | </verbatim> | ||
1 | AristotlePagaltzis | 51 | |
2 | AristotlePagaltzis | 52 | (This section is redundant when using 2.6.x kernels???) |
1 | AristotlePagaltzis | 53 | |
2 | AristotlePagaltzis | 54 | # As normal user, __run <tt>xsane</tt> from a TerminalEmulator to see what it has to say__. |
1 | AristotlePagaltzis | 55 | |
2 | AristotlePagaltzis | 56 | <verbatim> |
57 | Error: Failed to open device 'snapscan:libusb:005:002': Invalid argument | ||
58 | </verbatim> | ||
1 | AristotlePagaltzis | 59 | |
2 | AristotlePagaltzis | 60 | Note the numbers '5-2' from the [tail(1)] command, and also the '005:002' from xsane... this looks promising. |
1 | AristotlePagaltzis | 61 | |
2 | AristotlePagaltzis | 62 | # __Running snapscan from a TerminalEmulator__: |
1 | AristotlePagaltzis | 63 | |
2 | AristotlePagaltzis | 64 | <verbatim> |
65 | [snapscan] Cannot open firmware file /usr/share/sane/snapscan/your-firmwarefile.bin. | ||
66 | [snapscan] Edit the firmware file entry in snapscan.conf. | ||
67 | </verbatim> | ||
1 | AristotlePagaltzis | 68 | |
2 | AristotlePagaltzis | 69 | That directory does not even exist and it certainly doesn't contain a file called <tt>your-firmwarefile.bin</tt>, so... |
1 | AristotlePagaltzis | 70 | |
2 | AristotlePagaltzis | 71 | # __Let's find the firmware for the scanner__. Open ''System'' → ''Administration'' → ''Device Manager'', scroll down/expand the tabs to the devices with names similar to: |
1 | AristotlePagaltzis | 72 | |
2 | AristotlePagaltzis | 73 | * "xxxxx (xxxx Family) USB UHCI" |
74 | * "xxxxx (xxxx Family) USB2 EHCI" | ||
1 | AristotlePagaltzis | 75 | |
2 | AristotlePagaltzis | 76 | Look for a device that has names/numbers/model/etc. associated with your scanner. |
1 | AristotlePagaltzis | 77 | |
2 | AristotlePagaltzis | 78 | E.g. mine has "S2W 3300U/4300U" under "82801G (ICH7 Family) USB UHCI #4" tab. |
1 | AristotlePagaltzis | 79 | |
2 | AristotlePagaltzis | 80 | Click on that device, and then in the right pane, click on 'Advanced', which shows heaps of stuff. |
1 | AristotlePagaltzis | 81 | |
2 | AristotlePagaltzis | 82 | Look for the two lines that have the following: |
1 | AristotlePagaltzis | 83 | |
2 | AristotlePagaltzis | 84 | * "usb_device.product_id" |
85 | * "usb_device.vendor_id" | ||
1 | AristotlePagaltzis | 86 | |
2 | AristotlePagaltzis | 87 | Mine looks like: |
1 | AristotlePagaltzis | 88 | |
2 | AristotlePagaltzis | 89 | * "usb_device.product_id int 8368 (0x20b0)" |
90 | * "usb_device.vendor_id int 1189 (0x4a5)" | ||
1 | AristotlePagaltzis | 91 | |
2 | AristotlePagaltzis | 92 | Do a Google search, or look on http://snapscan.sourceforge.net/ for the product_id/vendor_id (e.g. '0x20b0' and/or 0x4a5'). I found ''Acer / Benq 3300 / 4300 USB 0x04a5, 0x20b0 "FlatbedScanner23" u176v046.bin''. |
1 | AristotlePagaltzis | 93 | |
2 | AristotlePagaltzis | 94 | I found <tt>u176v046.bin</tt> inside the MicrosoftWindows DeviceDriver files for the scanner. |
1 | AristotlePagaltzis | 95 | |
2 | AristotlePagaltzis | 96 | # __Put the firmware in the right place__: |
1 | AristotlePagaltzis | 97 | |
2 | AristotlePagaltzis | 98 | <verbatim> |
99 | mkdir /usr/share/sane/snapscan | ||
100 | cp u176v046.bin /usr/share/sane/snapscan | ||
101 | chmod -R a=r,a+X,u+w /usr/share/sane/snapscan | ||
102 | </verbatim> | ||
1 | AristotlePagaltzis | 103 | |
2 | AristotlePagaltzis | 104 | Now edit <tt>/etc/sane.d/snapscan.conf</tt> to point the configuration at your binary firmware file. |
1 | AristotlePagaltzis | 105 | |
2 | AristotlePagaltzis | 106 | # As a normal user, run <tt>xsane</tt>. __This should now work__. |
1 | AristotlePagaltzis | 107 | |
2 | AristotlePagaltzis | 108 | !!! See also |
1 | AristotlePagaltzis | 109 | |
2 | AristotlePagaltzis | 110 | * [Snapscan | http://snapscan.sourceforge.net/] |
111 | * HardwareNotes | ||
112 | * [Scanner] | ||
113 | * ScannerNotes | ||
1 | AristotlePagaltzis | 114 | |
115 | ---- | ||
116 | |||
2 | AristotlePagaltzis | 117 | !!! Page TODO |
1 | AristotlePagaltzis | 118 | |
119 | * Ensure each part is in the correct order, e.g. loading firmware we haven't located yet, etc. (sanity check? :-) ) | ||
120 | |||
121 | * Check USB is configured OK | ||
122 | * Identify Scanner | ||
123 | * Check to see if Scanner is recognised by USB system | ||
124 | * Identify/locate/download firmware for scanner | ||
125 | * Install firmware file(s) | ||
126 | * Configure snapscan? to upload firmware | ||
127 | * See if Scanner is recognised and loads | ||
128 | * Test if scanner works | ||
129 | * Ensure scanner works the same through a cold boot of PC and scanner ! | ||
130 | |||
131 | * Space things out more - looks too cluttered | ||
132 | |||
133 | * Remove irrelevant/obsolete commands | ||
134 | |||
135 | * Add more links | ||
136 | |||
137 | * Learn how to do Wiki pages better, so __others__ can understand them!!! | ||
138 | |||
139 | * If this To-Do list is still here, feel free to pester the Author :-) |
lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 2 times)