LIRC List members,
I would like to use the following Haptic controller with a Mythtv setup. I
am trying to find out how best to interface the two. I immediately thought
of lirc as it is very well supported by Mythtv.
The unit that I have purchased comes with a FTDI USB controller.
Another hacker has had some success gleaning the communications protocol
used by the device, this information is located here:
"Unofficial" Protocol Details:
I few problems I have thought of so far:
1: This is a two way device, Lirc would have to be able to program the
device, as well as read the input stream. (i think lirc is capable of this,
perhaps workaround this by setting up two devices?)
2: To use this device to its fullest, lirc would need some mechanism of
finding out the current number of list items to effectively program the
3: My understanding of the Lirc environment is fairly rudimentry. I have
some knowledge of c, but I have never attempted to write any sort of device
driver. How hard would it be to write a driver for this device? The
protocol seems easy enough to implement. I guess the first step would be
to write a standalone app to program and capture info from the device, then
try and port it into lirc environment? What current lirc driver would be
best suited to use as an example?
Thanks for reading, I haven't received the device as yet, I am just trying
to gather as much info as I can before it arrives so I can jump straight
> try and port it into lirc environment? What current lirc driver would be
> best suited to use as an example?
I'm really not sure if lirc is what you really want to use for this
device, but you can use daemons/hw_tira.c as a startpoint and see how far
From: Michael Keetman <lirc@mi...> - 2008-09-14 23:17:29
Thanks for the reply Christoph,
I have had a cursory look at the hw_tira driver, and it does look like a
pretty good example. I guess my main problem will be not reading codes
from the device, but programming it.
Thanks for the pointer.
On 13 Sep 2008 09:36:00 +0200, lirc@... (Christoph Bartelmus)
> "lirc@..." wrote:
>> try and port it into lirc environment? What current lirc driver would
>> best suited to use as an example?
> I'm really not sure if lirc is what you really want to use for this
> device, but you can use daemons/hw_tira.c as a startpoint and see how far
> you get.
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> Build the coolest Linux based applications with Moblin SDK & win great
> Grand prize is a trip for two to an Open Source event anywhere in the