Author |
Message |
qawila1
|
Posted: Sat May 01, 2004 4:17 pm |
|
Joined: Sat May 01, 2004 3:53 pm
Posts: 1
|
Hi
I have just installed KnoppMyth to act as a frontend only (my backend is running on a separate box under Mandrake 9.1).
I have a Packard Bell remote control and am trying to compile lirc for serial operation.
The following is the output of make:
root@hoyts:/usr/src/lirc-0.7.0pre4 # make
make all-recursive
make[1]: Entering directory `/usr/src/lirc-0.7.0pre4'
Making all in drivers
make[2]: Entering directory `/usr/src/lirc-0.7.0pre4/drivers'
Making all in lirc_dev
make[3]: Entering directory `/usr/src/lirc-0.7.0pre4/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 `/usr/src/lirc-0.7.0pre4/drivers/lirc_dev'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
make -C /usr/src/linux/ SUBDIRS=/usr/src/lirc-0.7.0pre4/drivers/lirc_dev modules \
KBUILD_VERBOSE=1
make[5]: Entering directory `/usr/src/kernel-headers-2.4.25-chw'
Makefile:260: arch/i386/Makefile: No such file or directory
Makefile:543: Rules.make: No such file or directory
make[5]: *** No rule to make target `Rules.make'. Stop.
make[5]: Leaving directory `/usr/src/kernel-headers-2.4.25-chw'
make[4]: *** [lirc_dev.o] Error 2
make[4]: Leaving directory `/usr/src/lirc-0.7.0pre4/drivers/lirc_dev'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/lirc-0.7.0pre4/drivers/lirc_dev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/lirc-0.7.0pre4/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/lirc-0.7.0pre4'
make: *** [all] Error 2
Any ideas what I need to do to fix the problem?
|
|
Top |
|
 |
cesman
|
Posted: Sat May 01, 2004 10:59 pm |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
Untar the kernel source and link linux to it.
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
 |
