Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #30473

Re: OT Windows USB inf files

From stephenXXX@mpeforth.com (Stephen Pelc)
Newsgroups comp.lang.forth
Subject Re: OT Windows USB inf files
Organization MPE
Message-ID <537b515c.470252736@news.demon.co.uk> (permalink)
References <6f76c7cd-ec52-4675-8c8e-47bc5cb38c7d@googlegroups.com> <537b13b8.454472018@news.demon.co.uk> <d917b503-849b-41ac-b3d9-f13cecf9a9a6@googlegroups.com>
Date 2014-05-20 13:07 +0000

Show all headers | View raw


On Tue, 20 May 2014 03:10:14 -0700 (PDT), Howerd <howerdo@yahoo.co.uk>
wrote:

>I Googled Xiofen USB driver, but with no success.

Xiaofan Chen USB

>Is the MPE inf file proprietary?

The vast majority of .INF files are cobbled together from various
sources and ours is just the latest. You are welcome to discuss this.
Is your code proprietary?

>BTW the USB CDC device gets recognised as a COM port, and assigned a
>number (COM19). I can even write to it, but Windows is not registering
>it as a "COM port".

That sounds like a descriptor problem.

>The problem is that I would like to use my USBclarify program to tell
>me the COM port number, rather than ask the user to open Windows Device
>Manager and look. For this I would like to have a COMport event...
>Maybe there is a workaround - perhaps I could get the COMport number
>from the USB device filename?

You just (!!!) need to enumerate the COM ports. VFX Forth has a file
called EnumSerial.fth under copyright. If you really need to reinvent
wheels, start at:

http://stackoverflow.com/questions/1388871/how-do-i-get-a-list-of-available-serial-ports-in-win32

You won't enjoy it.

Stephen

-- 
Stephen Pelc, stephenXXX@mpeforth.com
MicroProcessor Engineering Ltd - More Real, Less Time
133 Hill Lane, Southampton SO15 5AF, England
tel: +44 (0)23 8063 1441, fax: +44 (0)23 8033 9691
web: http://www.mpeforth.com - free VFX Forth downloads

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

OT Windows USB inf files Howerd <howerdo@yahoo.co.uk> - 2014-05-19 12:32 -0700
  Re: OT Windows USB inf files Paul E Bennett <Paul_E.Bennett@topmail.co.uk> - 2014-05-20 06:29 +0100
    Re: OT Windows USB inf files Howerd <howerdo@yahoo.co.uk> - 2014-05-20 03:12 -0700
  Re: OT Windows USB inf files albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-05-20 07:48 +0000
    Re: OT Windows USB inf files Howerd <howerdo@yahoo.co.uk> - 2014-05-20 03:19 -0700
      Re: OT Windows USB inf files Mark Wills <markwills1970@gmail.com> - 2014-05-20 08:19 -0700
        Re: OT Windows USB inf files Howerd <howerdo@yahoo.co.uk> - 2014-05-20 09:07 -0700
          Re: OT Windows USB inf files Howerd <howerdo@yahoo.co.uk> - 2014-05-20 09:10 -0700
  Re: OT Windows USB inf files stephenXXX@mpeforth.com (Stephen Pelc) - 2014-05-20 08:40 +0000
    Re: OT Windows USB inf files Howerd <howerdo@yahoo.co.uk> - 2014-05-20 03:10 -0700
      Re: OT Windows USB inf files Bernd Paysan <bernd.paysan@gmx.de> - 2014-05-20 15:01 +0200
      Re: OT Windows USB inf files stephenXXX@mpeforth.com (Stephen Pelc) - 2014-05-20 13:07 +0000
  Re: OT Windows USB inf files "Elizabeth D. Rather" <erather@forth.com> - 2014-05-21 12:42 -1000

csiph-web