Page 4 of 5

PostPosted: Mon Oct 02, 2006 6:53 am
by mrmailer
are you sure it's not included in .8.0?

PostPosted: Mon Oct 02, 2006 6:59 am
by benow
Doesn't look like it. there's uirt2 support, but not usb-uirt. Send a message to the lirc mail list, perhaps.

PostPosted: Mon Oct 02, 2006 10:12 am
by MM
@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]

PostPosted: Mon Oct 02, 2006 5:48 pm
by benow
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?

PostPosted: Mon Oct 02, 2006 7:46 pm
by mrmailer
can you paste your config for the blaster portion of the usb-uirt? i am trying to get it to connect with dishnetwork

PostPosted: Mon Oct 02, 2006 8:09 pm
by benow
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.

PostPosted: Thu Oct 05, 2006 1:11 pm
by MM
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

compile error on fc5 with patch

PostPosted: Thu Oct 05, 2006 11:36 pm
by mrmailer
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

PostPosted: Fri Oct 06, 2006 12:02 am
by benow
What version of gcc? what patch? did it patch cleanly? does it compile when unpatched?

PostPosted: Fri Oct 06, 2006 12:30 am
by mrmailer
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

PostPosted: Fri Oct 06, 2006 6:30 am
by MM
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;

PostPosted: Fri Oct 06, 2006 6:42 am
by mrmailer
changed that, now it gives error
libtool unrecognized option --tag=cc

PostPosted: Fri Oct 06, 2006 6:57 am
by mrmailer
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?

PostPosted: Fri Oct 06, 2006 7:15 am
by mrmailer
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?

PostPosted: Sun Oct 08, 2006 7:56 am
by mrmailer
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?