~ubuntu-branches/ubuntu/precise/lirc/precise

« back to all changes in this revision

Viewing changes to daemons/hw_default.c

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello
  • Date: 2008-11-08 19:10:50 UTC
  • mfrom: (1.2.7 upstream) (2.1.3 lenny)
  • Revision ID: james.westby@ubuntu.com-20081108191050-o0kszsihoqbc42fl
Tags: 0.8.4a-0ubuntu1
* New upstream version.
* Drop no longer necessary patches:
  - 03_extra_files
  - 25_upstream_2.6.27
  - 27_multiple_include
* Update patches for new version:
  - 12_pvr150_transmit_support
  - 16_lirc_gpio
  - 26_transmitter_lircd.conf
  - 28_irrecord_resume_support
* New patches:
  - 38_encore_enltv.dpatch (LP: #274087)
* debian/lirc.fdi:
  - Update FDI file to match a few more remotes reported
    on bugs that work when keyed. (LP: #164627, #204960, #279472)
* debian/control:
  - Update Recommends for lirc-modules-source
* debian/lirc.preinst:
  - Remove old calls that will no longer be encountered in package
    upgrades.
* Merge some packaging changes from Debian.  They hadn't done a
  release in a long time, so this will at least get us closer to their
  packaging for an overarching goal of being in sync.
  - Sync'ed changes:
    + debian/compat
    + README.Debian
    + debian/copyright
    + debian/doc-base.lirc
    + debian/liblircclient-dev.install
    + debian/lirc-modules-source.postrm
    + debian/lirc.postrm
    + debian/po
    + debian/lirc-svga.install
    + debian/lirc-svga.links
    + drop debian/lirc.config.in
    + drop debian/lirc.config.md5sum
    + drop debian/lirc.modules
  - Merge debian/control, remaining changes:
    + We don't share same VCS
    + We recommend udev
    + Our lirc-modules-source uses DKMS
  - Merge debian/rules, remaining changes:
    + DKMS support
  - Merge debian/liblircclient0.pc, remaining changes:
    + Version number we have is higher
  - Merge debian/lirc.install, remaining changes:
    + We install udev rules
    + We install an FDI file
  - Merge debian/lirc.templates, remaining changes:
    + Some of our keys are named differently because we differentiate
      between a remote and a transmitter device.
    + We've got some extra keys for details of devices.
  - Merge debian/lirc.init.d, remaining changes:
    + We've pretty much entirely revamped the file.  Our deltas will
      need to be submitted incrementally to Debian.
  - Merge debian/lirc.postinst, remaining changes:
    + We've pretty much entirely revamped the file.  Our deltas will
      need to be submitted incrementally to Debian.
  - Merge debian/rules, remaining changes:
    + We install a udev rule
    + We install an FDI file
    + We install DKMS support
    + We install transmitter lircd.conf's
    + We Install the remote and transmitter hwdb explicitly
  - Merge patches that we took from debian for 0.8.4 support:
    + debian/patches/02_Makefile.in
    + debian/patches/04_man_pages

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*      $Id: hw_default.c,v 5.36 2008/03/30 14:53:06 lirc Exp $      */
 
1
/*      $Id: hw_default.c,v 5.37 2008/09/03 20:22:12 lirc Exp $      */
2
2
 
3
3
/****************************************************************************
4
4
 ** hw_default.c ************************************************************
138
138
                default_deinit();
139
139
                return 0;
140
140
        }
 
141
        if(data == 0)
 
142
        {
 
143
                static int data_warning = 1;
 
144
 
 
145
                if(data_warning)
 
146
                {
 
147
                        logprintf(LOG_WARNING, 
 
148
                                  "read invalid data from device %s",
 
149
                                  hw.device);
 
150
                        data_warning = 0;
 
151
                }
 
152
                data = 1;
 
153
        }
141
154
#endif
142
155
        return(data);
143
156
}