Topic: Missing webcam drivers  (Read 13850 times)

Missing webcam drivers
« on: February 22, 2016, 04:23:07 PM »

JustinE

  • Jr. Chef
  • **
  • Date Registered: Feb 2016
  • Posts: 18
Good morning,

I was hoping for some insight into how to apply webcam drivers into the build.  From my research, I haven't been able to find a generic or universal webcam driver to upload into the build. 

Does the builder incorporate any drivers for these devices?  Here's what I've tested without success:

Tried installing from device manager by browsing to location of webcam driver on local C: - wouldn't install because driver was unsigned or was successful but a reboot is needed.
Used DISM to export webcam drivers and upload into driver integration then rebuilt WinPE - says driver install was successful during build but device manager still shows driver as missing.
Downloaded driver for Windows 8.1 x86/x64 from manufacturer website, uploaded into driver integration for appropriate architecture build and rebuilt - same as last line, driver still missing.

Is there something I'm missing?  Thanks in advance for the help!

Re: Missing webcam drivers
« Reply #1 on: February 22, 2016, 05:07:21 PM »

KYHI

  • Code Baker
  • Sr. Chef
  • ****
  • Location: Kentucky
  • Date Registered: Jan 2015
  • Posts: 909
Try running the driver installer from within PE, see if that works..

Re: Missing webcam drivers
« Reply #2 on: February 22, 2016, 07:44:13 PM »

JustinE

  • Jr. Chef
  • **
  • Date Registered: Feb 2016
  • Posts: 18
Try running the driver installer from within PE, see if that works..

I have tried to install the drivers from within PE through device manager.  Is there another location I should try to install the drivers from within PE?

Thanks.

Re: Missing webcam drivers
« Reply #3 on: February 22, 2016, 08:34:31 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
sometimes drivers pre request other drivers operational......
 on your case maybe gpu driver ! maybe something else.....
  let us know if you figure out.

Re: Missing webcam drivers
« Reply #4 on: February 22, 2016, 09:22:50 PM »

JustinE

  • Jr. Chef
  • **
  • Date Registered: Feb 2016
  • Posts: 18
sometimes drivers pre request other drivers operational......
 on your case maybe gpu driver ! maybe something else.....
  let us know if you figure out.

GPU driver installed and I was able to install the driver within PE but it calls for a reboot.

Re: Missing webcam drivers
« Reply #5 on: February 22, 2016, 10:23:54 PM »

KYHI

  • Code Baker
  • Sr. Chef
  • ****
  • Location: Kentucky
  • Date Registered: Jan 2015
  • Posts: 909
While in PE after cam driver installed - close reboot request - try HwPNP - Install Drivers (HwPnp) shortcut
have to add HwPnP plugin and create shortcuts

Re: Missing webcam drivers
« Reply #6 on: February 23, 2016, 02:39:02 AM »

Gerhard S.

  • Jr. Chef
  • **
  • Date Registered: Dec 2015
  • Posts: 95
Often cam is connected with internal usb. Look into native Windows with devicemanager. Switch to view by connection. Follow the complete chain from chipset(ACPI)-system, over pci-bus, usb-controller to cam. You need for all devices of this chain the drivers. In HwPnp the option +a (or +all). Eventually a "+hardwareID" from one of the chained devices, for example, a shortened ID of cam. Example:
Code: [Select]
My cam hardwareID: USB\VID_05C8&PID_030E&MI_00      (<--if you gogle with this hardwareID: "FH13FF-238" and "FUJITSU")

