View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 30 posts ] 
Go to page Previous  1, 2

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Thu Dec 28, 2006 6:23 pm 
Offline
Joined: Tue Oct 24, 2006 9:50 pm
Posts: 13
I don't mind being a Guinea pig on this. The remote is the only thing keeping this project from being exposed to the whole family. I have a new box ready to go:
Sony Vaio - 2.8Ghz, 1Gb RAM, 400Gb hard drive, Soundblaster Live!, PVR-250
I had no issues with the installation and I have done nothing to it since the install of R5E50, but it's no biggie to reinstall as many times as necessary to get it working. I'd really like to see the issue with the MCE USB remote resolved. I could never get it working under R5D1, either.

I will admit that although I do Windows support for a living, I'm definitely a newcomer to the Linux OS.

-Jim


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 28, 2006 8:32 pm 
Offline
Joined: Fri Nov 25, 2005 10:22 pm
Posts: 73
mlbuser wrote:


Tried that...
And it worked! Yea!

With /etc/lirc/hardware.conf back to:
Code:
DEVICE="/dev/lirc"
MODULES="lirc_dev lirc_mceusb2"


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 29, 2006 1:07 am 
Offline
Joined: Fri Nov 25, 2005 10:22 pm
Posts: 73
nharris wrote:
Ok. I think I have the proper fix for this figured out. For a default R5E50 install:

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


Probably worth noting that this didn't work for me...

Thanks though.

-seano


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 29, 2006 1:10 am 
Offline
Joined: Fri Nov 25, 2005 10:22 pm
Posts: 73
And just so everyone has the fix that worked for me:
mlbuser wrote:
A nasty hack, but I just want it to work, added the following to /etc/init.d/lirc

case "$1" in
start)
if [ "$LOAD_MODULES" = "true" ] && [ "$START_LIRCD" = "true" ]; then
load_modules $MODULES
fi

if [ ! -e /dev/lirc ]; then
echo "Creating link /dev/lirc0 -> /dev/lirc"
ln -s /dev/lirc0 /dev/lirc
fi


echo -n "Starting lirc daemon:"


Combined with /etc/lirc/hardware.conf back to:
Code:
DEVICE="/dev/lirc"
MODULES="lirc_dev lirc_mceusb2"


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 29, 2006 1:31 am 
Offline
Joined: Mon Nov 28, 2005 9:05 pm
Posts: 200
Just to go on record and say that seanos method is not neccessaritly the recommend method as basically lircd is still using /dev/lirc0 but through a uber overengineerd symlink recreation process.

See Cecils response to my "fix" for my serial remote (which is basically what seano did but simpler):

http://mysettopbox.tv/phpBB2/viewtopic.php?t=13097

Turns out he was right, I changed my hardware.conf to /dev/lirc0 and cleaned out my /etc/bootmisc entries. This is what it looked like when I did the symlink method (like you):

Quote:
ln -s /dev/lirc0 /dev/lirc
setserial /dev/ttyS0 uart none
modprobe lirc_serial
/usr/sbin/lircd


Here's how the end of my /etc/bootmisc looks now:

Quote:
#ln -s /dev/lirc0 /dev/lirc
setserial /dev/ttyS0 uart none
#modprobe lirc_serial
#/usr/sbin/lircd


My working /etc/lirc/hardware.conf (for reference)

Quote:
root@mythtv:~# cat /etc/lirc/hardware.conf
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS=""

#Don't start lircmd even if there seems to be a good config file
START_LIRCMD=false

#Try to load appropriate kernel modules
LOAD_MODULES=true

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="default"
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE="/dev/lirc0"
MODULES="lirc_dev lirc_serial"
#MODULES="lirc_dev lirc_i2c"



Seano, I'm truly glad you're able to use your remote. Now you can sleep easy t'nite.. :-)

_________________
Knoppmyth 7.02 Kernel 2.6.39-LINHES
[MBE] SilverStone LC-10 HTPC Case, Asus M2NPV-VM, AMD X2 4200+, 1G RAM, Nvidia 9500 PCIe, PVR500 and a HD-PVR - Rockin VDPAU


Top
 Profile  
 
