I think I see a problem.

in ir-sysfs.c is the following:

        if (!strncasecmp(tmp, "unknown", 7)) {
                tmp += 7;
                mask = IR_TYPE_UNKNOWN;
        } else if (!strncasecmp(tmp, "rc5", 3)) {
                tmp += 3;
                mask = IR_TYPE_RC5;
        } else if (!strncasecmp(tmp, "nec", 3)) {
                tmp += 3;
                mask = IR_TYPE_NEC;
        } else if (!strncasecmp(tmp, "rc6", 3)) {
                tmp += 3;
                mask = IR_TYPE_RC6;
        } else if (!strncasecmp(tmp, "jvc", 3)) {
                tmp += 3;
                mask = IR_TYPE_JVC;
        } else if (!strncasecmp(tmp, "sony", 4)) {
                tmp += 4;
                mask = IR_TYPE_SONY;
        } else if (!strncasecmp(tmp, "rc5sz", 5)) {
                tmp += 5;
                mask = IR_TYPE_RC5_SZ;
        } else if (!strncasecmp(tmp, "lirc", 4)) {
                tmp += 4;
                mask = IR_TYPE_LIRC;
        } else {
                IR_dprintk(1, "Unknown protocol\n");
                return -EINVAL;
        }

If "rc5sz" is entered, the check for "rc5" will pass.

-- 
Streamzap remote control not operating correctly
https://bugs.launchpad.net/bugs/663651
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in ubuntu.

Status in “lirc” package in Ubuntu: New

Bug description:
Binary package hint: lirc

After upgrading to Ubuntu 10.10 my Streamzap IR remote control does not operate 
correctly.
Pressing the direction buttons (Up, Down, Left and Right) generated 2 presses 
to the MythTV application.



_______________________________________________
Mailing list: https://launchpad.net/~mythbuntu-bugs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mythbuntu-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to