I've been playing with a similar control myself.
The book that comes with it has a list of manufacturers and models and a four digit code for each, but mine isn't listed.
I then have to go through the procedure you mentioned.
You switch on the TV. Them press the "M" button till the red...