PostPosted: Sat Dec 30, 2006 10:59 am 
Offline
Joined: Wed Nov 09, 2005 1:21 pm
Posts: 161
Location: Manchester UK
I have looked at various posts about how to fix the MCE V2 remote.

I have posted the files on http://www.flanagan-family.com/knoppmyth along with the latest iso which can be used as a mirror.


I have included the steps I used to get my remote to work. After the initial install I restored my old lircd using

Code:
tar jxvf /myth/backup/savedfiles.tar.bz2 ./etc/lirc/lircd.conf ./home/mythtv/.mythtv/lircrc


As everyone else seems to have found the remote didnt work.

After a search on the site I tried the fix

7) The /etc/init.d/lirc script isn't right for the MCE Remote (ver2). To fix it edit /etc/init.d/lirc and change the line that says:
Code:
start-stop-daemon --start --quiet --exec /usr/sbin/lircd \

to read:
Code:
start-stop-daemon --start --quiet --exec /usr/sbin/lircd -- $LIRCD_ARGS \

This reverses a change which was needed for an earlier version.


This didnt fix it so I tried the following

Code:
cat /dev/lirc0


and found that keypresses on my remote caused characters on the screen. So I edited /etc/lirc/hardware.conf and changed the

Code:
DEVICE="/dev/usb/hiddev0"
MODULES="lirc_dev lirc_mceusb2"


to

Code:
DEVICE="/dev/lirc0"
MODULES="lirc_dev lirc_mceusb2"


and after a reboot my remote worked. Attatched all my config files

/etc/lirc/hardware.conf


Code:
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS=""

#Don't start lircmd even if there seems to be a good config file
START_LIRCMD=false

#Try to load appropriate kernel modules
LOAD_MODULES=true

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="default"
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
#DEVICE="/dev/usb/hiddev0"
DEVICE="/dev/lirc0"
MODULES="lirc_dev lirc_mceusb2"



/etc/init.d/lirc

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 -- $LIRCD_ARGS \
      < /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


My Custom Files (For UK Version of the remote )

/etc/lirc/lirc.conf

Code:
#
# RC-6 config file
#
# source: http://home.hccnet.nl/m.majoor/projects__remote_control.htm
#         http://home.hccnet.nl/m.majoor/pronto.pdf
#
# used by: Philips
#
#########
#
# Philips Media Center Edition remote control
# For use with the USB MCE ir receiver
#
# Dan Conti  dconti|acm.wwu.edu
#
# Radio, Print, RecTV are only available on the HP Media Center remote control
#

begin remote

  name mceusb
  bits           16
  flags RC6|CONST_LENGTH
  eps            30
  aeps          100

  header       2667   889
  one           444   444
  zero          444   444
  pre_data_bits 21
  pre_data      0x37FF0
  gap          105000
  toggle_bit     22
  rc6_mask     0x100000000


      begin codes

# starts at af
        Radio    0x00007baf
        Print    0x00007bb1
        Videos   0x00007bb5
        Pictures 0x00007bb6
        RecTV    0x00007bb7
        Music    0x00007bb8
        TV       0x00007bb9
# no ba - d8
        Guide    0x00007bd9
        LiveTV   0x00007bda
        DVD      0x00007bdb
        Back     0x00007bdc
        OK       0x00007bdd
        Right    0x00007bde
        Left     0x00007bdf
        Down     0x00007be0
        Up       0x00007be1
        Star     0x00007be2
        Hash     0x00007be3
        Replay   0x00007be4
        Skip     0x00007be5
        Stop     0x00007be6
        Pause    0x00007be7
        Record   0x00007be8
        Play     0x00007be9
        Rewind   0x00007bea
        Forward  0x00007beb
        ChanDown 0x00007bec
        ChanUp   0x00007bed
        VolDown  0x00007bee
        VolUp    0x00007bef
        More     0x00007bf0
        Mute     0x00007bf1
        Home     0x00007bf2
        Power    0x00007bf3
        Enter    0x00007bf4
        Clear    0x00007bf5
        Nine     0x00007bf6
        Eight    0x00007bf7
        Seven    0x00007bf8
        Six      0x00007bf9
        Five     0x00007bfa
        Four     0x00007bfb
        Three    0x00007bfc
        Two      0x00007bfd
        One      0x00007bfe
        Zero     0x00007bff
        tv       0x00007B9A
        red      0x00007BA4
        green    0x00007BA3
        yellow   0x00007BA2
        blue     0x00007BA1
        teletext 0x00007BA5

      end codes

