LinHES Forums
http://forum.linhes.org/

lirc_zilog problem after rebuild - Resolved
http://forum.linhes.org/viewtopic.php?f=23&t=25081
Page 1 of 1

Author:  tscholl [ Wed Sep 18, 2019 9:27 pm ]
Post subject:  lirc_zilog problem after rebuild - Resolved

I just rebuilt and restored data to a new drive and have everything working except the blaster in my hdpvr.

When I use to load lirc_zilog I use to get the following in dmesg log
Code:
[   40.234796] lirc_zilog: module is from the staging directory, the quality is unknown, you have been warned.
[   40.235044] lirc_zilog: Zilog/Hauppauge IR driver initializing
[   40.238614] lirc_zilog: probing IR Rx on Hauppage HD PVR I2C (i2c-2)
[   40.238650] lirc_zilog: probe of IR Rx on Hauppage HD PVR I2C (i2c-2) done. Waiting on IR Tx.
[   40.238652] lirc_zilog: probe of IR Rx on Hauppage HD PVR I2C (i2c-2) done
[   40.238660] lirc_zilog: probing IR Tx on Hauppage HD PVR I2C (i2c-2)
[   40.299744] i2c i2c-2: lirc_dev: driver lirc_zilog registered at minor = 1
[   40.299748] lirc_zilog: IR unit on Hauppage HD PVR I2C (i2c-2) registered as lirc1 and ready
[   40.299751] lirc_zilog: probe of IR Tx on Hauppage HD PVR I2C (i2c-2) done
[   40.299777] lirc_zilog: initialization complete


Now the only thing dmesg reports is
Code:
[    6.609369] lirc_zilog: module is from the staging directory, the quality is unknown, you have been warned.
[    6.610135] lirc_zilog: module is from the staging directory, the quality is unknown, you have been warned.
[    6.628313] i2c i2c-5: lirc_dev: driver lirc_zilog registered at minor = 0

I need to know what the IR unit on Hauppage HD PVR I2C (i2c-2) registered as lircx

What am I missing?

Author:  tscholl [ Fri Sep 20, 2019 12:19 pm ]
Post subject:  Re: lirc_zilog problem after rebuild

Ok after another good nights sleep I dug a little deeper into the the dmesg log.
Seems that just using dmesg | grep lirc_zilog I wasn't giving me all the message. Finally looked at the used dmesg | more and found what I was missing.
Code:
[    6.598330] hdpvr 6-2:1.0: device now attached to video0
[    6.598378] usbcore: registered new interface driver hdpvr
[    6.673252] lirc_dev: IR Remote Control driver registered, major 245
[    6.714513] lirc_zilog: module is from the staging directory, the quality is
unknown, you have been warned.
[    6.715226] Zilog/Hauppauge IR driver initializing
[    6.718566] lirc_zilog: module is from the staging directory, the quality is
unknown, you have been warned.
[    6.720876] probing IR Rx on Hauppage HD PVR I2C (i2c-5)
[    6.721058] probe of IR Rx on Hauppage HD PVR I2C (i2c-5) done. Waiting on IR
 Tx.
[    6.721069] i2c i2c-5: probe of IR Rx on Hauppage HD PVR I2C (i2c-5) done
[    6.721122] probing IR Tx on Hauppage HD PVR I2C (i2c-5)
[    6.797642] i2c i2c-5: lirc_dev: driver lirc_zilog registered at minor = 0
[    6.797649] i2c i2c-5: IR unit on Hauppage HD PVR I2C (i2c-5) registered as l
irc0 and ready
[    6.797655] i2c i2c-5: probe of IR Tx on Hauppage HD PVR I2C (i2c-5) done
[    6.797710] initialization complete

Still not quite sure what fixed it but the last thing I did was to create a
/etc/lirc/hardware.conf file
Code:
    #Chosen IR transmitter
    TRANSMITTER="HD-PVR"
    TRANSMITTER_MODULES="lirc_dev lirc_zilog"
    TRANSMITTER_DRIVER=""
    TRANSMITTER_DEVICE="/dev/lirc0"
    TRANSMITTER_SOCKET=""
    TRANSMITTER_LIRCD_CONF=""
    TRANSMITTER_LIRCD_ARGS=""

After that I restarted lirc and things worked. I did a few other things as well will try to figure out exactly what fixed it when I have some more time.

Author:  mattbatt [ Fri Sep 20, 2019 11:17 pm ]
Post subject:  Re: lirc_zilog problem after rebuild - Resolved

Glad to hear you got it magically fixed. Sometimes I'd rather be lucky than good.

Author:  tscholl [ Sun Sep 22, 2019 10:10 pm ]
Post subject:  Re: lirc_zilog problem after rebuild - Resolved

Lucky does help that's for sure. :D

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/