[mythtv-users] HDPVR and lirc_zilog drive me crazy

Hans Weber linuxluemmel.ch at gmail.com
Tue Aug 3 18:56:50 UTC 2010


Hello Members ;-)

This is my first posting  and as my  first action  I would like to apalogize
for my bad english.
After a few hours of searching I have a almost running lirc system.

The remote part of the drivers lirc_zilog works fine.

I did a svn.checkout of v4l on sunday and patched the hdpvr driver
sucessfull.
I did a donwload for the  lirc_zilog driver from a redhat-site.

I can build on my custom kernel 2.6.33.6 sucessfull hdpvr / lirc_dev /
lirc_zilog

The remote is working properly (controlled by command irw)

---------------------------------------------------------------------------------------------------
user at luxeria001:~$ irw
0000000000001796 00 Left hdpvr
0000000000001796 01 Left hdpvr
0000000000001796 00 Left hdpvr
0000000000001796 00 Left hdpvr
00000000000017a0 00 Ch+ hdpvr
00000000000017a1 00 Ch- hdpvr
00000000000017a1 01 Ch- hdpvr
0000000000001781 00 1 hdpvr
0000000000001781 00 1 hdpvr
00000000000017b5 00 Play hdpvr
00000000000017b4 00 Forward hdpvr
00000000000017b4 01 Forward hdpvr
00000000000017b2 00 Rewind
hdpvr_________________________________________________________


If I do load lirc_dev prio to lirc_zilog I have a oops.

If I load lirc_zilog direct wihtout prior loading lirc_dev  it loads perfect
....

Adding 995988k swap on /dev/sda5.  Priority:-1 extents:1 across:995988k
lirc_dev: IR Remote Control driver registered, major 61
lirc_zilog: Zilog/Hauppauge IR driver initializing
lirc_zilog: chip found with RX and TX
lirc_dev: lirc_register_driver: sample_rate: 0
Zilog/Hauppauge i2c IR 2-0071: firmware: requesting haup-ir-blaster.bin
lirc_zilog: Zilog/Hauppauge IR blaster firmware version 2.1.0 loaded
lirc_zilog: initialization complete


I use a custom kernel 2.6.33.6 and on this link is the configuration file
http://pastebin.ch/5899

My devices comes here :

user at luxeria001:~$ ls -al /dev/lirc*
crw-rw---- 1 root root 61, 0 2010-08-03 19:37 /dev/lirc0
lrwxrwxrwx 1 root root    19 2010-08-03 19:38 /dev/lircd ->
/var/run/lirc/lircd
user at luxeria001:~$


My configuration file comes here :

# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="hdpvr"
REMOTE_MODULES=""
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="blaster"
TRANSMITTER_MODULES="lirc_zilog"
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET="/var/run/lirc/lircd1"
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"

#Try to load appropriate kernel modules
LOAD_MODULES=""

# Default configuration files for your hardware if any
LIRCMD_CONF=""

#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""
user at luxeria001:/etc/lirc$

Every Time I try to send a simple command I get this ....

user at luxeria001:~$ irsend -d /dev/lircd SEND_ONCE blaster 1_1_KEY_6
irsend: command failed: SEND_ONCE blaster 1_1_KEY_6
irsend: hardware does not support sending
user at luxeria001:~$

Has someone  a sugestion ? or a stupid hint ?

IMHO the HDPVR is a  great Hardware for Transcoding to h264 but the ir part
for linux looks a bit
like a nightmare to me.
With the best regards from switzerland
Hans
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100803/2b88952d/attachment.htm>


More information about the mythtv-users mailing list