[mythtv-users] HD-PVR modprobe tx_only=1 no longer recognized

dennismccloud at earthlink.net dennismccloud at earthlink.net
Sat Feb 22 16:18:49 UTC 2014


I'm having trouble getting lirc_zilog to recognize the tx_only=1 option. I previously had this working and now for some reason IR Rx is turned back on which is breaking my HD-PVR recording. With IR Rx turned on I'm getting the problem with recordings failing. If I turn off IR completely, recordings work.

I'm working on an upgrade to version 0.27 and purchased a Hauppauge HD-PVR to allow HD recording off STB. After much work, I finally got it to work.

After encountering problems with DVD burning and transcoding of the H264 recordings, I gave up on the HD-PVR and installed a HVR-1600 controller. I've got some time and am trying again to get the HD-PVR to work but for some reason I can no longer get modprobe to read the .conf file with the tx_only=1 option. Its been a month or so since the HD-PVR worked and I've updated the different software components but for some reason I can't figure out how to get the lirc_zilog option be recognized. Here is the configuration:

# uname -r
3.12.11-201.fc19.x86_64

# cat /etc/modules-load.d/lirc.conf
lirc_dev
lirc_zilog

# cat /etc/modprobe.d/lirc_zilog.conf
options lirc_zilog tx_only=1

I've tried removing the /etc/moduless-load.d/lirc.conf file to try the modprobe manually but the lirc_dev and lirc_zilog are still getting loaded by something.

Previously IR Rx was disabled with the above but now I can receive (irw) and transmit (irsend) successfully.

Here is what troubleshooting shows:

$ irw
00000000000017b5 00 play Hauppauge
00000000000017b5 01 play Hauppauge
00000000000017b5 02 play Hauppauge

# modinfo lirc_zilog
filename:       /lib/modules/3.12.11-201.fc19.x86_64/kernel/drivers/staging/media/lirc/lirc_zilog.ko
alias:          lirc_pvr150
license:        GPL
author:         Gerd Knorr, Michal Kochanowicz, Christoph Bartelmus, Ulrich Mueller, Stefan Jahn, Jerome Brock, Mark Weaver, Andy Walls
description:    Zilog/Hauppauge infrared transmitter driver (i2c stack)
depends:        i2c-core,lirc_dev
staging:        Y
intree:         Y
vermagic:       3.12.11-201.fc19.x86_64 SMP mod_unload
signer:         Fedora kernel signing key
sig_key:        FC:A0:01:2C:8A:A6:A3:A0:0F:CC:4E:16:E4:8C:17:FD:D9:C6:31:21
sig_hashalgo:   sha256
parm:           minor:Preferred minor device number (int)
parm:           debug:Enable debugging messages (bool)
parm:           tx_only:Only handle the IR transmit function (bool)

# lsmod | grep lirc
lirc_zilog             22473  0
i2c_core               38476  8 drm,i915,i2c_i801,hdpvr,lirc_zilog,drm_kms_helper,i2c_algo_bit,videodev
lirc_dev               19504  1 lirc_zilog
rc_core                26896  1 lirc_dev

# modprobe -c | grep zilog
options lirc_zilog tx_only=1
alias lirc_pvr150 lirc_zilog

Here is what appears in the system startup log:

# journalctl -b
.
.
.
Feb 22 07:22:17 divo kernel: lirc_dev: IR Remote Control driver registered, major 249
Feb 22 07:22:17 divo kernel: lirc_zilog: module is from the staging directory, the quality is unknown, you have been warned.
Feb 22 07:22:17 divo kernel: lirc_zilog: Zilog/Hauppauge IR driver initializing
Feb 22 07:22:17 divo kernel: lirc_zilog: initialization complete
Feb 22 07:22:17 divo systemd-journal[96]: Journal started
Feb 22 07:22:17 divo systemd-modules-load[99]: Inserted module 'lirc_dev'
Feb 22 07:22:17 divo systemd-modules-load[99]: Inserted module 'lirc_zilog'
.
.
.
Feb 22 07:22:18 divo kernel: usb 3-1: new high-speed USB device number 2 using xhci_hcd
Feb 22 07:22:18 divo kernel: usb 3-1: New USB device found, idVendor=2040, idProduct=4902
Feb 22 07:22:18 divo kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Feb 22 07:22:18 divo kernel: usb 3-1: Product: Hauppauge HD PVR
Feb 22 07:22:18 divo kernel: usb 3-1: Manufacturer: AMBA
Feb 22 07:22:18 divo kernel: usb 3-1: SerialNumber: 00A4389C
.
.
.
Feb 22 07:22:22 divo kernel: lirc_zilog: probing IR Rx on Hauppage HD PVR I2C (i2c-8)
Feb 22 07:22:22 divo kernel: lirc_zilog: probe of IR Rx on Hauppage HD PVR I2C (i2c-8) done. Waiting on IR Tx.
Feb 22 07:22:22 divo kernel: lirc_zilog: probe of IR Rx on Hauppage HD PVR I2C (i2c-8) done
Feb 22 07:22:22 divo kernel: lirc_zilog: probing IR Tx on Hauppage HD PVR I2C (i2c-8)
Feb 22 07:22:22 divo kernel: i2c i2c-8: lirc_dev: driver lirc_zilog registered at minor = 0
Feb 22 07:22:22 divo kernel: lirc_zilog: IR unit on Hauppage HD PVR I2C (i2c-8) registered as lirc0 and ready
Feb 22 07:22:22 divo kernel: lirc_zilog: probe of IR Tx on Hauppage HD PVR I2C (i2c-8) done
Feb 22 07:22:22 divo kernel: hdpvr 3-1:1.0: device now attached to video0
Feb 22 07:22:22 divo kernel: usbcore: registered new interface driver hdpvr

Previously the IR Rx messages did not appear

$ grep zilog Dmesg_Bootup_After_Disabling_IR_Receive.txt
lirc_zilog: module is from the staging directory, the quality is unknown, you have been warned.
lirc_zilog: Zilog/Hauppauge IR driver initializing
lirc_zilog: initialization complete
lirc_zilog: probing IR Tx on Hauppage HD PVR I2C (i2c-8)
i2c i2c-8: lirc_dev: driver lirc_zilog registered at minor = 0
lirc_zilog: IR unit on Hauppage HD PVR I2C (i2c-8) registered as lirc0 and ready
lirc_zilog: probe of IR Tx on Hauppage HD PVR I2C (i2c-8) done

Note that previously IR Rx did not appear

I've been able to rmmod the lirc_dev and lirc_zilog modules and the HD-PVR then works OK but without channel changing.

I've been working for days to try and get this resolved without success and would appreciate any help.



More information about the mythtv-users mailing list