you should remember to include the make and model of your surround receiver, it will help get the correct answer.
Without knowing this, I would guess that your receiver needs to be told you are using an optical connection. This may have to be done from a set up menu, or you may have a button on the front plate A/D or digital input, which when selected switches between the analoge and digital inputs.