View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 13 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Aug 02, 2006 6:27 am 
Offline
Joined: Sun Apr 16, 2006 7:21 am
Posts: 6
I've tried for days to get my remote work in KnoppMyth but i won't.

I have this remote:
http://www.mythtv.org/wiki/index.php/Im ... mote-2.jpg

I have tried this guide:
http://www.mythtv.org/wiki/index.php/MCE_Remote


...and I've search on the fourm for days.

When I run the command

Code:
lsusb


I get:

Code:
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 0403:fc60 Future Technology Devices International, Ltd
Bus 001 Device 001: ID 0000:0000


I think that means that the remote reciver is connected, becaus it disepears when unplugg the cable.

When I try to run the
/usr/local/bin/lirc-reconfig.sh and chose MCEUSB (27) it sas that the remot is't connected (or some thin like that)

Any ideas what I shuld do?
Sorry for my bad english :D


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 02, 2006 8:34 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Your english isn't bad at all... Can you run "irw"?

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 02, 2006 5:46 pm 
Offline
Joined: Sun Apr 16, 2006 7:21 am
Posts: 6
Thanks :)

When I run irw i dont get any message and the same happents when i press any bottoms on the remote. I readed on mythTVs guide that I should get some message when I push anyting on the remote, but I dont.

When I try the command irw agin I get the message connection refuse or some thing like that. Shuld I get any special message?

I tried to install Windows XP on my HTPC. Windows could find my reciver so I think it is connected. I realy dont what to use Windows so I have to fix this problem.

Thanks for the help so fare.


Top
 Profile  
 
 Post subject: mce 2005 remote
PostPosted: Fri Aug 04, 2006 3:09 am 
Offline
Joined: Sun Mar 19, 2006 4:32 am
Posts: 5
Do not use the script for remote installation.
It installs the wrong drivers.
Copy the mceusb drivers and the config file from a directory somewhere ...share/... usbmce
to the correct directory of lirc...
Do a search on lirc drivers for mceusb and you will find the procedure


Top
 Profile  
 
 Post subject: Re: mce 2005 remote
PostPosted: Fri Aug 04, 2006 8:35 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
doc holywood wrote:
It installs the wrong drivers.
Oh?! As I'm busily working on the next release, a direct link to this would be appreciated.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 12, 2006 10:54 am 
Offline
Joined: Fri Feb 03, 2006 12:22 pm
Posts: 56
Hey guys. Any progress on getting it working Snouser? This sounds very similar to my problem. I can't find the thread right now cause the search doesn't work. I'll try later.

_________________
PVR-150 MCE
Radeon-9000 Pro
Seagate Barracuda 120-GB
AOpen AX34-U Motherboard
R5C7 KnoppMyth


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 12, 2006 11:13 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
I think someone else recently recorded a new /etc/lirc/lircd.conf and got this working. Unfortunately they didn't post the file...


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 12, 2006 12:14 pm 
Offline
Joined: Fri Feb 03, 2006 12:22 pm
Posts: 56
My problem that is very similar can be seen here http://mysettopbox.tv/phpBB2/viewtopic.php?t=5620&highlight=. I come in at the end.

_________________
PVR-150 MCE
Radeon-9000 Pro
Seagate Barracuda 120-GB
AOpen AX34-U Motherboard
R5C7 KnoppMyth


Top
 Profile  
 
 Post subject: microsoft remote (RC6)
PostPosted: Fri Aug 18, 2006 9:18 am 
Offline
Joined: Sun Mar 19, 2006 4:32 am
Posts: 5
Use a x window and type these 2 commands and change lirc as below:
the reboot and all should work fine.
:)
cp /usr/local/share/knoppmyth/remotes/mceusb2/etc/lircd.conf /etc/lircd.conf
cp /usr/local/share/knoppmyth/remotes/mceusb2/etc/lircrc /home/mythtv/.mythtv/

I also had to change /etc/init.d/lirc
from:
start-stop-daemon --start --quiet --exec /usr/sbin/lircd -- $LIRCD_ARGS \
to:
start-stop-daemon --start --quiet --exec /usr/sbin/lircd \


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 18, 2006 10:54 am 
Offline
Joined: Fri Feb 03, 2006 12:22 pm
Posts: 56
I thought I had done these things. However I did not use an X window, or if I did, I did so unknowingly. How do you launch an x window? It is the same as using Putty?

_________________
PVR-150 MCE
Radeon-9000 Pro
Seagate Barracuda 120-GB
AOpen AX34-U Motherboard
R5C7 KnoppMyth


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 18, 2006 6:26 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
To launch an X terminal (aka xterm) from your MythTV GUI just hit Alt-X on your keyboard, then "su -" to become root. You can also use CTRl-Alt-F1 to flip to another virtual console and login as root (Alt-F7 to get back to the GUI). Remote access with putty would work just fine too. All you're really after is a "bash shell" session as root so you can enter the commands and all shell sessions are pretty much created equal. The only thing doc forgot is to fix the ownership and permissions...

Code:
cp /usr/local/share/knoppmyth/remotes/mceusb2/etc/lircd.conf /etc/lirc/
cp /usr/local/share/knoppmyth/remotes/mceusb2/etc/lircrc /home/mythtv/.mythtv/
chmod 644  /home/mythtv/.mythtv/lircrc /etc/lirc/lircd.conf
chown  mythtv:mythtv /home/mythtv/.mythtv/lircrc


For more see the LinuxTips page on the wiki: http://www.knoppmythwiki.org/index.php?page=LinuxTips


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 18, 2006 10:06 pm 
Offline
Joined: Fri Feb 03, 2006 12:22 pm
Posts: 56
Ok thanks. Still no beans. When I try
Code:
irw
as mythtv I get a "connection refused" error. As root I can launch irw after running lircd. However lircd is killed everytime that irw starts up! Any ideas?

