Shop OBEX P1 Docs P2 Docs Learn Events
How to check that USB driver was installed? — Parallax Forums

How to check that USB driver was installed?

John KauffmanJohn Kauffman Posts: 653
edited 2014-02-12 14:26 in Propeller 1
I'm starting a short course introducing the Prop, following the on-line Learn C pages,
Students are supposed to arrive in class with their Windows laptops set up as per http://learn.parallax.com/propeller-c-set-simpleide/windows
I don't want them to plug in board if they goofed and the USB was not installed.
How can I check their Windows PC to see if the USB was installed?
I looked in device manager but did not see an entry for FTDI (although works fine on this machine)
Thanks

Comments

  • Ron CzapalaRon Czapala Posts: 2,418
    edited 2014-02-10 08:10
    Not sure about later versions but in XP you can enter this

    driverquery /v|find "ftdi"

    from the command line to see the drivers...
  • John KauffmanJohn Kauffman Posts: 653
    edited 2014-02-10 10:31
    Works in WIn 7 - much thanks.
  • Kris CardoenKris Cardoen Posts: 46
    edited 2014-02-11 12:52
    Hi, I am at the same step of installing on a windows 7


    The installation works fine. If I check my installation with the command driverquery /v|find "ftdi"


    I get


    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.


    C:\Users\cardoen>driverquery /v|find "ftdi"
    FTDIBUS USB Serial Converter D USB Serial Converter D Kernel Manual
    Stopped OK FALSE FALSE 896 58.368 0
    13/04/2012 12:05:13 C:\windows\system32\drivers\ftdibus.sys 2.816




    Is it normal that I have status Stopped?


    I ask this question because each time a connect my propeller board I get the following message


    Device driver software was bot successfully installed


    Regards,
    Kris
  • John KauffmanJohn Kauffman Posts: 653
    edited 2014-02-11 13:58
    To compare. I do not have trouble with load/rin other than about 30 seconds after plugging in USB

    ''''''''''''''''''''''''''''''''''''''''''''''''''
    I get this with USB plugged in or unplugged. When plugged in the code has loaded and works

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Users\John Kauffman>driverquery /v|find "ftdi"
    FTDIBUS USB Serial Converter D USB Serial Converter D Kernel Manual
    Stopped OK FALSE FALSE 896 62,208 0
    7/12/2013 9:29:07 AM C:\Windows\system32\drivers\ftdibus.sys 2,816
  • Ron CzapalaRon Czapala Posts: 2,418
    edited 2014-02-11 15:52
    Piping the output into the Find filter suppresses the column headings so I pasted them in here. If you leave out the "/v" (verbose) you get less info but it is easier to read.

    Module Name Display Name Description Driver Type Start Mode State Status Accept Stop Ac
    cept Pause Paged Pool Code(bytes BSS(by Link Date Path Init(byt
    es
    ============ ====================== ====================== ============= ========== ========== ========== =========== ==
    ========== ========== ========== ====== ====================== ================================================ ========
    ==
    FTDIBUS USB Serial Converter D USB Serial Converter D Kernel Manual Stopped OK FALSE FA
    LSE 800.00 36,128.00 0.00 5/18/2006 4:48:49 AM C:\WINDOWS\system32\drivers\ftdibus.sys 2,176.00


    Ftdisk Volume Manager Driver Volume Manager Driver Kernel Boot Running OK TRUE FA
    LSE 102,400.00 5,888.00 0.00 8/17/2001 4:52:41 PM C:\WINDOWS\system32\DRIVERS\ftdisk.sys 4,096.00

    If you leave out the "/v" (verbose) you get less info but it is easier to read (filter on "USB")

    driverquery|find "USB"

    FTDIBUS USB Serial Converter D Kernel 5/18/2006 4:48:49 AM
    FTSER2K USB Serial Port Driver Kernel 5/18/2006 4:49:00 AM
    Icam4USB Intel PC Camera Pro Kernel 8/17/2001 5:05:55 PM
    U2SP USB to Serial Converte Kernel 8/26/2002 5:29:40 AM
    usbaudio USB Audio Driver (WDM) Kernel 7/16/2013 8:58:02 PM
    usbccgp Microsoft USB Generic Kernel 8/8/2013 8:55:07 PM
    usbehci Microsoft USB 2.0 Enha Kernel 3/18/2009 7:02:22 AM
    usbhub Microsoft USB Standard Kernel 4/13/2008 2:45:36 PM
    usbprint Microsoft USB PRINTER Kernel 4/13/2008 2:47:37 PM
    usbscan USB Scanner Driver Kernel 7/2/2013 9:59:02 PM
    USBSTOR USB Mass Storage Drive Kernel 4/13/2008 2:45:37 PM
    usbuhci Microsoft USB Universa Kernel 4/13/2008 2:45:34 PM
    VNUSB VN Series Device Kernel 4/7/2006 4:06:36 AM
    wceusbsh Windows CE USB Serial Kernel 10/27/2006 12:14:42 PM
    WinUSB Android USB Driver Kernel 11/2/2006 4:55:05 AM
  • jazzedjazzed Posts: 11,803
    edited 2014-02-11 16:16
    USB devices are "stopped" if they are not connected.

    I always hear a "dong-ding" when I plug in a device, and a "ding-dong" after unplugging.

    In a near future version of SimpleIDE, USB ports will automatically be added/removed from the port list when attached/detached.
  • Kris CardoenKris Cardoen Posts: 46
    edited 2014-02-12 12:15
    Hello,

    This is the output I get

    C:\Users\cardoen>driverquery|find "USB"
    BrFiltLo Brother USB Mass-Stora Kernel 7/08/2006 3:51:06
    BrFiltUp Brother USB Mass-Stora Kernel 7/08/2006 3:51:02
    BrUsbMdm Brother MFC USB Fax On Kernel 7/08/2006 3:51:00
    BrUsbSer Brother MFC USB Serial Kernel 9/08/2006 14:11:02
    BTHUSB Bluetooth Radio USB Dr Kernel 28/04/2011 5:54:56
    btwampfl Bluetooth AMP USB Filt Kernel 13/07/2010 3:41:18
    dg_ssudbus SAMSUNG Mobile USB Com Kernel 14/08/2013 8:47:42
    FTDIBUS USB Serial Converter D Kernel 13/04/2012 12:05:13
    FTSER2K USB Serial Port Driver Kernel 13/04/2012 12:04:59
    ssudmdm SAMSUNG Mobile USB Mo Kernel 14/08/2013 8:47:50
    tsusbhub Remote Deskotop USB Hu Kernel 20/11/2010 12:07:10
    usbaudio USB Audio Driver (WDM) Kernel 12/07/2013 12:40:58
    usbccgp Microsoft USB Generic Kernel 4/09/2013 14:11:49
    usbehci Microsoft USB 2.0 Enha Kernel 4/09/2013 14:11:43
    usbhub Microsoft USB Standard Kernel 4/09/2013 14:12:10
    usbohci Microsoft USB Open Hos Kernel 4/09/2013 14:11:42
    usbprint Microsoft USB PRINTER Kernel 14/07/2009 2:38:18
    usbscan USB Scanner Driver Kernel 3/07/2013 6:40:12
    USBSTOR USB Mass Storage Drive Kernel 20/11/2010 11:44:05
    usbuhci Microsoft USB Universa Kernel 4/09/2013 14:11:42
    WinUSB WinUSB Service Kernel 20/11/2010 11:43:56


    Are there other checks I can perform, because I still get problems when connecting the device

    Device driver software was bot successfully installed
    :frown:
  • jazzedjazzed Posts: 11,803
    edited 2014-02-12 12:46
    Hello,

    This is the output I get ...
    Insert your USB cable attached to the Propeller board, then click on the little drop-down box circled below. Currently ports will not appear until you do that. A soon to be released version update of SimpleIDE will detect the USB ports for you.


    attachment.php?attachmentid=106860&d=1392237816
    555 x 432 - 36K
  • Ron CzapalaRon Czapala Posts: 2,418
    edited 2014-02-12 12:50
    Hello,

    This is the output I get

    C:\Users\cardoen>driverquery|find "USB"
    BrFiltLo Brother USB Mass-Stora Kernel 7/08/2006 3:51:06
    BrFiltUp Brother USB Mass-Stora Kernel 7/08/2006 3:51:02
    BrUsbMdm Brother MFC USB Fax On Kernel 7/08/2006 3:51:00
    BrUsbSer Brother MFC USB Serial Kernel 9/08/2006 14:11:02
    BTHUSB Bluetooth Radio USB Dr Kernel 28/04/2011 5:54:56
    btwampfl Bluetooth AMP USB Filt Kernel 13/07/2010 3:41:18
    dg_ssudbus SAMSUNG Mobile USB Com Kernel 14/08/2013 8:47:42
    FTDIBUS USB Serial Converter D Kernel 13/04/2012 12:05:13
    FTSER2K USB Serial Port Driver Kernel 13/04/2012 12:04:59

    ssudmdm SAMSUNG Mobile USB Mo Kernel 14/08/2013 8:47:50
    tsusbhub Remote Deskotop USB Hu Kernel 20/11/2010 12:07:10
    usbaudio USB Audio Driver (WDM) Kernel 12/07/2013 12:40:58
    usbccgp Microsoft USB Generic Kernel 4/09/2013 14:11:49
    usbehci Microsoft USB 2.0 Enha Kernel 4/09/2013 14:11:43
    usbhub Microsoft USB Standard Kernel 4/09/2013 14:12:10
    usbohci Microsoft USB Open Hos Kernel 4/09/2013 14:11:42
    usbprint Microsoft USB PRINTER Kernel 14/07/2009 2:38:18
    usbscan USB Scanner Driver Kernel 3/07/2013 6:40:12
    USBSTOR USB Mass Storage Drive Kernel 20/11/2010 11:44:05
    usbuhci Microsoft USB Universa Kernel 4/09/2013 14:11:42
    WinUSB WinUSB Service Kernel 20/11/2010 11:43:56


    Are there other checks I can perform, because I still get problems when connecting the device

    Device driver software was bot successfully installed
    :frown:

    The drivers I highlighted in red in your list are FTDI drivers.

    Can you be more specific when you say you "get problems when connecting the device"?
    Exactly what device, what error or messages are you getting? Do you always get the error or is it sporadic?
  • Ron CzapalaRon Czapala Posts: 2,418
    edited 2014-02-12 13:00
    F.Y.I.

    You can allow Device Manager to display "hidden devices" (at least under XP)
    • right-click "My Computer"
    • click "Properties" to bring up the "System Properties" dialog box
    • click the "Advanced" tab
    • click the "Environment variables" button toward the bottom
    • under the "System variables" list click the "New" button
    • enter "devmgr_show_nonpresent_devices" for the variable name and "1" for the value and click "OK"
    Now when you open Device Manager, click "View" and "Show hidden devices".
    Under the "Ports" treeview entry you should all the ports - even those not currently in use...

    EDIT: To change the assigned port number for a particular port in Device Manager
    • right-click on a port entry (e.g. USB serial port (COM4)
    • click "Properties"
    • click "Port Settings" tab
    • click "Advanced..." button
    • select an used Com Port Number
    • click OK
  • jazzedjazzed Posts: 11,803
    edited 2014-02-12 13:21
    Ron that's one of the most useful posts I've ever seen on these forums.

    I was just using regedit :)

    Thanks.
  • Ron CzapalaRon Czapala Posts: 2,418
    edited 2014-02-12 14:26
    jazzed wrote: »
    Ron that's one of the most useful posts I've ever seen on these forums.

    I really doubt that but hopefully it will be helpful. Not sure if it applies to Windows 7 or 8...

    I'm sure people have been frustrated trying to view hidden devices.

    It doesn't work unless you set the environment variable - what was Microsoft's thinking there?!?

    - Ron
Sign In or Register to comment.