[Lcdproc] IMON Driver for OSX/Darwin
Phil Taylor
Phil.Taylor@lansystems.co.uk
Thu Jun 28 14:57:02 2007
This is a multi-part message in MIME format.
------_=_NextPart_001_01C7B994.7F3200BB
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi.
=20
I have successfully modified the LCDproc IMON driver to use the
OSX/Darwin IOKit USB interface (well it is displaying what is sent to
it!). I worked out what was needed from the lirc_imon driver with
regards to data format etc.
=20
It seems to work and be pretty stable (no crashes in over 24 hours
running LCDd+lcdproc) but I was wondering if there was anyone that has
an IMON device and a Machine running OS X 10.4.x (whether a real mac or
a hackintosh!!) that can test the driver with other hardware. I am
currently using the VFD from an Antec HTPC case and it seems to work
fine as far as I can tell . I am currently working on getting + and -
from the volume knob as well.
=20
A couple of questions, I have #ifdef DARWIN for all of my changes to the
imon.c file but I also need to add " LDFLAGS =3D -framework
CoreFoundation -framework IOKit" to the Makefile in the server directory
and I cannot quite work out how to do it within the configure
architecture.=20
=20
What are peoples thoughts about linking LCDd with the IOKit/Core
frameworks? I couldn't think of another way to do it....
=20
If anybody would like to take a look at my changes (potentially with a
view to adding them to CVS) please let me know.
=20
Cheers
=20
Phil
=20
=20
=20
=20
=20
---
CONFIDENTIALITY NOTICE:
This Email is confidential and may also be privileged. If you are not =
the intended recipient, please notify the sender IMMEDIATELY; you should =
not copy the email or use it for any purpose or disclose its contents to =
any other person.
GENERAL STATEMENT:
Any statements made, or intentions expressed in this communication may =
not necessarily reflect the view of the Company. Be advised that no =
content herein may be held binding upon the Company or any associated =
company unless confirmed by the issuance of a formal contractual =
document or Purchase Order.
Any Prices quoted are valid for ONE Business day only. Calls to LAN =
Systems may be recorded for quality assurance and training purposes.
Lan Limited t/as Lan Systems is a company registered in England & Wales =
(Registered Number: 3026720), our VAT Registration number is: 620 3796 =
50.
If you would like any information on the products and services offered =
by Lan Systems, please visit our web site http://www.lansystems.co.uk
E&OE
------_=_NextPart_001_01C7B994.7F3200BB
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3DEN-GB link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal>Hi.<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>I have successfully modified the LCDproc IMON =
driver to use
the OSX/Darwin IOKit USB interface (well it is displaying what is =
sent to
it!). I worked out what was needed from the lirc_imon driver with =
regards to
data format etc.<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>It seems to work and be pretty stable (no crashes =
in over 24
hours running LCDd+lcdproc) but I was wondering if there was anyone that =
has an
IMON device and a Machine running OS X 10.4.x (whether a real mac or a =
hackintosh!!)
that can test the driver with other hardware. I am currently using the =
VFD from
an Antec HTPC case and it seems to work fine as far as I can tell . I am
currently working on getting + and – from the volume knob as =
well.<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>A couple of questions, I have #ifdef DARWIN for all =
of my
changes to the imon.c file but I also need to add “ LDFLAGS =
=3D
-framework CoreFoundation -framework IOKit” to the Makefile in the =
server
directory and I cannot quite work out how to do it within the configure
architecture. <o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>What are peoples thoughts about linking LCDd with =
the
IOKit/Core frameworks? I couldn’t think of another way to do =
it....<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>If anybody would like to take a look at my changes =
(potentially
with a view to adding them to CVS) please let me know.<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>Cheers<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>Phil<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
</div>
</body>
</html>
<P align=3Dleft>---</P>
<P align=3Dleft>CONFIDENTIALITY NOTICE:<BR>This Email is confidential =
and may also be privileged. If you are not the intended recipient, =
please notify the sender. IMMEDIATELY; you should not copy the email or =
use it for any purpose or disclose its contents to any other person.</P>
<P align=3Dleft>GENERAL STATEMENT:<BR>Any statements made, or intentions =
expressed in this communication may not necessarily reflect the view of =
the Company. Be advised that no content herein may be held binding upon =
the Company or any associated company unless confirmed by the issuance =
of a formal contractual document or Purchase Order.</P
<P align=3Dleft>Any Prices quoted are valid for ONE Business day =
only. Calls to LAN Systems may be recorded for quality assurance =
and training purposes.</P>
<P align=3Dleft>Lan Limited t/as Lan Systems is a company registered in =
England & Wales (Registered Number: 3026720), our VAT Registration =
number is: 620 3796 50.</p>
<P align=3Dleft>If you would like any information on the products and =
services offered by Lan Systems, please visit our web site <A =
href=3D"http://www.lansystems.co.uk">http://www.lansystems.co.uk</A><BR><=
/P>
<P align=3Dleft>E&OE</P>
<P align=3Dleft> </P>
------_=_NextPart_001_01C7B994.7F3200BB--