Forum

Full Version: Configuration remote.xml
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
Cant change to root with "su root" "su" or "su -l root"
PW is always wrong

"sudo su" worked
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.
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 :.
Does the remote work better?

Can you post an output of while using the remote:
Code:
irw
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.
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.
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)
You didn't properly follow Step 3b.
(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)
Owk, my fault, don't stop LIRC before running irrecord.
(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.
Code:
sudo wget -O - https://raw.github.com/xbianonpi/xbian/xbian-alpha4/etc/lirc/hardware/mceusb_event0.conf > /etc/lirc/hardware.conf

Will thiswork?
Yes
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!
Pages: 1 2 3 4 5
Reference URL's