~ubuntu-branches/ubuntu/natty/lirc/natty

« back to all changes in this revision

Viewing changes to setup-driver.sh

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello, Jeremy Yoder, Mario Limonciello
  • Date: 2009-10-12 21:16:10 UTC
  • mfrom: (1.2.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20091012211610-z63bnon17ahmxgd1
Tags: 0.8.6-0ubuntu1
[ Jeremy Yoder ]
* Update to LIRC 0.8.6 release. (LP: #432678)
  - added support for ENE KB3926 revision B/C/D (ENE0100) CIR port
    (found on some notebooks, e.g: Acer Aspire 5720G, HP Pavilion dv5)
    (Maxim Levitsky)
  - New parameter for lircd: --repeat-max
  - merged 1st-gen mceusb device support into lirc_mceusb2,
    renamed lirc_mceusb2 to lirc_mceusb
  - added support for putting iMON receviers into MCE/RC6 mode
  - added input subsystem mouse device support to iMON driver
  - improved iMON driver to handle dual-interface iMON devices
    via a single lirc device, reducing configuration complexity
  - added support for more iMON devices, including proper support
    for touchscreen iMON devices (Rene Harder)
  - improved iMON driver including touchscreen support
  - Linux input support added to lircmd
  - added support for IT8720 CIR port
  - added support for XMP protocol
* Cleanup more_remotes.hwdb
* TODO:  Make changes to the "lircd.conf.atiusb" and
  "lircd.conf.hauppauge" files PATCHES instead of duplicates
* TODO:  Submit "lircd.conf.atiusb" and
  "lircd.conf.hauppauge" file patches upstream again
* Changed lirc init script to create socket in /var/run/lirc/lircd
  as is the new default, but also create a symlink /dev/lircd
  to point to it.  This makes all clients happy, old and new.
* Fix bug in dkms.conf.in, forgot to increment array number
  when adding ene0100 driver.
* Added the extra "Debian-only" remotes and transmitters back
  in, but in a different way.  I created a subdirectory 
  "debian/extras" and copy that to /usr/share/lirc/extras.
  This avoids patching the source.
  NOTE: CONFIG FILES IN BOTH LOCATIONS WILL USE THE "extras"
  VERSION.  DUPLICATE LINES IN lirc.hwdb AND extras/remotes.hwdb
  WILL USE THE extras/remotes.hwdb VERSION.  TRY TO AVOID THIS.
* Added support to build new ene0100 driver
* Update debian/lircd.init.d to reflect new default
  PID location in /var/run/lirc
* Update debian/lircd.init.d to force socket to /dev/lircd
  rather than the new default of /var/run/lirc/lircd
* Add support for new lirc-extras package to
  debian/lirc.postinst
* Remove /etc/lircd.conf link to /etc/lirc since
  0.8.6 defaults to /etc/lirc/lircd.conf now
* Drop 04_man_pages patch, included in upstream
* Drop 16_lirc-gpio in favor of a sed line in debian/rules
* Drop 28_irrecord_resume_support - Doesn't work
  according to upstream
* Drop 36_remove_extra_tekram in favor of a minor
  tweak to debian/lirc.postinst to ignore duplicates
* Drop extra remote control/transmitter patches, move to lirc-extras:
  - 21_atiusb
  - 22_hauppauge_novat_500
  - 23_remove_md8800
  - 24_freecom_dvbt
  - 26_transmitter_lircd.conf
  - 30_medion_md1_remote
  - 31_hauppauge_hvr_1100
  - 32_radioshack_15_2116_remote
  - 33_asus_mycinema_remote
  - 34_nebula_digitaltv_remote
  - 35_general_deviniput
  - 37_msi_tv_anywhere
  - 38_encore_enltv
* Cleaned up a few lintian warnings

[ Mario Limonciello ]
* lirc.init.d:
  - Merge a bunch of whitespace cleanup from debian.
* control:
  - Merge whitespace cleanup from debian.
  - Drop breaks on udev.  We don't have any older version of udev in karmic.
* copyright:
  - Sync from debian.
* watch:
  - Sync from debian.
* links:
  - Don't link to a transmitterdb, this should be provided by lirc-extras.
* rules:
  - Install extra changelog, as mentioned in debian's debian/rules.
* dkms.conf.in:
  - Drop bashisms. (LP: #445175)
* lirc.postinst:
  - On upgrades from earlier versions, require the user to reconfigure
    their remote and transmitter.
* lirc-modules-source.postinst:
  - Update to use the DKMS common postinst template.
 

Show diffs side-by-side

added added

removed removed

Lines of Context:
207
207
        elif test "$1" = "6"; then 
208
208
            dialog  --clear --backtitle "$BACKTITLE" \
209
209
                    --title "Select your driver" \
210
 
                    --menu "$CONFIG_DRIVER_TEXT" 15 74 8 \
 
210
                    --menu "$CONFIG_DRIVER_TEXT" 16 74 9 \
211
211
                       \
212
 
                        1 "SIR IrDA (built-in IR ports)" \
213
 
                        2 "Tekram Irmate 210 (16x50 UART compatible serial port)" \
214
 
                        3 "ITE IT8712/IT8705 CIR port" \
215
 
                        4 "ITE8709 CIR port" \
216
 
                        5 "Asus Digimatrix IT87xx CIR port" \
217
 
                        6 "Actisys Act200L SIR driver support" \
218
 
                        7 "Actisys Act220L(+) SIR driver support" \
219
 
                        8 "Winbond 8769L CIR port (e.g. Acer Aspire 6530G)" 2> $TEMP
 
212
                        1 "Actisys Act200L SIR driver support" \
 
213
                        2 "Actisys Act220L(+) SIR driver support" \
 
214
                        3 "Asus Digimatrix IT87xx CIR port" \
 
215
                        4 "ENE KB3926 B/C/D (ENE0100) CIR port" \
 
216
                        5 "ITE IT8712/IT8705/IT8720 CIR port" \
 
217
                        6 "ITE8709 CIR port" \
 
218
                        7 "SIR IrDA (built-in IR ports)" \
 
219
                        8 "Tekram Irmate 210 (16x50 UART compatible serial port)" \
 
220
                        9 "Winbond 8769L CIR port (e.g. Acer Aspire 6530G)" 2> $TEMP
220
221
            if test "$?" = "0"; then
221
222
                {
222
223
                set `cat $TEMP`
223
224
                if false; then :
224
 
                elif test "$1" = "1"; then LIRC_DRIVER=sir;             DRIVER_PARAMETER=com3; DRIVER_PARAM_TYPE=com;
225
 
                elif test "$1" = "2"; then LIRC_DRIVER=tekram;          DRIVER_PARAMETER=com1; DRIVER_PARAM_TYPE=com;
226
 
                elif test "$1" = "3"; then LIRC_DRIVER=it87;            DRIVER_PARAMETER=none; DRIVER_PARAM_TYPE=none;
227
 
                elif test "$1" = "4"; then LIRC_DRIVER=ite8709;         DRIVER_PARAMETER=none; DRIVER_PARAM_TYPE=none;
228
 
                elif test "$1" = "5"; then LIRC_DRIVER=digimatrix;      DRIVER_PARAMETER=none; DRIVER_PARAM_TYPE=none;
229
 
                elif test "$1" = "6"; then LIRC_DRIVER=act200l;         DRIVER_PARAMETER=com1; DRIVER_PARAM_TYPE=com;
230
 
                elif test "$1" = "7"; then LIRC_DRIVER=act220l;         DRIVER_PARAMETER=com1; DRIVER_PARAM_TYPE=com;
231
 
                elif test "$1" = "8"; then LIRC_DRIVER=wpc8769l;        DRIVER_PARAMETER=none; DRIVER_PARAM_TYPE=none;
 
225
                elif test "$1" = "1"; then LIRC_DRIVER=act200l;         DRIVER_PARAMETER=com1; DRIVER_PARAM_TYPE=com;
 
226
                elif test "$1" = "2"; then LIRC_DRIVER=act220l;         DRIVER_PARAMETER=com1; DRIVER_PARAM_TYPE=com;
 
227
                elif test "$1" = "3"; then LIRC_DRIVER=digimatrix;      DRIVER_PARAMETER=none; DRIVER_PARAM_TYPE=none;
 
228
                elif test "$1" = "4"; then LIRC_DRIVER=ene0100;         DRIVER_PARAMETER=none; DRIVER_PARAM_TYPE=none;
 
229
                elif test "$1" = "5"; then LIRC_DRIVER=it87;            DRIVER_PARAMETER=none; DRIVER_PARAM_TYPE=none;
 
230
                elif test "$1" = "6"; then LIRC_DRIVER=ite8709;         DRIVER_PARAMETER=none; DRIVER_PARAM_TYPE=none;
 
231
                elif test "$1" = "7"; then LIRC_DRIVER=sir;             DRIVER_PARAMETER=com3; DRIVER_PARAM_TYPE=com;
 
232
                elif test "$1" = "8"; then LIRC_DRIVER=tekram;          DRIVER_PARAMETER=com1; DRIVER_PARAM_TYPE=com;
 
233
                elif test "$1" = "9"; then LIRC_DRIVER=wpc8769l;        DRIVER_PARAMETER=none; DRIVER_PARAM_TYPE=none;
232
234
                fi
233
235
                }
234
236
                else
289
291
                        t "USB-UIRT" \
290
292
                        u "VLSystem MPlay Blast" \
291
293
                        v "VLSystem MPlay Mini" \
292
 
                        w "Windows Media Center Remotes (old version, MicroSoft USB ID)" \
293
 
                        x "Windows Media Center Remotes (new version, Philips et al.)" 2> $TEMP
 
294
                        w "Windows Media Center Transceivers/Remotes (all)" 2> $TEMP
294
295
            if test "$?" = "0"; then
295
296
                {
296
297
                set `cat $TEMP`
328
329
                elif test "$1" = "u"; then LIRC_DRIVER=mplay;           DRIVER_PARAMETER=ttyUSB1; DRIVER_PARAM_TYPE=ttyUSB;
329
330
                elif test "$1" = "v"; then LIRC_DRIVER=mplay;           DRIVER_PARAMETER=ttyUSB1; DRIVER_PARAM_TYPE=ttyUSB;
330
331
                elif test "$1" = "w"; then LIRC_DRIVER=mceusb;          DRIVER_PARAMETER=none; DRIVER_PARAM_TYPE=none;
331
 
                elif test "$1" = "x"; then LIRC_DRIVER=mceusb2;         DRIVER_PARAMETER=none; DRIVER_PARAM_TYPE=none;
332
332
                fi
333
333
                }
334
334
                else