[mythtv-users] Joy and pain (Daryl McDonald)
Daryl McDonald
darylangela at gmail.com
Tue Feb 18 18:07:22 UTC 2014
On Tue, Feb 18, 2014 at 1:03 PM, Daryl McDonald <darylangela at gmail.com> wrote:
> On Tue, Feb 18, 2014 at 12:38 PM, Daryl McDonald <darylangela at gmail.com> wrote:
>> On Tue, Feb 18, 2014 at 12:09 PM, Hika van den Hoven <hikavdh at gmail.com> wrote:
>>> Hoi Daryl,
>>>
>>> Tuesday, February 18, 2014, 5:30:25 PM, you wrote:
>>>
>>>> On Tue, Feb 18, 2014 at 11:04 AM, Hika van den Hoven <hikavdh at gmail.com> wrote:
>>>>> Hoi Hika,
>>>>>
>>>>> Tuesday, February 18, 2014, 2:26:08 PM, you wrote:
>>>>>
>>>>>> Hoi Daryl,
>>>>>
>>>>>> Tuesday, February 18, 2014, 2:10:51 AM, you wrote:
>>>>>
>>>>>>> On Mon, Feb 17, 2014 at 4:15 PM, Daryl McDonald <darylangela at gmail.com> wrote:
>>>>>>>> On Mon, Feb 17, 2014 at 3:24 PM, Hika van den Hoven <hikavdh at gmail.com> wrote:
>>>>>>>>> Hi Daryl,
>>>>>>>>>
>>>>>>>>> I hate unsolved puzles. So since I have an analog card driven by
>>>>>>>>> cx88xx with ir hardware on it and a serial device, I tried to recreate
>>>>>>>>> your situation. The weird thing is I can not get my system to create a
>>>>>>>>> /dev/lirc* device for that cx88xx only a /dev/input/event* device.
>>>>>>>>> Which actually with the modern lirc support in kernel is more logical.
>>>>>>>>> My guess is that your system loads a module, that we haven't yet
>>>>>>>>> found, that does this.
>>>>>>>>> If you have time and feel like it could you post the output of lsmod
>>>>>>>>> (without filter) both with and without your new card.
>>>>>>>>> I will then look at the differences.
>>>>>>>>>
>>>>>>>>> Tot mails,
>>>>>>>>> Hika mailto:hikavdh at gmail.com
>>>>>>>>>
>>>>>>>>> "Zonder hoop kun je niet leven
>>>>>>>>> Zonder leven is er geen hoop
>>>>>>>>> Het eeuwige dilemma
>>>>>>>>> Zeker als je hoop moet vernietigen om te kunnen overleven!"
>>>>>>>>>
>>>>>>>>> De lerende Mens
>>>>>>>>> --
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> mythtv-users mailing list
>>>>>>>>> mythtv-users at mythtv.org
>>>>>>>>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>>>>>>>> http://wiki.mythtv.org/Mailing_List_etiquette
>>>>>>>>> MythTV Forums: https://forum.mythtv.org
>>>>>>>>
>>>>>>>> Certainly, on going recordings at the moment, so below is with the card in:
>>>>>>>>
>>>>>>>> daryl at daryl-A780L3C:~$ lsmod
>>>>>>>> Module Size Used by
>>>>>>>> cx88_dvb 34388 27
>>>>>>>> cx88_vp3054_i2c 12961 1 cx88_dvb
>>>>>>>> lirc_serial 19279 0
>>>>>>>> bnep 18240 2
>>>>>>>> rfcomm 47562 0
>>>>>>>> bluetooth 212001 10 bnep,rfcomm
>>>>>>>> ir_lirc_codec 12860 0
>>>>>>>> mt2131 13342 1
>>>>>>>> lirc_dev 19205 2 lirc_serial,ir_lirc_codec
>>>>>>>> binfmt_misc 17541 1
>>>>>>>> ir_mce_kbd_decoder 12778 0
>>>>>>>> ir_sanyo_decoder 12514 0
>>>>>>>> ir_sony_decoder 12511 0
>>>>>>>> ir_jvc_decoder 12508 0
>>>>>>>> ir_rc6_decoder 12508 0
>>>>>>>> s5h1409 18843 2
>>>>>>>> ir_rc5_decoder 12508 0
>>>>>>>> ir_nec_decoder 12508 0
>>>>>>>> rc_pinnacle_pctv_hd 12530 0
>>>>>>>> xc5000 23008 2
>>>>>>>> snd_hda_codec_hdmi 32532 1
>>>>>>>> tuner_simple 22606 1
>>>>>>>> tuner_types 24319 1 tuner_simple
>>>>>>>> snd_soc_wm8776 18577 0
>>>>>>>> snd_soc_core 171588 1 snd_soc_wm8776
>>>>>>>> wm8775 13111 1
>>>>>>>> tda9887 14155 1
>>>>>>>> tda8290 22617 0
>>>>>>>> tuner 27474 3
>>>>>>>> snd_hda_codec_via 47558 1
>>>>>>>> kvm_amd 56136 0
>>>>>>>> kvm 422160 1 kvm_amd
>>>>>>>> cx88_alsa 18536 1
>>>>>>>> cx8802 19089 1 cx88_dvb
>>>>>>>> ppdev 17114 0
>>>>>>>> cx8800 38576 0
>>>>>>>> cx88xx 89296 4 cx88_dvb,cx88_alsa,cx8802,cx8800
>>>>>>>> cx25840 103099 2
>>>>>>>> microcode 23030 0
>>>>>>>> psmouse 102541 0
>>>>>>>> serio_raw 13216 0
>>>>>>>> k10temp 13174 0
>>>>>>>> edac_core 53053 0
>>>>>>>> edac_mce_amd 23548 0
>>>>>>>> cx23885 166510 2
>>>>>>>> altera_stapl 34932 1 cx23885
>>>>>>>> tda18271 42288 1 cx23885
>>>>>>>> rc_core 26423 12
>>>>>>>> ir_lirc_codec,ir_mce_kbd_decoder,ir_sanyo_decoder,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_decoder,ir_nec_decoder,rc_pinnacle_pctv_hd,cx88xx,cx23885
>>>>>>>> videobuf_dma_sg 19355 6 cx88_dvb,cx88_alsa,cx8802,cx8800,cx88xx,cx23885
>>>>>>>> ivtv 164367 0
>>>>>>>> cx2341x 28332 2 cx23885,ivtv
>>>>>>>> i2c_algo_bit 13565 3 cx88_vp3054_i2c,cx88xx,ivtv
>>>>>>>> snd_seq_midi 13325 0
>>>>>>>> snd_hda_intel 34063 5
>>>>>>>> snd_rawmidi 30750 1 snd_seq_midi
>>>>>>>> snd_hda_codec 135141 3
>>>>>>>> snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel
>>>>>>>> snd_seq_midi_event 14900 1 snd_seq_midi
>>>>>>>> snd_hwdep 17765 1 snd_hda_codec
>>>>>>>> snd_seq 61931 2 snd_seq_midi,snd_seq_midi_event
>>>>>>>> snd_pcm 97523 7
>>>>>>>> snd_hda_codec_hdmi,snd_soc_wm8776,snd_soc_core,cx88_alsa,cx23885,snd_hda_intel,snd_hda_codec
>>>>>>>> snd_seq_device 14498 3 snd_seq_midi,snd_rawmidi,snd_seq
>>>>>>>> snd_timer 29990 2 snd_seq,snd_pcm
>>>>>>>> sp5100_tco 13792 0
>>>>>>>> joydev 17694 0
>>>>>>>> i2c_piix4 13302 0
>>>>>>>> parport_pc 32867 1
>>>>>>>> nvidia 11335130 50
>>>>>>>> snd 83674 27
>>>>>>>> snd_hda_codec_hdmi,snd_soc_core,snd_hda_codec_via,cx88_alsa,cx23885,snd_hda_intel,snd_rawmidi,snd_hda_codec,snd_hwdep,snd_seq,snd_pcm,snd_seq_device,snd_timer
>>>>>>>> wmi 19257 0
>>>>>>>> soundcore 15092 1 snd
>>>>>>>> videobuf_dvb 14148 2 cx88_dvb,cx23885
>>>>>>>> snd_page_alloc 18573 2 snd_hda_intel,snd_pcm
>>>>>>>> videobuf_core 26391 6
>>>>>>>> cx8802,cx8800,cx88xx,cx23885,videobuf_dma_sg,videobuf_dvb
>>>>>>>> v4l2_common 16455 8
>>>>>>>> wm8775,tuner,cx8800,cx88xx,cx25840,cx23885,ivtv,cx2341x
>>>>>>>> videodev 125126 9
>>>>>>>> wm8775,tuner,cx8800,cx88xx,cx25840,cx23885,ivtv,cx2341x,v4l2_common
>>>>>>>> altera_ci 19633 1 cx23885
>>>>>>>> dvb_core 111129 4 cx88_dvb,cx23885,videobuf_dvb,altera_ci
>>>>>>>> btcx_risc 13641 5 cx88_alsa,cx8802,cx8800,cx88xx,cx23885
>>>>>>>> tveeprom 21250 3 cx88xx,cx23885,ivtv
>>>>>>>> mac_hid 13254 0
>>>>>>>> lp 17800 0
>>>>>>>> parport 46563 3 ppdev,parport_pc,lp
>>>>>>>> hid_generic 12541 0
>>>>>>>> usbhid 47259 0
>>>>>>>> hid 105241 2 hid_generic,usbhid
>>>>>>>> r8169 62741 0
>>>>>>>> pata_atiixp 13205 0
>>>>>>>> ahci 25869 3
>>>>>>>> libahci 31434 1 ahci
>>>>>>>> daryl at daryl-A780L3C:~$
>>>>>
>>>>>>> Hoi Hika, here it is without the new card:
>>>>>
>>>>>>> daryl at daryl-A780L3C:~$ lsmod
>>>>>>> Module Size Used by
>>>>>>> lirc_serial 19279 0
>>>>>>> lirc_dev 19205 1 lirc_serial
>>>>>>> rfcomm 47562 0
>>>>>>> bnep 18240 2
>>>>>>> bluetooth 212001 10 rfcomm,bnep
>>>>>>> mt2131 13342 1
>>>>>>> binfmt_misc 17541 1
>>>>>>> s5h1409 18843 1
>>>>>>> snd_hda_codec_hdmi 32532 1
>>>>>>> tuner_simple 22606 1
>>>>>>> tuner_types 24319 1 tuner_simple
>>>>>>> snd_soc_wm8776 18577 0
>>>>>>> snd_soc_core 171588 1 snd_soc_wm8776
>>>>>>> wm8775 13111 1
>>>>>>> tda9887 14155 1
>>>>>>> snd_hda_codec_via 47558 1
>>>>>>> tda8290 22617 0
>>>>>>> kvm_amd 56136 0
>>>>>>> kvm 422160 1 kvm_amd
>>>>>>> ppdev 17114 0
>>>>>>> tuner 27474 2
>>>>>>> cx23885 166510 2
>>>>>>> rc_core 26423 1 cx23885
>>>>>>> videobuf_dma_sg 19355 1 cx23885
>>>>>>> altera_stapl 34932 1 cx23885
>>>>>>> tda18271 42288 1 cx23885
>>>>>>> cx25840 103099 2
>>>>>>> microcode 23030 0
>>>>>>> snd_hda_intel 34063 5
>>>>>>> snd_hda_codec 135141 3
>>>>>>> snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel
>>>>>>> snd_hwdep 17765 1 snd_hda_codec
>>>>>>> snd_pcm 97523 6
>>>>>>> snd_hda_codec_hdmi,snd_soc_wm8776,snd_soc_core,cx23885,snd_hda_intel,snd_hda_codec
>>>>>>> snd_seq_midi 13325 0
>>>>>>> snd_rawmidi 30750 1 snd_seq_midi
>>>>>>> snd_seq_midi_event 14900 1 snd_seq_midi
>>>>>>> psmouse 102541 0
>>>>>>> snd_seq 61931 2 snd_seq_midi,snd_seq_midi_event
>>>>>>> edac_core 53053 0
>>>>>>> edac_mce_amd 23548 0
>>>>>>> serio_raw 13216 0
>>>>>>> k10temp 13174 0
>>>>>>> ivtv 164367 0
>>>>>>> cx2341x 28332 2 cx23885,ivtv
>>>>>>> i2c_algo_bit 13565 1 ivtv
>>>>>>> parport_pc 32867 1
>>>>>>> snd_timer 29990 2 snd_pcm,snd_seq
>>>>>>> snd_seq_device 14498 3 snd_seq_midi,snd_rawmidi,snd_seq
>>>>>>> joydev 17694 0
>>>>>>> nvidia 11335130 50
>>>>>>> mac_hid 13254 0
>>>>>>> snd 83674 24
>>>>>>> snd_hda_codec_hdmi,snd_soc_core,snd_hda_codec_via,cx23885,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
>>>>>>> wmi 19257 0
>>>>>>> snd_page_alloc 18573 2 snd_hda_intel,snd_pcm
>>>>>>> soundcore 15092 1 snd
>>>>>>> videobuf_dvb 14148 1 cx23885
>>>>>>> videobuf_core 26391 3 cx23885,videobuf_dma_sg,videobuf_dvb
>>>>>>> sp5100_tco 13792 0
>>>>>>> v4l2_common 16455 6
>>>>>>> wm8775,tuner,cx23885,cx25840,ivtv,cx2341x
>>>>>>> i2c_piix4 13302 0
>>>>>>> videodev 125126 7
>>>>>>> wm8775,tuner,cx23885,cx25840,ivtv,cx2341x,v4l2_common
>>>>>>> altera_ci 19633 1 cx23885
>>>>>>> dvb_core 111129 3 cx23885,videobuf_dvb,altera_ci
>>>>>>> btcx_risc 13641 1 cx23885
>>>>>>> tveeprom 21250 2 cx23885,ivtv
>>>>>>> lp 17800 0
>>>>>>> parport 46563 3 ppdev,parport_pc,lp
>>>>>>> hid_generic 12541 0
>>>>>>> usbhid 47259 0
>>>>>>> hid 105241 2 hid_generic,usbhid
>>>>>>> pata_atiixp 13205 0
>>>>>>> r8169 62741 0
>>>>>>> ahci 25869 3
>>>>>>> libahci 31434 1 ahci
>>>>>>> daryl at daryl-A780L3C:~$
>>>>>>> _______________________________________________
>>>>>>> mythtv-users mailing list
>>>>>>> mythtv-users at mythtv.org
>>>>>>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>>>>>> http://wiki.mythtv.org/Mailing_List_etiquette
>>>>>>> MythTV Forums: https://forum.mythtv.org
>>>>>
>>>>>
>>>>>> I checked out the differences and what they are. It still doesn't make
>>>>>> sence, for as far as I can see they are all from in kernel and not
>>>>>> from lirc, so it should only create a /dev/input/event* device and not
>>>>>> a /dev/lirc*. The main ir-code for your card is in the main driver and
>>>>>> it is possible it interacts with lirc_dev to create the /dev/lirc*
>>>>>> device.
>>>>>> By the way, you call it an analog card but the Pinnacle PCTV HD 800i
>>>>>> actually has duall functionality. Buth analog and DVB. The PCI ID
>>>>>> should be: 11bd:0051. The card ID in the driver should be 58.
>>>>>> It probably creates in /dev both video*, vbi* and radio* for analog
>>>>>> and the dvb devices in /dev/dvb.
>>>>>
>>>>>> The modules loaded for the card are:
>>>>>> cx8800 The two main modules, which include IR support
>>>>>> cx88xx
>>>>>> cx8802 The specific sub module
>>>>>> cx88_dvb Two modules for DVB
>>>>>> cx88_vp3054_i2c
>>>>>> cx88_alsa The alsa module, which creates also a dsp
>>>>>> device
>>>>>> xc5000 The firmware (kind of bios)
>>>>>
>>>>>> For Lirc it loads extra, so they could be blacklisted:
>>>>>> ir_lirc_codec The main codec handler
>>>>>> ir_mce_kbd_decoder The different codecs
>>>>>> ir_sanyo_decoder
>>>>>> ir_sony_decoder
>>>>>> ir_jvc_decoder
>>>>>> ir_rc6_decoder
>>>>>> ir_rc5_decoder
>>>>>> ir_nec_decoder
>>>>>> rc_pinnacle_pctv_hd The configuration for the remote that comes
>>>>>> with the card.
>>>>>> Blacklisting ir_lirc_codecs prevents all codec from loading.
>>>>>> rc_pinnacle_pctv_hd should be blacklisted separately.
>>>>>> You can try removing them by hand to check the effect:
>>>>>> modprobe -r rc_pinnacle_pctv_hd
>>>>>> modprobe -r ir_lirc_codec
>>>>>
>>>>>> if you add a file /etc/modprobe.d/blacklist.conf containing:
>>>>>
>>>>>> blacklist rc_pinnacle_pctv_hd
>>>>>> blacklist ir_lirc_codec
>>>>>
>>>>>> Don't forget the .conf suffix else it will be ignored
>>>>>
>>>>>> Tot mails,
>>>>>> Hika mailto:hikavdh at gmail.com
>>>>>
>>>>>> "Zonder hoop kun je niet leven
>>>>>> Zonder leven is er geen hoop
>>>>>> Het eeuwige dilemma
>>>>>> Zeker als je hoop moet vernietigen om te kunnen overleven!"
>>>>>
>>>>>> De lerende Mens
>>>>>> --
>>>>>
>>>>> Oh by the way, what kernel and lirc version are you running
>>>>> cat /proc/version
>>>>> lircd -v
>>>>>
>>>>> Tot mails,
>>>>> Hika mailto:hikavdh at gmail.com
>>>>>
>>>>> "Zonder hoop kun je niet leven
>>>>> Zonder leven is er geen hoop
>>>>> Het eeuwige dilemma
>>>>> Zeker als je hoop moet vernietigen om te kunnen overleven!"
>>>>>
>>>>> De lerende Mens
>>>>> --
>>>>>
>>>>> _______________________________________________
>>>>> mythtv-users mailing list
>>>>> mythtv-users at mythtv.org
>>>>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>>>> http://wiki.mythtv.org/Mailing_List_etiquette
>>>>> MythTV Forums: https://forum.mythtv.org
>>>
>>>
>>>> daryl at daryl-A780L3C:~$ lircd -v
>>>> lircd 0.9.0
>>>> daryl at daryl-A780L3C:~$ cat /proc/version
>>>> Linux version 3.5.0-45-generic (buildd at toyol) (gcc version 4.6.3
>>>> (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #68~precise1-Ubuntu SMP Wed Dec 4
>>>> 16:18:46 UTC 2013
>>>> daryl at daryl-A780L3C:~$
>>>> _______________________________________________
>>>> mythtv-users mailing list
>>>> mythtv-users at mythtv.org
>>>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>>> http://wiki.mythtv.org/Mailing_List_etiquette
>>>> MythTV Forums: https://forum.mythtv.org
>>>
>>>
>>> Lirc is up to date but your kernel is quite old, which could be the
>>> cause. I'm running 3.10.* kernels. So you could consider updating to
>>> the latest kernel available on mythbuntu, which is, I know, more of a
>>> hassle than for me on gentoo.
>>>
>>> Tot mails,
>>> Hika mailto:hikavdh at gmail.com
>>>
>>> "Zonder hoop kun je niet leven
>>> Zonder leven is er geen hoop
>>> Het eeuwige dilemma
>>> Zeker als je hoop moet vernietigen om te kunnen overleven!"
>>>
>>> De lerende Mens
>>> --
>>>
>>> _______________________________________________
>>> mythtv-users mailing list
>>> mythtv-users at mythtv.org
>>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>> http://wiki.mythtv.org/Mailing_List_etiquette
>>> MythTV Forums: https://forum.mythtv.org
>>
>> Hoi Hika, first let me bring you up to date. Before re-installing the
>> PCTV800i I ran "/usr/local/bin/check_stb" and the DCT700 did turn on.
>> somewhere along the line I "chmod 666" that file, thinking that would
>> help, and after putting this on the back burner, it came to me in the
>> middle of the night that this was a large stumbling block. It is now
>> back to 755.
>> Today, in increments, I have been testing your suggestions, to the
>> point that I now have the modules blacklisted:
>> #Modules from PCTV tuner that interfere with stb control
>> blacklist rc_pinnacle_pctv_hd
>> ir_lirc_codec
>>
>> And I have the hardware file in this state:
>> #Chosen IR Transmitter
>> TRANSMITTER="Serial Port (UART) : Motorola Cable box"
>> TRANSMITTER_MODULES="lirc_dev lirc_serial"
>> TRANSMITTER_DRIVER=""
>> TRANSMITTER_DEVICE="/dev/lirc1"
>> TRANSMITTER_SOCKET="/var/run/lirc/lircdSerial"
>> TRANSMITTER_LIRCD_CONF="motorola/dctxxxx.conf"
>> TRANSMITTER_LIRCD_ARGS=""
>>
>> I guess the only other thing I can try at this point is to put the
>> symlink back into effect, change the TRANSMITTER DEVICE and see what
>> happens then, because here is the output I get now:
>> daryl at daryl-A780L3C:~$ /usr/local/bin/check_stb
>> irsend: could not connect to socket
>> irsend: No such file or directory
>> daryl at daryl-A780L3C:~$
>
> Still no joy:
> daryl at daryl-A780L3C:~$ /usr/local/bin/check_stb
> irsend: could not connect to socket
> irsend: No such file or directory
> daryl at daryl-A780L3C:~$
>
> An just to be totally transparent, my OS is Ubuntu12.04 lts, I
> installed Mythtv from Software Center and have MCC in the launcher,
> also from Software Center, so I would call this Mythtv, not mythbuntu,
> with MCC on the fringes.
> The full fledged desktop might make the kernel update not so hard?
> I'm guessing "sudo apt-get kernel-update" or "upgrade"?
> Further the analog card I meant to refer to is a HP pvr150 (PCI) and
> it is this card that gets its signal from the stb. I also use a HP
> 1850 (PCIe) for OTA recording, and the PCTV800i (PCI) now for QAM from
> my cable provider, via coax, without the stb.
> given this latest refusal, and the current state of my system, do you
> think the kernel update will help without jeopardizing the
> functionality of the system? Daryl
daryl at daryl-A780L3C:~$ /usr/local/bin/check_stb --help
irsend: could not connect to socket
irsend: No such file or directory
daryl at daryl-A780L3C:~$
TRANSMITTER_SOCKET="/var/run/lirc/lircdSerial"
doesn't the above indicate which socket? Daryl
More information about the mythtv-users
mailing list