Summary: | app-misc/lirc-*: livedrive_midi.c: livedrive_rec_midi fails to see SYSEX_END until logprintf(…) is added above it. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Navid Zamani <navid.zamani> |
Component: | Current packages | Assignee: | Craig Andrews <candrews> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Navid Zamani
2012-05-14 23:34:51 UTC
Oops, there are some inconsistencies in my comment, because I made progress while writing it. • Originally I did not know that midi.sysex_end is zero instead of 0xF7 when the bug occurs. • And I had to replace the logprintf of midi.sysex_end by midi.key, because I found out, that the bug still happens when logprintfing midi.sysex_end. • Also, “line 52” (of livedrive_midi.c) always is meant for version 0.8.7 of lirc. (But I don’t think the code changed much or at all in the last years.) Please retest with lirc-0.9.0-r2 and if it still occurrs, I'll patch it. I expect that somehow, without the logprintf, parts of the code are being optimized out when they shouldn't be. Hey, I just tried the 0.9.0-r2… No changes. It still doesn’t work. I hope your patch will be bit more elegant than my quick-and-dirty logprintf though. ;) Okay, I just merged 0.9.0-r2 again, and this is still the case. I’m wondering about upstream right now. I would contact them, if you haven’t already. Please report this issue upstream and link to it here if you can still reproduce this issue. |