|
From: Don D. <dou...@lo...> - 2012-03-11 19:19:55
|
I've been trying to integrate the following components: Dish Network 211k receiver Hauppage HD PVR Mythbuntu, kernel 3.0.0-12-generic Antec Fusion Remote case VDPAU-capable video card The HD PVR has been the problem child. I'm able to get it to capture silent video using "cat /dev/video0 > test.ts" and view it with "vlc test.ts" after some reading and fiddling.* Now I'm working on getting it to change channels using the IR blaster. After quite a bit more fiddling, irsend is able to send codes---somewhere---without an error message. There are two apparent problems. The send_power_new script runs to completion without ever turning off the receiver. And there's no visible flash from the LED on the blaster, contrary to how I've heard it behaves. My camera can't see an infrared flash either. Perhaps I'm sending to the wrong device? My hardware.conf: # /etc/lirc/hardware.conf # #Chosen Remote Control #REMOTE="Soundgraph iMON IR/LCD" #REMOTE_MODULES="lirc_dev lirc_imon" #REMOTE_DRIVER="" #REMOTE_DEVICE="/dev/lirc" #REMOTE_SOCKET="" #REMOTE_LIRCD_CONF="imon/lircd.conf.imon" #REMOTE_LIRCD_ARGS="" #Chosen IR Transmitter TRANSMITTER="HD-PVR" TRANSMITTER_MODULES="lirc_dev lirc_zilog" TRANSMITTER_DRIVER="" TRANSMITTER_DEVICE="/dev/lirc0" TRANSMITTER_SOCKET="/var/run/lirc/lircd" 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="true" # 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="" My lircd.conf is taken from here: http://www.blushingpenguin.com/mark/lmilk/lircd.conf Relevant-looking stuff from dmesg: ... [ 10.550528] hdpvr 3-3:1.0: firmware version 0x15 dated Jun 17 2010 09:26:53 [ 10.556206] lirc_dev: IR Remote Control driver registered, major 250 [ 10.556414] IR LIRC bridge handler initialized [ 10.576075] Registered IR keymap rc-imon-pad [ 10.576276] input: iMON Remote (15c2:0038) as /devices/pci0000:00/0000:00:13.0/usb5/5-4/5-4:1.0/rc/rc0/input5 [ 10.576384] rc0: iMON Remote (15c2:0038) as /devices/pci0000:00/0000:00:13.0/usb5/5-4/5-4:1.0/rc/rc0 [ 10.584140] imon 5-4:1.0: iMON device (15c2:0038, intf0) on usb<5:2> initialized [ 10.584163] imon 5-4:1.1: iMON device (15c2:0038, intf1) on usb<5:2> initialized [ 10.584175] usbcore: registered new interface driver imon [ 10.603604] r8169 0000:01:00.0: eth0: link down [ 10.603618] r8169 0000:01:00.0: eth0: link down [ 10.603983] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 10.626140] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro [ 10.741264] hdpvr 3-3:1.0: device now attached to video0 [ 10.741281] usbcore: registered new interface driver hdpvr ... [ 12.951745] lirc_zilog: module is from the staging directory, the quality is unknown, you have been warned. [ 12.951955] init: tty6 main process (1178) terminated with status 2 [ 12.951992] init: tty6 main process ended, respawning [ 12.952119] lirc_zilog: Zilog/Hauppauge IR driver initializing [ 12.954171] lirc_zilog: probing IR Tx on Hauppage HD PVR I2C (i2c-1) [ 12.956180] init: tty6 main process (1194) terminated with status 2 [ 12.956216] init: tty6 main process ended, respawning [ 12.957381] i2c i2c-1: lirc_dev: driver lirc_zilog registered at minor = 0 [ 12.957385] lirc_zilog: IR unit on Hauppage HD PVR I2C (i2c-1) registered as lirc0 and ready [ 12.957388] lirc_zilog: probe of IR Tx on Hauppage HD PVR I2C (i2c-1) done [ 12.957412] lirc_zilog: initialization complete * I had to turn off autostarting of the MythTV frontend during testing. Once MythTV has been at the HD PVR, you can't get "cat /dev/video0" to work. Hope that saves someone some pain. Links: http://www.blushingpenguin.com/mark/lmilk/send_power_new http://www.blushingpenguin.com/mark/lmilk/IRcodesets.html |