mgordon
|
Posted: Fri May 07, 2004 7:33 pm |
|
Joined: Tue Oct 28, 2003 1:25 pm
Posts: 125
|
I untared the kernel source and linied it to linux
I get the following error:
root@mythtv:/usr/src/lirc-0.7.0pre4# make
make all-recursive
make[1]: Entering directory `/usr/src/lirc-0.7.0pre4'
Making all in drivers
make[2]: Entering directory `/usr/src/lirc-0.7.0pre4/drivers'
Making all in lirc_dev
make[3]: Entering directory `/usr/src/lirc-0.7.0pre4/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 `/usr/src/lirc-0.7.0pre4/drivers/lirc_dev'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
make -C /usr/src/linux/ SUBDIRS=/usr/src/lirc-0.7.0pre4/drivers/lirc_dev modules \
KBUILD_VERBOSE=1
make[5]: Entering directory `/usr/src/linux-2.4.25-chw'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
make -C /usr/src/lirc-0.7.0pre4/drivers/lirc_dev CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.25-chw/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.25-chw/include/linux/modversions.h" MAKING_MODULES=1 modules
make[6]: Entering directory `/usr/src/lirc-0.7.0pre4/drivers/lirc_dev'
make[6]: *** No rule to make target `/usr/src/linux-2.4.25-chw/include/linux/modversions.h', needed by `lirc_dev.o'. Stop.
make[6]: Leaving directory `/usr/src/lirc-0.7.0pre4/drivers/lirc_dev'
make[5]: *** [_mod_/usr/src/lirc-0.7.0pre4/drivers/lirc_dev] Error 2
make[5]: Leaving directory `/usr/src/linux-2.4.25-chw'
make[4]: *** [lirc_dev.o] Error 2
make[4]: Leaving directory `/usr/src/lirc-0.7.0pre4/drivers/lirc_dev'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/lirc-0.7.0pre4/drivers/lirc_dev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/lirc-0.7.0pre4/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/lirc-0.7.0pre4'
make: *** [all] Error 2
root@mythtv:/usr/src/lirc-0.7.0pre4#
any suggestions
|
|
Top |
|
 |
mgordon
|
Posted: Sun May 09, 2004 3:21 pm |
|
Joined: Tue Oct 28, 2003 1:25 pm
Posts: 125
|
ok I finally got lirc to compile for my Winfast 200 but when I run update-modules I get the following error.
depmod: *** Unresolved symbols in /lib/modules/2.4.25-chw/misc/lirc_gpio.o
then I rebooted and ran install-i686-l and received the following errors.
root@mythtv:/home/mythtv# install-i686-l
dpkg - warning: ignoring request to remove mythdvd-i586 which isn't installed.
dpkg - warning: ignoring request to remove mythgallery-i586 which isn't installed.
dpkg - warning: ignoring request to remove mythgame-i586 which isn't installed.
dpkg - warning: ignoring request to remove mythmusic-i586 which isn't installed.
dpkg - warning: ignoring request to remove mythvideo-i586 which isn't installed.
dpkg - warning: ignoring request to remove mythweather-i586 which isn't installed.
dpkg - warning: ignoring request to remove mythtv-i586 which isn't installed.
(Reading database ... 53332 files and directories currently installed.)
Preparing to replace mythdvd-i686 0.14-1 (using mythdvd-i686_0.14-1_i386.deb) ...
Unpacking replacement mythdvd-i686 ...
Preparing to replace mythgallery-i686 0.14-1 (using mythgallery-i686_0.14-1_i386.deb) ...
Unpacking replacement mythgallery-i686 ...
Preparing to replace mythgame-i686 0.14-1 (using mythgame-i686_0.14-1_i386.deb) ...
Unpacking replacement mythgame-i686 ...
Preparing to replace mythmusic-i686 0.14-1 (using mythmusic-i686_0.14-1_i386.deb) ...
Unpacking replacement mythmusic-i686 ...
Preparing to replace mythvideo-i686 0.14-1 (using mythvideo-i686_0.14-1_i386.deb) ...
Unpacking replacement mythvideo-i686 ...
Preparing to replace mythweather-i686 0.14-1 (using mythweather-i686_0.14-1_i386.deb) ...
Unpacking replacement mythweather-i686 ...
Unpacking mythtv-i686 (from mythtv-i686_0.14-1_i386.deb) ...
dpkg: error processing mythtv-i686_0.14-1_i386.deb (--install):
trying to overwrite `/usr/bin/mythbackend', which is also in package mythtv-i686-xvmc
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Setting up mythdvd-i686 (0.14-1) ...
Setting up mythgallery-i686 (0.14-1) ...
Setting up mythgame-i686 (0.14-1) ...
Setting up mythmusic-i686 (0.14-1) ...
Setting up mythvideo-i686 (0.14-1) ...
Setting up mythweather-i686 (0.14-1) ...
Errors were encountered while processing:
mythtv-i686_0.14-1_i386.deb
dpkg - warning: ignoring request to remove mythtv-i686 which isn't installed.
(Reading database ... 53332 files and directories currently installed.)
Unpacking mythtv-i686-lirc (from mythtv-i686-lirc_0.14-1_i386.deb) ...
dpkg: error processing mythtv-i686-lirc_0.14-1_i386.deb (--install):
trying to overwrite `/usr/bin/mythbackend', which is also in package mythtv-i686-xvmc
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
mythtv-i686-lirc_0.14-1_i386.deb
root@mythtv:/home/mythtv#
The remote still doesn't work
This all worked for R4V2. I am fustrated, any help would be appreciated.
Thanks,
Mike G.
|
|
Top |
|
 |
cesman
|
Posted: Sun May 09, 2004 3:58 pm |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
mgordon wrote: This all worked for R4V2. I am fustrated, any help would be appreciated.
Then why upgrade? As root:
Code: dpkg -r mythtv-<TAB> dpkg -i /usr/src/r4v3_src/mythtv-0.14/pkgs/i686/mythtv-i686-lirc_0.14-1_i386.deb /etc/init.d/mythbackend restart
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
 |
mgordon
|
Posted: Sun May 09, 2004 6:34 pm |
|
Joined: Tue Oct 28, 2003 1:25 pm
Posts: 125
|
I think I am getting further thats for the help so far.
I can't open /dev/lirc
Any ideas why?
Thanks,
Mike G.
BTW, I am upgrating for the no APIC support.
May 9 20:31:49 mythtv lircd 0.7.0pre4: lircd(leadtek_0010) ready
May 9 20:31:58 mythtv lircd 0.7.0pre4: accepted new client on /dev/lircd
May 9 20:31:58 mythtv lircd 0.7.0pre4: could not open /dev/lirc
May 9 20:31:58 mythtv lircd 0.7.0pre4: default_init(): No such device
May 9 20:31:58 mythtv lircd 0.7.0pre4: caught signal
|
|
Top |
|
 |
cesman
|
Posted: Sun May 09, 2004 7:32 pm |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
ls -l /dev/lirc shows what?
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
 |
mgordon
|
Posted: Mon May 10, 2004 7:56 am |
|
Joined: Tue Oct 28, 2003 1:25 pm
Posts: 125
|
crw-rw-r-rw 1 root root 61, 0 Oct20 2003 /dev/lirc
Also a question about the default remote configured with knoppMyth, can you confirm that the default remote is the pvr-250?
Also if I were to buy a pvr-350 would that remote be compatible with the default pvr-250 remote configured with KnoppMyth?
Thanks,
Mike G.
|
|
Top |
|
 |
wrooster
|
Posted: Mon May 10, 2004 9:19 am |
|
Joined: Thu Feb 19, 2004 6:52 pm
Posts: 117
|
mgordon wrote: Also a question about the default remote configured with knoppMyth, can you confirm that the default remote is the pvr-250?
Also if I were to buy a pvr-350 would that remote be compatible with the default pvr-250 remote configured with KnoppMyth?
Thanks, Mike G.
mike,
i think you need to start over by telling us what it is you are trying to do. not the solutions you have tried, not the steps you are currently taking, but what feature you want. then i think we can help you get there. right now you (and we) are just getting frustrated. in the top post you talk about a packard bell serial remote, and then in the post above you talk about PVR-x50 remotes.
jim
|
|
Top |
|
 |
cesman
|
Posted: Mon May 10, 2004 10:51 am |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
The default LIRC is compiled for Hauppuage TV tuners. The default lircd.conf and lircrc are for the Hauppauge grey remote. This works the same on a WinTV 402 or PVR x50. Opps I meant ls -l /dev/lirc*. It should look something like this:
crw-r--r-- 1 root root 61, 0 Oct 20 2003 /dev/lirc
srw-rw-rw- 1 root root 0 May 9 23:29 /dev/lircd
prw-r--r-- 1 root root 0 Apr 10 16:49 /dev/lircm
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
 |
britthouser
|
Posted: Sun May 16, 2004 6:51 am |
|
Joined: Thu Jan 22, 2004 7:13 pm
Posts: 11
|
I thought I would post how I got lircd_serial to load. Took some trial and error, so hopefully this will save some people some trouble.
cd /usr/src
tar jxf lirc-0.7.0pre4.tar.bz2
tar jxf linux-2.4.25-chw.tar.bz2
yes | cp -r kernel-headers-2.4.25-chw/* linux-2.4.25-chw/
cp /boot/config-2.4.25-chw linux-2.4.25-chw/.config
rm linux
ln -s linux-2.4.25-chw linux
cd lirc-0.7.0pre4
./configure
make
make install
If you don't copy the files into your kernel tree (linux-2.4.25-chw) above, then you will either get compile errors, and/or errors when your module tries to load (and it won't).
After this you still need todo through the standard install procedure, but you can read about that here:
http://mysettopbox.tv/phpBB2/viewtopic.php?t=123
thx,
britt
|
|
Top |
|
 |