[mythtv-users] Lirc issues with 2.6.32 kernel

Jarod Wilson jarod at wilsonet.com
Mon Feb 15 19:37:32 UTC 2010


On Mon, Feb 15, 2010 at 2:22 PM, Jack Perveiler <perveilerj at gmail.com> wrote:
>
> On Mon, Feb 15, 2010 at 12:30 PM, Jarod Wilson <jarod at wilsonet.com> wrote:
>>
>> On Fri, Feb 12, 2010 at 5:42 PM, Jarod Wilson <jarod at wilsonet.com> wrote:
>> > On Thu, Feb 11, 2010 at 11:29 PM, Rajesh Balan <rajesh at cs.cmu.edu>
>> > wrote:
>> >>
>> >> the mceusb driver works perfectly on 2.6.32. the lirc_serial is the one
>> >> that
>> >> has issues.
>> >>
>> >> the version in the lirc cvs source compiles and loads, but from kernel
>> >> version 2.6.29 or so onwards, it has issues triggering my IR blaster --
>> >> the
>> >> triggering is very intermittent. I reported this to the lirc maintainer
>> >> (Jarod) and he suggested using his git version of the lirc_serial
>> >> driver
>> >> instead. that version works flawlessly with 2.6.30. but it triggers a
>> >> kernel
>> >> OOPs with the 2.6.32 kernel.
>> >
>> > The oops should be fixed now. The remaining lirc_serial issue is a
>> > type mismatch between userspace and kernelspace. I'll try to get it
>> > fixed this weekend.
>>
>> This build *should* fix the ioctl type mismatch problem:
>>
>> http://kojipkgs.fedoraproject.org/packages/lirc/0.8.6/3.fc13/
>>
>> ...which isn't actually lirc_serial-specific, it would hit almost any
>> driver on a 32-bit install. 64-bit installs were immune, which is why
>> I didn't see any issues in my own testing. Oops.
>>
>
> Jarod,
>
> do you have a svn/git/similar tree this was sourced from?  I'd like to give
> this a try but I'm ubuntu-based.  I guess I could use alien on the source
> .rpm but pulling straight from the source repository seems like the smarter
> way to go.

The ioctl bits are already committed in my lirc git tree, they just
weren't being applied to the lirc userspace too, which is the result
of the breakage for 32-bit Fedora users. Shouldn't be your problem,
unless you're also running 32-bit with lirc drivers built from my git
tree. In either case, you can find all the userspace patches in
Fedora's lirc broken out here:

http://cvs.fedoraproject.org/viewvc/F-12/lirc/

The ioctl portability one is the most relevant, though I think I
screwed up and put a bit that should have gone in that patch into the
'remove obsolete modes' patch -- the #include <stdint.h> bit that
provides the uint*_t types.

-- 
Jarod Wilson
jarod at wilsonet.com


More information about the mythtv-users mailing list