Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

Three MythTV problems [SOLVED]

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
13 posts • Page 1 of 1
Author
Message
gcasillo
l33t
l33t
User avatar
Posts: 739
Joined: Tue Sep 23, 2003 9:21 pm
Location: Cincinnati, Ohio, USA

Three MythTV problems [SOLVED]

  • Quote

Post by gcasillo » Sun Dec 26, 2004 3:17 pm

I'm dangerously close to getting my MythTV HTPC fully functional. I even have a remote frontend (this PC) working well.

1) No sound. I know my soundcard (Audigy) is working because KDE chirps away whenever I start programs, minimize windows, start up, etc. However, as soon as I go into MythTV, I get no sound. I'm using /dev/sound/dsp and /dev/sound/mixer in MythTV. Permissions for those two are 660 root:audio. I can raise and lower volume in MythTV using the '[' and ']' keys--the OSD displays the rising and falling volume levels. MythTV was compiled with OSS support, a hint I got from another thread.

2) I cannot get my Radioshack 2116 remote control to work. LIRC is installed and lircd is running. I can run irw and then mash the keys on my remote and see the corresponding keypresses in irw, so I know the IR receiver and lirc are working. It's just that MythTV isn't getting it. I have a .lircrc symlink to .mythtv/lircrc-rs. Here's that file:

Code: Select all

# ~/.mythtv/lircrc
#
# MythTV native LIRC config file for
# the RadioShack 15-2116, VCR type 0081
# using Hauppauge IR receiver
#
# By Jarod Wilson, 2003/12/31
# Amalgamated from Harry O's
# .lircrc, the mythtv.org docs, and
# a few touches of my own. :)
#

# Channel Up
begin
prog = mythtv
button = CH+
repeat = 4
config = Up
end

# Channel Down
begin
prog = mythtv
button = CH-
repeat = 4
config = Down
end

# OK/Select
begin
prog = mythtv
button = SELECT
repeat = 4
config = Return
end

# Play
begin
prog = mythtv
button = PLAY
repeat = 4
config = Space
end

# Stop
begin
prog = mythtv
button = STOP
repeat = 4
config = Esc
end

# Escape/Exit/Back
begin
prog = mythtv
button = EXIT
repeat = 4
config = Esc
end

# Power Off/Exit
begin
prog = mythtv
button = POWER
repeat = 4
config = Esc
end

# Pause
begin
prog = mythtv
button = PAUSE
repeat = 4
config = P
end

# Mute
begin
prog = mythtv
button = MUTE
repeat = 4
config = F9
end

# Rewind (10 sec default)
begin
prog = mythtv
button = REW
repeat = 4
config = Left
end

begin
prog = mythtv
button = LEFT
repeat = 4
config = Left
end

# Fast forward (30 sec default)
begin
prog = mythtv
button = FFWD
repeat = 4
config = Right
end

begin
prog = mythtv
button = RIGHT
repeat = 4
config = Right
end

# Skip forward (10 min default)
begin
prog = mythtv
button = FREEZE
repeat = 4
config = PgDown
end

# Skip backward (10 min default)
begin
prog = mythtv
button = MOVE
repeat = 4
config = PgUp
end

# Record
begin
prog = mythtv
button = REC
repeat = 4
config = R
end

# OSD browse
begin
prog = mythtv
button = GUIDE
repeat = 4
config = O
end

# Display EPG while in live TV,
# View selected show while in EPG
begin
prog = mythtv
button = MENU
repeat = 4
config = M
end

# Bring up OSD info
begin
prog = mythtv
button = INFO
repeat = 4
config = I
end

# Change display aspect ratio
begin
prog = mythtv
button = +100
repeat = 4
config = W
end

# Seek to previous commercial cut point
begin
prog = mythtv
button = SLEEP
repeat = 4
config = Q
end

# Seek to next commercial cut point
begin
prog = mythtv
button = ENTER
repeat = 4
config = Z
end

# Change TV card input
begin
prog = mythtv
button = TV/VIDEO
repeat = 4
config = C
end

# Toggle Picture-In-Picture
begin
prog = mythtv
button = PIP
repeat = 4
config = V
end

# Swap PIP
begin
prog = mythtv
button = SWAP
repeat = 4
config = N
end

# Cycle through channel history
begin
prog = mythtv
button = LAST
repeat = 4
config = H
end

# Numbers 0-9

begin
prog = mythtv
button = 0
repeat = 4
config = 0
end

begin
prog = mythtv
button = 1
repeat = 4
config = 1
end

begin
prog = mythtv
button = 2
repeat = 4
config = 2
end

begin
prog = mythtv
button = 3
repeat = 4
config = 3
end

begin
prog = mythtv
button = 4
repeat = 4
config = 4
end

