Difference between revisions of "USB-UIRT"

From MythTV Official Wiki
Jump to: navigation, search
m
Line 1: Line 1:
 
[[Image:Usbuirtdetail.jpg|right]]
 
[[Image:Usbuirtdetail.jpg|right]]
  
The USB UIRT allows any USB-equipped PC to transmit and receive infrared signals.  LIRC 0.7.1 doesn't support the USB version directly, but a patch is available.
+
The USB UIRT allows any USB-equipped PC to transmit and receive infrared signals.  LIRC 0.8.1 supports the USB-UIRT natively. LIRC 0.7.1 does not support the USB-UIRT natively, but the patch listed below can be used.
 
 
UPDATE:
 
Lirc-0.8.1 now supports the USBUIRT.  See the discussion area for more details.  
 
  
 
===Links===
 
===Links===
Line 11: Line 8:
 
LIRC 0.7.1: http://prdownloads.sourceforge.net/lirc/lirc-0.7.1.tar.bz2
 
LIRC 0.7.1: http://prdownloads.sourceforge.net/lirc/lirc-0.7.1.tar.bz2
  
Patch: http://www.gemair.com/~neveld/usb-uirt/lirc-0.7.1-usb_uirt.patch.bz2
+
Patch for LIRC 0.7.1: http://www.gemair.com/~neveld/usb-uirt/lirc-0.7.1-usb_uirt.patch.bz2
  
====LIRC Installation====
+
====LIRC 0.7.1 Installation====
 
  # tar xvfj lirc-0.7.1.tar.bz2
 
  # tar xvfj lirc-0.7.1.tar.bz2
 
  # cd lirc-0.7.1
 
  # cd lirc-0.7.1

Revision as of 14:23, 6 July 2007

Usbuirtdetail.jpg

The USB UIRT allows any USB-equipped PC to transmit and receive infrared signals. LIRC 0.8.1 supports the USB-UIRT natively. LIRC 0.7.1 does not support the USB-UIRT natively, but the patch listed below can be used.

Links

Manufacturers Website: http://www.usbuirt.com

LIRC 0.7.1: http://prdownloads.sourceforge.net/lirc/lirc-0.7.1.tar.bz2

Patch for LIRC 0.7.1: http://www.gemair.com/~neveld/usb-uirt/lirc-0.7.1-usb_uirt.patch.bz2

LIRC 0.7.1 Installation

# tar xvfj lirc-0.7.1.tar.bz2
# cd lirc-0.7.1
# bzcat ../lirc-0.7.1-usb_uirt.patch.bz2 | patch -p1
# ./setup.sh

Choose Driver Configuration, USB Devices, USB-UIRT2(receive and transmit)

Save Configuration & Exit

Edit configure.sh

#!/bin/bash

./configure \
--with-moduledir=/lib/modules/2.6.15-gentoo-r1/misc \
--with-tty=/dev/ttyUSB0 \
--with-x \
--with-syslog \
--with-driver=usb-uirt2_raw \
--with-major=61 \
--with-port=none \
--with-irq=none \
--prefix=/usr \
"$@" 

Compile

# sh ./configure.sh && make && make install

In Gentoo, /etc/modules.d/lirc should contain

alias char-major-61  lirc_usb-uirt2_raw

Run update-modules