[mythtv-users] lirc does not work on kernel 2.6.35.11-83.fc14.i686
Jarod Wilson
jarod at wilsonet.com
Thu Mar 24 20:02:45 UTC 2011
On Mar 24, 2011, at 3:52 PM, Gabe Rubin wrote:
> On Thu, Mar 24, 2011 at 12:27 PM, Jarod Wilson <jarod at wilsonet.com> wrote:
>> On Mar 24, 2011, at 1:15 PM, Gabe Rubin wrote:
>>
>>> On Wed, Mar 23, 2011 at 11:03 PM, Jarod Wilson <jarod at wilsonet.com> wrote:
>>>> On Mar 23, 2011, at 10:22 PM, Gabe Rubin wrote:
>>>>
>>>>> Hi list,
>>>>>
>>>>> I was using kernel version 2.6.35.10-74.fc14.i686, but upgraded to
>>>>> 2.6.35.11-83.fc14.i686. Now I am unable to use lirc. irw registers
>>>>> no key presses, I notice that while under older kernels, I had a
>>>>> device named /dev/lirc0, this is no longer created under
>>>>> 2.6.35.11-83.fc14.i686. What can I do to correct this? I can't
>>>>> simply roll back to the older kernel because I no longer the nvidia
>>>>> kmdl for that, and it is no longer on atrpms. I am using the PVR-350
>>>>> receiver and a harmony remote configured to mimic the remote that came
>>>>> with the PVR-350.
>>>>
>>>> modprobe ir-kbd-i2c, use lirc in devinput mode, been covered on this
>>>> list a few times in the past month or two.
>>>>
>>>> (lirc_i2c is dead, removed from the kernel, and its not coming back)
>>>>
>>>
>>> Jarod, thanks. I had seen info on the list about need to use
>>> ir-kbd-i2c; I just didn't realize it was a mandatory thing because I
>>> thought I read people complaining about lirc_i2c not working on
>>> earlier kernel versions.
>>>
>>> I am also unclear on how to use devinput mode. Does that require me
>>> using something different than lircd.conf file (I saw references to a
>>> keymap on some of the threads).
>>
>> You need the lircd.conf.devinput config provided in the lirc-remotes
>> sub-package, lircd set to devinput mode, and a pointer to the right
>> input event device.
>>
> I will explore this and see if I can figure out how to do it.
> Hopefully, the file is explanatory and easily configurable.
> Hopefully, I don't also lose my custom keypresses I added based on the
> Harmony One remote having more buttons than the remote that came with
> the PVR-350.
That... may or may not be an issue until 2.6.39 (or some selective
ir-kbd-i2c backports)... At the very least, I'll get the latest
ir-kbd-i2c into the Fedora 15 kernels...
>>> Basically, is there a good tutorial out there that will show me how to
>>> easily switch from lirc_i2c to ir-kbd-i2c? I assume I need to make a
>>> change in my lirc.conf file in /etc/modprobe.d/ but that file was
>>> likely created from me using one of your earlier guides, so I am a
>>> little at a loss as to what to do there.
>>
>> Writing up something formally has been on ye olde todo list for a
>> while, but I'm kinda swamped right now.
>>
>
> Thanks. I was not implying that you create a write-up; I was just
> hoping one existed.
Yeah, well, I'm doing a lot of the code work, so I probably understand
what's necessary better than most, so I'm a good candidate...
> I will see if I can figure it out from this
> email, and if I do, will write-up my steps.
Cool, I can at least review whatever you come up with.
> However, is it simply as
> easy as swapping ir-kbd-i2c for lirc_i2c in the
> /etc/modprobe.d/lirc.conf file to get the new driver to autoload?
Yes.
> Currently, that file reads as:
> #lirc_module_configuration
> alias char-major-61 lirc_i2c
>
> I have no idea what the char-major-61 part refers to (I understand it
> is a name used to represent lirc_i2c, I just don't understand the
> significance of the syntax).
Well, it used to mean something, but it hasn't for ages now.
--
Jarod Wilson
jarod at wilsonet.com
More information about the mythtv-users
mailing list