[mythtv-users] Hauppauge PVR-350 remote not working after Debian 7 upgrade

Stephen Worthington stephen_agent at jsw.gen.nz
Sat Nov 15 02:21:46 UTC 2014


On Fri, 14 Nov 2014 20:49:14 -0500, you wrote:

>
>On 14-11-14 03:17 PM, David Parker wrote:
>> Hello,
>>
>> (I also posted this in the MythTV forums, so please forgive the 
>> double-posting if you already saw it).
>>
>> I have a MythTV box with a Hauppauge PVR-350 and I'm using the IR 
>> sensor and remote control for that card. I recently upgraded my MythTV 
>> box from Debian 6 to Debian 7, and upgraded from MythTV 0.24 to 0.27 
>> (due to the Schedules Direct server change). This broke the version of 
>> LIRC I was running, which I had compiled against the 2.6 kernel on 
>> Debian 6 and which would not compile against the 3.2 kernel under 
>> Debain 7. So, I installed the lirc and lirc-x packages via apt-get, 
>> and after a fair amount of struggling, I was able to get the remote 
>> partially working again. The arrow keys work fine in MythTV, but the 
>> other buttons (OK, Back/Exit, Power, Play, Pause, etc.) do not.
>>
>> Using "ir-keytable" I can see that the button presses are being 
>> received and the scancodes match those listed in /etc/lirc/lircd.conf. 
>> I have already done the following but I still haven't solved this issue:
>>
>> 1. Generated a new /etc/lirc/lircd.conf file using irrecord
>> 2. Made the key names in /etc/lirc/lircd.conf match those found in 
>> /lib/udev/rc_keymaps/hauppauge
>> 3. Made the key names in /etc/lirc/lircrc match those found in 
>> /lib/udev/rc_keymaps/hauppauge
>>
>> I have attached my hardware.conf, lircd.conf, and lircrc files for 
>> reference (the files end in .txt just to make them valid for uploading 
>> to the forum). Any idea why only the arrow keys work in MythTV after 
>> the upgrade? Any help would be greatly appreciated!
>>
>> I'm using lircd 0.9.0-pre1 from the stock Debian packages (32-bit).
>>
>> Thanks!
>>
>The last time I checked, if your remote is being recognized at the 
>kernel level (eg, ir-keytable) then you have two choices.
>
>1. Not use lirc at all, you'll have to remap the 'other' buttons to keys 
>with scancodes < 256 so they can be seen in X.
>
>2. Disable the kernel ir key processing, and just use lirc. Note, you'll 
>probably have to set your lircd driver to 'devinput' versus whichever 
>driver the 350 used before (zilog?)
>
>Personally, I'm still using option 2, as my lircrc file has been tweaked 
>over the course of years, and I'm not yet prepared to remap all those keys.
>
>HTH,
>
>Andrew.

The third option (the best one) is to use the devinput driver with
lirc.  That maps the ir-keytable level inputs to lirc inputs, so you
can use different mappings of IR keys for different programs.  If you
just use ir-keytable, then all the programs you use your IR remote
with will need to use the same keystrokes, which means they all need
to be able to be configured for those keystrokes.  Not all programs
have internal config capability.  See my other post on this thread.


More information about the mythtv-users mailing list