New dvb-s2 tuner, and a hack to get remaining remotes working

Juergen Lock nox at jelal.kn-bremen.de
Tue Feb 1 13:27:27 UTC 2011


On Tue, Feb 01, 2011 at 02:01:25PM +0100, Hans Petter Selasky wrote:
> On Tuesday 01 February 2011 13:30:54 Juergen Lock wrote:
> > On Tue, Feb 01, 2011 at 12:12:40PM +0100, Hans Petter Selasky wrote:
> > > On Tuesday 01 February 2011 12:08:40 Juergen Lock wrote:
> > > > F_SETFL
> > > 
> > > Try to change FIONBIO with F_SETFL in the patch.
> > 
> > Turns out FIONBIO was correct but I had to allow for FIOASYNC too:
> 
> Hi,
> 
> Add some printouts in "v4l-dvb/linux/drivers/media/IR/lirc_dev.c" to see if 
> this function returns any error codes due to a read of 3 bytes.

Ah indeed the:

> [...]
>         if (length % ir->chunk_size) {
>                 dev_dbg(ir->d.dev, LOGHEAD "read result = -EINVAL\n",
>                         ir->d.name, ir->d.minor);
>                 mutex_unlock(&ir->irctl_lock);
>                 return -EINVAL;
>         }

is the culprit.  I wonder if that's because our lirc port is outdated...

	Juergen


More information about the freebsd-multimedia mailing list