1141cc406Sopenharmony_ciCHANGES for the SANE Mustek USB backend
2141cc406Sopenharmony_ci
3141cc406Sopenharmony_ci2004-03-02
4141cc406Sopenharmony_ci  * Release of version 1.0-18.
5141cc406Sopenharmony_ci
6141cc406Sopenharmony_ci2004-03-02
7141cc406Sopenharmony_ci  * Added workaround for data0 toggle bug. I think this is a bug in the
8141cc406Sopenharmony_ci    chipset. The chipset doesn't set the toggle to data0 when the endpoints
9141cc406Sopenharmony_ci    are reset. As this is done whenever the device files/libusb is closed,
10141cc406Sopenharmony_ci    this backend worked only once. Now we count the number of URBs and
11141cc406Sopenharmony_ci    just read/write some crap if the number is odd.
12141cc406Sopenharmony_ci
13141cc406Sopenharmony_ci2003-09-21
14141cc406Sopenharmony_ci  * Release of version 1.0-17.
15141cc406Sopenharmony_ci
16141cc406Sopenharmony_ci2003-09-21
17141cc406Sopenharmony_ci  * Fixed check for single quotation marks.
18141cc406Sopenharmony_ci
19141cc406Sopenharmony_ci2003-02-22:
20141cc406Sopenharmony_ci  * Release of version 1.0-16.
21141cc406Sopenharmony_ci
22141cc406Sopenharmony_ci2003-02-22:
23141cc406Sopenharmony_ci  * Iniatialize global variables explicitly.
24141cc406Sopenharmony_ci  * Mention ma1509.
25141cc406Sopenharmony_ci
26141cc406Sopenharmony_ci2002-11-20:
27141cc406Sopenharmony_ci  * Man page updated concerning The BSDs.
28141cc406Sopenharmony_ci
29141cc406Sopenharmony_ci2002-11-19:
30141cc406Sopenharmony_ci  * Added desc file hint to the gt68xx backend.
31141cc406Sopenharmony_ci
32141cc406Sopenharmony_ci2002-11-17:
33141cc406Sopenharmony_ci  * Fixed minor issues in the man page. Removed beta status. Added links
34141cc406Sopenharmony_ci    to other backends for Mustek scanners.
35141cc406Sopenharmony_ci
36141cc406Sopenharmony_ci2002-07-17:
37141cc406Sopenharmony_ci  * Release of version 1.0-15.
38141cc406Sopenharmony_ci
39141cc406Sopenharmony_ci2002-07-17:
40141cc406Sopenharmony_ci  * Added manufacturer comment in mustek_usb.desc.
41141cc406Sopenharmony_ci  * Changed brightness to threshold.
42141cc406Sopenharmony_ci  * Fixed some warnings.
43141cc406Sopenharmony_ci  * Really check the status in usb_low_open.
44141cc406Sopenharmony_ci
45141cc406Sopenharmony_ci2002-04-24:
46141cc406Sopenharmony_ci  * Release of version 1.0-14.
47141cc406Sopenharmony_ci
48141cc406Sopenharmony_ci2002-04-24:
49141cc406Sopenharmony_ci  * Undef MIN and MAX if they are defined in mustek_usb_low.h to avoid
50141cc406Sopenharmony_ci    warnings.
51141cc406Sopenharmony_ci
52141cc406Sopenharmony_ci2002-04-23:
53141cc406Sopenharmony_ci  * Free devlist in sane_exit.
54141cc406Sopenharmony_ci
55141cc406Sopenharmony_ci2002-04-10:
56141cc406Sopenharmony_ci  * Release of version 1.0-13.
57141cc406Sopenharmony_ci
58141cc406Sopenharmony_ci2002-04-10:
59141cc406Sopenharmony_ci  * sane_set_io_mode must return SANE_STAUS_GOOD if non_blocking is false.
60141cc406Sopenharmony_ci    Check if scanning.
61141cc406Sopenharmony_ci  * sane_get_select_fd: Check if scanning.
62141cc406Sopenharmony_ci  * sane_control_option: Cleanup. Avoid segfaults. Catch unknown options.
63141cc406Sopenharmony_ci  * sane_exit: set freed variable to 0.
64141cc406Sopenharmony_ci
65141cc406Sopenharmony_ci2002-03-20:
66141cc406Sopenharmony_ci  * Release of version 1.0-12.
67141cc406Sopenharmony_ci
68141cc406Sopenharmony_ci2002-03-19:
69141cc406Sopenharmony_ci  * Option 0 has an empty name now.
70141cc406Sopenharmony_ci  * Group options have size 0 now.
71141cc406Sopenharmony_ci  * Checked also for SANE_ACTION_SET_AUTO.
72141cc406Sopenharmony_ci  * Removed buggy output in sane_control_option.
73141cc406Sopenharmony_ci  * Added more debug output in sane_control_option.
74141cc406Sopenharmony_ci
75141cc406Sopenharmony_ci2002-03-17:
76141cc406Sopenharmony_ci  * Release of version 1.0-11.
77141cc406Sopenharmony_ci
78141cc406Sopenharmony_ci2002-03-16:
79141cc406Sopenharmony_ci  * mustek_usb.c: Fixed segfault when opening device again after closing.
80141cc406Sopenharmony_ci  * mustek_usb.c: Fixed possible segfault when name="".
81141cc406Sopenharmony_ci  * mustek_usb.c: Type for option 0 must be set to SANE_TYPE_INT explicitly.
82141cc406Sopenharmony_ci
83141cc406Sopenharmony_ci2002-02-14:
84141cc406Sopenharmony_ci  * Fixed some problems with wrong formats in DBG statements.
85141cc406Sopenharmony_ci
86141cc406Sopenharmony_ci2002-02-09
87141cc406Sopenharmony_ci  * Fixed wrong output in usb_low_read_reg().
88141cc406Sopenharmony_ci
89141cc406Sopenharmony_ci2002-01-23:
90141cc406Sopenharmony_ci  * Fixed undefined operation warnings.
91141cc406Sopenharmony_ci
92141cc406Sopenharmony_ci2002-01-11
93141cc406Sopenharmony_ci  * Release of version 1.0-10.
94141cc406Sopenharmony_ci
95141cc406Sopenharmony_ci2002-01-11
96141cc406Sopenharmony_ci  * mustek_usb_high.(c|h), mustek_usb_mid.(c|h): commented out unused CCD code.
97141cc406Sopenharmony_ci  * mustek_usb_mid.h: Fixed OFFSET_TABLE_SIZE.
98141cc406Sopenharmony_ci  * mustek_usb.c: Fixed bug concerning opening with empty name.
99141cc406Sopenharmony_ci  * mustek_usb.c, mustek_usb_high.c: Make sure usb_low_exit is only called once
100141cc406Sopenharmony_ci    per device. Fixed segfault.
101141cc406Sopenharmony_ci
102141cc406Sopenharmony_ci2002-01-10
103141cc406Sopenharmony_ci  * mustek_usb.desc: Status is "beta" now.
104141cc406Sopenharmony_ci
105141cc406Sopenharmony_ci2002-01-03
106141cc406Sopenharmony_ci  * Added link to plustek to manual page.
107141cc406Sopenharmony_ci
108141cc406Sopenharmony_ci2001-12-08
109141cc406Sopenharmony_ci  * Release of version 1.0-9.
110141cc406Sopenharmony_ci
111141cc406Sopenharmony_ci2001-12-08
112141cc406Sopenharmony_ci
113141cc406Sopenharmony_ci  * Added option max_block_size to limit amount of data acquired in one turn.
114141cc406Sopenharmony_ci
115141cc406Sopenharmony_ci2001-12-07
116141cc406Sopenharmony_ci
117141cc406Sopenharmony_ci  * usb_low_read_rows: Retry until all the data is received. Set maximum
118141cc406Sopenharmony_ci    size of data acquired in one turn.
119141cc406Sopenharmony_ci
120141cc406Sopenharmony_ci2001-11-15
121141cc406Sopenharmony_ci  * Release of version 1.0-8.
122141cc406Sopenharmony_ci
123141cc406Sopenharmony_ci2001-11-15
124141cc406Sopenharmony_ci  * Updated manual page concerning FreeBSD and kernel configuration.
125141cc406Sopenharmony_ci
126141cc406Sopenharmony_ci2001-11-14
127141cc406Sopenharmony_ci
128141cc406Sopenharmony_ci  * Added 600 USB detection. No support at all yet.
129141cc406Sopenharmony_ci  * Removed unnecessary calls to usb_low_open and usb_low_close. This
130141cc406Sopenharmony_ci    fixed the FreeBSD problems.
131141cc406Sopenharmony_ci  * Updated all SANE comments ("1200UB and similar").
132141cc406Sopenharmony_ci
133141cc406Sopenharmony_ci2001-11-11
134141cc406Sopenharmony_ci
135141cc406Sopenharmony_ci  * Added function usb_high_scan_adjust_mono_600_exposure.
136141cc406Sopenharmony_ci
137141cc406Sopenharmony_ci2001-10-14
138141cc406Sopenharmony_ci
139141cc406Sopenharmony_ci  * Added start values for the 1200USB.
140141cc406Sopenharmony_ci  * Removed load_private_profile (now in usb_high_scan_init).
141141cc406Sopenharmony_ci
142141cc406Sopenharmony_ci2001-10-07
143141cc406Sopenharmony_ci  * Release of version 1.0-7.
144141cc406Sopenharmony_ci
145141cc406Sopenharmony_ci2001-10-07
146141cc406Sopenharmony_ci
147141cc406Sopenharmony_ci  * usb_low: fixed output if scanner has wrong vendor/product id.
148141cc406Sopenharmony_ci  * usb_high: Added the detection of 300&600 sensor again. Mustek seems to
149141cc406Sopenharmony_ci    have used both sensors in the Mustek 1200 UB, so we must distinguish them.
150141cc406Sopenharmony_ci  * Disabled 1200 USB for release.
151141cc406Sopenharmony_ci
152141cc406Sopenharmony_ci2001-09-30
153141cc406Sopenharmony_ci  * 1200CU_Plus has Canon600 sensor (fixed).
154141cc406Sopenharmony_ci
155141cc406Sopenharmony_ci2001-09-15
156141cc406Sopenharmony_ci  * Added functions for sensor nec600 (1200 USB) in mustek_usb_mid.
157141cc406Sopenharmony_ci  * Changed init_asic and exposure times for 1200 USB.
158141cc406Sopenharmony_ci
159141cc406Sopenharmony_ci2001-09-13
160141cc406Sopenharmony_ci  * Release of version 1.0-6.
161141cc406Sopenharmony_ci
162141cc406Sopenharmony_ci2001-09-13
163141cc406Sopenharmony_ci  * Added check for negative width and height.
164141cc406Sopenharmony_ci  * Changed status to NEW (internally: beta).
165141cc406Sopenharmony_ci  * Added check for too high gamma values (xscanimage is buggy).
166141cc406Sopenharmony_ci  * Return SANE_STATUS_CANCELLED in sane_read if scan was cancelled.
167141cc406Sopenharmony_ci  * Updated manual page.
168141cc406Sopenharmony_ci
169141cc406Sopenharmony_ci2001-09-12
170141cc406Sopenharmony_ci  * Added support for fitting lines (recalculation of resolution) for
171141cc406Sopenharmony_ci    color mode
172141cc406Sopenharmony_ci  * Added support for fitting lines (recalculation of resolution) for
173141cc406Sopenharmony_ci    lineart mode
174141cc406Sopenharmony_ci  * Better debug output for unmatched dpi in mustek_usb_mid.
175141cc406Sopenharmony_ci  * Changed default mode to "gray".
176141cc406Sopenharmony_ci  * Added gamma table support (software) for color + gray, stayed with
177141cc406Sopenharmony_ci    brightness for lineart.
178141cc406Sopenharmony_ci  * Added output of total bytes scanned (+ check).
179141cc406Sopenharmony_ci  * Decreased maximum width and height to avoid freezing the scanner.
180141cc406Sopenharmony_ci  * Added check for unknown options in mustek_usb.
181141cc406Sopenharmony_ci  * Code cleanup in mustek_usb, mustek_usb_high.
182141cc406Sopenharmony_ci  * Added SANE_I18N macro.
183141cc406Sopenharmony_ci
184141cc406Sopenharmony_ci2001-09-11
185141cc406Sopenharmony_ci  * Added support for idependent x and y resolution.
186141cc406Sopenharmony_ci  * Changed option resolution to constraint_range.
187141cc406Sopenharmony_ci  * Increased motor speed when returning back home for 600 dpi motor.
188141cc406Sopenharmony_ci  * Increased resolution to 1200 dpi for 1200CU, 1200CU Plus and 1200 UB.
189141cc406Sopenharmony_ci  * Increased resolution to 600 dpi for 600CU.
190141cc406Sopenharmony_ci  * Added support for fitting lines (recalculation of resolution) for
191141cc406Sopenharmony_ci    gray mode
192141cc406Sopenharmony_ci
193141cc406Sopenharmony_ci2001-09-10
194141cc406Sopenharmony_ci  * Release of version 1.0-5.
195141cc406Sopenharmony_ci
196141cc406Sopenharmony_ci2001-09-10
197141cc406Sopenharmony_ci  * mustek_usb_mid: Added functions for 300 dpi sensor.
198141cc406Sopenharmony_ci  * mustek_usb_mid: Fixed 200 dpi mode.
199141cc406Sopenharmony_ci  * mustek_usb_mid: added general sensor functions.
200141cc406Sopenharmony_ci
201141cc406Sopenharmony_ci2001-09-09
202141cc406Sopenharmony_ci  * mustek_usb_mid: Added functions for 600 dpi motor.
203141cc406Sopenharmony_ci  * mustek_usb_mid, usb_high: Added functions for selecting the motor
204141cc406Sopenharmony_ci    functions.
205141cc406Sopenharmony_ci
206141cc406Sopenharmony_ci2001-09-06
207141cc406Sopenharmony_ci  * Release of version 1.0-4.
208141cc406Sopenharmony_ci
209141cc406Sopenharmony_ci2001-09-06
210141cc406Sopenharmony_ci  * usb_high: use only lower case for functions.
211141cc406Sopenharmony_ci  * mustek_usb: use only lower case for variables and functions.
212141cc406Sopenharmony_ci  * mustek_usb: remove unnecessary functions.
213141cc406Sopenharmony_ci
214141cc406Sopenharmony_ci2001-09-01
215141cc406Sopenharmony_ci  * usb_high: removed unnecessary macros and types.
216141cc406Sopenharmony_ci  * usb_high: use only lower case for variables and upper/lower mixed for
217141cc406Sopenharmony_ci    types.
218141cc406Sopenharmony_ci
219141cc406Sopenharmony_ci2001-08-30
220141cc406Sopenharmony_ci  * usb_low, usb_mid: use only lower case for functions. Fixed some
221141cc406Sopenharmony_ci    spellings and debug messages.
222141cc406Sopenharmony_ci
223141cc406Sopenharmony_ci2001-08-29
224141cc406Sopenharmony_ci  * usb_low: use only lower case for variables and upper/lower mixed for types.
225141cc406Sopenharmony_ci    remove unnecessary types.
226141cc406Sopenharmony_ci
227141cc406Sopenharmony_ci2001-08-28
228141cc406Sopenharmony_ci  * Also include sane-usb man page in tar.gz file to avoid make errors.
229141cc406Sopenharmony_ci  * Only use arrays of SANE_Byte for data transfer to scanner in usb_low.
230141cc406Sopenharmony_ci
231141cc406Sopenharmony_ci2001-08-26
232141cc406Sopenharmony_ci  * Check the result of all mallocs.
233141cc406Sopenharmony_ci  * Sensor is now only in mustek_usb_low.
234141cc406Sopenharmony_ci  * Removed gamma functions from code (weren't used anyway).
235141cc406Sopenharmony_ci  * Contrast is only active for color and gray scans.
236141cc406Sopenharmony_ci
237141cc406Sopenharmony_ci2001-08-26
238141cc406Sopenharmony_ci  * Release of version 1.0-3.
239141cc406Sopenharmony_ci
240141cc406Sopenharmony_ci2001-08-26
241141cc406Sopenharmony_ci  * Set up motor600 functions using the motor1200 with double dpi. This
242141cc406Sopenharmony_ci    doesn't work for 200 dpi, however. Removed 200 dpi from list until I
243141cc406Sopenharmony_ci    understand what's going on.
244141cc406Sopenharmony_ci  * Updated manual page
245141cc406Sopenharmony_ci  * Updated .conf file
246141cc406Sopenharmony_ci
247141cc406Sopenharmony_ci2001-08-25
248141cc406Sopenharmony_ci  * Used proper SANE_Status return values in mustek_usb_mid for all functions.
249141cc406Sopenharmony_ci  * Used proper SANE_Status return values in mustek_usb for all functions.
250141cc406Sopenharmony_ci  * Added Trust scanner to mustek_usb.desc.
251141cc406Sopenharmony_ci  * Removed Mono4 and Mono1 functions.
252141cc406Sopenharmony_ci
253141cc406Sopenharmony_ci2001-08-23
254141cc406Sopenharmony_ci  * Removed ifdefs in mustek_usb_mid.
255141cc406Sopenharmony_ci
256141cc406Sopenharmony_ci2001-08-22
257141cc406Sopenharmony_ci  * Removed GREENGRAY macro and included code (didn't work anyway).
258141cc406Sopenharmony_ci  * Removed 36 and 48 bit calibration.
259141cc406Sopenharmony_ci  * Added RIE (return if error) macro.
260141cc406Sopenharmony_ci
261141cc406Sopenharmony_ci2001-08-19
262141cc406Sopenharmony_ci  * Removed io functions in mustek_usb_low.
263141cc406Sopenharmony_ci  * Used proper SANE_Status return values in mustek_usb_low for all functions.
264141cc406Sopenharmony_ci  * Fixed lots of debug output in mustek_usb_low.
265141cc406Sopenharmony_ci  * Formatting update in mustek_usb_low.
266141cc406Sopenharmony_ci  * Used proper SANE_Status return values in mustek_usb_high for all functions.
267141cc406Sopenharmony_ci  * Fixed lots of debug output in mustek_usb_high.
268141cc406Sopenharmony_ci  * removed unnecessary modes in mustek_usb_high.
269141cc406Sopenharmony_ci
270141cc406Sopenharmony_ci2001-08-18
271141cc406Sopenharmony_ci  * Added manual selection of scanner type in mustek_usb.conf
272141cc406Sopenharmony_ci  * It's checked now if the scanner was autodetected or manually selected
273141cc406Sopenharmony_ci  * Set maximum resolution to 300 for 600 CU.
274141cc406Sopenharmony_ci  * Changed nUSBPipe to fd, which is more appropriate.
275141cc406Sopenharmony_ci  * Removed #ifdef 0 code from mustek_usb_high
276141cc406Sopenharmony_ci  * Used proper SANE_Status return values in mustek_usb_low for
277141cc406Sopenharmony_ci    - io_Open
278141cc406Sopenharmony_ci    - Open
279141cc406Sopenharmony_ci    - io_WriteReg
280141cc406Sopenharmony_ci    - io_ReadReg
281141cc406Sopenharmony_ci
282141cc406Sopenharmony_ci2001-08-08
283141cc406Sopenharmony_ci  * Fixed some format issues
284141cc406Sopenharmony_ci  * Better debug output
285141cc406Sopenharmony_ci  * Added support for CANON300 sensor (for 600 CU)
286141cc406Sopenharmony_ci
287141cc406Sopenharmony_ci2001-08-07
288141cc406Sopenharmony_ci  * Added support for sanei_usb v2.
289141cc406Sopenharmony_ci  * Check vendor/product directly after sane_open.
290141cc406Sopenharmony_ci
291141cc406Sopenharmony_ci2001-08-06
292141cc406Sopenharmony_ci  * Added scan buffer. It's used if the buffer supplied with sane_read is
293141cc406Sopenharmony_ci    smaller than one scan line.
294141cc406Sopenharmony_ci
295141cc406Sopenharmony_ci2001-08-06
296141cc406Sopenharmony_ci  * Released mustek_usb-backend 1.0-2.
297141cc406Sopenharmony_ci
298141cc406Sopenharmony_ci2001-08-05
299141cc406Sopenharmony_ci  * Support more than one scanner in the .conf file
300141cc406Sopenharmony_ci  * Use sanei_usb functions
301141cc406Sopenharmony_ci  * Allow usb vendor device in .conf
302141cc406Sopenharmony_ci  * Only use usb statements in .conf for all three scanners, comment out
303141cc406Sopenharmony_ci    device files
304141cc406Sopenharmony_ci  * Now the correct names are returned if autodetection works
305141cc406Sopenharmony_ci  * Manual page updates
306141cc406Sopenharmony_ci
307141cc406Sopenharmony_ci2001-08-05
308141cc406Sopenharmony_ci  * Released mustek_usb-backend 1.0-1.
309141cc406Sopenharmony_ci
310141cc406Sopenharmony_ci2001-08-04
311141cc406Sopenharmony_ci
312141cc406Sopenharmony_ci  * mustek_usb_low:
313141cc406Sopenharmony_ci    - fixed compilation warnings
314141cc406Sopenharmony_ci    - fixed compilation problems
315141cc406Sopenharmony_ci    - fixed C++ to C transition issues (e.g. "initializer element is not
316141cc406Sopenharmony_ci      computable at load time")
317141cc406Sopenharmony_ci    - fixed debug output
318141cc406Sopenharmony_ci    - adjusted some names
319141cc406Sopenharmony_ci    - removed MEMFREE, MALLOC, LP*
320141cc406Sopenharmony_ci  * mustek_usb_mid:
321141cc406Sopenharmony_ci    - fixed compilation warnings
322141cc406Sopenharmony_ci    - changed printf to DBG
323141cc406Sopenharmony_ci    - fixed debug output
324141cc406Sopenharmony_ci    - reformatted
325141cc406Sopenharmony_ci  * mustek_usb_high:
326141cc406Sopenharmony_ci    - fixed some DBG statements
327141cc406Sopenharmony_ci    - fixed compilation warnings
328141cc406Sopenharmony_ci    - moved global variable to Mustek_Usb_Device
329141cc406Sopenharmony_ci    - reformatted
330141cc406Sopenharmony_ci  * mustek_usb:
331141cc406Sopenharmony_ci    - fixed compilation warnings
332141cc406Sopenharmony_ci    --> compile runs successfully for the first time since restructuring
333141cc406Sopenharmony_ci    - removed DWORDS etc.
334141cc406Sopenharmony_ci    - moved CScanner into Mustek_Usb_device
335141cc406Sopenharmony_ci    - removed global variables
336141cc406Sopenharmony_ci  * mustek_usb.conf: updated
337141cc406Sopenharmony_ci  * removed references to "WORD"
338141cc406Sopenharmony_ci  * ifdefed unused functions
339141cc406Sopenharmony_ci  * fixed bug concerning wrong x-resolution after the first scan for
340141cc406Sopenharmony_ci    low resolutions (e.g. preview). This also fixed the problems with
341141cc406Sopenharmony_ci    1200 CU.
342141cc406Sopenharmony_ci  --> Scanning works with 1200 UB, 1200 CU and probably 1200 CU Plus.
343141cc406Sopenharmony_ci  * added manual page
344141cc406Sopenharmony_ci  * updated mustek_usb.desc
345141cc406Sopenharmony_ci
346141cc406Sopenharmony_ci2001-08-02
347141cc406Sopenharmony_ci
348141cc406Sopenharmony_ci  * mustek_usb_high:
349141cc406Sopenharmony_ci    - fixed lots of compilation problems.
350141cc406Sopenharmony_ci    - removed LP..., huge*, far*
351141cc406Sopenharmony_ci    - removed MEMFREE, MEMALLOC
352141cc406Sopenharmony_ci    - added several "return SANE_TRUE" to SANE_Bool functions
353141cc406Sopenharmony_ci    - changed printf to DBG
354141cc406Sopenharmony_ci    - changed Sleep to usleep
355141cc406Sopenharmony_ci
356141cc406Sopenharmony_ci2001-07-22
357141cc406Sopenharmony_ci  * mustek_usb_low: Only one data structure: ma1017.
358141cc406Sopenharmony_ci  * mustek_usb_mid:
359141cc406Sopenharmony_ci    - removed //
360141cc406Sopenharmony_ci    - remove SANE disclaimers
361141cc406Sopenharmony_ci    - use SANE types
362141cc406Sopenharmony_ci    - changed to use new usb_low style
363141cc406Sopenharmony_ci    - made everything static
364141cc406Sopenharmony_ci    - renamed functions to usb_mid_*
365141cc406Sopenharmony_ci  * mustek_usb_high:
366141cc406Sopenharmony_ci    - removed remaining //
367141cc406Sopenharmony_ci    - reformatted
368141cc406Sopenharmony_ci    - used SANE types
369141cc406Sopenharmony_ci    - made everything static
370141cc406Sopenharmony_ci    - renamed
371141cc406Sopenharmony_ci  * Fixed quite some compilation errors
372141cc406Sopenharmony_ci
373141cc406Sopenharmony_ci2001-07-08
374141cc406Sopenharmony_ci  * mustek_usb_low:
375141cc406Sopenharmony_ci    - renamed functions to usb_low/usb_low_io
376141cc406Sopenharmony_ci    - made all functions static
377141cc406Sopenharmony_ci    - used DBG instead of printf
378141cc406Sopenharmony_ci    - moved all status information from global to struct ma1017
379141cc406Sopenharmony_ci    - rename constructor/destructor
380141cc406Sopenharmony_ci    - included io constructor/destructor in usb_low
381141cc406Sopenharmony_ci
382141cc406Sopenharmony_ci2001-07-01
383141cc406Sopenharmony_ci  * Added more debug output in attach () when device file couldn't be opened.
384141cc406Sopenharmony_ci  * Added some tests for NULL pointers in attach ()
385141cc406Sopenharmony_ci  * fixed segfault in sane_exit ()
386141cc406Sopenharmony_ci  * indented all files
387141cc406Sopenharmony_ci  * fixed mustek_usb_high:
388141cc406Sopenharmony_ci    - changed // to /* */
389141cc406Sopenharmony_ci    - reformatted
390141cc406Sopenharmony_ci  * fixed mustek_usb_low:
391141cc406Sopenharmony_ci    - changed // to /* */
392141cc406Sopenharmony_ci    - reformatted
393141cc406Sopenharmony_ci    - removed most non-standard types
394141cc406Sopenharmony_ci
395141cc406Sopenharmony_ci2001-05-26
396141cc406Sopenharmony_ci  * Started working based on the Mustek source code from their FTP
397141cc406Sopenharmony_ci    server.
398141cc406Sopenharmony_ci  * Renamed backend to mustek_usb. All files start with this name.
399141cc406Sopenharmony_ci  * Created:
400141cc406Sopenharmony_ci    - mustek_usb(.c .h) from 1200ub(.c .h)
401141cc406Sopenharmony_ci    - mustek_usb_low from ma1017 and ma1017io
402141cc406Sopenharmony_ci    - mustek_usb_mid from ada*
403141cc406Sopenharmony_ci    - mustek_usb_high from scanner and calibrator
404141cc406Sopenharmony_ci  * Used "../include/sane" in #include statements
405141cc406Sopenharmony_ci  * Used /dev/usbscanner in mustek_usb.conf
406141cc406Sopenharmony_ci  * Fixed mustek_usb.desc
407141cc406Sopenharmony_ci  * Fixed mustek_usb.*:
408141cc406Sopenharmony_ci    - use correct names
409141cc406Sopenharmony_ci    - no leading "_"
410141cc406Sopenharmony_ci    - use only C-style comments
411141cc406Sopenharmony_ci    - moved defines to .h,
412141cc406Sopenharmony_ci    - reformatted using GNU style
413141cc406Sopenharmony_ci    - use /dev/usbscanner as default
414141cc406Sopenharmony_ci    - Fixed DBG output
415141cc406Sopenharmony_ci    - don't use printf
416141cc406Sopenharmony_ci    - added more DBG output
417141cc406Sopenharmony_ci    - added "static" to internal functions
418141cc406Sopenharmony_ci    - commented out all references to c_scanner
419141cc406Sopenharmony_ci    - removed references to WORD and other non-standard types
420141cc406Sopenharmony_ci    - moved read_rows from global to Mustek_Usb_Scanner
421141cc406Sopenharmony_ci    --> mustek_usb.* compiles
422