[mythtv-users] Keyboard and Remote non-functional
Stephen L. Ulmer
ulmer at ulmer.org
Sun Feb 29 16:08:46 EST 2004
On 29 Feb 2004, cardoe at cardoe.com said:
> Basically I've setup my system using the two walkthroughs that I
> found to automatically boot and start up mythfrontend. The first one
> was based on Gentoo (which is what I use) and it had me use mingetty
> instead of agetty on tty1. Everything worked fine except I had no
> keyboard or remote input into the program. It always stayed on the
> first menu choice. I even switched from twm to fvwm and that didn't
> help. I've tested the remote control input with irw and it works. I
> can type perfectly fine in xterm's if I start those instead of
> mythfrontend and I can type perfectly fine in the console. Getting
> annoyed with the problem I switched to gdm based on a Debian
> walkthrough. Set that all up and it works and gets me to the exact
> same point as before. irw works, console & xterm works, but
> mythfrontend isn't receiving any input. Now if I startx from the
> console manually with the keyboard and then start mythfrontend from
> an xterm, it works like it's suppose to. But unfortunately that's
> really not workable since this system's home is buried away in a
> closet (it's my "server") so I've got to yank it out and stick on a
> keyboard to do that everytime. Any ideas would be more then
> welcome...
If you don't *need* a display manager, then don't run one! This is my
/etc/conf.d/local.start -- ignore the parts that don't apply. ;)
,----[ local.start ]
| # /etc/conf.d/local.start:
| # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/local.start,v 1.4 2002/11/18 19:39:22 azarah Exp $
|
| ##
| ## /etc/init.d/autofs doesn't understand how to parse LDAP
| ## entries in auto.master. Start each direct map here.
| ##
| automount /misc ldap 192.168.1.11:ou=auto.misc,ou=Services,dc=ulmer,dc=org
| automount /u ldap 192.168.1.11:ou=auto.u,ou=Services,dc=ulmer,dc=org
|
| ##
| ## /etc/init.d/alsasound normally saves/restores settings. It's part of
| ## alsa-driver, which doesn't seem to emerge properly on 2.6.0-testX.
| ##
| ## Restore sound settings, including SPDIF on.
| ##
| #alsactl restore
| modprobe snd-pcm-oss
| modprobe snd-mixer-oss
|
| ##
| ## Whacked out lirc drivers, lircd doesn't understand devfs, and there's
| ## no conf.d to pass it config entries. (NB: using kernel modules from
| ## a completely different version of lirc, but daemon from the emerged one).
| ##
| /usr/sbin/lircd -d /dev/lirc/0
|
| ##
| ## Start an X server on the console
| ##
| /usr/bin/X11/X -once &
| export DISPLAY=":0"
| sleep 5
|
| ##
| ## Start a window manager (lest we can't switch focus so
| ## mplayer can get keyboard
| ##
| /usr/bin/lwm &
|
| ##
| ## Start MythTV front-end
| ##
| mythfrontend >> /var/log/mythtv/mythfrontend.log 2>&1 &
|
| ##
| ## This sends keypresses to non-MythTV programs (part of lirc)
| ##
| irxevent /etc/mythtv/lircrc &
|
| ##
| ## Turn off the X11 screen saver
| ##
| /usr/bin/X11/xset -dpms s off
|
| ##
| ## mythdvd transcode daemon
| ##
| /usr/bin/mtd &
`----
If you need the display manager (like you're doing XDMCP queries to it
form Xterminals or something), then you can probably have it just not
start an X server on the console.
--
Stephen
More information about the mythtv-users
mailing list