Forums

Skip to content

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

Lirc working but MythTV won't do anything. 2.6.13 Kernel

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
4 posts • Page 1 of 1
Author
Message
Michael.Terence
n00b
n00b
User avatar
Posts: 29
Joined: Tue Jan 18, 2005 2:36 am

Lirc working but MythTV won't do anything. 2.6.13 Kernel

  • Quote

Post by Michael.Terence » Thu Nov 03, 2005 9:43 pm

I've been hacking away at my frontend box for the last few days but have been unable to get MythTV to react to my remote control.

Lirc is running... when i use IRW i see the channel+ and channel- buttons in my stdout... as well as all the other buttons setup in my /etc/lircd.conf file.. (found below) The problem is that when I fire up mythfrontend and press buttons on the remote nothing happens.

X, QT, and MythTV were emereged with the lirc USE flag.

When I move ~/.mythtv/lircrc mythfrontend complains about not having it. I get no complaints in the logs when it is there.

Here is some info about my system:

Kernel info:

Code: Select all

tater@titan ~ $ file /usr/src/linux
/usr/src/linux: symbolic link to `linux-2.6.13-gentoo-r3'
make.conf

Code: Select all

tater@titan ~ $ cat /etc/make.conf
CFLAGS="-O3 -march=athlon-xp -fforce-addr -momit-leaf-frame-pointer -ftracer -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
ACCEPT_KEYWORDS="x86"
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
DISTDIR=${PORTDIR}/distfiles
PKGDIR=${PORTDIR}/packages
PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=/usr/local/portage
GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT=180
MAKEOPTS="-j2"
PORTAGE_NICENESS=3
AUTOCLEAN="yes"
FEATURES="ccache distlocks userpriv"
CCACHE_SIZE="2G"
RSYNC_EXCLUDEFROM=/etc/portage/rsync_excludes
USE="X mysql mythtv apache2 lirc nptl -qt -kde alsa dvd cdr"
ALSA_CARDS="emu10k1"
LIRC_OPTS="--with-driver=pctv --with-x --with-port=/dev/ttyS0"
tater@titan ~ $
/etc/conf.d/lircd

Code: Select all

tater@titan ~ $ cat /etc/conf.d/lircd
# Options to pass to the lircd process
LIRCD_OPTS="-d /dev/ttyS0 -H pinsys"
tater@titan ~ $
~/.mythtv/lircrc
(for simplicity i have removed everything except the change channel buttons.) You can see I have tried using MythTV as well as irxevent to pass the commands. Neither work.

Code: Select all

begin
    prog = mythtv
    button = channel+
    repeat = 3
    config = Key Up CurrentWindow
end

begin
    prog = irxevent
    button = channel-
    repeat = 3
    config = Key Down CurrentWindow
end
/etc/lircd.conf

Code: Select all

tater@titan ~ $ cat /etc/lircd.conf
#
# contributed by Bart Alewijnse <scarfboy@yahoo.com>
#
# brand:             Pinnacle Systems
# model:             PCTV Remote (Perhaps other ones as well)
# supported devices: there's only one I know of. (serial)
#
# Mail me if your remote is only partly supported, or if it has different
# buttons than listed below.
#

begin remote

  name  PinnacleSysPCTVRemote
  bits            8
  eps             30
  aeps            100

  one             0     0
  zero            0     0
  gap             180000

  begin codes
    Mute                     0x000000000000003C
    Power                    0x000000000000002F
    Chan+Play                0x000000000000003F
    Chan-Stop                0x000000000000003E
    Vol+FF                   0x000000000000003B
    Vol-Rew                  0x000000000000003D
    1                        0x0000000000000031
    2                        0x0000000000000032
    3                        0x0000000000000033
    4                        0x0000000000000034
    5                        0x0000000000000035
    6                        0x0000000000000036
    7                        0x0000000000000037
    8                        0x0000000000000038
    9                        0x0000000000000039
    Fullscreen               0x000000000000002D
    0/AV                     0x000000000000003A
    Info                     0x000000000000002B
    Preview                  0x000000000000002E
    Record                   0x0000000000000027
    Chan_Last                0x0000000000000025
    F_TV                     0x0000000000000026
    F_TELETEXT               0x0000000000000029
    F_RADIO                  0x000000000000002A

#
# here are some extra buttons a new version of the remote seems to have
#
# contributed by Robbert Monna <rjmonna@kabelfoon.nl>
#
# brand:             Pinnacle Systems
# model:             PCTV Remote (newest version?)
# supported devices: dongle on serial port (from TV-Card)
#
          L                        0x000000000000001F
          Zoom                     0x000000000000001E
          vol+                     0x000000000000001B
          vol-                     0x000000000000000F
          channel+                 0x0000000000000017
          channel-                 0x000000000000001C
          middle                   0x000000000000001A
          Menu                     0x000000000000001D
          next                     0x0000000000000019
          undo                     0x0000000000000016
          pause                    0x0000000000000015
          redo                     0x0000000000000013
          Rewind                   0x000000000000000E
          Play                     0x000000000000000D
          Stop                     0x000000000000000B
          FForward                 0x0000000000000007
          EPG                      0x0000000000000018

# here are some more buttons that seem to be mapped differently from
# the ones above

# contributed by InterCeptor ceptor_7@freemail.hu
#
# brand:   Pinnacle Systems PCTV Pro Remote
# model no. of remote control: (I can't find any numbers on it)
# supported devices: serial
#

          9                        0x0000000000000082
          Zoom                     0x00000000000000B2
          middle                   0x0000000000000014


  end codes
end remote


tater@titan ~ $
Top
Michael.Terence
n00b
n00b
User avatar
Posts: 29
Joined: Tue Jan 18, 2005 2:36 am

  • Quote

Post by Michael.Terence » Fri Nov 04, 2005 12:43 am

Update:

I can use the remote if i run

Code: Select all

irxevent
in a term and leave it open. Should I have to do this?
Top
cheops05
n00b
n00b
User avatar
Posts: 62
Joined: Mon Jan 03, 2005 2:10 pm

  • Quote

Post by cheops05 » Sat Nov 05, 2005 7:29 am

Hi

I was having the same trouble as you I read somewhere it is better to use the irxevent rather than compile straight into mythtv using the lirc flag. Really there is no big difference having to run this is there...

Good luck
Top
makomk
n00b
n00b
Posts: 46
Joined: Fri Jul 15, 2005 2:01 pm
Location: Not all there
Contact:
Contact makomk
Website

  • Quote

Post by makomk » Sat Nov 05, 2005 5:29 pm

I don't think MythTV runs irxevent for you, so you have to launch it yourself somehow. Run "ps ax|grep irxevent" to check if it's running.

Also, the "config=" line is wrong for MythTV's built-in lirc support (though right for irxevent). Try something like:

Code: Select all

begin
    prog = mythtv
    button = channel+
    repeat = 3
    config = Up
end
Generally, the command name that you put on the "config=" line if you're using MythTV's lirc support is just the unadorned name of the key. This page might be helpful (scroll down to the "remote control" section, and take a look at the "LIRC keystroke" column.

Edit: fix link.
Top
Post Reply

4 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