What's your fex like? Did you recognise
https://github.com/linux-sunxi/sunxi-boards/commit/68acb3b1610a44b9402560623f7e35b7882585e9?
Regards
Am 04.12.2014 14:42, schrieb Simo Xefil:
Hello to all!
I'm trying to debug IR signals on a A20 based board with Arch Linux.
I'm trying to test if I'm able to read values from a remote IR control.
During boot I can recognise the ir as follow:
|
[2.478959]input:sunxi-ir as/devices/virtual/input/input0
|
Looking on the devices I get:
|
# cat /proc/bus/input/devices
I:Bus=0019Vendor=0001Product=0001Version=0100
N:Name="sunxi-ir"
P:Phys=RemoteIR/input1
S:Sysfs=/devices/virtual/input/input0
U:Uniq=
H:Handlers=sysrq rfkill kbd event0
B:PROP=0
B:EV=3
B:KEY=ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
fffffffe
(...)
|
Then, using this command I expect to see some signals:
|
# evtest /dev/input/event0
Inputdriver version is1.0.1
Inputdevice ID:bus 0x19vendor 0x1product 0x1version 0x100
Inputdevice name:"sunxi-ir"
Supportedevents:
Eventtype 0(EV_SYN)
Eventtype 1(EV_KEY)
Eventcode 1(KEY_ESC)
Eventcode 2(KEY_1)
Eventcode 3(KEY_2)
(...)
Eventcode 247(KEY_RFKILL)
Eventcode 248(?)
Eventcode 249(?)
Eventcode 250(?)
Eventcode 251(?)
Eventcode 252(?)
Eventcode 253(?)
Eventcode 254(?)
Eventcode 255(?)
Properties:
Testing...(interrupt to exit)
|
I've tested a PHILIPS remote, no signal, and a SAMSUNG remote. On the
samsung remote I get values.
|
Event:time 1417698487.436218,type 1(EV_KEY),code 2(KEY_1),value 1
Event:time 1417698487.436227,--------------EV_SYN ------------
Event:time 1417698487.959104,type 1(EV_KEY),code 2(KEY_1),value 0
Event:time 1417698487.959113,--------------EV_SYN ------------
Event:time 1417698489.688749,type 1(EV_KEY),code 2(KEY_1),value 1
Event:time 1417698489.688757,--------------EV_SYN ------------
Event:time 1417698489.989063,type 1(EV_KEY),code 2(KEY_1),value 0
Event:time 1417698489.989070,--------------EV_SYN ------------
Event:time 1417698490.761935,type 1(EV_KEY),code 2(KEY_1),value 1
Event:time 1417698490.761947,--------------EV_SYN ------------
Event:time 1417698491.069059,type 1(EV_KEY),code 2(KEY_1),value 0
Event:time 1417698491.069065,--------------EV_SYN ------------
Event:time 1417698491.961707,type 1(EV_KEY),code 2(KEY_1),value 1
Event:time 1417698491.961715,--------------EV_SYN ------------
Event:time 1417698492.269065,type 1(EV_KEY),code 2(KEY_1),value 0
Event:time 1417698492.269072,--------------EV_SYN ------------
|
Also the device works. All remote are working used on their own devices.
My goal is to remplicate the signal of a remote command of an
automatic pellet stove. I would like to clone the signal. The remote
works on the stove, also it's not a remote issue. Is there a way to
debug or to know if the remote is incompatible? Reading the
instructions it's defined as Infra Red. Are there different IR
signals? I've read that in some cases, values sent above 255 are
ignored. Could be the case? How in case to solve?
Thanks!
Simon
--
You received this message because you are subscribed to the Google
Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.