LIRC + V-USB for HTPC interface

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
ionte
Posts: 4
Joined: Tue Oct 20, 2009 12:08 am

LIRC + V-USB for HTPC interface

Post by ionte » Sat Oct 31, 2009 12:20 pm

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.

maxi
Rank 3
Rank 3
Posts: 122
Joined: Fri Jul 24, 2009 6:13 pm

Re: LIRC + V-USB for HTPC interface

Post by maxi » Sat Oct 31, 2009 4:41 pm

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.

christian
Objective Development
Objective Development
Posts: 1443
Joined: Thu Nov 09, 2006 11:46 am

Re: LIRC + V-USB for HTPC interface

Post by christian » Sun Nov 01, 2009 11:03 am

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.

Post Reply