Re: How to support a lot of serial port in WCE42?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I take that back. You do have to modify and recompile the driver to remove
the prefix in order use DEVFLAGS_NAKEDENTRIES. Otherwise there would be no
way for device to determine which function does what. It also looks to be
supported in 4.2...

--
Dean Ramsier - eMVP
BSQUARE Corporation


"Dean Ramsier" <ramsiernospam@xxxxxxxxxx> wrote in message
news:ug9RRjm1GHA.1252@xxxxxxxxxxxxxxxxxxxxxxx
That probably does work. I was thinking you would have to at least
recompile the driver in order to remove the prefix if you used that flag,
but I guess you could leave it as is. No reason I know of the naked
function name can't be COM_xxx. I'm not sure about its availability in
4.2 either...
--
Dean Ramsier - eMVP
BSQUARE Corporation


"Yannick Chamming's [eMVP]" <ychammings_nospam@xxxxxxxxxx> wrote in
message news:eQO1aDj1GHA.3516@xxxxxxxxxxxxxxxxxxxxxxx
There is a flag you can put in registry to remove prefix requirement in
the source code to allow this... However, Dean, you might be right,
because I'm not sure this flag is already supported in CE 4.2

--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO
Windows Embedded Manager
ychammings AT adeneo DOT adetelgroup DOT com>
http://www.adeneo-embedded.com
Tél : +33 (0)4.72.18.08.40
Fax : +33 (0)4.72.18.08.41
----------------------------------------------------------------

"Dean Ramsier" <ramsiernospam@xxxxxxxxxx> a écrit dans le message de
news: %23MDBJOa1GHA.4796@xxxxxxxxxxxxxxxxxxxxxxx
Offhand, I don't think that will work. The prefix needs to match the
stream driver entry point, so a change from COM to XYX requires a
recompile of source code.
--
Dean Ramsier - eMVP
BSQUARE Corporation


"Yannick Chamming's [eMVP]" <ychammings_nospam@xxxxxxxxxx> wrote in
message news:ui6APTW1GHA.2196@xxxxxxxxxxxxxxxxxxxxxxx
you can use the same driver (let's say serial.dll) and just change the
prefix without having to create a new driver

--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO
Windows Embedded Manager
ychammings AT adeneo DOT adetelgroup DOT com>
http://www.adeneo-embedded.com
Tél : +33 (0)4.72.18.08.40
Fax : +33 (0)4.72.18.08.41
----------------------------------------------------------------

"Daric" <Daric@xxxxxxxxxxxxxxxxxxxxxxxxx> a écrit dans le message de
news: BD40B0AC-9DCF-4C62-9E74-8F3D5342978E@xxxxxxxxxxxxxxxx
Unfortunately, my platform is base on WCE42, it seems that WCE42 is
not
support driver index large than 9, so, should I create another driver
and use
different prefix name to support each ten com port? Is there any other
smart
way to support this in WCE42?

"David Liao (MS)" wrote:

After Windows CE 5.0 thiere is no limitation on driver's index.
If you have com port more ten, the index will go over ten. If index
is hight
than 10, you only can use (open) device by $device name.
Like
CreateFile(TEXT("$device\com12")...);
David Liao.
"Daric" <Daric@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:60D1289B-1B1D-4502-866F-F4C63BBD8AF0@xxxxxxxxxxxxxxxx
Hi, all

I own a device with 12 serial ports, I've write a driver and
success to
load
9 instances to support from COM1: to COM9; But when I try to load
instances
to support COM10/11/12, it failed. I can't find activated
information in
HKLM\\Drivers\\Active.
What's the way to support serial ports up to 10 and more? Any
suggestion
is
very appreciated!

Daric














.



Relevant Pages

  • [GIT]: Networking
    ... maintainer making a lot of changes to driver FOO. ... support for networking. ... iwl3945: Fix iwl3945 rate scaling. ... Fix build warning due to typo in %pI4 format changes. ...
    (Linux-Kernel)
  • [GIT]: Networking
    ... Make VLAN and MACVLAN drivers support multiqueue, ... Return type of net driver xmit routines is formalized into ... Lots of bluetooth fixes and cleanups from Marcel Holtmann ... Fix premature termination of FIN_WAIT2, ...
    (Linux-Kernel)
  • [GIT]: Networking
    ... RFKILL rewrite from Johannes Berg. ... IPV6 stateless autoconfig support for ISATAP, ... fix led bug when SW rfkill ... Add watchdog functionality to hfcmulti driver ...
    (Linux-Kernel)
  • Re: CD/DVD drive errors and lost ticks
    ... Try and pass ide=noprobe option to the kernel boot command line and see if that makes a difference first - may be that will allow the SATA/PATA drivers to claim the CDROM before IDE sees it. ... # ACPI Support ... # PCI Hotplug Support ... # Generic Driver Options ...
    (Linux-Kernel)
  • OPL3SA2: spin_is_locked on uninitialized spinlock
    ... I've found a lot of errors like this when loading the OPL3SA2 sound ... driver on my old Intel AL440LX computer, ... compile the kernel. ... # ACPI Support ...
    (Linux-Kernel)