Page 1 of 1

LIRC + V-USB for HTPC interface

Posted: Sat Oct 31, 2009 12:20 pm
by ionte
Hi

Has anyone managed to build a V-USB device to use with LIRC as an IR-receiver? If so, what protocol did you use, or did you have to hack a new driver for LIRC?

I'm building this HTPC interface card that has 6 buttons, 6 LED's, a VFD-display and an IR-receiver, and would like to have it all connected to the HTPC via USB.

Also, is it possible to have two applications talk to the same device? I want Lirc to get information from the IR-receiver, and LCDproc to control the display. And if possible I would like the buttons to be connected as a HID-device, emulating a function-keys on a keyboard.

The PC is running a Linux system btw.

Re: LIRC + V-USB for HTPC interface

Posted: Sat Oct 31, 2009 4:41 pm
by maxi
Not quite V-USB or HID but a good starting point might be: http://www.xs4all.nl/~dicks/avr/usbtiny/ Also look at the InfraHID project.

Re: LIRC + V-USB for HTPC interface

Posted: Sun Nov 01, 2009 11:03 am
by christian
Don't know anything about LIRC, but it is definitely possible to have two apps communicating with the device. Make sure that all communication is done through control transfers on endpoint 0, you don't need to set an interface or configuration for this. If you need to set an interface or configuration, only one app may use the device.