Hello,
I have USB X10 RC remore control:
First I start webcamd:
outputs some garbage on the console when I pressing the buttons on the remote.
Next, I use irrecord to learn some buttons:
Next, I start lircd:
And finally, irw makes no output.
What's wrong? Thanks!
I have USB X10 RC remore control:
Code:
ugen2.2: <X10 Wireless Technology Inc> at usbus2
First I start webcamd:
Code:
> sudo webcamd
Linux video capture interface: v2.00
lirc_dev: IR Remote Control driver registered, major 14
IR NEC protocol handler initialized
IR RC5(x) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR RC5 (streamzap) protocol handler initialized
IR SANYO protocol handler initialized
IR LIRC bridge handler initialized
b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded successfully
uvcvideo: Unable to create debugfs directory
USB Video Class driver (1.1.1)
cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1
au0828 driver loaded
pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner
pvrusb2: Debug mask is 31 (0x1f)
USBVision USB Video Device Driver for Linux : 0.9.11
Em28xx: Initialized (Em28xx dvb Extension) extension
virtual DVB server adapter driver, version 1.0-hps, (c) 2011 Hans Petter Selasky
Attached to ugen2.2[0]
Registered IR keymap rc-ati-x10
rc0: X10 Wireless Technology Inc USB Receiver as webcamd
DBG: : ati_remote_irq_in: urb error status, unlink?
Creating /dev/input/event0
DBG: : ati_remote_irq_in: urb error status, unlink?
Creating /dev/input/event1
Code:
sudo cat /dev/input/event0
Next, I use irrecord to learn some buttons:
Code:
> sudo irrecord -H devinput n.conf
irrecord - application for recording IR-codes for usage with lirc
Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)
irrecord: initializing '/dev/input/event0'
irrecord: WARNING: can't get exclusive access to events coming from `/dev/input/event0' interface
This program will record the signals from your remote control
and create a config file for lircd.
Usually it's not necessary to create a new config file for devinput
devices. A generic config file can be found at:
http://www.lirc.org/remotes/devinput/
You should try this config file before creating your own config file.
...
Press RETURN to continue.
Hold down an arbitrary button.
................................................................................
Found gap length: 47721
Now enter the names for the buttons.
Please enter the name for the next button (press <ENTER> to finish recording)
kEY_5
Now hold down button "kEY_5".
Please enter the name for the next button (press <ENTER> to finish recording)
KEY_PLAY
Now hold down button "KEY_PLAY".
Please enter the name for the next button (press <ENTER> to finish recording)
irrecord: closing '/dev/input/event0'
irrecord: initializing '/dev/input/event0'
irrecord: WARNING: can't get exclusive access to events coming from `/dev/input/event0' interface
irrecord: closing '/dev/input/event0'
Successfully written config file.
Next, I start lircd:
Code:
sudo lircd -d /dev/lirc0 -H devinput /usr/local/etc/lirc/n.conf
And finally, irw makes no output.
What's wrong? Thanks!