Linux LIRC USB-UIRT HOWTO

Issues relating to installation of your USB-UIRT device.

Moderator: jrhees

Postby mrmailer » Mon Oct 02, 2006 6:53 am

are you sure it's not included in .8.0?
mrmailer
 
Posts: 23
Joined: Fri Sep 29, 2006 3:30 am

Postby benow » Mon Oct 02, 2006 6:59 am

Doesn't look like it. there's uirt2 support, but not usb-uirt. Send a message to the lirc mail list, perhaps.
benow
 
Posts: 16
Joined: Mon Oct 17, 2005 6:51 pm

Postby MM » Mon Oct 02, 2006 10:12 am

@benow

Which gcc do you use, i cant compile lirc 0.71 ? (with or without the patch)

I tried with lirc 0.80 that worked.

Thanks

[/quote]
MM
 
Posts: 13
Joined: Sat Sep 30, 2006 6:10 pm

Postby benow » Mon Oct 02, 2006 5:48 pm

Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release x86_64-linux-gnu
Thread model: posix
gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu4)

What errors are you getting?
benow
 
Posts: 16
Joined: Mon Oct 17, 2005 6:51 pm

Postby mrmailer » Mon Oct 02, 2006 7:46 pm

can you paste your config for the blaster portion of the usb-uirt? i am trying to get it to connect with dishnetwork
mrmailer
 
Posts: 23
Joined: Fri Sep 29, 2006 3:30 am

Postby benow » Mon Oct 02, 2006 8:09 pm

No sorry, don't have the conf any more. My setup has changed in the last month and I don't have the usb-uirt sending or receiving currently. The codes were just recorded via the usb-uirt as described in the howto.
benow
 
Posts: 16
Joined: Mon Oct 17, 2005 6:51 pm

Postby MM » Thu Oct 05, 2006 1:11 pm

Christoph Bartelmus (lirc author) wrote at sourceforge.net/mailarchive :

on 02 Oct 06 at 01:19, you wrote:
> So is there a patch for .8.0 to give usb-uirt support?

If somebody addresses the points I mentioned on the mailing list, then I
will integrate it:
http://sourceforge.net/mailarchive/forum.php?thread_id=5857562&forum_id=5339


Could someone (Jon Rhees) please have a look into this.

Thanks
MM
 
Posts: 13
Joined: Sat Sep 30, 2006 6:10 pm

compile error on fc5 with patch

Postby mrmailer » Thu Oct 05, 2006 11:36 pm

I tried the patch and compile on fc5, and it says this...

what can i do to get this working?


gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -Wall -MT hw_uirt2usb_raw.o -MD -MP -MF ".deps/hw_uirt2usb_raw.Tpo" -c -o hw_uirt2usb_raw.o hw_uirt2usb_raw.c; \
then mv -f ".deps/hw_uirt2usb_raw.Tpo" ".deps/hw_uirt2usb_raw.Po"; else rm -f ".deps/hw_uirt2usb_raw.Tpo"; exit 1; fi
hw_uirt2usb_raw.c:55: error: static declaration of ‘debug’ follows non-static declaration
lircd.h:29: error: previous declaration of ‘debug’ was here
hw_uirt2usb_raw.c: In function ‘uirt2usb_send_mode2_raw’:
hw_uirt2usb_raw.c:379: warning: too few arguments for format
hw_uirt2usb_raw.c: In function ‘uirt2usb_send_mode2_rawusb’:
hw_uirt2usb_raw.c:419: warning: too few arguments for format
make[2]: *** [hw_uirt2usb_raw.o] Error 1
make[2]: Leaving directory `/home/david/Desktop/lirc-0.7.1/daemons'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/david/Desktop/lirc-0.7.1'
make: *** [all] Error 2
mrmailer
 
Posts: 23
Joined: Fri Sep 29, 2006 3:30 am

Postby benow » Fri Oct 06, 2006 12:02 am

What version of gcc? what patch? did it patch cleanly? does it compile when unpatched?
benow
 
Posts: 16
Joined: Mon Oct 17, 2005 6:51 pm

Postby mrmailer » Fri Oct 06, 2006 12:30 am

gcc 4.1.1

patch seemed to apply ok

just did configure with --driver = pctv


did make, it compiled OK

patch near top of this thread
mrmailer
 
Posts: 23
Joined: Fri Sep 29, 2006 3:30 am

Postby MM » Fri Oct 06, 2006 6:30 am

http://65.36.202.170/phpBB2/viewtopic.php?t=850&start=0&sid=76d9166c4ccd66c8d5bff4e56f07ce91

Before trying to get transmitting going, make sure you've got receiving working. Follow benow's thread installing 0.7.1 + the patch etc. I found that the patch didnt quite on its own, giving a compile error. If you run into this, the change is simple enough: edit lirc-0.7.1/daemons/hw_uirt2usb_raw.c and find line 55. It reads:

Code:
static int debug = 3;


Change this to

Code:
// static int debug = 3;
MM
 
Posts: 13
Joined: Sat Sep 30, 2006 6:10 pm

Postby mrmailer » Fri Oct 06, 2006 6:42 am

changed that, now it gives error
libtool unrecognized option --tag=cc
mrmailer
 
Posts: 23
Joined: Fri Sep 29, 2006 3:30 am

Postby mrmailer » Fri Oct 06, 2006 6:57 am

so i removed all those refs and compiled and installed

i am doing some other things in instructions, but where is test.conf that is mentioned?
mrmailer
 
Posts: 23
Joined: Fri Sep 29, 2006 3:30 am

Postby mrmailer » Fri Oct 06, 2006 7:15 am

I am confused, I already have an lirc config file for in pinnacle remote from when I used it with a serial receiver, does that mean I don't need to config my remote?

where is the external channel changer script? i need that for mythtv.
do i need any special stuff for that, i mean, do i need irrecord for it?
mrmailer
 
Posts: 23
Joined: Fri Sep 29, 2006 3:30 am

Postby mrmailer » Sun Oct 08, 2006 7:56 am

Ok, here's where I am now. I have

dishnetwork 322 box
remote is 119946, on channel 1

irsend SEND_ONCE DISH_1 info

works, and shows up on my screen, however, nothing else does! no other button! lircd debug just shows "remote not supported"

ideas?
mrmailer
 
Posts: 23
Joined: Fri Sep 29, 2006 3:30 am

PreviousNext

Return to Installation

Who is online

Users browsing this forum: Google [Bot] and 23 guests

cron