In my 2008 Macbook in System Profiler shows Infrared receiver. I have infrared on my phone also, and I'm thinking if there is anything I can use it for ?
or get an app like remote buddy and an apple remote, and you can pretty much fully control your computer.
depending on how old it is, your phone probably has an IrDA port, which is a very very slow precursor to USB. I've seen it on some printers and laptops, but that was at least 10 years ago.
At one point i think i was able to sync my phone to my laptop, and printed something from my phone, but that's been quite a while ago, so dont really remember the specifics.