2009/8/15 Russell Jones <russell.jones@gmail.com>
2009/8/15 Christoph Bartelmus <lirc@bartelmus.de>

> I played about with the lirc ir* commands,
> but found that only irw would give any output. irexec, ircat, etc output
> nothing.

Because the remote and key names you see with irw are different from what
you configured in .lircrc.
Some of them were named that way though... from looking at examples, the KEY_ part is not required, right? Some of the others were from the standard Hauppage /etc/lirc/lircd.conf

> I disabled device detection by the HAL as described here:
> http://www.lirc.org/html/devinput.html. I wasn't able to make much sense of
> the output of xev beyond there only being a response from those keys
> mappable in System|Preferences|Keyboard Shortcuts

If some key don't work there, it's the kernel drivers fault.
I'm puzzled by this comment. If the keys show up in irw, doesn't that mean there isn't a problem with the kernel?
 

Start lircd with the config file found at:
http://lirc.sourceforge.net/remotes/devinput/lircd.conf.devinput
and adjust your .lircrc.
OK, will have a look at that.
Right, this works, but the same as with inputlirc: irw responds to button presses on the remote (the values of "button" in .lircrc are based on these), but irexec and ircat don't. I've changed the .lircrc to the following, but the result is the same. Nothing for any buttons, even the ones listed.

Every time irexec is started and exited, the following shows up in /var/log/daemon.log

Aug 15 20:44:14 myhost lircd-0.8.3[3934]: initializing '/dev/input/event7'
Aug 15 20:44:47 myhost lircd-0.8.3[3934]: removed client
Aug 15 20:44:47 myhost lircd-0.8.3[3934]: closing '/dev/input/event7'

Thanks for your help.

Russell

.lircrc
begin
  remote = *
  prog = irexec
  button = OK
  repeat = 0
  config = echo "Hello, OK?"
end

begin
  remote = devinput
  prog = irexec
  button = RADIO
  repeat = 0
  config = echo "Hello, world!"
end

begin
  remote = devinput
  prog = irexec
  button = AUDIO
  config = echo "Hello, audio!"
end

begin
  prog = irexec
  remote = devinput
  button = YELLOW
  config = echo "Hello, yello!"
end

begin
  prog = irexec
  remote = devinput
  button = BLUE
  repeat = 0
  config = /usr/bin/xeyes
end

begin
  remote = devinput
  button = VIDEO
  prog = myprog
  config = next_file
end