The n900 has no IR-receiver. So you have to record the IR-remote with another linux computer that has a ir-receiver. If nothing works you have to use lirc-raw recording.