In HWpnp Plugin => +USB\VID_05C8&PID_030E
Besides Windows system needs additional dll('s) - to build dataconnection to cam. And for resizing of image frames. Maybe DirectShow filter(s).
If for successful cam operation DirectShow filters are needed on your PC - the free-for-private-use program 'filmerit' would help you.
The several drivers can be extracted with DD - structured folders.
If you figured out, whitch filter is missing in your PESE and you haven't any idea how to add this - I will help you with Registry export and  dll name(s).
 :wink:
« Last Edit: February 24, 2016, 07:52:45 AM by Gerhard S. »

Re: Missing webcam drivers
« Reply #7 on: February 23, 2016, 04:28:21 PM »

JustinE

  • Jr. Chef
  • **
  • Date Registered: Feb 2016
  • Posts: 18
While in PE after cam driver installed - close reboot request - try HwPNP - Install Drivers (HwPnp) shortcut
have to add HwPnP plugin and create shortcuts

This was unsuccessful.  I manually installed the drivers and ran HwPNP but device manager shows a white circle with a blue question mark.  Device properties says device is working properly but I can't seem to find a site or program that says or shows it's installed.

Do you know of a light program that can test this type of hardware?  I've been going to a few sites and even tried Skype portable but haven't had any luck.

Re: Missing webcam drivers
« Reply #8 on: February 23, 2016, 04:37:23 PM »

JustinE

  • Jr. Chef
  • **
  • Date Registered: Feb 2016
  • Posts: 18
Often cam is connected with internal usb. Look into native Windows with devicemanager. Switch to view by connection. Follow the complete chain from chipset(apic)-system, over pci-bus, usb-controller to cam. You need for all devices of this chain the drivers. In HwPnp the option +a (or +all). Eventually a "+hardwareID" from one of the chained devices, for example, a shortened ID of cam. Example:
Code: [Select]
My cam hardwareID: USB\VID_05C8&PID_030E&MI_00      (<--if you gogle with this hardwareID: "FH13FF-238" and "FUJITSU")

In HWpnp Plugin => +USB\VID_05C8&PID_030E
Besides Windows system needs additional dll('s) - to build dataconnection to cam. And for resizing of image frames. Maybe DirectShow filter(s).
If for successful cam operation DirectShow filters are needed on your PC - the free-for-private-use program 'filmerit' would help you.
The several drivers can be extracted with DD - structured folders.
If you figured out, whitch filter is missing in your PESE and you haven't any idea how to add this - I will help you with Registry export and  dll name(s).
 :wink:

Chain is complete except camera.  USB Root Hub --> USB Composite Device --> Integrated Camera

Sorry, I don't follow your instructions with HwPNP +a statement.  Also, I've downloaded and ran filmerit but not quite sure what I'm looking at.  Several drivers can be extracted with DD - structured folders?  DirectShow Filters show many missing filers under the subtree.

Re: Missing webcam drivers
« Reply #9 on: February 23, 2016, 10:39:50 PM »

Gerhard S.

  • Jr. Chef
  • **
  • Date Registered: Dec 2015
  • Posts: 95
Hi Justin,
let us develop a cam plugin or a "simple" cam support together  :smile:
Actually, my cam isn't working on Win10PESE too.  :embarrassed:
I will post every single step in text & picture. I often edit my text, change attachments - and so on...
Downloads:
- VIDCAP(.exe) 5.1
- AMCap Webcam Capture 9.22 (x64 & x32) Free

I'm at work and I first must come home...
Maybe after a few days we record first successes.

This message was sent with an Android Mobile.
« Last Edit: February 24, 2016, 09:37:25 AM by Gerhard S. »

Re: Missing webcam drivers
« Reply #10 on: February 24, 2016, 08:00:11 AM »

Gerhard S.

  • Jr. Chef
  • **
  • Date Registered: Dec 2015
  • Posts: 95
Win10PESE: Not working USB cam in device manager:

ila_rendered  vidcap32.exe (105kB) ==> ila_rendered

Properties | device status  of FH13FF-238:
The digital signature required for this device driver can not be checked. A survey conducted recently change to hardware or software may be a file has been installed, the wrong sign or damaged. It is possible that even by malicious software an unknown source. (Code 52)

Originally, sti_ci.dll + bthci.dll were missing in X:\Windows\System32 ==> copied to PE from installed Windows: Symbols change from <unknown> to <specific>.

As temporarely workarround [x64]:
This code to a new Plugin Script: .\Projects\Win10(8.1)PESE\Drivers\WebCamSupport.Script
Code: [Select]
[Main]
Title=Web Cam Support
Type=Plugin
Author=TheOven.org
Description=Adds Web Cam Support to PE
Credits=Thanks to
Version=1
Download_Level=1
Level=6
Selected=True
Mandatory=False
NoWarning=False
Contact=http://TheOven.org
Date=2016.2.24
Depend=
Disable=
Certification=
HistoryNotes=
//
[Process]
Arch,x64
Echo,"Processing %ScriptTitle%..."
IniRead,%ProjectDir%\script.project,IniVariables,NoWarnRegOverWrite,%NoWarnROW%
//

If,NOT,EXISTFILE,%TargetDir%\Windows\System32\sti_ci.dll,Call,FileCopyMUI,%WindowsDir%\System32,sti_ci.dll,%TargetDir%\Windows\System32,SHOW
If,NOT,EXISTFILE,%TargetDir%\Windows\System32\bthci.dlll,Call,FileCopyMUI,%WindowsDir%\System32,bthci.dll,%TargetDir%\Windows\System32,SHOW


Next: Check devices + codecs in installed Windows. And I will see, if VIDCAP + cam works:

The chain to my cam in device manager: ila_rendered

Open device manager; let it still opend;
Now additional start Double Driver (dd.exe, 1715 kB) - in Win10PE we have a Plugin - I don't know, whether Win8.1PE has it too.
Hit 'Backup' => 'Scan Current System' Select 'None'.
Now, click the checkboxes of desired devices: This is a little bit tricky! - you could loose track

For example: In device manager the 'USB Composite Device':
- Look in properties of 'USB Composite Device' the details for driver files; ==> usbccgc.sys
- Do a search on C:\Windows\inf with expression 'usbccgc.sys' in file content;
- Output of search is usb.inf
- Open usb.inf with editor and look in section
Code: [Select]
[SourceDisksFiles]
usbccgp.sys=3426
-- bingo, this is it.
Switch to Double Driver and hit once 'Name' at top left to sort drivernames alphabetical.

Some devices have the same *.inf
ila_rendered

In Double Driver push 'Backup Now' - adjust your destination - and in Output choose 'Stuctured folder (default)'
ila_rendered

You may close now all programs - exept the Explorer:
Got to DoubleDriver backup folder .\COMPUTERNAME 24.02.2016 11-06-19;
- Do a search on that folder with expression 'restore.ini' ==> delete all occurences (~10 pcs.);
- Do a second search on that folder with expression 'oem' ==> if you find any, read out the real name in file content:
******************* Example: oem6.inf *************************
Code: [Select]
;==============================================================================
; [FUJ02E3.INF]
;  Fujitsu FUJ02E3 Device Driver INF File
; All Rights Reserved, Copyright (C) FUJITSU LIMITED. 2003-2015.
;==============================================================================

[Version]
Signature=$Windows NT$
Class=System
CLASSGUID={4d36e97d-e325-11ce-bfc1-08002be10***}
Provider=%FJPSD%
DriverVer=05/22/2015,1.30.3.0
CatalogFile=************.cat
...
...

- Rename oem6.inf to FUJ02E3.INF

Transfer/add the DD structured folders with filtered/edited driver files to PE:
\Bluetooth
\Image
\System
\USB
==> .\Workbench\Common\Drivers_x64
ila_rendered

Then in Builder:
- Enable Components\HwPnP - if it isn't already.
- Enable Drivers\Driver Integration: Checkmark 'LoadDrivers at startup' and 'Allow to install Unsigned Drivers'
- Drivers\Driver Integration: Point FileBox 'x64 Drivers' to .\Workbench\Common\Drivers_x64\


The machine.inf:
The machine.inf of Source-DVD (with extracted WIM-folders) could differ from that one, you have in your installed Windows.

Run a complete Build - and do a comparison between this both.
« Last Edit: February 24, 2016, 12:38:17 PM by Gerhard S. »

Re: Missing webcam drivers
« Reply #11 on: February 24, 2016, 12:09:34 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi Gerhard S.,

%WindowsDir% depricated on all plugins, and in future on all projects.

Use

Call,HostSystemDir on your plugin

ex:

Code: [Select]
Call,HostSystemDir
If,Not,ExitFile,%Target_Sys%\sti_ci.dll,Call,FileCopyMUI,%HostSystemDir%,sti_ci.dll,%Target_Sys%
If,Not,ExitFile,%Target_Sys%\bthci.dlll,Call,FileCopyMUI,%HostSystemDir%,bthci.dll,%Target_Sys%

Re: Missing webcam drivers
« Reply #12 on: February 24, 2016, 12:27:46 PM »

Gerhard S.

  • Jr. Chef
  • **
  • Date Registered: Dec 2015
  • Posts: 95
Hi Lancelot,
Code: [Select]
Call,HostSystemDir
...%HostSystemDir%...
instead of %WindowsDir%\System32 - allright.

But is the new macro Script already available? For whitch PESE systems? (and for Gena?  :wink: )
Must I only download new (renew) the Macro_Library.script ?

Re: Missing webcam drivers
« Reply #13 on: February 24, 2016, 12:42:11 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
They are already available on Macro Library plugins, already exists, on ALL projects (SE and Gena).

http://theoven.org/index.php?topic=45.0
« Last Edit: February 24, 2016, 12:43:33 PM by Lancelot »

Re: Missing webcam drivers
« Reply #14 on: February 24, 2016, 01:24:35 PM »

Gerhard S.

  • Jr. Chef
  • **
  • Date Registered: Dec 2015
  • Posts: 95
Beautify the device manager:
Code: [Select]
Call,HostSystemDir
If,Not,ExistFile,%Target_Sys%\sti_ci.dll,Call,FileCopyMUI,%HostSystemDir%,sti_ci.dll,%Target_Sys%
If,Not,ExistFile,%Target_Sys%\bthci.dll,Call,FileCopyMUI,%HostSystemDir%,bthci.dll,%Target_Sys%
If,Not,ExistFile,%Target_Sys%\McxDriv.dll,Call,FileCopyMUI,%HostSystemDir%,McxDriv.dll,%Target_Sys%
If,Not,ExistFile,%Target_Sys%\mdminst.dll,Call,FileCopyMUI,%HostSystemDir%,mdminst.dll,%Target_Sys%
If,Not,ExistFile,%Target_Sys%\ntprint.dll,Call,FileCopyMUI,%HostSystemDir%,ntprint.dll,%Target_Sys%


Cam driver - unsuccess:
Windows error in Deutsch (German):
0x800F022F: Die INF-Datei des Drittanbieters enthält keine Digitalsignaturinformationen.
English translation: The third-party INF does not contain digital signature information.
   :confused:


« Last Edit: February 24, 2016, 05:33:15 PM by Gerhard S. »

Re: Missing webcam drivers
« Reply #15 on: February 24, 2016, 02:25:00 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
a minor feedback:

Code: [Select]
Call,HostMuiLang
Call,HostSystemDir
If,Not,ExistDir,%Target_Sys%\%HostMuiLang%,DirMake,%Target_Sys%\%HostMuiLang%
If,Not,ExistFile,%Target_Sys%\sti_ci.dll,Call,FileCopyMUI,%HostSystemDir%,sti_ci.dll,%Target_Sys%,%HostMuiLang%,en-US
If,Not,ExistFile,%Target_Sys%\bthci.dll,Call,FileCopyMUI,%HostSystemDir%,bthci.dll,%Target_Sys%,%HostMuiLang%,en-US
If,Not,ExistFile,%Target_Sys%\McxDriv.dll,Call,FileCopyMUI,%HostSystemDir%,McxDriv.dll,%Target_Sys%,%HostMuiLang%,en-US
If,Not,ExistFile,%Target_Sys%\mdminst.dll,Call,FileCopyMUI,%HostSystemDir%,mdminst.dll,%Target_Sys%,%HostMuiLang%,en-US
If,Not,ExistFile,%Target_Sys%\ntprint.dll,Call,FileCopyMUI,%HostSystemDir%,ntprint.dll,%Target_Sys%,%HostMuiLang%,en-US

Re: Missing webcam drivers
« Reply #16 on: February 24, 2016, 09:09:09 PM »

JustinE

  • Jr. Chef
  • **
  • Date Registered: Feb 2016
  • Posts: 18
Thanks guys!  The work you do with these PE environments is awesome.

Gerhard/Lancelot, please let me know if there is anything I can test for you.  I'm not an expert but if you need someone testing a new build, I think I can be of some help if needed.  Just a quick question, do you think once a plugin or script is created that it will work across multiple hardware types or will a build be needed for most makes/models?  I do a lot of testing from many different manufactures with different cam hardware.

Re: Missing webcam drivers
« Reply #17 on: February 25, 2016, 12:16:17 PM »

Gerhard S.

  • Jr. Chef
  • **
  • Date Registered: Dec 2015
  • Posts: 95
usbvideo.sys belongs to 'USB Video Class  Driver'; and is a unit in Win source DVD. This 'UVC driver' queries the (hardware)cam directly; UVC-capable cam needs no own driver. There are still cam's with own driver. These 2 methods have advantages & disadvantages; at this moment I can't recommend any.
Maybe it will turn out: For PESE, we need cam with own driver - and we have no choice ('USB Video Class  Driver' not possible in PE).

[placeholder]
 
« Last Edit: February 28, 2016, 07:57:18 PM by Gerhard S. »

Re: Missing webcam drivers
« Reply #18 on: February 26, 2016, 08:00:15 AM »

Gerhard S.

  • Jr. Chef
  • **
  • Date Registered: Dec 2015
  • Posts: 95
New topic: Add USB Video Class Driver to PE x64 (usbvideo is not a driver for a physical device)
Checked: USB Video Class Driver is included in Win 10 Pro source-DVD. (should be in Win 8.1 too)
Web-Link: USB Video Class Driver Overview

@JustinE
Pls go with explorer to extracted install-WIM-folder of your 8.1 source-DVD;
Usually: .\sources\install_wim\
Do a search with expression 'usbvideo.sys' on \install_wim\;
You may get 2 usbvideo.sys.mui- and 2 usbvideo.sys search results.
Now I ask you for the name of your folder in .\Windows\System32\DriverStore\FileRepository\, whitch contains the usbvideo.sys
( For me this means folder: usbvideo.inf_amd64_fe8d886bc5539514 )
« Last Edit: February 28, 2016, 08:40:30 AM by Gerhard S. »

Re: Missing webcam drivers
« Reply #19 on: February 29, 2016, 02:53:05 PM »

JustinE

  • Jr. Chef
  • **
  • Date Registered: Feb 2016
  • Posts: 18
New topic: Add USB Video Class Driver to PE x64 (usbvideo is not a driver for a physical device)
Checked: USB Video Class Driver is included in Win 10 Pro source-DVD. (should be in Win 8.1 too)
Web-Link: USB Video Class Driver Overview

@JustinE
Pls go with explorer to extracted install-WIM-folder of your 8.1 source-DVD;
Usually: .\sources\install_wim\
Do a search with expression 'usbvideo.sys' on \install_wim\;
You may get 2 usbvideo.sys.mui- and 2 usbvideo.sys search results.
Now I ask you for the name of your folder in .\Windows\System32\DriverStore\FileRepository\, whitch contains the usbvideo.sys
( For me this means folder: usbvideo.inf_amd64_fe8d886bc5539514 )

Sorry, no idea how to attach a snipit in this forum.  Anyways, install.wim is not extracted in 8.1 source.  Extracted to local:
usbvideo.inf_amd64_853a149025406013 - \install\Windows\System32\DriverStore
amd64_usbvideo.inf_31bf3856ad364e35_6.3.9600.17217_none_1f08e8338e4f59c - \install\Windows
amd64_usbvideo.inf.resources_31bf3856ad364e35_6.3.9600.16384_en-us_a4ee3d66ab0db4e4 - \install\Windows

On one of testing laptops running 8.1 as local OS, driver details:
ksthunk.sys - \Windows\System32\drivers
usbvideo.sys - \Windows\System32\drivers

Please let me know if this is the correct information you were looking for....and how to insert or paste snipit in a post!!  Duh!  Thanks.

 

Powered by EzPortal