begin
prog = mythtv
button = 5
repeat = 4
config = 5
end

begin
prog = mythtv
button = 6
repeat = 4
config = 6
end

begin
prog = mythtv
button = 7
repeat = 4
config = 7
end

begin
prog = mythtv
button = 8
repeat = 4
config = 8
end

begin
prog = mythtv
button = 9
repeat = 4
config = 9
end

### MPlayer commands

begin
prog = mplayer
button = MENU
repeat = 4
config = osd
end

begin
prog = mplayer
button = PAUSE
repeat = 4
config = pause
end

begin
prog = mplayer
button = PLAY
repeat = 4
config = seek +1
end

begin
prog = mplayer
button = STOP
repeat = 4
config = quit
end

begin
prog = mplayer
button = MUTE
repeat = 4
config = mute
end

begin
prog = mplayer
button = REW
repeat = 4
config = seek -10
end

begin
prog = mplayer
button = LEFT
repeat = 4
config = seek -10
end

begin
prog = mplayer
button = FFWD
repeat = 4
config = seek +30
end

begin
prog = mplayer
button = RIGHT
repeat = 4
config = seek +30
end

begin
prog = mplayer
button = EXIT
repeat = 4
config = quit
end

begin
prog = mplayer
button = FREEZE
repeat = 4
config = seek +1200
end

begin
prog = mplayer
button = MOVE
repeat = 4
config = seek -1200
end

begin
prog = mplayer
button = +100
repeat = 4
config = vo_fullscreen
end

### Xine commands

begin
prog = xine
button = PLAY
repeat = 3
config = Play
end

begin
prog = xine
button = STOP
repeat = 3
config = Stop
end

begin
prog = xine
button = POWER
repeat = 3
config = Quit
end

begin
prog = xine
button = EXIT
repeat = 3
config = Quit
end

begin
prog = xine
button = PAUSE
repeat = 3
config = Pause
end

begin
prog = xine
button = CH+
repeat = 3
config = EventUp
end

begin
prog = xine
button = CH-
repeat = 3
config = EventDown
end

begin
prog = xine
button = LEFT
repeat = 3
config = EventLeft
end

begin
prog = xine
button = RIGHT
repeat = 3
config = EventRight
end

begin
prog = xine
button = SELECT
repeat = 3
config = EventSelect
end

begin
prog = xine
button = GUIDE
repeat = 3
config = Menu
end

begin
prog = xine
button = FFWD
repeat = 3
config = SpeedFaster
end

begin
prog = xine
button = REW
repeat = 3
config = SpeedSlower
end

begin
prog = xine
button = VOL+
repeat = 3
config = Volume+
end

begin
prog = xine
button = VOL-
repeat = 3
config = Volume-
end

begin
prog = xine
button = MUTE
repeat = 3
config = Mute
end

begin
prog = xine
button = MENU
repeat = 3
config = RootMenu
end

begin
prog = xine
button = SKIP
repeat = 3
config = EventNext
end

begin
prog = xine
button = REPLAY
repeat = 3
config = EventPrior
end

begin
prog = xine
button = INFO
repeat = 3
config = OSDStreamInfos
end
My /etc/lircd.conf for reference:

Code: Select all

# this config file was generated
# using lirc-0.7.0pre2(hauppauge) on Thu Jan  1 00:35:50 2004
#
# contributed by Jarod Wilson <jcw@wilsonet.com>
#------------------------------------------------------------------------------
#
# filename:          RadioShack_15-2116-vcr0081.lirc
# encoding:          RC-5
# brand:             RadioShack Universal (and others)
# model:             15-2116, set as VCR type 0081
# supported devices: all
#
# note: requires quite a bit of key reassignment w/keymover and EFCs...
# see http://wilsonet.com/mythtv/rs15-2116.html for HOWTO
#
#------------------------------------------------------------------------------

