Forum
X10 Remote - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Hardware (/forum-7.html)
+--- Forum: Remotes and CEC support (/forum-26.html)
+--- Thread: X10 Remote (/thread-431.html)

Pages: 1 2 3 4


RE: X10 Remote - 1of16 - 22nd Feb, 2013 05:01 AM

to be honest...I don't really know Wink
I think its loading:
Terminal
Feb 21 19:19:07 xbian lircd: lircd(atilibusb) ready, using /var/run/lirc/lircd
but mode2 doens't work after I stop lircd
and I can't use dpkg-reconfigure lircd to change the main-lirc setting (got that from how-to's for the x10)


RE: X10 Remote - CurlyMo - 22nd Feb, 2013 05:22 AM

Can you try changing /etc/lirc/hardware/custom.conf to
Code:
# /etc/lirc/hardware/custom.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

#Don't start irexec, even if a good config file seems to exist.
#START_IREXEC=false

#Try to load appropriate kernel modules
LOAD_MODULES=true

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="atilibusb"
# usually /dev/lirc0 is the correct setting for systems using udev
#DEVICE=""
#MODULES=""

# Default configuration files for your hardware if any
#LIRCD_CONF=""
#LIRCMD_CONF=""

And restart lirc and try mode2 again:
Code:
sudo /etc/init.d/lirc restart
sudo mode2



RE: X10 Remote - 1of16 - 22nd Feb, 2013 07:28 AM

still the same Sad

Terminal
mode2: could not get file information for /dev/lirc0
mode2: default_init(): No such file or directory



RE: X10 Remote - CurlyMo - 22nd Feb, 2013 07:30 AM

Can you share the howto's you found.


RE: X10 Remote - 1of16 - 22nd Feb, 2013 07:46 AM

there many, but all I found so far are german: http://linuxundich.de/de/ubuntu/pc-funkfernbedienung-x10-unter-ubuntu-mit-lirc/
but I guess you can understand the commands...

thanks you for all your help so far!


RE: X10 Remote - CurlyMo - 22nd Feb, 2013 07:55 AM

Can you try:
Code:
sudo modprobe ati_remote



RE: X10 Remote - 1of16 - 22nd Feb, 2013 06:47 PM

(22nd Feb, 2013 07:55 AM)CurlyMo Wrote:  Can you try:
Code:
sudo modprobe ati_remote
no errormessage.
found another how-to: http://www.loggn.de/ubuntu-lirc-xbmc-mit-pc-funkfernbedienung-x10-steuern/
but:
Terminal
root@xbian:/etc/modprobe.d# modprobe lirc_atiusb
FATAL: Module lirc_atiusb not found.

I added
Terminal
REMOTE_DEVICE="/dev/lirc0"
but nothing has changed...


RE: X10 Remote - CurlyMo - 22nd Feb, 2013 07:10 PM

After using my previous hardware.conf, what does this output:
Code:
ls -Al /dev/lirc*



RE: X10 Remote - 1of16 - 22nd Feb, 2013 07:59 PM

(22nd Feb, 2013 07:10 PM)CurlyMo Wrote:  After using my previous hardware.conf, what does this output:
Code:
ls -Al /dev/lirc*

Terminal
root@xbian:/etc/lirc/hardware# ls -Al /dev/lirc*
lrwxrwxrwx 1 root root 21 Feb 22 10:57 /dev/lircd -> ../var/run/lirc/lircd



RE: X10 Remote - CurlyMo - 22nd Feb, 2013 08:02 PM

Does it work in Raspbmc or OpenElec?


RE: X10 Remote - 1of16 - 22nd Feb, 2013 08:04 PM

didn't tried it...raspbmc is really annoying, so I prefer to use xbian Smile
I know its working with ubuntu/debian...


RE: X10 Remote - CurlyMo - 22nd Feb, 2013 08:07 PM

I know, but to be sure it does work on the Raspberry Pi.


RE: X10 Remote - 1of16 - 23rd Feb, 2013 03:36 AM

ok...its confusing...but with raspbmc its working pefect!...out of the box


RE: X10 Remote - CurlyMo - 23rd Feb, 2013 03:59 AM

Can you post their /etc/lirc/lircd.conf + /etc/lirc/hardware.conf + lsmod


RE: X10 Remote - 1of16 - 23rd Feb, 2013 04:02 AM

lircd.conf
Terminal
#UNCONFIGURED
#
# To find out how to get a proper configuration file please read:
#
# /usr/share/doc/lirc/README.Debian

hardware.conf
Terminal
# /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

#Don't start irexec, even if a good config file seems to exist.
#START_IREXEC=false

#Try to load appropriate kernel modules
LOAD_MODULES=true

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="UNCONFIGURED"
# usually /dev/lirc0 is the correct setting for systems using udev
DEVICE=""
MODULES=""

# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""

lsmod
Terminal
Module Size Used by
bcm2708_wdog 2740 1
ipv6 232892 28
xt_state 660 1
uinput 8696 1
iptable_mangle 736 0
iptable_nat 2408 0
nf_nat 10526 1 iptable_nat
nf_conntrack_ipv4 8768 4 nf_nat,iptable_nat
nf_defrag_ipv4 716 1 nf_conntrack_ipv4
nf_conntrack 51300 4 nf_nat,xt_state,iptable_nat,nf_conntrack_ipv4
iptable_filter 616 1
ip_tables 10480 3 iptable_filter,iptable_mangle,iptable_nat
x_tables 10436 5 ip_tables,xt_state,iptable_filter,iptable_mangle,iptable_nat
spidev 3932 0
rc_medion_x10_or2x 764 0
ati_remote 6728 0
rc_core 11504 3 rc_medion_x10_or2x,ati_remote
spi_bcm2708 4104 0
i2c_bcm2708 2820 0
i2c_core 20536 1 i2c_bcm2708