end remote


\home\mythtv\.mythtv\lircrc

Code:
##############################################################################
# SimonF for MCE Remote
# mythtv: for MythTV
# Mythtv xine and mplayer
###############################################################################

begin
prog = irexec
button = blue
repeat = 4
config = eject &
end

begin
prog = irexec
button = Power
repeat = 4
config = /myth/simon/mypower.sh &
end

#############################

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

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

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

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

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

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

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

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

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

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

begin
prog = mythtv
#Clear On Screen Display
button = clear
repeat = 4
config = Backspace
end

begin
prog = mythtv
#Program Guide
button = Guide
repeat = 4
config = S
end


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

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

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

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

begin
prog = mythtv
#Select
button = OK
repeat = 6
config = Return
end

begin
prog = mythtv
#enter Edit Mode 
button = tv
repeat = 4
config = E
end

begin
prog = mythtv
# Exit Progam
button = Back
repeat = 4
config = Esc
end

begin
prog = mythtv
#Bring up menu Button Marked DVD Guide
button = DVD
repeat = 4
config = M
end

begin
prog = mythtv
# Bring Up Info
button = Home
repeat = 4
config = W
end

begin
prog = mythtv
# Bring Up Program Info
button = More
repeat = 4
config = U
end

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

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

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

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

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

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

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

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

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

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

#begin
#prog = mythtv
#button = Slow
#repeat = 4
#config = Z
#end

#begin
#prog = mythtv
#remote = d1ldo
#button = Repeat
#repeat = 0
#config = ?
#end

#begin
#prog = mythtv
#remote = d1ldo
#button = Osd
#repeat = 2
#config = W
#end

#begin
#prog = mythtv
#remote = d1ldo
#button = Function
#repeat = 0
#config = C
#end

#begin
#prog = mythtv
#remote = d1ldo
#button = Program
#repeat = 0
#config = /
#end

begin
prog = mythtv 
button = Mute
repeat = 0
config = |
end

begin
prog = mythtv 
button = ChanUp
repeat = 2
config = Up
end

begin
prog = mythtv 
button = ChanDown
repeat = 2
config = Down
end

begin
prog = mythtv 
button = VolUp
repeat = 2
config = ]
end

