<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 22, 2019 at 5:04 AM Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sun, 21 Jul 2019 12:56:38 -0700, you wrote:<br>
<br>
>On 7/21/19 10:05 AM, Justin Alcorn wrote:<br>
>> Stephen -<br>
>> <br>
>> <br>
>> Thanks for the script, I was hoping you could help with my problem. I <br>
>> don't use the Mythtv Frontend, but I use LIRC to control my HDPVR.<br>
>> <br>
>> I upgraded my original 16.04 system to 18.04 so it would update any <br>
>> databases, then copied everything over to shiny new clean-built 18.04 <br>
>> system. ( <a href="https://pcpartpicker.com/b/Zpw6Mp" rel="noreferrer" target="_blank">https://pcpartpicker.com/b/Zpw6Mp</a> )<br>
>> <br>
>> The hd=pvr itself is working - cat /dev/video- > test.ts results ina <br>
>> good file.<br>
>> <br>
>> But there's no lirc_zilog to load, and no indication on how to install it.<br>
>> <br>
>> $ sudo modprobe lirc_zilog<br>
>> modprobe: FATAL: Module lirc_zilog not found in directory <br>
>> /lib/modules/4.18.0-25-generic<br>
>> <br>
>> I found the following message in dmesg:<br>
>> <br>
>> [ 5.605079] ir-kbd-i2c 16-0071: IR for HDPVR is known to cause <br>
>> problems during recording, use enable_hdpvr modparam to enable<br>
>> <br>
>> So I created /etc/modprobe.d/ir_kbd-i2c.conf with the line:<br>
>> <br>
>> options ir-kbd-i2c enable_hdpvr<br>
>> <br>
>> # ls -l /dev/lir*<br>
>> crw-rw---- 1 root video 237, 0 Jul 21 12:54 /dev/lirc0<br>
>> lrwxrwxrwx 1 root root 15 Jul 21 12:18 /dev/lircd -> /run/lirc/lircd<br>
>> <br>
>> I'm now getting this in dmesg:<br>
>> <br>
>> root@gossamer:~# dmesg | grep hdpvr<br>
>> [ 5.192866] hdpvr 1-5:1.0: firmware version 0x1e dated Mar 7 2012 <br>
>> 08:25:15<br>
>> [ 6.198966] hdpvr 1-5:1.0: device now attached to video0<br>
>> [ 6.198992] usbcore: registered new interface driver hdpvr<br>
>> root@gossamer:~# dmesg | grep lir<br>
>> [ 6.996176] rc rc0: lirc_dev: driver ir_kbd_i2c registered at minor = <br>
>> 0, scancode receiver, raw IR transmitter<br>
>> <br>
>> <br>
>> root@gossamer:~# irsend --device=/dev/lircd SEND_ONCE blaster 0_41_KEY_POWER<br>
>> <br>
>> hardware does not support sending<br>
>> Error running command: Input/output error<br>
>> root@gossamer:~# irsend --device=/dev/lirc0 SEND_ONCE blaster 0_41_KEY_POWER<br>
>> do_connect: could not connect to socket<br>
>> connect: Connection refused<br>
>> Cannot open socket /dev/lirc0: Connection refused<br>
>> <br>
>> I'm stuck at this point......<br>
>> <br>
<br>
>I ran in to similar issues. I came across this: <br>
><a href="https://twosortoftechguys.wordpress.com/2018/07/24/make-lirc-work-in-ubuntu-18-04/" rel="noreferrer" target="_blank">https://twosortoftechguys.wordpress.com/2018/07/24/make-lirc-work-in-ubuntu-18-04/</a> <br>
>. The issue being lirc in 18.04 has issues and downgrading lirc fixes them.<br>
><br>
>It's very helpful if you keep all your /etc/lirc files and the remotes/ <br>
>files from your previous working install to copy back over.<br>
<br>
The underlying lirc is fine in 18.04. That page, like many others,<br>
has found problems with the 18.04 lirc install and has failed to<br>
notice that if you manually configure lirc, it works. The install<br>
package for lirc on 18.04 is badly broke though - all the Python setup<br>
code does not work due to missing modules, and there are various other<br>
problems with the default setup. But once you fix the packaging<br>
problems by running my script:<br>
<br>
<a href="http://www.jsw.gen.nz/mythtv/lirc-ubuntu-18.04-install.sh" rel="noreferrer" target="_blank">http://www.jsw.gen.nz/mythtv/lirc-ubuntu-18.04-install.sh</a><br>
<br>
everything works as expected. So there is no need to install a back<br>
level version that is not compiled against the current 18.04 headers<br>
and consequently has its own dangers.<br><br></blockquote><div><br></div><div>Does anyone have any idea how to configure the new ir-krb-i2c driver that has replaced lirc_zilog for HDPVR IR blasting? Most of the discussions have been about using LIRC for IR receiving. </div></div></div>