Skip to main content

Topics

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

Topics - slasklitta

1
USB Infrared Toy / Raspian LIRC - Can't get it running!
Hi guys!

My head is about to explode!
I've been trying to get my IR Toy v2 to run with LIRC on Raspian.
Firmware is updated to v22.

For what i can understand, I need to patch LIRC. How?!
I tried downloading LIRC 0.9.0 & 0.9.1. Patching with these: http://sourceforge.net/p/lirc/tickets/20/

What i've done:
1. Download LIRC 0.9.* from http://sourceforge.net/projects/lirc/files/LIRC/
2. Untar
3. Download both patches
Code: [Select]
0001-Add-driver-for-USB-Infrared-Toy-in-sample-mode.patch.gz
0002-Add-USB-Infrared-Toy-driver-to-setup-system.patch.gz
4. Run patches with
Code: [Select]
zcat PATCH_NAME_HERE | patch -p1
Can't successfully patch! Heres what i get:
Code: [Select]
pi@raspberrypi ~/lirc-0.9.1 $ zcat 0001-Add-driver-for-USB-Infrared-Toy-in-sample-mode.patch.gz | patch -p1
patching file configure.ac
Hunk #1 FAILED at 154.
Hunk #2 succeeded at 458 (offset 13 lines).
Hunk #3 FAILED at 679.
Hunk #4 succeeded at 1403 (offset 13 lines).
2 out of 4 hunks FAILED -- saving rejects to file configure.ac.rej
patching file daemons/hw-types.c
patching file daemons/hw_usbirtoy.c
pi@raspberrypi ~/lirc-0.9.1 $ zcat 0002-Add-USB-Infrared-Toy-driver-to-setup-system.patch.gz | patch -p1
patching file setup.data
Hunk #1 FAILED at 119.
Hunk #2 succeeded at 147 with fuzz 2.
Hunk #3 succeeded at 191 with fuzz 2.
Hunk #4 succeeded at 394 with fuzz 2.
Hunk #5 FAILED at 432.
2 out of 5 hunks FAILED -- saving rejects to file setup.data.rej
patching file setup.sh
Hunk #2 succeeded at 211 with fuzz 2.
Hunk #3 succeeded at 375 with fuzz 2.

Also, I have no ./autogen.sh or ./setup.sh

Cant believe there is no one else with my problem.
Hope you guys can give me a hand! I've spent waay to long time on this to just get it running.

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