Hi. Thanks for your reply. Le duodi 2 ventôse, an CCXVII, Devin Heitmueller a écrit : > I would have to look at the code, but if I recall, the code is > designed to return -ETIMEDOUT during normal operation when no key > press is detected.
That is what I thought it was supposed to do.
> Are there any cases where it returns something *other* than
> -ETIMEDOUT? Because if so, then the keypress is probably being
> received but not processed properly.
I just re-did it:
if(status != -ETIMEDOUT)
printk("dib0700_rc_query_v1_20: status = %d\n", status);
just after usb_bulk_msg. Then I press keys on the remote: I see mostly
nothing, but once in a while, I get:
[ 800.589349] dib0700_rc_query_v1_20: status = 0
[ 800.589366] dib0700: Unknown remote controller key: 00 13 36 c9
I did not manage to find any pattern in the keys that come through: that
seems completely random.
If I do use the 1.10 firmware and do the same in dib0700_rc_query_legacy
just after the test against 0.0.0.0, I get a diagnosis line (or several)
each time I press a key on the remote, without any loss.
I fear this means the problem is in the firmware itself. I am willing to do
further tests, but I have no competence at all regarding firmwares for such
devices.
Regards,
--
Nicolas George
signature.asc
Description: Digital signature
