> I am trying to port the xbox dvd dongle driver (originally used with
> lirc-0.6.6, development seems dead). I have been able to integrate the
> source into the lirc-0.8.4a configure and make scripts (no small feat!)
> and compile and install the module.
> So, can anyone help tell me what has to get changed to transform get_keys
> method to the newer lirc_dev add_to_buf method?
You should not use add_to_buf at all. This method uses polling. Instead
you should just call lirc_buffer_write_1 with the new code you receive in
xir_process_packet and then call wake_up on the lirc_buffer wait_poll
You should also get rid of the static __xir variable and allocate this