_________________
PVR-150 MCE
Radeon-9000 Pro
Seagate Barracuda 120-GB
AOpen AX34-U Motherboard
R5C7 KnoppMyth


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 25, 2006 8:36 pm 
Offline
Joined: Fri Feb 03, 2006 12:22 pm
Posts: 56
When I run
Code:
ls /dev/lirc*
I get the following:
Code:
/dev/lirc  /dev/lirc1  /dev/lircd  /dev/lircm


When I run
Code:
lircd -n
I get the following:
Code:
lircd-0.8.0pre4-pvr150[6302]: lircd(all) ready





I think the fact the irw is killing lircd is an important one. I did a little searching around and ran into other people that had problems like this. One notable one was the following:
http://forum.byopvr.com/dvr/index.php?PHPSESSID=9f6f4052f6a996692dc46a2035705d34&topic=2819.msg14297

In the last step it suggests to do the following:
Quote:
That is one way to fix the problem. Another way is to start lircd using lircd -d /dev/lirc0 I had the same problem and that's how I fixed it.


When I tried:
Code:
lircd -d /dev/lirc1
the same problem occured, with irw killing
lircd.

Another thing that I am thinking about. Above it was mentioned by doc holywood to
Quote:
I also had to change /etc/init.d/lirc
from:
start-stop-daemon --start --quiet --exec /usr/sbin/lircd -- $LIRCD_ARGS \
to:
start-stop-daemon --start --quiet --exec /usr/sbin/lircd \


I was unable to find the line in my lirc file. Here is the contents of my file:
Code:
#! /bin/sh
#
#

load_modules ()
{
   local MODULES_MISSING=false

   for mod in $*
   do
      modprobe -k $mod 2> /dev/null || MODULES_MISSING=true
   done

   if $MODULES_MISSING; then
      echo "#####################################################"
      echo "## I couldn't load the required kernel modules     ##"
      echo "## You should install lirc-modules-source to build ##"
      echo "## kernel support for your hardware.               ##"
      echo "#####################################################"
      echo "## If this message is not appropriate you may set  ##"
      echo "## LOAD_MODULES=false in /etc/lirc/hardware.conf   ##"
      echo "#####################################################"
      START_LIRCMD=false
      START_LIRCD=false
   fi
}

build_args ()
{
   local ARGS="$*"
   if [ -n "$DEVICE" ] && [ "$DEVICE" != "none" ]; then
      if [ -d /dev/lirc ] && [ "$DEVICE" = "/dev/lirc" ];then
         #new device names
         DEVICE="/dev/lirc/0"
      fi
      ARGS="--device=$DEVICE $ARGS"
   fi
   if [ -n "$DRIVER" ] && [ "$DRIVER" != "none" ]; then
      ARGS="--driver=$DRIVER $ARGS"
   fi
   echo $ARGS
}

test -f /usr/sbin/lircd || exit 0
test -f /usr/sbin/lircmd || exit 0
#test -f /etc/lirc/lircd.conf || exit 0
#test -f /etc/lirc/lircmd.conf || exit 0

START_LIRCMD=true
START_LIRCD=true

if [ ! -f /etc/lirc/lircd.conf ] \
   || grep -q "^#UNCONFIGURED"  /etc/lirc/lircd.conf;then
   if [ "$1" = "start" ]; then
          echo "##################################################"
          echo "## LIRC IS NOT CONFIGURED                       ##"
          echo "##                                              ##"
          echo "## read /usr/share/doc/lirc/html/configure.html ##"
          echo "##################################################"
   fi
   START_LIRCD=false
   START_LIRCMD=false
fi
if [ ! -f /etc/lirc/lircmd.conf ] \
   || grep -q "^#UNCONFIGURED" /etc/lirc/lircmd.conf;then
   START_LIRCMD=false
fi

if [ -f /etc/lirc/hardware.conf ];then
   . /etc/lirc/hardware.conf
fi


case "$1" in
  start)
    if [ "$LOAD_MODULES" = "true" ] && [ "$START_LIRCD" = "true" ]; then
   load_modules $MODULES
    fi
    echo -n "Starting lirc daemon:"
    if $START_LIRCD; then
      echo -n " lircd"
      LIRCD_ARGS=`build_args $LIRCD_ARGS`
      start-stop-daemon --start --quiet --exec /usr/sbin/lircd \
      < /dev/null
    fi
    if $START_LIRCMD; then
      echo -n " lircmd"
      start-stop-daemon --start --quiet --exec /usr/sbin/lircmd \
            < /dev/null
    fi
    echo "."
    ;;
  stop)
    echo -n "Stopping lirc daemon:"
    echo -n " lircmd"
    start-stop-daemon --stop --quiet --exec /usr/sbin/lircmd
    echo -n " lircd"
    start-stop-daemon --stop --quiet --exec /usr/sbin/lircd
    echo "."
    ;;
  reload|force-reload)
    if $START_LIRCD; then
      start-stop-daemon --stop --quiet --signal 1 --exec /usr/sbin/lircd
    fi
    if $START_LIRCMD; then
      start-stop-daemon --stop --quiet --signal 1 --exec /usr/sbin/lircmd
    fi
    ;;
  restart)
    $0 stop
    $0 start
    ;;
  *)
    echo "Usage: /etc/init.d/lircd {start|stop|reload|restart|force-reload}"
    exit 1
esac

exit 0

_________________
PVR-150 MCE
Radeon-9000 Pro
Seagate Barracuda 120-GB
AOpen AX34-U Motherboard
R5C7 KnoppMyth


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu