LinHES Forums
http://forum.linhes.org/

Remote doesn't work after upgrade to R5F1 (Winfast DTV1000)
http://forum.linhes.org/viewtopic.php?f=2&t=15361
Page 1 of 1

Author:  funkydan2 [ Fri May 25, 2007 2:44 am ]
Post subject:  Remote doesn't work after upgrade to R5F1 (Winfast DTV1000)

Hi all,

I've just upgraded from R5E50 to R5F1. Everything went smoothly (despite getting a scary audio saying "restore failed").

However, I'm now trying to get my remote control to work again. This was a bit of a pain under R5E50, so I wrote up this howto which listed the changes that had to be made to the v4l-dvb source code to get the remote working.

However, this didn't do the trick for R5F1. I downloaded the most up-to-date version of the v4l-dvb source, patched and compiled. However, no luck - no /dev/input/eventX!

From what I can tell, E50 and F1 both have the same kernel version, so that shouldn't be the issue and modules are compiling correctly.

In /var/log/syslog, I just found some interesting lines.

Code:

May 25 18:07:40 mythtv kernel: lirc_dev: IR Remote Control driver registered, at
 major 61
May 25 18:07:41 mythtv lircd-0.8.1-CVS-pvr150[3289]: lircd(all) ready
May 25 18:08:26 mythtv lircd-0.8.1-CVS-pvr150[3289]: accepted new client on /dev/lircd
May 25 18:08:26 mythtv lircd-0.8.1-CVS-pvr150[3289]: initializing '/dev/input/event0'
May 25 18:08:26 mythtv lircd-0.8.1-CVS-pvr150[3289]: unable to open '/dev/input/event0'
May 25 18:08:26 mythtv lircd-0.8.1-CVS-pvr150[3289]: caught signal


Is unable to open '/dev/input/event0' possibly the cause of the issue - if so, what can I do so that lircd can open the device?

Daniel

Author:  funkydan2 [ Fri May 25, 2007 6:48 pm ]
Post subject: 

Solved!

But it's a bit weird.

I downloaded an old snapshot of the v4l-dvb code http://www.linuxtv.org/downloads/snapsh ... 209.tar.gz, patched it as before and it all worked.

Howevever, there was a big difference between making the old an new code. It appears to me that when I
Code:
make
the modules using the newest version from hg, no modules are actually made!

Is there a trick (other than just
Code:
make && make install
) for building the newest revision of v4l-dvb?

Daniel

Author:  tjc [ Fri May 25, 2007 6:51 pm ]
Post subject:  Re: Remote doesn't work after upgrade to R5F1 (Winfast DTV10

funkydan2 wrote:
Everything went smoothly (despite getting a scary audio saying "restore failed").

And what does your /var/log/restore.log say? Does it match the results in this thread? http://mysettopbox.tv/phpBB2/viewtopic.php?t=15246

Author:  funkydan2 [ Fri May 25, 2007 10:33 pm ]
Post subject: 

Yep - it's the same error.

Everything appears to work okay - so your conclusions on that thread seem to be spot on (though a work around for the error message would be nice!).

Have you any idea why I "make" doesn't work for the newest v4l-dvb tree?

With the newest tree, when I run "make" it takes about 5 seconds and the output is
Code:

make[1]: Entering directory `/root/v4l-dvb/v4l'
creating symbolic links...
make -C /lib/modules/2.6.18-chw-13/build SUBDIRS=/root/v4l-dvb/v4l  modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.18-chw-13'
  Building modules, stage 2.
  MODPOST
make[2]: Leaving directory `/usr/src/linux-headers-2.6.18-chw-13'
./scripts/rmmod.pl check
found 2 modules
make[1]: Leaving directory `/root/v4l-dvb/v4l'

but on the older tree it takes more than 5 minutes and makes 191 modules!
Code:
...whole lot of output ...
make[2]: Leaving directory `/usr/src/linux-headers-2.6.18-chw-13'
./scripts/rmmod.pl check
found 191 modules
make[1]: Leaving directory `/root/v4l-dvb.old/v4l'


What's the trick to get the newer version to correctly build?

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/