LinHES Forums http://forums.linhes.org/ |
|
Lirc Mce 2005 remote not working http://forums.linhes.org/viewtopic.php?f=2&t=5620 |
Page 1 of 3 |
Author: | daffydk [ Mon Aug 08, 2005 11:05 am ] |
Post subject: | Lirc Mce 2005 remote not working |
ok heres a good one i got a MCE 2005 remote and i want it to be used with mythtv but i cant !!!! I have followed the guide on the wiki page but that do not work for my remote the remote are mce 2005 european model number : 1039 Usb reciver are model 1040 with phillips chip If i use the lirc-0.7.2pre2 driver then the system finds the reciver but i cant use it at all its just as it doesnt recive any data from the remote i have used the remote under Media Portal and it do work in there so thats not the problem Anyone have an idea ??? /Daffydk |
Author: | gorlab [ Sat Mar 04, 2006 3:41 am ] |
Post subject: | |
I have the same problems.... Make me angree have you run dmesg and you find: lirc_mceusb2: USB remote driver for LIRC v0.22 lirc_mceusb2: Martin Blatter <martin_a_blatter@yahoo.com> ACPI: Power Button (FF) [PWRF] ACPI: Power Button (CM) [PBTN] usb 1-1: reset full speed USB device using uhci_hcd and address 2 lirc_dev: lirc_register_plugin: sample_rate: 0 lirc_mceusb2[2]: Philips eHome Infrared Transceiver on usb1:2 usbcore: registered new driver lirc_mceusb2 So he finds the hardware... |
Author: | gorlab [ Sat Mar 04, 2006 3:44 am ] |
Post subject: | |
May help... havent try it yet... http://www.blatter.com/mceusb/INSTALL |
Author: | L0o0ky [ Sat Mar 04, 2006 7:23 pm ] |
Post subject: | |
Try this instead: Quote: 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 \ The above 3 steps (and a reboot) are all I have ever needed to do to get the mceusb remote working. Your mileage may vary... |
Author: | daffydk [ Sun Mar 05, 2006 4:33 am ] |
Post subject: | |
Coool that didt the trick Thanxxx |
Author: | Verzweifler [ Mon Mar 06, 2006 4:13 pm ] |
Post subject: | lirc_register_plugin: no module owner registered |
gorlab wrote:
Hi there, I tried it the "hard" way by (almost) strictly following Martin Blatter's instructions referred to above. My deviations: (3) "make cloneconfig" does not seem to work, so I skipped it (there had been indications in other threads that it does not harm the process) (4) downloaded lirc 0.8.0 and - resulting from this - (6) in the setup I chose the old MCE in order to get a fresh build of lirc_mceusb (using the replaced c-file) No obvious errors during "make" and "make install"... Updated the modules.conf (by appropriately "nano"ing /etc/modutils/aliases and /etc/modutils/lirc and doing an update-modules afterwards ![]() Then issued the "depmod -a" ... When plugging in the receiver (yes, it was unplugged througout the process), I receive ![]() Code: Mar 6 22:50:41 XPC kernel: usb 1-1: new full speed USB device using uhci_hcd and address 4
Mar 6 22:50:42 XPC kernel: usb 1-1: reset full speed USB device using uhci_hcd and address 4 Mar 6 22:50:42 XPC kernel: lirc_dev: lirc_register_plugin: sample_rate: 0 [b]Mar 6 22:50:42 XPC kernel: lirc_dev: lirc_register_plugin: no module owner registered[/b] Mar 6 22:50:42 XPC kernel: lirc_mceusb[4]: out of memory (code=9) Mar 6 22:50:42 XPC kernel: lirc_mceusb: probe of 1-1:1.0 failed with error -12 Mar 6 22:50:42 XPC usb.agent[9744]: lirc_mceusb: already loaded Restarting lircd yields the same output. Anyone with any ideas what went wrong? I think my frustration tolerance starts diminishing a bit ![]() MIG PS: I of course tried to do the same thing chosing the new MCE in step (6). That did not really create a new module to be used, since the modified c-code (residing in the mceusb-directory) is not used, right? KNOPPMYTH R5A30.2 |
Author: | Verzweifler [ Tue Mar 07, 2006 1:32 am ] |
Post subject: | |
L0o0ky wrote: Try this instead:
Quote: 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 \ The above 3 steps (and a reboot) are all I have ever needed to do to get the mceusb remote working. Your mileage may vary... @LOoOky, daffydk What exactly did you guys do to get it work? Clean install? Remote plugged in/unplugged during install/setup? lirc-reconfig? I am about to give up hope... There must be some "human error" involved at my side... ![]() I do not think it's a matter of hardware on my box any more, since everthing else is working just perfect. Probably need to look out for a different remote.. Damn! Greetz MIG |
Author: | daffydk [ Tue Mar 07, 2006 1:57 am ] |
Post subject: | i didnt |
i didnt do anything else but this 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 \ thats the only thing i didt í had my rémote pluged in all the time have you tried the command IRW to test if your remote works ? have you done chmod on the lircrc so that all users have access to the file ? Daffydk |
Author: | Verzweifler [ Tue Mar 07, 2006 4:04 am ] |
Post subject: | Bummer... |
I am an idiot... ![]() "Google is your friend" and I should have listened to that advice from a friend earlier. I realized that lirc-0.8 already supports MCE_V2 in full monty ![]() I am going to reinstall lirc-0.8.0 this evening and give it a try without major modifications (and will wait for my wife kicking my butt). Nevertheless, thanks for your help. I'll keep you posted on any upcoming insanities ![]() MIG edit: @daffydk: errm... I'll of course take care of the permissions set properly. Cross fingers, please! edit2: That small trick did it for me as well... I was quite surprised and never expected it being that easy, but... Thanks! out... ![]() |
Author: | cjonesinbgwa [ Tue Mar 14, 2006 1:31 pm ] |
Post subject: | Re: Bummer... |
Verzweifler wrote: I am going to reinstall lirc-0.8.0 this evening and give it a try without major modifications (and will wait for my wife kicking my butt).
Nevertheless, thanks for your help. I'll keep you posted What were the results of your reinstall. I see LIRC 7.x on KnoppMythR5A30.2 and I tried to use the installed package manager to find LIRC 8.x. I had no luck using the package manager. I downloaded LIRC 8. from SourceForge and installed it. (./configure, make, make install) but when I run lirc-configure.sh... it referes to LIRC 7.x and complains about the MCE being the new version. I tried the copy commands listed in the previous messages and the change to the "/etc/init.d/lirc " file but have had no luck.... Any one have a solution? Bear in mind I am a Linux newbie......I might be in the running for the Linux Newbie poster child..... |
Author: | L0o0ky [ Tue Mar 14, 2006 2:19 pm ] |
Post subject: | Re: Bummer... |
cjonesinbgwa wrote: Verzweifler wrote: I am going to reinstall lirc-0.8.0 this evening and give it a try without major modifications (and will wait for my wife kicking my butt). Nevertheless, thanks for your help. I'll keep you posted What were the results of your reinstall. I see LIRC 7.x on KnoppMythR5A30.2 and I tried to use the installed package manager to find LIRC 8.x. I had no luck using the package manager. I downloaded LIRC 8. from SourceForge and installed it. (./configure, make, make install) but when I run lirc-configure.sh... it referes to LIRC 7.x and complains about the MCE being the new version. I tried the copy commands listed in the previous messages and the change to the "/etc/init.d/lirc " file but have had no luck.... Any one have a solution? Bear in mind I am a Linux newbie......I might be in the running for the Linux Newbie poster child..... If you run irw from the prompt, what happens? Can you see the output from the remote? Can you see the red light on the reciever when you hit buttons on the remote etc... These may seem like little things, but they might be important. It's really had for us to guess. You might also try taking the batteries out of the remote for a little bit (couple of minutes should do). If you get an error running irw, try running lircd and then irw again. Post any errors etc... Aside from that, I have a suggestion, but it does depend on how much you have invested in the current install. I would sugest a fresh install and follow the copy commands. Then reboot. Before you reinstall though, make sure you follow the backup procedures since you will lose your stuff if you don't. L0o0ky |
Author: | cjonesinbgwa [ Tue Mar 14, 2006 4:03 pm ] |
Post subject: | Re: Bummer... |
L0o0ky wrote: Aside from that, I have a suggestion, but it does depend on how much you have invested in the current install. I would sugest a fresh install and follow the copy commands. Then reboot. Before you reinstall though, make sure you follow the backup procedures since you will lose your stuff if you don't.
L0o0ky After my post I did reinstall and modified "/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 \ Then I copied the LIRCD.CONF (after renaming the original file to .old) from here: http://www.sysop.ca/media/lircd.conf That allowed some of the buttons to work but not the ones I want. I would expect most of them to work (excluding the MCE specific ones of course)n, but my experience was the "Ok" button from the default front end will start the "Watch Tv" option, "Pause" will pause and un-pause, but Channel up or down fails, and Volume up or down has no effect. I will try the copy commands and see what happens. Thanks for the quick reply. |
Author: | L0o0ky [ Tue Mar 14, 2006 5:51 pm ] |
Post subject: | Re: Bummer... |
cjonesinbgwa wrote: Then I copied the LIRCD.CONF (after renaming the original file to .old) from here: http://www.sysop.ca/media/lircd.conf
That allowed some of the buttons to work but not the ones I want. I would expect most of them to work (excluding the MCE specific ones of course)n, but my experience was the "Ok" button from the default front end will start the "Watch Tv" option, "Pause" will pause and un-pause, but Channel up or down fails, and Volume up or down has no effect. I will try the copy commands and see what happens. Thanks for the quick reply. I used the lircd.conf from /usr/local/share/knoppmyth/remotes/mceusb2/etc/lircd.conf as I mentioned. The channel up and down buttons work for me--as does the volume, but I had the remote learn from my old one for the TV volume. There are a few buttnons that don't work, but I'm pretty happy with the results. L0o0ky |
Author: | sithlord39 [ Sun Jul 23, 2006 11:02 am ] |
Post subject: | |
Hi guys. I have the HP MCE remote that I took from an HP computer. A picture of it is here http://home.mn.rr.com/techlover/images/hp7250/remote.jpg. I know the hardware is detecting it because I get following when I run lsusb Code: Bus 001 Device 002: ID 03f0:0b0c Hewlett-Packard Also when I press buttons on the remote, the detection light on the receiver lights up. When I run Code: /usr/local/bin/lirc-reconfig.sh and select 27) mce I get the following error message: Quote: WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING I should have been able to auto-detect this remote. If you're sure it's plugged in, please send the contents of /var/log/mythtv/lirc-reconfig.log to knoppmyth@gmail.com. Otherwise, please be sure to plug the remote in and re-run this script. WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING Next I am prompted with this: Quote: Which MCEUSB remote do you have? a) MCEUSB (older). b) MCEUSB (newer). I enter b because I know that the HP MCE remote is the newer one. I then get the follow error message: Quote: ################### ### New MCE USB ### ################### NOTE, the included lircrc is for the older MCEUSB and may not work. If you have an updated version, please send it to knoppmyth@gmail.com System startup links for /etc/init.d/lirc already exist. Stopping lirc daemon: lircmd lircd. Starting lirc daemon: lircd. After doing this the remote did not work. Since this did not work I then tried the following which I saw above: Code: 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 went to do this: Quote: 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 \ but I did not find the 1st line and everything seemed to be as was in the second line so I left the file alone. I restarted however the remote still did not work. Here is a copy of my /etc/lircd.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 # no e2,e3 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 end codes end remote and here is a copy of my /home/mythtv/.mythtv/lircrc Code: # my attempt at a config for the Windows Media Center USB remote begin prog = irxevent button = Back config = Key Escape CurrentWindow end begin prog = irxevent button = One config = Key 1 CurrentWindow end begin prog = irxevent button = Two config = Key 2 CurrentWindow end begin prog = irxevent button = Three config = Key 3 CurrentWindow end begin prog = irxevent button = Four config = Key 4 CurrentWindow end begin prog = irxevent button = Five config = Key 5 CurrentWindow end begin prog = irxevent button = Six config = Key 6 CurrentWindow end begin prog = irxevent button = Seven config = Key 7 CurrentWindow end begin prog = irxevent button = Eight config = Key 8 CurrentWindow end begin prog = irxevent button = Nine config = Key 9 CurrentWindow end begin prog = irxevent button = Zero config = Key 0 CurrentWindow end begin prog = irxevent button = More config = Key I CurrentWindow end begin prog = irxevent button = Mute config = Key Shift-bar CurrentWindow end begin prog = irxevent button = VolUp config = Key bracketright CurrentWindow end begin prog = irxevent button = VolDown config = Key bracketleft CurrentWindow end begin prog = irxevent button = ChanUp config = Key Up CurrentWindow end begin prog = irxevent button = ChanDown config = Key Down CurrentWindow end begin prog = irxevent button = Up config = Key Up CurrentWindow end begin prog = irxevent button = Down config = Key Down CurrentWindow end begin prog = irxevent button = Left config = Key Left CurrentWindow end begin prog = irxevent button = Right config = Key Right CurrentWindow end begin prog = irxevent button = OK config = Key space CurrentWindow end begin prog = irxevent button = Guide config = Key M CurrentWindow end begin prog = irxevent button = Home # This is the "Windows Logo" button # I use it for commercial skip config = Key Z CurrentWindow end begin prog = irxevent button = Skip config = Key Page_Down CurrentWindow end begin prog = irxevent button = Record config = Key R CurrentWindow end begin prog = irxevent button = Pause config = Key P CurrentWindow end begin prog = irxevent button = Replay config = Key Page_Up CurrentWindow end begin prog = irxevent button = Rewind config = Key Left CurrentWindow end begin prog = irxevent button = Play config = Key P CurrentWindow end begin prog = irxevent button = Forward config = Key Right CurrentWindow end and here is a copy of my /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 \ < /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 Sorry about the long post but hopefully that will shed some light. |
Author: | cesman [ Tue Jul 25, 2006 5:08 pm ] |
Post subject: | |
What happens when you run Code: irw ?
|
Page 1 of 3 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |