 IgorPlug-USB / lirc
IgorPlug-USB / lirc
| 
					IgorPlug-USB / lirc
				 | 
| 
					25th Feb, 2013, 06:57 PM 
				 Post: #1 | |||
| 
 | |||
| IgorPlug-USB / lirc 
					Hi there! For a few days I'm trying now to get my USB-IR (IgorPlug-USB) device up with lirc. The device should be supported using the module lirc_igorplugusb.ko, but unfortunately I was not able to build it yet. I've cloned the lirc repository in order to get 0.9.1-git and installed - I hope i did - all packages needed for building it. I have linked the kernel-headers as described in http://xbian.blogspot.de/2012/12/xbian-package-kernel-headers-advanced.html. Everything seems to be fine until configure.sh exits with "error: cannot find input file: `Makefile.in'". As searching this board or google was not really taking me further - has anybody successfully built lirc on his pi and might give me some hint or even provide the compiled module? Thanks a lot in advance! Michael | |||
| 
					25th Feb, 2013, 07:35 PM 
				 Post: #2 | |||
| 
 | |||
| RE: IgorPlug-USB / lirc 
					Can you provide me with the compile instruction, then i will look at it.
				 pilight - modular domotica solution  | |||
| 
					25th Feb, 2013, 08:23 PM 
				 Post: #3 | |||
| 
 | |||
| RE: IgorPlug-USB / lirc 
					Hi! Thanks a lot for your fast reply! (25th Feb, 2013 07:35 PM)CurlyMo Wrote: Can you provide me with the compile instruction, then i will look at it. My answer was rejected as spam, so I have sent you some more details as private message - sorry for bothering you this way!  Thanks a lot for your help! Michael | |||
| 
					25th Feb, 2013, 09:47 PM 
				 Post: #4 | |||
| 
 | |||
| RE: IgorPlug-USB / lirc 
					May be there is a chance to change the XBian built for lirc to a configuration done with something like  Code: ./configure --with-driver=allThanks! Michael | |||
| 
					25th Feb, 2013, 09:54 PM 
				 Post: #5 | |||
| 
 | |||
| RE: IgorPlug-USB / lirc 
					I always did
				 pilight - modular domotica solution  | |||
| 
					25th Feb, 2013, 09:58 PM 
				 Post: #6 | |||
| 
 | |||
| RE: IgorPlug-USB / lirc 
					Ok - one step further! Installing libtool did the trick! the configuration was done and the module compiled now successfully. But I'm not able to load the module now, doing Code: sudo modprobe lirc_igorplugusbCode: ERROR: could not insert 'lirc_igorplugusb': Exec format errorI guess this can be caused by using the 3.2.0-4 headers for the running 3.6.11+... Thanks! Michael (25th Feb, 2013 09:54 PM)CurlyMo Wrote: I always did That's great!  Although Code: https://github.com/xbianonpi/xbian/tree/xbian-beta1/lib/modules/3.6.11%2B/kernel/drivers/staging/media/lircThanks a lot! Michael | |||
| 
					26th Feb, 2013, 12:19 AM 
				 Post: #7 | |||
| 
 | |||
| RE: IgorPlug-USB / lirc 
					I just tried the suggested approach of Paul's Raspberry Pi Blog for building modules, but I'm still unable to load the built module exiting with  Code: ERROR: could not insert 'lirc_igorplugusb': Exec format errorHas anybody successfully compiled additional modules for 3.6.11+ already and might share his approach? Thanks a lot for your help! Michael | |||
| 
					26th Feb, 2013, 12:23 AM 
				 Post: #8 | |||
| 
 | |||
| RE: IgorPlug-USB / lirc 
					My cross-compiler is broke somehow so that was probably the reason i didn't succeed. Will try again when i got a working setup again.
				 pilight - modular domotica solution  | |||
| 
					26th Feb, 2013, 12:33 AM 
				 Post: #9 | |||
| 
 | |||
| RE: IgorPlug-USB / lirc | |||
| 
					26th Feb, 2013, 06:10 AM 
				 Post: #10 | |||
| 
 | |||
| RE: IgorPlug-USB / lirc 
					Here you go: https://github.com/xbianonpi/xbian/tree/xbian-beta1/lib/modules/3.6.11%2B/kernel/drivers/staging/media/lirc pilight - modular domotica solution  | |||
| 
					26th Feb, 2013, 04:37 PM 
				 Post: #11 | |||
| 
 | |||
| RE: IgorPlug-USB / lirc 
					Thank you so much for spending your time and making the modules availlable for everybody! But for me it's getting strange now...  I just downloaded the module from github, but Code: /sbin/depmod -aCode: ERROR: failed to load symbols from /lib/modules/3.6.11+/misc/lirc_igorplugusb.ko: Exec format errorI will re install XBian this evening and try your provided module again - luckily my configurations are manageable and in the end this should fix whatever I did to my pi...  Thanks a lot! Michael | |||
| 
					26th Feb, 2013, 07:26 PM 
				 Post: #12 | |||
| 
 | |||
| RE: IgorPlug-USB / lirc 
					You need to update the whole kernel. So the whole /lib/modules/3.6.11+ folder and /boot/kernel.img
				 pilight - modular domotica solution  | |||
| 
					26th Feb, 2013, 11:19 PM 
				 Post: #13 | |||
| 
 | |||
| RE: IgorPlug-USB / lirc 
					Just tried it and the module loads without grumbling!    Thanks a lot for all your help! Michael | |||
| 
					26th Feb, 2013, 11:29 PM 
				 Post: #14 | |||
| 
 | |||
| RE: IgorPlug-USB / lirc 
					And i'm glad my cross compiler works again. Can you share your config with us: lsusb, dmesg, and cat /proc/bus/input/devices The remote your using The output of IRW Any custom lircd.conf or hardware.conf pilight - modular domotica solution  | |||
| 
					1st Mar, 2013, 12:07 AM 
				 Post: #15 | |||
| 
 | |||
| RE: IgorPlug-USB / lirc (26th Feb, 2013 11:29 PM)CurlyMo Wrote: And i'm glad my cross compiler works again. Sure! But I have not finished my configuration yet. So far I have the IR receiver working and the Apple Remote (A1156) gets recognized. I have downloaded the matching config from http://lirc.sourceforge.net/remotes/ and created some Lircmap.xml - but these steps are actually untested. I hope I'll find the time to press some buttons on the remote in front of my pi tonight...  I will send you more details once I'm happy with my setup! Best regards Michael | |||
| 
					« Next Oldest | Next Newest »
				 |