LIRC 0.8.7 Fixes for Maverick

Jarod Wilson jarod at redhat.com
Tue Oct 12 13:22:30 UTC 2010


On Mon, Oct 11, 2010 at 05:09:32PM -0500, Mario Limonciello wrote:
> Leann:
> 
> On Mon, Oct 11, 2010 at 16:05, Jarod Wilson <jarod at redhat.com> wrote:
> 
> > On Mon, Aug 23, 2010 at 09:00:29AM -0700, Leann Ogasawara wrote:
> > > On Mon, 2010-08-23 at 09:22 -0600, Tim Gardner wrote:
> > > > On 08/23/2010 08:31 AM, Mario Limonciello wrote:
> > > > > Adding Jarod Wilson.
> > ...
> > > > >>> Jarod Wilson (4):
> > > > >>> UBUNTU: SAUCE: Bring in staging/lirc from 2.6.36
> > > > >>> UBUNTU: SAUCE: Update ir-core to linuxtv/other which should be
> > merged
> > > > >>> for 2.6.36.
> > > > >>> UBUNTU: SAUCE: Fix memleaks in imon and mceusb drivers
> > > > >>> UBUNTU: SAUCE: Bring in streamzap support from linuxtv/other
> >
> > So... There's a fair amount of additional ir-core stuff I'd suggest
> > bringing in at some point. I've already pointed Mario at this, and been
> > discussing them with him and other mythbuntu devs on irc.
> >
> > http://people.redhat.com/~jwilson/misc/ir-core-2.6.35/
> >
> > I believe the above four already committed commits map to:
> >
> > lirc-staging-2.6.36.patch
> > linux-2.6-v4l-dvb-ir-core-update.patch
> > linux-2.6-v4l-dvb-ir-core-memleak-fixes.patch
> > linux-2.6-v4l-dvb-ir-core-streamzap.patch
> >
> > I've since tacked on a few more patches in the Fedora 14 kernels:
> >
> > linux-2.6-v4l-dvb-ir-core-update-2.patch
> > linux-2.6-v4l-dvb-ir-core-update-3.patch
> > linux-2.6-lirc-ioctl-compat-fixups.patch
> >
> > Most of these are in the linuxtv media_tree/staging/v2.6.37 branch, but a
> > few are still pending merge by Mauro. I've included commit IDs and log
> > messages for the relevant commits in the patches themselves.
> >
> > Highlights of these updates include:
> > - proper auto-config of another imon 0xffdc device
> > - imon key release fixups (was possible for keys to get stuck down)
> > - lirc_ene0100 replaced with ene_ir (ported to ir-core)
> > - new nuvoton (ASRock ION 330HT) ir driver
> > - lirc compat ioctl fixups so 64-bit kernel, 32-bit userspace works
> >
> > Please consider merging these patches as well.
> >
> >
> There are some bugs starting to crop up from all the upgraders that didn't
> test during development mainly with i2c and imon remotes.

Though truth be told, half the issue w/the i2c and imon users is simply
documentation. lirc_i2c changed in the 2.6.33 era due to i2c subsystem
changes, and its not been possible to bind it to pvr-150 cards with a
zilog z8 IR chip since then, but lirc_zilog binds just fine. I've had at
least one person on irc confirm that simply editing
/etc/lirc/hardware.conf, swapping lirc_i2c for lirc_zilog, got them back
to fully functional. The imon case, tools are apparently still telling
imon users they need to use lirc_imon and configuring things to talk to a
/dev/lircX device node that doesn't get created, as their imon devices are
now handled by the imon driver. Its a pure scancode-based device, so the
ir-core lirc bridge driver is never invoked, as there's no raw IR to pass
-- lirc_imon was hackily passing scancodes via its lirc device interface
rather than raw IR.

But some of the imon devices w/the current Ubuntu kernel don't get set up
correctly (one specific 0xffdc model, anyway), and there's definitely an
issue present with key releases not happening as they should in certain
cases -- see https://bugzilla.kernel.org/show_bug.cgi?id=16351 .

> it would be good
> to try to help some of them.  If you think they're not good candidates for
> SRU's, would you be open to an LBM for ir-core?

And while you're at it, fancy adding a patch to improves the Linux HID
layer to the point where the TiVo Slide remotes Just Work(tm) right out of
the box too? :)

https://patchwork.kernel.org/patch/161481/

I've been contacted by more than a few Ubuntu users anxious to use these
remotes with both MythTV and XBMC.

-- 
Jarod Wilson
jarod at redhat.com





More information about the kernel-team mailing list