begin
prog = mythtv 
button = VolDown
repeat = 2
config = [
end

begin
prog = mythtv 
button = green
repeat = 2
config = O
end

begin
prog = mythtv 
button = yellow
repeat = 2
config = B
end

begin
prog = mythtv 
button = red
repeat = 2
config = F1
end

###############################################################################
#
# xine: for DVD & Video playback
#
###############################################################################

begin
prog = xine 
button = Back
repeat = 0
config = Quit
end

begin
prog = xine 
button = Up
repeat = 2
config = EventUp
end

begin
prog = xine 
button = Down
repeat = 2
config = EventDown
end

begin
prog = xine 
button = Right
repeat = 2
config = EventRight
end

begin
prog = xine 
button = Left
repeat = 2
config = EventLeft
end

begin
prog = xine 
button = DVD
repeat = 0
config = TitleMenu
end

begin
prog = xine 
button = OK
repeat = 0
config = EventSelect
end

begin
prog = xine 
button = Zero
repeat = 4
config = Number0
end

begin
prog = xine 
button = One
repeat = 4
config = Number1
end

begin
prog = xine 
button = Two
repeat = 4
config = Number2
end

begin
prog = xine 
button = Three
repeat = 4
config = Number3
end

begin
prog = xine 
button = Four
repeat = 4
config = Number4
end

begin
prog = xine 
button = Five
repeat = 4
config = Number5
end

begin
prog = xine 
button = Six
repeat = 3
config = Number6
end

begin
prog = xine 
button = Seven
repeat = 4
config = Number7
end

begin
prog = xine 
button = Eight
repeat = 4
config = Number8
end

begin
prog = xine 
button = Nine
repeat = 4
config = Number9
end

begin
prog = xine 
button = Play
repeat = 0
config = Pause
end

begin
prog = xine 
button = Stop
repeat = 0
config = Quit
# config = Stop
end

begin
prog = xine 
button = Skip
repeat = 2
config = NextMrl
end

begin
prog = xine 
button = Replay
repeat = 2
config = PriorMrl
end

begin
prog = xine 
button = More
repeat = 0
config = OSDStreamInfos
end

begin
prog = xine 
button = VolUp
repeat = 2
config = Volume+
end

begin
prog = xine 
button = VolDown
repeat = 2
config = Volume-
end

begin
prog = xine 
button = Mute
repeat = 0
config = Mute
end

begin
prog = xine 
button = Forward
repeat = 2
config = SpeedFaster
end

#begin
#prog = xine
#remote = d1ldo
#button = Rewind
#repeat = 2
#config = SpeedSlower
#end

begin
prog = xine 
button = hash
repeat = 2
config = ZoomIn
end

begin
prog = xine 
button = star
repeat = 2
config = ZoomOut
end

begin
prog = xine 
button = Home
repeat = 2
config = ToggleAspectRatio
end

begin
prog = xine 
button = ChanUp
repeat = 2
config = EventAngleNext
# config = AngleMenu
end

begin
prog = xine 
button = ChanDown
repeat = 2
config = AudioChannelNext
# config = AudioMenu
end

#begin
#prog = xine
#remote = d1ldo
#button = Mode
#repeat = 2
#config = SpuNext
# config = SubPictureMenu
#end

#MPlayer

begin
prog = mplayer 
button = One
repeat = 3
config = audio_delay -0.05
end

begin
prog = mplayer 
button = Three
repeat = 3
config = audio_delay 0.05
end


begin
prog = mplayer 
button = Two
repeat = 2
config = switch_audio
end

begin
prog = mplayer
button = Stop
config = quit
end

begin
prog = mplayer
button = Four
config = switch_ratio 1.25
end

begin
prog = mplayer
button = Five
config = switch_ratio 1.6
config = quit
end

begin
prog = mplayer
button = Six
config = switch_ratio 1.72
end

begin
prog = mplayer
button = Stop
config = quit
end

begin
prog = mplayer
button = Home
config = vo_fullscreen
end
 

begin
prog = mplayer
button = DVD
config = osd
end

begin
prog = mplayer
button = Left
config = seek -5
repeat = 1
end

begin
prog = mplayer
button = Right
config = seek +10
repeat = 1
end

begin
prog = mplayer
button = Rewind
config = seek -30
repeat = 1
end

begin
prog = mplayer
button = Forward
config = seek +30
repeat = 1
end

begin
prog = mplayer
button = Replay
config = seek -180
repeat = 1
end

begin
prog = mplayer
button = Skip
config = seek +180
repeat = 1
end

begin
prog = mplayer
button = Pause
config = pause
end

begin
prog = mplayer
button = Play
config = pause
end

begin
prog = mplayer
button = Back
config = quit
end

begin
prog = mplayer
button = VolUp
config = volume +1
repeat = 1
end

begin
prog = mplayer
button = VolDown
config = volume -1
repeat = 1
end

begin
prog=mplayer
button=Mute
config=mute
end



_________________
Running:-
Intel 930 3GHz dual Core
Thermaltake Fanless CPU Cooler
Asus P5GS
Samsung 750G Sata HDD
8400 512m Video Card
2 * jetway DVB-t
1 * Haupage DVB-S2 Card
Samsung Sata 16x DVDRW
2048M Ram
1 * Netop Ion 330


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 01, 2007 10:38 am 
Offline
Joined: Fri Feb 03, 2006 12:22 pm
Posts: 56
Hi,

simonf, any idea if copying your files would work on my install (R5C7)? I'll certainly be game to try...

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


Top
 Profile  
 
PostPosted: Mon Jan 01, 2007 11:19 am 
Offline
Joined: Wed Nov 09, 2005 1:21 pm
Posts: 161
Location: Manchester UK
you need to keep the DEVICE="/dev/usb/hiddev0" line in hardware.conf

Which I changed to get it working in E50

You Also need to make sure the /etc/init.d/lirc

file has the line

start-stop-daemon --start --quiet --exec /usr/sbin/lircd \

not

start-stop-daemon --start --quiet --exec /usr/sbin/lircd -- $LIRCD_ARGS \

I modded that line for E50

That should do it

_________________
Running:-
Intel 930 3GHz dual Core
Thermaltake Fanless CPU Cooler
Asus P5GS
Samsung 750G Sata HDD
8400 512m Video Card
2 * jetway DVB-t
1 * Haupage DVB-S2 Card
Samsung Sata 16x DVDRW
2048M Ram
1 * Netop Ion 330


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 01, 2007 5:11 pm 
Offline
Joined: Fri Feb 03, 2006 12:22 pm
Posts: 56
hmm doesn't work. Seeing that this is not a R5C7 thread I won't take anymore time than to ask anyone who has R5C7 to look at my thread about the MCE2 remote over here: http://mysettopbox.tv/phpBB2/viewtopic.php?t=5620&postdays=0&postorder=asc&start=15
Thanks

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


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 01, 2007 10:43 pm 
Offline
Joined: Tue Oct 24, 2006 9:50 pm
Posts: 13
I've copied simonf's files into my R5E50 installation and it's still a no-go. When I type "irw", the system acts like it's waiting for data from the receiver, but I get nothing. The remote seems to be transmitting. The LED blinks and the digital camera shows the IR LED on the remote is illuminating. The LED on the receiver is also blinking in sync with pushing buttons on the remote. I don't have XP MCE so I can't really test the receiver any further. Is there another program that can verify the receiver is doing its thing?


Top
 Profile  
 
 Post subject: Test remote
PostPosted: Tue Jan 02, 2007 8:01 am 
Offline
Joined: Wed Nov 09, 2005 1:21 pm
Posts: 161
Location: Manchester UK
you could try


cat /dev/lirc0


that should give you a series of squiggles on the screen as you push the buttons


the remote will be detected in any version of windows and will do the vol controls etc...

_________________
Running:-
Intel 930 3GHz dual Core
Thermaltake Fanless CPU Cooler
Asus P5GS
Samsung 750G Sata HDD
8400 512m Video Card
2 * jetway DVB-t
1 * Haupage DVB-S2 Card
Samsung Sata 16x DVDRW
2048M Ram
1 * Netop Ion 330


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 27, 2007 11:32 am 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
I am still having problems with my MCE USB2 remote. I followed all the above advice and was able to get to a point where IRW works. I can see responses from IRW but no response within myth. I have tried several lircrc files with no effect.

I do see a line in my daeman.log file that
Code:
lircd-0.8.1-CVS-pvr150[2381]:accepted new client on /dev/lircd
followed by another line 5 seconds later that says
Code:
-0.8.1-CVS-pvr150[2381]: removed client


Is this relevent or does the fact that IRW is working fine tell us that the problem is not with lircd?

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 27, 2007 12:36 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Yes, and no. A large number of us are battling with lirc. For me it starts up fine after a fresh boot and gradually starts losing button presses until it's completely unresponsive. For example I just started up irw, and clicked the Down button five or six times followed by the same for the Up button, followed by a large number of others. All irw saw out of 30-40 keypresses on two different remotes was:
Code:
root@black2:~# irw
0000000000001795 00 Down Hauppauge_350
0000000000001794 00 Up Hauppauge_350
00000000000017e1 00 Ch- hauppauge_pvr
00000000000017e0 00 Ch+ hauppauge_pvr
00000000000017e5 00 Ok hauppauge_pvr
000000000000179f 00 Back/Exit Hauppauge_350

Meanwhile the /var/messages log is showing:
Code:
Jan 27 13:25:19 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x15 raw=0x3795 down=1
Jan 27 13:25:19 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x15 raw=0x3795 down=0
Jan 27 13:25:20 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x15 raw=0x3f95 down=1
Jan 27 13:25:20 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x15 raw=0x3f95 down=0
Jan 27 13:25:20 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x15 raw=0x3795 down=1
Jan 27 13:25:20 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x15 raw=0x3795 down=0
Jan 27 13:25:21 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x15 raw=0x3f95 down=1
Jan 27 13:25:21 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x15 raw=0x3f95 down=0
Jan 27 13:25:21 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x15 raw=0x3795 down=1
Jan 27 13:25:21 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x15 raw=0x3795 down=0
Jan 27 13:27:56 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3f94 down=1
Jan 27 13:27:56 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3f94 down=0
Jan 27 13:27:58 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3794 down=1
Jan 27 13:27:58 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3794 down=0
Jan 27 13:27:59 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3f94 down=1
Jan 27 13:27:59 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3f94 down=0
Jan 27 13:28:00 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3794 down=1
Jan 27 13:28:00 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3794 down=0
Jan 27 13:28:01 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3f94 down=1
Jan 27 13:28:01 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3f94 down=0
Jan 27 13:28:01 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3794 down=1
Jan 27 13:28:02 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3794 down=0
Jan 27 13:28:02 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3f94 down=1
Jan 27 13:28:03 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3f94 down=0
Jan 27 13:28:03 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3794 down=1
Jan 27 13:28:03 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3794 down=0
Jan 27 13:28:04 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3f94 down=1
Jan 27 13:28:04 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3f94 down=0
Jan 27 13:30:19 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x25 raw=0x3fe5 down=1
Jan 27 13:30:20 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x25 raw=0x3fe5 down=0
Jan 27 13:30:20 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x25 raw=0x37e5 down=1
Jan 27 13:30:20 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x25 raw=0x37e5 down=0
Jan 27 13:30:24 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x1f raw=0x3fdf down=1
Jan 27 13:30:24 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x1f raw=0x3fdf down=0
Jan 27 13:30:25 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x1f raw=0x37df down=1
Jan 27 13:30:25 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x1f raw=0x37df down=0
Jan 27 13:30:26 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x1f raw=0x3fdf down=1
Jan 27 13:30:26 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x1f raw=0x3fdf down=0
Jan 27 13:30:26 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x1f raw=0x37df down=1
Jan 27 13:30:26 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x1f raw=0x37df down=0
Jan 27 13:30:26 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x1f raw=0x37df down=1
Jan 27 13:30:26 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x1f raw=0x37df down=0
Jan 27 13:30:27 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x1f raw=0x3fdf down=1
Jan 27 13:30:27 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x1f raw=0x3fdf down=0
Jan 27 13:30:27 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x1f raw=0x37df down=1
Jan 27 13:30:27 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x1f raw=0x37df down=0
Jan 27 13:30:31 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x1f raw=0x3f9f down=1
Jan 27 13:30:31 black2 kernel: i2c IR (Hauppauge): unknown key: key=0x1f raw=0x3f9f down=0

This is reaching the point of annoying me enough to commit engineering. (My first principle of engineering is "It annoyed me so I fixed it..")


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 28, 2007 2:54 pm 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
I am not sure why but I managed to get it working. As far as I can tell, the only thing I changed was to get the lircrc file from the /usr/local/share/knoppmyth/remotes/mceusb2/ and copy it into my /home/mythtv/.mythtv/

I had tried several others lircrc files without success including several that I pasted from various websites. (BTW is there any reason why doing a highlight, copy and paste from IE7 to wordpad would not create a usable linux file?) I was very surprised when it worked but I figured it had to be something with the lircrc as IRW was working.

I haven't seen the intermittant problem that tjc mentioned. It seemes to be working well for now.

If anyone wants I can post my files (hardware.conf etc) but the are the same as listed above.

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
 Post subject: quick tangent
PostPosted: Sun Jan 28, 2007 5:45 pm 
Offline
Joined: Wed Jan 03, 2007 10:08 am
Posts: 16
Location: Vancouver Canada
Hi Stan,
One thing you quickly become aware of when you start using non-Microsoft products is just how pervasive "embrace and extend" is. Even basic text files are not exempt. Wordpad can read unix text files quite nicely, but still inserts extra crap when you create a new file.

I highly recommend you replace notepad/wordpad with Notepad++
http://notepad-plus.sourceforge.net/uk/site.htm

_________________
-Mike
* Currently using 5E50, started with 5A16
* Soltek 75FRN2 with Athlon 2500, 1GB RAM
* Hauppauge WinTV PCI
* pcHDTV 5500


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 30 posts ] 
Go to page Previous  1, 2



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 17 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