Linux Support Anyone?

Issues relating to installation of your USB-UIRT device.

Moderator: jrhees

Linux Support Anyone?

Postby myconid » Thu Oct 06, 2005 11:32 pm

I have had this fancy USB-UIRT on my desk for 5 months now collecting dust. I can't seem to get it to work in Linux. I cant even find LIRC-0.7pre7, let alone get the patch to work.

Does anyone have a decently step-by-step howto to get this thing working under Linux (2.6.0+)? Preferably with a modern version of Lirc.
myconid
 
Posts: 4
Joined: Mon Mar 14, 2005 2:17 am

Postby Guest » Fri Oct 07, 2005 6:16 pm

I am wondering the same thing. I have a usb-uirt, but dont even want to begin fighting mythtv if, in the end, it wont even work with my usb-uirt
Guest
 

Postby mwtb » Mon Oct 10, 2005 11:54 am

I have my USB-UIRT working with MythTV via LIRC on an FC4 install (sending IR to control my STB, not recieving IR, but I've no reason to believe that doesn't work). It required finding the old release of LIRC and applying the patch as discussed in this thread and in particular from this page.

If you get stuck then I'll try and recall the details of the process, but it wasn't straight-forward and if you aren't keen on spending a few hours getting it working then you might be better off waiting for the "official" Linux implementation.
mwtb
 
Posts: 4
Joined: Thu Dec 16, 2004 9:59 am

Postby myconid » Fri Oct 14, 2005 12:33 am

There is no news of any 'Official' support anywhere, what are you refering to? I have been waiting 6 months for this to work. Linux itself seems to have enough support to 'read' from the device.. Whats so hard about implementing some send procedures.

If you get stuck then I'll try and recall the details of the process, but it wasn't straight-forward and if you aren't keen on spending a few hours getting it working then you might be better off waiting for the "official" Linux implementation.
myconid
 
Posts: 4
Joined: Mon Mar 14, 2005 2:17 am

Postby jrhees » Fri Oct 14, 2005 4:22 am

There *are* Linux efforts being made -- mostly because the Lirc patches have become dated and for some reason never were integrated properly into Lirc sourceforge.

If you want more details on this, contact support@usbuirt.com

-Jon
jrhees
Site Admin
 
Posts: 1652
Joined: Tue Jan 28, 2003 11:49 pm

Postby Guest » Mon Oct 17, 2005 6:50 pm

I've just received a usb-uirt in the mail, and have had some luck getting it going for reception under gentoo gnu/linux. Here's what I did:

- download lirc 0.7.1 lirc-0.7.1.tar.bz2 from lirc.org
- download the lirc-0.7.1-usb_uirt patch from neveld's page
- follow the patch instructions
Code: Select all
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)
choose Save & Exit
- edit configure.sh as follows:
Code: Select all
#!/bin/bash

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

Note the changed --with-tty line (for devfs) and --prefix line (to install to /usr, instead of /usr/local) and the --with-syslog for logging to syslog
- run
Code: Select all
sh ./configure.sh && make && sudo make install

make install needs to be run as root. use sudo. su and make install or do the whole thing as root.
- if under gentoo: create/edit /etc/modules.d/lirc to contain
Code: Select all
alias char-major-61  lirc_usb-uirt2_raw

and run update-modules
- otherwise: edit /etc/modules.conf, add the above alias and run depmod -a
- background watching the logs:
Code: Select all
metalog: tail -f /var/log/everything/current&
syslog: tail -f /var/log/messages

- run lircd which should show:
Code: Select all
[lircd-0.7.1] accepted new client on /dev/lircd
[lircd-0.7.1] uirt2usb_raw: UIRT version 0509 ok

if you see
Code: Select all
[lircd-0.7.1] readlink() failed for "ttyUSB0"

then it's still trying to use /dev/ttyUSB0, so create a the link manually
Code: Select all
cd /dev
ln -s tts/USB0 ttyUSB0

and restart lirc
- run irrecord
Code: Select all
irrecord test.conf

and record remote keypresses. Remote has to be held within inches of front center of usb-uirt. Continue thru irrecord process.
- move test.conf to default
Code: Select all
mv test.conf /etc/lircd.conf

and restart lircd.
- run irw and hit recorded buttons... button id should show as you press it.

I've not managed transmission yet, as I'm in need of a usb hub.

Does anyone know where
Guest
 

Postby benow » Mon Oct 17, 2005 6:52 pm

That Guest be me.

Moved to dedicated topic.
benow
 
Posts: 16
Joined: Mon Oct 17, 2005 6:51 pm


Return to Installation

Who is online

Users browsing this forum: No registered users and 22 guests