begin remote

  name      rs15-2116-vcr0081
  bits              11
  flags     RC5|CONST_LENGTH
  eps               20
  aeps              0
  header            0   0
  one               889 889
  zero              889 889
  plead             889
  ptrail            0
  foot              0   0
  repeat            0   0
  pre_data_bits     2
  pre_data          0x02
  post_data_bits    0
  post_data         0x0
  pre               0   0
  post              0   0
  gap               113792
  toggle_bit        2
  frequency         36000
  duty_cycle        50

  begin codes
        0           0x0000000000000140
        1           0x0000000000000141
        2           0x0000000000000142
        3           0x0000000000000143
        4           0x0000000000000144
        5           0x0000000000000145
        6           0x0000000000000146
        7           0x0000000000000147
        8           0x0000000000000148
        9           0x0000000000000149
        INFO        0x000000000000014a
        SELECT      0x000000000000014b
        POWER       0x000000000000014c
        MUTE        0x000000000000014d
        MOVE        0x000000000000014e
        VOL+        0x0000000000000150
        VOL-        0x0000000000000151
        RIGHT       0x000000000000015a
        LEFT        0x000000000000015b
        ENTER       0x000000000000015c
        MENU        0x000000000000015d
        CH+         0x0000000000000160
        CH-         0x0000000000000161
        PIP         0x0000000000000162
        SWAP        0x0000000000000163
        SLEEP       0x0000000000000166
        FREEZE      0x0000000000000168
        PAUSE       0x0000000000000169
        SKIP        0x000000000000016a
        EXIT        0x0000000000000171
        REW         0x0000000000000172
        REPLAY      0x0000000000000173
        FFWD        0x0000000000000174
        PLAY        0x0000000000000175
        STOP        0x0000000000000176
        REC         0x0000000000000177
        SKIP        0x0000000000000178
        +100        0x0000000000000179
        LAST        0x000000000000017b
        GUIDE       0x000000000000017c
        TV/VIDEO    0x000000000000017e
  end codes

end remote
I initially set up MythTV and lirc to use the grey Hauppauge remote, and it worked. Since I changed my .lircrc to point to the Radioshack remote's file, it hasn't.

3) I'm using the PVR-350's TV-out (very nice!). It is capable of overscanning, and that is just great for actual television. However, the MythTV menus (the GUI) are getting lost past the edges of the screen just enough to where I can't make out some menu options. I'm fairly certain there's a way to correct this, but I'm not sure what settings I need to adjust and how.

Any answers would be greatly appreciated!
Last edited by gcasillo on Sun Jan 02, 2005 12:50 pm, edited 1 time in total.
Top
Hobbes-X
l33t
l33t
User avatar
Posts: 823
Joined: Wed Feb 04, 2004 7:32 am
Location: Seattle, WA

  • Quote

Post by Hobbes-X » Sun Dec 26, 2004 10:33 pm

Hmmm- It's been a while since I've had to play with my .lirc setup, but I think that myth looks for lircrc at ./myth/lircrc. You can double check by running mythfrontend -v from the command line and watching for a warning about lirc.

Also, in my .lircrc, I also had prog=mythfrontend, instead of mythtv.

I'm not much help with the others though, sorry!
Top
gcasillo
l33t
l33t
User avatar
Posts: 739
Joined: Tue Sep 23, 2003 9:21 pm
Location: Cincinnati, Ohio, USA

  • Quote

Post by gcasillo » Wed Dec 29, 2004 8:51 pm

I solved #3. MythTV goes looking for ~/.mythtv/lircrc, it doesn't bother with ~/.lircrc. I had a ~/.mythtv/lircrc-rs and ~/.mythtv/lircrc-hauppauge but no ~/.mythtv/lircrc. Fixed that. I now wield remote control power.

I haven't solved #2. Don't know what to try. Don't really care to battle for it ATM either.

#1, no sound. Still no sound. Can't for the life of me understand. My msp3400.ko is the one that came with ivtv not my kernel. I have MythTV setup to use /dev/sound/dsp and /dev/sound/mixer. They're there with the proper permissions.

I have sound in the files that are recorded, and I can play and hear audio from live TV on a remote mythfrontend, but I can't get any sound from the box with the PVR-350 in it and that is running mythbackend. I just don't get it. I don't have to run a Y-splitter from the L/R RCA audio jacks to my soundcard, do I?

In the meantime, I got an IR blaster working with my digital cable box. SWEET! I think I outdid myself there, but...no sound renders this setup useless. :cry:
Top
diastelo
Guru
Guru
User avatar
Posts: 521
Joined: Mon Feb 23, 2004 5:33 pm
Contact:
Contact diastelo
Website

  • Quote

Post by diastelo » Sat Jan 01, 2005 8:44 am

I have MythTV with a pvr 250 and an audigy 2. I never had to run any cables to get sound to work, but I did have some trouble with OSS/ALSA.

I'd get sound with applications that were configured to use ALSA directly, but nothing else would work. I knew I had OSS emulation compiled into the kernel, too, so it was baffling. That's when I noticed that the modules weren't loading correctly at boot time. Restarting the alsasound service was enough to fix it every time until I got around to adding each module to /etc/modules.autoload.d/kernel-2.6 in the correct order.

You've said you compiled OSS support into MythTV, but is OSS emulation support loaded correctly? Check to see what modules are actually loaded when running the program. Of course, if I've got this backwards, and your problem is completely different, let me know.
"No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw
Top
chovy
Guru
Guru
User avatar
Posts: 453
Joined: Fri Dec 03, 2004 6:55 am

  • Quote

