JTK – Notes and Ramblings Things we have found …

2/16/2010

hdhome run ir remote

Filed under: General,MythTV — taing @ 6:52 pm

You will need several files:

/etc/lirc/hardware.conf – defines the hardware and points to the ir def file
/etc/lirc/lircd.conf – the default location for the ir def file. Associates the IR from each button with an action code

~/.lircrc – often and include file for the application specific files
~/.lirc/mythtv – the mythtv specific file. Associates the action code with an application and response

~/.mythtv/lircrc – typically a link to ~/.lirc/mythtv

You will also need to set the hdhomerun device to talk to the proper frontend. The details can be found at http://www.silicondust.com/hdhomerun/instructions/mythtv.

hdhomerun_config <device id> set /ir/target "<lircd ip addr>:<port> store"

You can find the hdhomerun_config tar at http://www.silicondust.com/downloads.

You can use irrecord to create your lircd.conf file.
irrecord -H udp -d 5000 "name of remote"

This command must be run with lirc NOT running. You can then copy the created file to /etc/lirc/lircd.conf.

2/14/2010

MythMusic on separate frontend

Filed under: General,MythTV — taing @ 11:26 pm

The mp3 files are stored on the Master Backend at /var/lib/mythtv/music.

This mp3 files is shared by samba at //backend//music/

On the Frontend machine /var/lib/mythtv/music is a mount point for the samba share(requires smbfs be installed).

The Fstab entry looks like:
//backend/music /var/lib/mythtv/music cifs auto,uid=taine,gid=mythtv,credentials=/root/.cifscredentials,file_mode=0775,dir_mode=0775 0 0
This will mount the smb share at boot. The credentials are stored in a file that is readable only by root ofr somewhat better security.

The file /root/cifscredentials looks like:
user=theuser
password=thepassword

Our other issue was to be sure to set the output device under Music Tools Setup to
ALSA:plughw:0,3
We are using the Acer Revo 3610 with HDMI ouput to a Vizio LCD TV.

2/6/2010

Vizio VX37L / Revo / Mythbuntu 9.10

Filed under: General,MythTV — taing @ 5:37 pm

The trick is in the /etc/X11/xorg.conf file, particularly the modeline :

Section "Screen"
        Identifier      "Default Screen"
        Device          "nvidia ION"
        Monitor         "Vizio VX37L"
        Defaultdepth    24
        SubSection "Display"
                Depth   24
                Modes   "1360x768C"  "1024x768@60"   "800x600@60"
        EndSubSection
EndSection

Section "Device"
        Identifier      "nvidia ION"
        Driver  "nvidia"
        Option  "UseEvents"     "1"
        Option  "DPI"   "100x100"
        Option  "NoLogo"        "1"
EndSection

Section "Monitor"
        Identifier      "Vizio VX37L"
        Vendorname      "Vizio"
        Modelname       "Vizio 37L"
        Horizsync       31.5-70
        Vertrefresh     50.0-85.0
        Option          "DPMS"
        Option          "ModeValidation" "NoWidthAlignmentCheck, NoDFPNativeResolutionCheck"
        Option          "ExactModeTimingsDVI" "TRUE"
        modeline  "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
        modeline  "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
        modeline  "1360x768C" 85.50 1366 1494 1624 1798 768 770 776 795 -hsync +vsync
        Gamma   1.0
EndSection

The modeline for 1360×768 will also work for the SV421XVT. However the auto detected 1920×1200 work very well.

A nice trick is to ssh -Y user@host
xrandr -q --screen :0

This will show the screen info for screen:0 on the remote host.

HVR-1950 with Mythbuntu 9.10

Filed under: General,MythTV — taing @ 5:22 pm

The first thing one needs to do is be sure the firmware is loaded.

The firmware can be extracted from the Drivers folder on the CD shipped with the HVR-1950 using the script found at http://www.isely.net/downloads/fwextract.pl. The firmware gets placed in the /lib/firmware directory. There are four files v4l-cx2341x-enc.fw
v4l-pvrusb2-29xxx-01.fw
v4l-cx25840.fw
v4l-pvrusb2-73xxx-01.fw

More info can be found at http://www.isely.net/pvrusb2/pvrusb2.html

Revo HDMI Audio Mythbuntu 9.10

Filed under: General,MythTV — taing @ 4:56 pm

First we needed to add the user to the audio group:

sudo usermod -a -G audio user

Then you will need alsamixer to be sure all three IEC958 outputs are unmuted.

Then you will need to be sure Myth is set for hdmi in the settings.

We also found http://xbmc.org/forum/showthread.php?t=59877 for further info on multi-channel hdmi sound from the Nvidia ION.

We found the output from aplay -l
aplay -L
to be useful.

Upgrade for ALSA under Ubuntu 9.10 can be found at http://monespaceperso.org/blog-en/2009/12/17/upgrade-alsa-1-0-22-on-ubuntu-karmic-koala-9-10/.

Powered by WordPress