Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - Shagnar

1
USB Infrared Toy / Re: lirc with ir toy not working
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.
2
USB Infrared Toy / lirc with ir toy not working
Hi,

i tried to install an updted lirc via the tutorial at 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
3
USB Infrared Toy / Re: Irtoy Lirc (Linux) driver
Hello,

after a complete reinstall of kodi (x64) I tried to get lirc with irtoy working again.

I just cloned the newest lirc from sourceforge and the patch is not yet included.

I tried to patch the files but this wont work:

Code: [Select]
patching file configure.ac
Hunk #1 FAILED at 154.
Hunk #2 FAILED at 445.
Hunk #3 FAILED at 679.
Hunk #4 FAILED at 1390.
4 out of 4 hunks FAILED -- saving rejects to file configure.ac.rej
can't find file to patch at input line 60
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/daemons/hw-types.c b/daemons/hw-types.c
|index 0536ea2..b11cbdf 100644
|--- a/daemons/hw-types.c
|+++ b/daemons/hw-types.c
--------------------------

I saved my old patched lirc install files, but after autogen setup and configure when I enter "make" it wont work:

Code: [Select]
i386 architecture of input file `libhw_module.a(hw_usbirtoy.o)' is incompatible with i386:x86-64 output

how can I get it working again?
6
USB Infrared Toy / Re: Irtoy Lirc (Linux) driver
Hello,

I want to use my irtoy with lirc to turn on my devices (with an infrared controlled power plug). I used it with winlirc so far, and it was working.

Now I switched to XBMCubuntu. Lirc still seems not to natively support the irtoy.

I tried to compile it on my own, but i got stuck on at:
Quote
cd to the lirc directory, apply the irtoy driver patches:

Code: [Select]
zcat 0001-Add-driver-for-USB-Infrared-Toy-in-sample-mode.patch.gz | patch -p1
zcat 0002-Add-USB-Infrared-Toy-driver-to-setup-system.patch.gz | patch -p1

the output is:
Code: [Select]
zcat 0001-Add-driver-for-USB-Infrared-Toy-in-sample-mode.patch.gz | patch -p1
gzip: 0001-Add-driver-for-USB-Infrared-Toy-in-sample-mode.patch.gz: No such file or directory
sixpacku@sixpack:~/lircd/lirc$    zcat 0002-Add-USB-Infrared-Toy-driver-to-setup-system.patch.gz | patch -p1
gzip: 0002-Add-USB-Infrared-Toy-driver-to-setup-system.patch.gz: No such file or directory

it seems like the patches do not exist. where can i get them?

Edit:
got, it - found them at http://sourceforge.net/mailarchive/mess ... d=28032156 (due to noscript, no attachements where shown)

( ! ) 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.01312327024session_write_close ( )...(null):0
20.01342458624ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01342459400Database_MySQL->query( ).../DatabaseHandler.php:119
40.05582598144Database_MySQL->error( ).../Db-mysql.class.php:273