Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

remote help, some buttons not working
Thank you for your donation

Pages (2): 1 2 Next »
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
remote help, some buttons not working
14th Dec, 2012, 03:14 PM
Post: #1
freeballer Offline
Registered
Posts: 11
Joined: Dec 2012
Reputation: 0
remote help, some buttons not working
I just upgraded to the beta 3, I am using it on my raspberry pi, model b.
I bought a decent remote off ebay. Some buttons don't work though on xbian, I'm not familiar with xbmc setup so I'd appreciate the help. By default I do not see a lirc install which is what a few forums elsewhere say to configure. To the best of my ability its an arc6 mce remote, probably similar to a gateway/dell model (but there is no actual brand/label on the front). The direction buttons work, so does select and numbers but the mute, volume down, pause, rew/fast do NOT. I'd love it if someone could point me in the right direction. I am just getting back into linux after a year or two...

Geoff
Find all posts by this user
Quote this message in a reply
14th Dec, 2012, 07:19 PM
Post: #2
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
RE: remote help, some buttons not working
Does this help you: http://wiki.xbmc.org/index.php?title=Keymap#Remote_Section ? (I know it's a bit technical)

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
14th Dec, 2012, 08:59 PM
Post: #3
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: remote help, some buttons not working
We are working hard on MCE Remote support. This is nearly done and will be included in Alpha 4. Enabling the MCE remote takes quit some time and steps. Until then, you can try this fix:
Code:
sudo wget -O - https://raw.github.com/xbianonpi/xbian/xbian-alpha4/etc/lirc/lircd.conf > /etc/lirc/lircd.conf
sudo /etc/init.d/lirc restart
sudo /etc/init.d/xbmc restart
This will probably result in a slightly better supported remote but will still be buggy (that's part of the long story). At least you know we are working hard on it!

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
15th Dec, 2012, 12:44 AM
Post: #4
freeballer Offline
Registered
Posts: 11
Joined: Dec 2012
Reputation: 0
RE: remote help, some buttons not working
the problem with the how-to on xbmc, or at last the problem I've been having is which configuration file to modify?
The format is actually kind of easy, but I wasn't sure if I should be dealing strictly with lirc, keyboard.xml, remote, Lircdmapping.xml or /etc/lirc/
I could probably plunk away at the receiver codes through debug log but wasn't sure which file, and if needed a specific reference to rc6/mce in remote.conf.

I did try the new lircd.conf file but after I'd done so the /etc/init.d/xbmc script failed, It said could "ERROR: Unable to create application. Exiting"
I had to start xbmc "manually", but didn't have anymore success with the remote buttons. I will try posting again in an hour or two when I get things sorted because now the debug console has zero lines....
Find all posts by this user
Quote this message in a reply
15th Dec, 2012, 12:53 AM
Post: #5
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: remote help, some buttons not working
Step 1: Remove the red part from /usr/local/share/xbmc/system/Lircmap.xml (https://github.com/xbianonpi/xbian/blob/xbian-alpha4/Patches/xbmc/Lircmap.xml.patch )
Step 2: Paste that red part in /home/xbian/.xbmc/userdata/Lircmap.xml (with <remote device="mceusb"> as its root)
Step 3: Edit /etc/lirc/lircd.conf and rename "mceusb_microsoft" to "mceusb"
Step 4: Edit /etc/lirc/lircd.conf so the button names matches with the Lircmap.xml config, and how the logical behavior should be.

If you want to try an edit, you need to start both XBMC and LIRC. When you have a working combination of Lircmap.xml & lircd.conf post them so we can include them in Alpha 4.

Quote:I did try the new lircd.conf file but after I'd done so the /etc/init.d/xbmc script failed, It said could "ERROR: Unable to create application. Exiting"
This can be caused by my lircd.conf edit. You must have done something else that broke it.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
15th Dec, 2012, 06:24 AM
Post: #6
freeballer Offline
Registered
Posts: 11
Joined: Dec 2012
Reputation: 0
RE: remote help, some buttons not working
ok. whatever I did, I undid.
I'm onto step 3/4.

Will I need to add the "scancode" to each entry, individually?
Say this is my output for "pause", in xbmc.log

Code:
15:17:24 T:3042136064   DEBUG: Keyboard: scancode: a8, sym: 0153, unicode: 0000, modifier: 0
15:17:24 T:3042136064   DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
15:17:24 T:3042136064   DEBUG: Previous line repeats 3 times.

will it be?

Code:
<pause>0153</pause>
Find all posts by this user
Quote this message in a reply
15th Dec, 2012, 06:59 AM
Post: #7
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: remote help, some buttons not working
No, you need to start
Code:
irw
Check the code of a key:
Code:
000000037ff07be4 00 KEY_PREVIOUS logitech-harmony-300i

Then in Lircmap.xml:
Code:
<skipminus>KEY_PREVIOUS</skipminus>

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
15th Dec, 2012, 08:05 AM
Post: #8
freeballer Offline
Registered
Posts: 11
Joined: Dec 2012
Reputation: 0
RE: remote help, some buttons not working
Code:
[    2.501267] usb 1-1.2: new low-speed USB device number 4 using dwc_otg
[    2.618367] usb 1-1.2: New USB device found, idVendor=0471, idProduct=0613
[    2.631104] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.637357] usb 1-1.2: Product: MCE USB IR Receiver- Spinel plus
[    2.657396] usb 1-1.2: Manufacturer: PHILIPS
[    2.689501] input: PHILIPS MCE USB IR Receiver- Spinel plus as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input0
[    2.710613] hid-generic 0003:0471:0613.0001: input,hiddev0,hidraw0: USB HID v1.00 Keyboard [PHILIPS MCE USB IR Receiver- Spinel plus] on usb-bcm2708_usb-1.2/input0


I know the thing is showing up at startup, but not getting any msgs whatsoever using "irw". I just figured it was because of architecture, distro or modules.. I don't know if it helps but here's output of /var/log/ircd. I'm guessing its looking at /dev/lirc* or whatnot


Code:
Dec 14 16:28:02 RaspberryPi lircd: accepted new client on /var/run/lirc/lircd
Dec 14 16:28:02 RaspberryPi lircd: could not get file information for /dev/lirc0
Dec 14 16:28:02 RaspberryPi lircd: default_init(): No such file or directory
Dec 14 16:28:02 RaspberryPi lircd: WARNING: Failed to initialize hardware
Dec 14 16:28:21 RaspberryPi lircd: removed client
Dec 14 16:28:24 RaspberryPi lircd: accepted new client on /var/run/lirc/lircd
Dec 14 16:28:24 RaspberryPi lircd: could not get file information for /dev/lirc0
Dec 14 16:28:24 RaspberryPi lircd: default_init(): No such file or directory
Dec 14 16:28:24 RaspberryPi lircd: WARNING: Failed to initialize hardware
Dec 14 17:48:50 RaspberryPi lircd: accepted new client on /var/run/lirc/lircd
Dec 14 17:49:42 RaspberryPi lircd: removed client
Dec 14 17:49:48 RaspberryPi lircd: accepted new client on /var/run/lirc/lircd
Dec 14 17:52:03 RaspberryPi lircd: removed client
Find all posts by this user
Quote this message in a reply
15th Dec, 2012, 08:08 AM
Post: #9
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: remote help, some buttons not working
Get the remote working in the first place is discussed here:
https://github.com/xbianonpi/xbian/issues/71

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
15th Dec, 2012, 09:23 AM
Post: #10
freeballer Offline
Registered
Posts: 11
Joined: Dec 2012
Reputation: 0
RE: remote help, some buttons not working
the forum post in said link did not work for me... Other than that, I tried everything on that page and still nada
Even the keys that DO WORK in xbmc do not show with "irw"
Find all posts by this user
Quote this message in a reply
15th Dec, 2012, 09:37 AM
Post: #11
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: remote help, some buttons not working
This specific solution should work in Alpha 3:
https://github.com/xbianonpi/xbian/issues/71#issuecomment-10929474

Also try this to see if the RPi is receiving any signal:
https://github.com/xbianonpi/xbian/issues/71#issuecomment-10349817

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
15th Dec, 2012, 11:52 AM
Post: #12
freeballer Offline
Registered
Posts: 11
Joined: Dec 2012
Reputation: 0
RE: remote help, some buttons not working
It definitely has to be receiving (a) signal because other buttons work correctly, however some basic functions do NOT including;
volume down, mute, pause, back, fwd, rew. (some others don't either, but I'd be happy with those listed)

I have tried those solutions on a clean install of alpha 3.
Find all posts by this user
Quote this message in a reply
15th Dec, 2012, 07:33 PM
Post: #13
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: remote help, some buttons not working
So what does 'mode2' output?

Please check this Howto on how to map your remote:
http://xbian.org/forum/showthread.php?tid=49

And also try this fix:
https://github.com/xbianonpi/xbian/issues/170

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
17th Dec, 2012, 09:34 AM
Post: #14
m-unit Offline
Registered
Posts: 7
Joined: Dec 2012
Reputation: 0
RE: remote help, some buttons not working
I tried following the guide you linked to in issue 170.

after wget'ing the tar file. I try command tar -zxvf lirc.tar.gz -C /

It says

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

please advise
Find all posts by this user
Quote this message in a reply
17th Dec, 2012, 09:35 AM
Post: #15
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: remote help, some buttons not working
First open the link in your browser, then download the file in XBian. Wierd mediafire functionality.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 23rd May, 2025, 11:56 AM Powered By MyBB, © 2002-2025 MyBB Group.