~ubuntu-branches/ubuntu/saucy/sane-backends/saucy

« back to all changes in this revision

Viewing changes to tools/check-usb-chip.c

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2011-02-14 14:28:56 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110214142856-6gxjetg88q9zctid
Tags: 1.0.22-0ubuntu1
* New upstream release
* debian/control:
  - Use standards version 3.9.1
* debian/patches/allow_dll.d_symlinks.patch:
* debian/patches/fix_epson2_cancel.patch:
* debian/patches/fix_epson2_commands.patch:
* debian/patches/fix_xerox_mfp_color_mode.patch:
* debian/patches/genesys_disable_raw_data_log.patch:
* debian/patches/no_translations.patch:
* debian/patches/saned_exit_avahi_process.patch:
* debian/patches/scsi_perfection_2450.patch:
* debian/patches/scsi_scanjet_4c.patch:
* debian/patches/xerox_mfp_new_ids.patch:
  - Applied upstream
* debian/watch:
  - Dropped, the URL is not consistent between releases

Show diffs side-by-side

added added

removed removed

Lines of Context:
1725
1725
 
1726
1726
/* the various incarnations could be distinguished by the 
1727
1727
 * bcdDevice entry:
 
1728
 *     0x701 --> GL124
1728
1729
 *   > 0x700 --> GL848+?
1729
1730
 *   >= 0x603 --> GL847
1730
1731
 *   >= 0x600 --> GL846 
1860
1861
 
1861
1862
  result = prepare_interface (dev, &handle);
1862
1863
  if (!result) {
 
1864
    if (dev->descriptor.bcdDevice == 0x701)
 
1865
        return "GL124?";
1863
1866
    if (dev->descriptor.bcdDevice >= 0x700)
1864
1867
        return "GL848+?";
1865
1868
    if (dev->descriptor.bcdDevice >= 0x603)
1903
1906
    }
1904
1907
  finish_interface (handle);
1905
1908
 
 
1909
  if (dev->descriptor.bcdDevice == 0x701)
 
1910
    return "GL124";
1906
1911
  if (dev->descriptor.bcdDevice >= 0x700)
1907
1912
    return "GL848+";
1908
1913
  if (dev->descriptor.bcdDevice >= 0x603)