Post by chovy » Sat Jan 01, 2005 9:30 am

Just a thought, but when I installed alsa, the sound board was muted. I think I used amixer to unmute it.
Woof, Woof! Add "[solved]" to the title! Woof, Woof!
Top
gcasillo
l33t
l33t
User avatar
Posts: 739
Joined: Tue Sep 23, 2003 9:21 pm
Location: Cincinnati, Ohio, USA

  • Quote

Post by gcasillo » Sat Jan 01, 2005 6:55 pm

I appreciate the responses. Everything is unmuted and jacked up 100%. Still no sound. I think I've tried restarting the alsasound service, but I'll try that later.
Top
riskable
n00b
n00b
User avatar
Posts: 36
Joined: Sat Sep 18, 2004 10:56 pm
Location: Jacksonville, FL
Contact:
Contact riskable
Website

  • Quote

Post by riskable » Sat Jan 01, 2005 9:13 pm

If you're positive Alsa is working properly and you can hear sound using other Alsa-aware programs, make sure your MythTV front-end is setup to use Alsa.

Instead of /dev/dsp, manually type-in "ALSA:hw:0,0". You need to type it in manually (left and right arrows won't work).
-Riskable
http://www.riskable.com/
"I have a license to kill -9"
Top
garion911
Tux's lil' helper
Tux's lil' helper
Posts: 88
Joined: Tue Jun 04, 2002 1:30 pm

  • Quote

Post by garion911 » Sun Jan 02, 2005 3:28 am

You're using PVR 350? Are you using the TV-out from the PVR-350 to display on the TV? If so, then you need to use the sound out from the PVR350 also.. Its the PVR thats doing the decoding of the MPEG, so it just naturally uses its own sound device..

I have the opposite problem.. I wanna have MythGame running, but sound doesn't come through the PVR.. I haven't had to figure out if the sound device on the PVR is exposed at all to get it to work..
Top
gcasillo
l33t
l33t
User avatar
Posts: 739
Joined: Tue Sep 23, 2003 9:21 pm
Location: Cincinnati, Ohio, USA

  • Quote

Post by gcasillo » Sun Jan 02, 2005 12:47 pm

Indeed, I am using the TV-out of my PVR350, and when I plug the red and white RCA audio cables into my television set, I get sound from it. I was just expecting to get audio fed to my sound card as well. That was my hope since I have a nice Audigy2 with the Inspiron 6.1 speakers and subwoofer.

I guess this means I need to run over to Radio Shack and pick up some sort of Y-cable to connect the PVR350's red/white RCA audio cables to the 1/8" line-in of my Audigy card. I think I've read about this sort of setup on the MythTV-users mailing list archive somewhere. I'll search around for that.

Thanks for the input, fellas.
Top
garion911
Tux's lil' helper
Tux's lil' helper
Posts: 88
Joined: Tue Jun 04, 2002 1:30 pm

  • Quote

Post by garion911 » Tue Jan 04, 2005 11:33 pm

Maybe you could use the out from the PVR350 into the IN on your sound card..
Top
oggialli
Guru
Guru
User avatar
Posts: 389
Joined: Thu May 27, 2004 3:17 pm
Location: Finland, near Tampere

  • Quote

Post by oggialli » Thu Jan 06, 2005 4:07 am

Thanks for the "ALSA:hw:0,0" tip. I was having a hard time figuring out why my +alsa -oss mythtv only showed me OSS entries (which obviously didnt work with no oss in myth)

Now I have sound working... joy
IBM Thinkpad T42P - Gentoo Linux
Top
bruor
Apprentice
Apprentice
Posts: 239
Joined: Tue Jul 08, 2003 8:12 am

  • Quote

Post by bruor » Fri Mar 04, 2005 7:51 pm

to get sound on mythfrontend in kde, make sure that you have arts sed to die after 5 seconds or something extremely low

then lauch mythfrontend from the konsole window after waiting for the sound server to die...

in my experience arts hold onto the sound and myth cant get access to it...

on another note im having a problem with changing channels with an IR blaster, whenever i issue the change command, the playback gets extremely jerky and im lucky if the receiver catches 1 digit. if i just use the pc as a remote with no myth running the receiver changes channels fine...

im goign to try to add a little nice action in the channel change script when i get home, see if that helps it out any ...
Top
M1Sports20
Apprentice
Apprentice
Posts: 194
Joined: Thu Mar 25, 2004 6:21 pm
Location: Chicago, IL
Contact:
Contact M1Sports20
Website

  • Quote

Post by M1Sports20 » Sun Apr 03, 2005 8:00 pm

How did you fix problem number 3
Top
Post Reply

13 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic