Dangerous Prototypes

Dangerous Prototypes => USB Infrared Toy => Topic started by: Shagnar on September 20, 2015, 11:01:32 pm

Title: lirc with ir toy not working
Post by: Shagnar on September 20, 2015, 11:01:32 pm
Hi,

i tried to install an updted lirc via the tutorial at https://gist.github.com/bullshit/918d74db9473355d7181 (https://gist.github.com/bullshit/918d74db9473355d7181)

i could create the package and install it. unfortunately, it wont work after rebooting the computer.

whenever i try to send something via irsend (commands which worked fine before) the following error occurs:

Code: [Select]
irsend: could not connect to socket
irsend: Connection refused

when I turn on the computer, the yellow led of the ir toy is on. it turns off whenever I try to send an ir command.

did I miss some kind of delay or anything else? im quite frustrated because after 2 whole days of trial&error i finally got it to work - but only until the next reboot of the computer :(


OS: kodibuntu x86
Title: Re: lirc with ir toy not working
Post by: Barf on September 21, 2015, 08:53:35 am
This is a Lirc issue and has nothing to do with IrToy. Since the official Lirc contains support for IrToy (it is the Kooiman driver, with improvements), let me suggest you:

1. Use the official Lirc distro, source. version 0.9.3 (https://sourceforge.net/projects/lirc/f ... t/download (https://sourceforge.net/projects/lirc/files/latest/download))
2. Use the Lirc mailing list for support, alternatively, raise issues on sourceforge for bugs.
3. Request to your Linux distributor to update their Lirc version.

 Somehow I have the feeling that I am saying this over and over again...
Title: Re: lirc with ir toy not working
Post by: Shagnar on September 21, 2015, 11:12:26 am
Thank you very much.

I can't compile it as it fails while "make" with some very cryptic problem:

Code: [Select]
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libirman.a(irfunc.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libirman.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [irman.la] Error 1

I guess you're right, i will try to find some help in lirc mailing list. thank you again.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00972044008session_write_close ( )...(null):0
20.01002175584ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01002176360Database_MySQL->query( ).../DatabaseHandler.php:119
40.05392315080Database_MySQL->error( ).../Db-mysql.class.php:273