Forum
[PROBLEM] Configuration remote.xml - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Configuration (/forum-17.html)
+--- Thread: [PROBLEM] Configuration remote.xml (/thread-78.html)

Pages: 1 2 3 4 5


RE: Configuration remote.xml - Hawk - 20th Dec, 2012 10:43 AM

Cant change to root with "su root" "su" or "su -l root"
PW is always wrong

"sudo su" worked


RE: Configuration remote.xml - CurlyMo - 20th Dec, 2012 10:45 AM

That's why i suggested you use:
Code:
sudo

Changing to root is done by:
Code:
sudo su
Then the password of the xbian user.


RE: Configuration remote.xml - Hawk - 20th Dec, 2012 10:47 AM

Code:
xbian@xbian:~# sudo su
[sudo] password for xbian:
root@xbian:/home/xbian# sudo tar -xvf mceusb.tar.gz -C /
etc/lirc/
etc/lirc/hardware/
etc/lirc/hardware/srm7500libusb.conf
etc/lirc/hardware/mceusb.conf
etc/lirc/hardware/mceusb_event2.conf
etc/lirc/hardware/lirc_rpi.conf
etc/lirc/hardware/mceusb_event1.conf
etc/lirc/hardware/default.conf
etc/lirc/hardware/mceusb_event0.conf
etc/lirc/hardware.conf
etc/lirc/lircd.conf
etc/lirc/lircmd.conf
etc/lirc/remotes/
etc/lirc/remotes/devinput.conf
etc/lirc/remotes/xbox.conf
etc/lirc/remotes/smt1000t.conf
home/xbian/.xbmc/userdata/Lircmap.xml
usr/local/share/xbmc/system/Lircmap.xml
tar: A lone zero block at 139
root@xbian:/home/xbian# sudo wget -O - https://raw.github.com/xbianonpi/xbian/xbian-alpha4/etc/lirc/hardware.conf > /etc/lirc/hardware.conf
--2012-12-20 00:46:10--  https://raw.github.com/xbianonpi/xbian/xbian-alpha4/etc/lirc/hardware.conf
Resolving raw.github.com (raw.github.com)... 207.97.227.243
Connecting to raw.github.com (raw.github.com)|207.97.227.243|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1011 [text/plain]
Saving to: `STDOUT'

100%[======================================>] 1,011       --.-K/s   in 0.001s  

2012-12-20 00:46:22 (1.70 MB/s) - written to stdout [1011/1011]

root@xbian:/home/xbian# sudo /etc/init.d/lirc restart
[ ok ] Stopping remote control daemon(s): LIRC:.
[ ok ] Loading LIRC modules:.
[ ok ] Starting remote control daemon(s) : LIRC :.



RE: Configuration remote.xml - CurlyMo - 20th Dec, 2012 10:48 AM

Does the remote work better?

Can you post an output of while using the remote:
Code:
irw



RE: Configuration remote.xml - Hawk - 20th Dec, 2012 10:53 AM

Code:
xbian@xbian:~# sudo su
[sudo] password for xbian:
root@xbian:/home/xbian# irw

It stucks after irw and nothing happens, the remote isnt working better. I jumps now between folder without that i do anything.

ESC, OK and VIDEO is still working.

Bed time - 2 am here, lets try tomorow - thx.


RE: Configuration remote.xml - CurlyMo - 20th Dec, 2012 10:59 AM

So clearly my implementation of Lirc doesn't work for your remote. Restore to the old hardware.conf:
Code:
sudo wget -O - https://raw.github.com/xbianonpi/xbian/xbian-alpha4/etc/lirc/hardware.conf > /etc/lirc/hardware.conf
sudo /etc/init.d/lirc restart

Can you try following my guide how to map a remote and post any issues following it.


RE: Configuration remote.xml - Hawk - 20th Dec, 2012 11:38 PM

I stuck at point 3b:
Code:
root@xbian:/home/xbian# irrecord /home/xbian/remote.conf

irrecord -  application for recording IR-codes for usage with lirc

Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)

irrecord: could not get file information for /dev/lirc0
irrecord: default_init(): No such file or directory
irrecord: could not init hardware (lircd running ? --> close it, check permissions)



RE: Configuration remote.xml - CurlyMo - 20th Dec, 2012 11:45 PM

You didn't properly follow Step 3b.


RE: Configuration remote.xml - Hawk - 20th Dec, 2012 11:53 PM

(20th Dec, 2012 11:45 PM)CurlyMo Wrote:  You didn't properly follow Step 3b.

Where?

Code:
xbian@xbian:~#
xbian@xbian:~# sudo su
[sudo] password for xbian:
root@xbian:/home/xbian# /etc/init.d/lirc stop
[ ok ] Stopping remote control daemon(s): LIRC:.
root@xbian:/home/xbian# irrecord /home/xbian/remote.conf

irrecord -  application for recording IR-codes for usage with lirc

Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)

irrecord: could not get file information for /dev/lirc0
irrecord: default_init(): No such file or directory
irrecord: could not init hardware (lircd running ? --> close it, check permissions)



RE: Configuration remote.xml - CurlyMo - 20th Dec, 2012 11:58 PM

Owk, my fault, don't stop LIRC before running irrecord.


RE: Configuration remote.xml - Hawk - 21st Dec, 2012 12:01 AM

(20th Dec, 2012 11:58 PM)CurlyMo Wrote:  Owk, my fault, don't stop LIRC before running irrecord.

^^

(21st Dec, 2012 12:01 AM)Hawk Wrote:  
(20th Dec, 2012 11:58 PM)CurlyMo Wrote:  Owk, my fault, don't stop LIRC before running irrecord.

^^

Code:
xbian@xbian:~# irrecord /home/xbian/remote.conf

irrecord -  application for recording IR-codes for usage with lirc

Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)

irrecord: could not get file information for /dev/lirc0
irrecord: default_init(): No such file or directory
irrecord: could not init hardware (lircd running ? --> close it, check permissions)
xbian@xbian:~# sudo su
[sudo] password for xbian:
root@xbian:/home/xbian# irrecord /home/xbian/remote.conf

irrecord -  application for recording IR-codes for usage with lirc

Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)

irrecord: could not get file information for /dev/lirc0
irrecord: default_init(): No such file or directory
irrecord: could not init hardware (lircd running ? --> close it, check permissions)
root@xbian:/home/xbian#

Isnt working anyway.


RE: Configuration remote.xml - CurlyMo - 21st Dec, 2012 12:05 AM

Can you try with this hardware.conf:
https://raw.github.com/xbianonpi/xbian/xbian-alpha4/etc/lirc/hardware/mceusb_event0.conf

or this one:
https://raw.github.com/xbianonpi/xbian/xbian-alpha4/etc/lirc/hardware/mceusb_event1.conf


RE: Configuration remote.xml - Hawk - 21st Dec, 2012 12:09 AM

Code:
sudo wget -O - https://raw.github.com/xbianonpi/xbian/xbian-alpha4/etc/lirc/hardware/mceusb_event0.conf > /etc/lirc/hardware.conf

Will thiswork?


RE: Configuration remote.xml - CurlyMo - 21st Dec, 2012 12:10 AM

Yes


RE: Configuration remote.xml - Hawk - 21st Dec, 2012 12:16 AM

Code:
xbian@xbian:~#
xbian@xbian:~# irrecord /home/xbian/remote.conf

irrecord -  application for recording IR-codes for usage with lirc

Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)

irrecord: could not get file information for /dev/lirc0
irrecord: default_init(): No such file or directory
irrecord: could not init hardware (lircd running ? --> close it, check permissions)
xbian@xbian:~# sudo wget -O - https://raw.github.com/xbianonpi/xbian/xbian-alpha4/etc/lirc/hardware/mceusb_event1.conf > /etc/lirc/hardware.conf
-bash: /etc/lirc/hardware.conf: Permission denied
xbian@xbian:~# sudo su
[sudo] password for xbian:
root@xbian:/home/xbian# sudo wget -O - https://raw.github.com/xbianonpi/xbian/xbian-alpha4/etc/lirc/hardware/mceusb_event1.conf > /etc/lirc/hardware.conf
--2012-12-20 14:15:23--  https://raw.github.com/xbianonpi/xbian/xbian-alpha4/etc/lirc/hardware/mceusb_event1.conf
Resolving raw.github.com (raw.github.com)... 207.97.227.243
Connecting to raw.github.com (raw.github.com)|207.97.227.243|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 607 [text/plain]
Saving to: `STDOUT'

