Try the "bad" remote program with code 10812 on your other Samsung, see if it works there.
BTW, to use the input button, it must be enabled by the following sequence
1. Press and hold MUTE and SELECT (LED flashes twice)
2. Enter 993 (LED flashes twice, if enabled, LED flashes 4 times if disabled).