lirc plugin doesn't work with inputlirc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Elisa Media Center |
Invalid
|
Undecided
|
Unassigned |
Bug Description
inputlirc is a simplified LIRC daemon which works just for input devices. see: http://
when i use inputlirc with elisa, and pressing any key it doesn't do anything, but throws an exception like that:
Traceback (most recent call last):
File "/usr/lib/
return callWithContext
File "/usr/lib/
return context.
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
--- <exception caught here> ---
File "/usr/lib/
why = source.doRead()
File "/usr/lib/
return self.protocol.
File "/usr/lib/
why = self.lineReceiv
File "/home/
self.
File "/home/
elapsed_
exceptions.
comparing the output of irw when running inputlirc and lirc shows a little difference:
inputlirc: cf 0 KEY_PLAY pci-0000:
lirc: 00000000800100cf 00 KEY_PLAY devinput
the lines always look like: HEX_KEY REPEAT KEY_VALUE REMOTE
in this example HEX_KEY and REMOTE are different, but that doesn't matter, since these values can be configured in the remote.map, the issues is the REPEAT value in inputlirc its 0 and in lirc its 00
in lirc_input.py at line 144: http://
repeat is compared to '00', that fails with inputlirc. solution would be converting repeat to integer and comparing it to 0
i'm gonna upload a patch soon
The latest free moovida 1.09 does not get any maintenance since a while. Now moovidadb.com is supporting Linux and support can be found at : http:// www.fluendo. com/faq/