Tiny Core Extensions > TCE Q&A Forum
LIRC w/ audio_alsa
mb0:
well.. i've been having a go since AC hasn't been around.. according to the instructions at http://www.lirc.org/git.html
i have git/libtool/automake/autoconfig installed from ab. when i do as suggested;
--- Code: ---cd /tmp
git clone git://lirc.git.sourceforge.net/gitroot/lirc/lirc
cd lirc
./autogen.sh
./setup.sh
make
--- End code ---
autogen script returns a few 'not found' errors, although it says to ignore that on the lirc site. So carrying on.. setup.sh doesn't have the options i would have expected? (ie no option to change driver, irq, etc). Selecting save and run configure.. seems to do nothing. Then running make, it complains 'No targets specified and no makefile found.'.
Juanito:
You could try loading libtool-dev, glib2-dev, gettext and intltool and then running ./autogen.sh from the clean source
mb0:
Thanks.. pretty sure that improved things somewhat.. but still not there. running make still returns 'no targets...'
after running setup.sh it returned
--- Code: ---checking for linux/i2c-dev.h... yes
configure: error: *** you need to have the Linux kernel source installed
for this driver'
--- End code ---
without saying what driver it was referring to (or ever giving me any options of which ones i wanted to install). I really hope i don't need to get the whole linux kernel source just to build this.
Juanito:
You can probably get away with using the linux-headers-3.0.21-tinycore extension
mb0:
Right, that seemed to work, awesome, thanks. So.. then I created the .tcz with
--- Code: ---cd /tmp
mksquashfs lirc lirc2.tcz
--- End code ---
moved this to /mnt/sda1/tce/optional, added it to onboot.lst.. restarted. i also tried tce-load -i and this said already installed. running simply 'lircd' didn't work, however i found there was an lircd in /daemons. Running '/daemons/lircd --driver=audio_alsa -d hw@48000' returned
--- Code: ---Driver `audio_alsa' not supported.
Supported drivers:
default
--- End code ---
So, it seems i have compiled a version with even less supported drivers? ..again, i can't say i saw any options when compiling?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version