Date: Tue, 1 Feb 2011 14:26:15 +0100 From: Juergen Lock <nox@jelal.kn-bremen.de> To: Hans Petter Selasky <hselasky@freebsd.org> Cc: "freebsd-multimedia@freebsd.org" <freebsd-multimedia@freebsd.org>, Juergen Lock <nox@jelal.kn-bremen.de> Subject: Re: New dvb-s2 tuner, and a hack to get remaining remotes working Message-ID: <20110201132615.GA13827@triton8.kn-bremen.de> In-Reply-To: <201102011401.26024.hselasky@freebsd.org> References: <201102011212.40488.hselasky@freebsd.org> <20110201123054.GA10962@triton8.kn-bremen.de> <201102011401.26024.hselasky@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110201132615.GA13827>