All Forums
 Microsoft Windows CE
 CE Drivers
 Using the IR port
 Forum Locked  Topic Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

KnowledgeBase

296 Posts

Posted - 26 Feb 2002 :  14:34:25  Show Profile  Email Poster
Q: How can I make use of the Infrared (IR) serial port?

First make sure that IR transceivers are populated on your system. For example, on the Graphics Client Plus (and original GC), the transceiver is a molded rectangular part with two lenses on the edge of the board near the boot ROM socket.

Second, for Graphics Client Plus (and original GC) systems, set JP7 for use as an IR port. GC and GC+ (rev B) systems should have JP7 jumpers on 11-12 and 19-20. GC+ rev A systems require jumper wires on JP7 across 12-19 and 11-20.

Finally, configure the Windows CE registry for use as an IR port as follows (for Thin Client systems, IR is on Serial6; change the registry accordingly):

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
"INT_Disable"=dword:0
"IRSerialPort"=dword:1

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IrDA]
"IRSerialPort"=dword:1



LMI

1 Posts

Posted - 27 Jun 2002 :  11:05:00  Show Profile  Email Poster
Do you have an idea how to configure the same port in Linux?

Thank you
LMI
Go to Top of Page

hongqi

10 Posts

Posted - 02 Apr 2003 :  19:23:42  Show Profile  Email Poster
How to configure and use IR port with Bitsy plus?

Thanks

Hong

Go to Top of Page

akidder

1519 Posts

Posted - 22 Apr 2003 :  15:10:41  Show Profile  Email Poster
To use IrDA with Linux, enable IrDA when you build the kernel.

For Windows CE, IrDA is enabled by the following registry entries (extracted from Bitsy Plus adsload.reg release 700114-17019):

;---------------------------------------------------------------------
; Serial 2 and IrDA
;
; Enable IR if personality board uses Serial 2 for IrDA. Logic polarity
; and pulse width are different for IrDA than for EIA/TIA-232.
;
; TxDelayDisable and TxOnly keys are useful for IrDA transmit-only
; applications.
;---------------------------------------------------------------------
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
    "INT_Disable"=dword:0        0=normal Serial 2 operation
                                 1=disable Serial 2

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IrDA]
    "IRSerialPort"=dword:1       1=Serial2 is IrDA
    "TxDelayDisable"=dword:1     0=delay 10ms between end of transmit and
                                   turning on receiver (IrDA is half duplex)
                                 1=no delay (use this for ActiveSync)
    "TxOnly"=dword:0             1=IrDA is transmit-only
                                 (disables IrDA receiver)

Go to Top of Page

BrianClausing

4 Posts

Posted - 11 Sep 2003 :  15:10:38  Show Profile  Email Poster
quote:
[i]Originally posted by akidder[/i]
[br]To use IrDA with Linux, enable IrDA when you build the kernel.

...(omitted)...




Does the standard Linux distribution for Graphics Client Plus have IrDA enabled?

MBC
Go to Top of Page

akidder

1519 Posts

Posted - 11 Sep 2003 :  15:51:41  Show Profile  Email Poster
Thanks for your post, Brian. Our precompiled Linux kernels don't have IrDA enabled, but you should be able to set the jumpers and enable the drivers to get IrDA working.

I'm moving this post to the Windows CE forums, where we should probably have posted it originally, instead of the Hardware forum. I say this so future readers don't think you posted to the wrong forum!

If you have further questions about IrDA and Linux, feel free to post to the Linux Open Discussion Forum
Go to Top of Page

Steve Anderson

1 Posts

Posted - 19 Mar 2004 :  11:35:07  Show Profile  Email Poster
I want to use Comm 2 for raw IR communication (no irda formatting) on a bitsyX running CE. What settings are required in the registry? How do I toggle the IRDAON control level?
SteveA
Go to Top of Page
  Topic  
 Forum Locked  Topic Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000