100%[======================================>] 607         --.-K/s   in 0s      

2012-12-20 14:15:34 (1.47 MB/s) - written to stdout [607/607]

root@xbian:/home/xbian# irrecord /home/xbian/remote.conf

irrecord -  application for recording IR-codes for usage with lirc

Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)

irrecord: could not get file information for /dev/lirc0
irrecord: default_init(): No such file or directory
irrecord: could not init hardware (lircd running ? --> close it, check permissions)
root@xbian:/home/xbian#

Code:
root@xbian:/home/xbian# /etc/init.d/lirc stop
[ ok ] Stopping remote control daemon(s): LIRC:.
root@xbian:/home/xbian# irrecord /home/xbian/remote.conf

irrecord -  application for recording IR-codes for usage with lirc

Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)

irrecord: could not get file information for /dev/lirc0
irrecord: default_init(): No such file or directory
irrecord: could not init hardware (lircd running ? --> close it, check permissions)
root@xbian:/home/xbian# /etc/init.d/lirc restart
[FAIL] Stopping remote control daemon(s): LIRC: failed!
[ ok ] Loading LIRC modules:.
[ ok ] Starting remote control daemon(s) : LIRC :.
root@xbian:/home/xbian# irrecord /home/xbian/remote.conf

irrecord -  application for recording IR-codes for usage with lirc

Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)

irrecord: could not get file information for /dev/lirc0
irrecord: default_init(): No such file or directory
irrecord: could not init hardware (lircd running ? --> close it, check permissions)
root@xbian:/home/xbian# sudo wget -O - https://raw.github.com/xbianonpi/xbian/xbian-alpha4/etc/lirc/hardware/mceusb_event0.conf > /etc/lirc/hardware.conf
--2012-12-20 14:19:24--  https://raw.github.com/xbianonpi/xbian/xbian-alpha4/etc/lirc/hardware/mceusb_event0.conf
Resolving raw.github.com (raw.github.com)... 207.97.227.243
Connecting to raw.github.com (raw.github.com)|207.97.227.243|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 607 [text/plain]
Saving to: `STDOUT'

100%[======================================>] 607         --.-K/s   in 0s      

2012-12-20 14:19:35 (1.46 MB/s) - written to stdout [607/607]

root@xbian:/home/xbian# irrecord /home/xbian/remote.conf

irrecord -  application for recording IR-codes for usage with lirc

Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)

irrecord: could not get file information for /dev/lirc0
irrecord: default_init(): No such file or directory
irrecord: could not init hardware (lircd running ? --> close it, check permissions)
root@xbian:/home/xbian#
Doesnt work!