2009-02-03, 18:51
The IR receiver is Plug and play, the remote isn't. (or at least if you want to use all the features).
Quote:sudo dpkg-reconfigure lirc-modules-source
ali@ali-desktop:~/lirc$ sudo dpkg-reconfigure lirc-modules-source
Removing all DKMS Modules
Done.
Adding Module to DKMS build system
Doing initial module build
Error! Build of lirc_imon.ko failed for: 2.6.27-11-generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/lirc/0.8.3/build/ for more information.
Installing initial module
Error! Could not locate lirc_atiusb.ko for module lirc in the DKMS tree.
You must run a dkms build for kernel 2.6.27-11-generic (x86_64) first.
Done.
ali@ali-desktop:~/lirc$
mvdaat Wrote:So now I want my logitech to be configured as a MCE remote but i'm not exactly sure how to do this.
Anyone with a logitech remote managed to fix this?
sudo apt-get install lirc-modules-source cvs build-essential dialog libtool automake1.9 autoconf
sudo apt-get build-dep lirc lcdproc
sudo apt-get remove lirc lcdproc
sudo mount -t usbfs none /proc/bus/usb
sudo cat /proc/bus/usb/devices
cvs -d:pserver:[email protected]:/cvsroot/lirc login
cvs -z8 -d:pserver:[email protected]:/cvsroot/lirc co lirc
cd lirc
./autogen.sh
./setup.sh
make
Quote:ryan@Hubble:~/Hubble/lirc$ makeThere were two people on the reference site (http://mythtvblog.blogspot.com/2008/04/g...-lirc.html) who reported the same issue, however no fix/workaround was posted.
make all-recursive
make[1]: Entering directory `/home/ryan/Hubble/lirc'
Making all in drivers
make[2]: Entering directory `/home/ryan/Hubble/lirc/drivers'
Making all in lirc_dev
make[3]: Entering directory `/home/ryan/Hubble/lirc/drivers/lirc_dev'
Makefile:8: **************************************************
Makefile:8: *** Makefile trick not undone, trying to recover *
Makefile:8: **************************************************
mv Makefile.automake Makefile
make all
make[4]: Entering directory `/home/ryan/Hubble/lirc/drivers/lirc_dev'
cp ./../lirc_dev/Module*.symvers .
cp: cannot stat `./../lirc_dev/Module*.symvers': No such file or directory
make[4]: [lirc_dev.o] Error 1 (ignored)
mv Makefile Makefile.automake
cp ./../Makefile.kernel Makefile
CPPFLAGS="" CFLAGS="" LDFLAGS="" \
make -C /lib/modules/2.6.27-11-generic/build/ SUBDIRS=/home/ryan/Hubble/lirc/drivers/lirc_dev modules \
KBUILD_VERBOSE=1
make[5]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /home/ryan/Hubble/lirc/drivers/lirc_dev/.tmp_versions ; rm -f /home/ryan/Hubble/lirc/drivers/lirc_dev/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/ryan/Hubble/lirc/drivers/lirc_dev
gcc -Wp,-MD,/home/ryan/Hubble/lirc/drivers/lirc_dev/.lirc_dev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.2/include -D__KERNEL__ -Iinclude -I/usr/src/linux-headers-2.6.27-11-generic/arch/x86/include -include include/linux/autoconf.h -Iubuntu/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I../.. -I/home/ryan/Hubble/lirc/drivers/lirc_dev/. -I/home/ryan/Hubble/lirc/drivers/lirc_dev/. -I/home/ryan/Hubble/lirc/drivers/lirc_dev/../.. -I/home/ryan/Hubble/lirc/drivers/lirc_dev/../.. -I/lib/modules/2.6.27-11-generic/build//include/ -I/lib/modules/2.6.27-11-generic/build//drivers/media/video/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -c -o /home/ryan/Hubble/lirc/drivers/lirc_dev/.tmp_lirc_dev.o /home/ryan/Hubble/lirc/drivers/lirc_dev/lirc_dev.c
/home/ryan/Hubble/lirc/drivers/lirc_dev/lirc_dev.c: In function ‘lirc_register_driver’:
/home/ryan/Hubble/lirc/drivers/lirc_dev/lirc_dev.c:355: error: ‘buffer_size’ undeclared (first use in this function)
/home/ryan/Hubble/lirc/drivers/lirc_dev/lirc_dev.c:355: error: (Each undeclared identifier is reported only once
/home/ryan/Hubble/lirc/drivers/lirc_dev/lirc_dev.c:355: error: for each function it appears in.)
/home/ryan/Hubble/lirc/drivers/lirc_dev/lirc_dev.c:249: warning: unused variable ‘chunk_size’
make[6]: *** [/home/ryan/Hubble/lirc/drivers/lirc_dev/lirc_dev.o] Error 1
make[5]: *** [_module_/home/ryan/Hubble/lirc/drivers/lirc_dev] Error 2
make[5]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
make[4]: *** [lirc_dev.o] Error 2
make[4]: Leaving directory `/home/ryan/Hubble/lirc/drivers/lirc_dev'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/ryan/Hubble/lirc/drivers/lirc_dev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ryan/Hubble/lirc/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ryan/Hubble/lirc'
make: *** [all] Error 2
ryan@Hubble:~/Hubble/lirc$
make[6]: *** [/home/xbmc/cvs/lirc/drivers/lirc_dev/lirc_dev.o] Erreur 1
make[5]: *** [_module_/home/xbmc/cvs/lirc/drivers/lirc_dev] Erreur 2
make[5]: quittant le répertoire « /usr/src/linux-headers-2.6.27-11-generic »
make[4]: *** [lirc_dev.o] Erreur 2
make[4]: quittant le répertoire « /home/xbmc/cvs/lirc/drivers/lirc_dev »
make[3]: *** [all] Erreur 2
make[3]: quittant le répertoire « /home/xbmc/cvs/lirc/drivers/lirc_dev »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/xbmc/cvs/lirc/drivers »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/xbmc/cvs/lirc »
make: *** [all] Erreur 2
(T: XBMCLiveCD)xbmc@XBMCLive:$ sudo apt-get build-dep lirc lcdproc
Reading package lists... Done
Building dependency tree
Reading state information... Done
[b]E: You must put some 'source' URIs in your sources.list[/b]
begin remote
name Thermaltake_DH-101
bits 40
eps 30
aeps 100
one 0 0
zero 0 0
post_data_bits 24
post_data 0x1EE
gap 123998
begin codes
iMEDIAN 0x000000000F
AppExit 0x000000002B
Escape 0x0000000017
Up 0x0000000012
Enter 0x0000000016
Start 0x000000002C
Menu 0x000000002D
...
begin remote
name imon_pad
bits 64
eps 30
aeps 100
one 0 0
zero 0 0
post_data_bits 0
post_data 0x0
gap 139998
begin codes
AppExit 0x288195B700000101
Power 0x289115B700000101
Record 0x298115B700000101
Play 0x2A8115B700000101
Open 0x29B195B700000101
Rewind 0x2A8195B700000101
Pause 0x2A9115B700000101
FastForward 0x2B8115B700000101
....
droopy4u Wrote:I'm trying to get my remote and vfd working on my Silverstone LC-20M working (vendor 15c2 prodid 0036) in combination with XBMC Live.
I see in the forums, that this how-to should help me do it, but I get stuck real quick.
Code:(T: XBMCLiveCD)xbmc@XBMCLive:$ sudo apt-get build-dep lirc lcdproc
Reading package lists... Done
Building dependency tree
Reading state information... Done
[b]E: You must put some 'source' URIs in your sources.list[/b]
I guess this is where it all starts, I don't have anything in sources.list it's an empty file
Can anyone provide me with the proper steps? Also I tried to unload the usbhid (using my own prodid 0036 instead of 0038 from the startpost) but this still loads after a reboot.
Thanks!
cvs -d:pserver:[email protected]:/cvsroot/lirc login
cvs -z8 -d:pserver:[email protected]:/cvsroot/lirc co lirc
cd lirc
./autogen.sh
./setup.sh
sudo make
sudo make install
sudo cp ~/lirc/drivers/lirc_imon/lirc_imon.c /usr/src/lirc-0.8.3~pre1/drivers/lirc_imon
sudo dpkg-reconfigure lirc-modules-source
rickx Wrote:I still have a problem/question: the panel's buttons are too fast. Using irw I get a minimum repetition of 3 each time I push.
Question: can this be handled?
If so: in the lircd.conf?
In xbmc directly?
Thanks,
rickx
Fitho Wrote:I got: Driver=none
Can you confirm if the above worked for you to, Droopy4u?