From: Martin M. <mar...@gm...> - 2010-01-25 17:55:19
|
Hi Christoph, I tested the radio remote control with the kernel module using channel 13 and now everything seems to work as it should. No more unexpected key presses. One thing that took me a while to understand was the setting "toggle_bit_mask". For quite some time I thought I have to adapt this to use the existing config file without anything else to change... silly me ;). Apparently it means, which keys must be toggled to get the second valid value for a key. Another interesting behaviour was that "irrecord --device=/dev/lirc0" always hanged afer the first button had been successfully read. It asked for the next button, and when I entered the next button I got no more reaction. Just pressing enter worked though and a valid config file was written. Generating the config this way was quite some work. :) ------------------------------------- In case somebody else wants to configure an X10 USB radio remote control from pollin I hereby add my config, that works for channel 13. ------------------------------------- /etc/modprobe.d/lirc.conf: options lirc_atiusb unique=1 mask=0x1000 debug=1 blacklist ati_remote ------------------------------------- I attach my /etc/lirc/hardware.conf and /etc/lirc/x10_remote.conf which defines all keys for the remote so that it can be used without problems. The x10_remote.conf is partly derived from one of the other example config files in the distributions atiusb directory. thanks a lot, Martin On Sun, 2010-01-17 at 22:13 +0100, Christoph Bartelmus wrote: > Hi! > > Martin MAURER "mar...@gm..." wrote: > > please CC in replies, as I am not member of the list. > > > > I've got an X10 radio remote control, which I use together with irexec > > to execute some commands on my linux PC. I use the atilibusb driver. > > lirc version is 0.8.6 > > > > radio remote control (german site, but maybe at least the image helps) > > http://www.pollin.de/shop/dt/MDI2ODcyOTk-/Computer_und_Zubehoer/Hardware/Mae > > use_Unterlagen_Joystick/PC_Funkfernbedienung_X10.html > > > > The problem is that I sometimes get key presses when I didn't even touch > > the remote. I guess that there is some interference with something else > > (maybe my wlan?). > [...] > > Shall I try the kernel module instead of atilibusb? Might this improve > > the situation? > > With the atilibusb driver you will always receive from all channels. > I guess your neighbor has the same device... I guess in this situation > using lirc_atiusb will help, but you will have to use the unique or mask > module parameter to be able to distinguish specific channels. > > Christoph > |