Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > unknown device

Reply
Thread Tools Display Modes

unknown device

 
 
isenhand
Guest
Posts: n/a

 
      04-19-2010
Ok, I'm now at the point where I can get the driver loaded but I'm still
having a few problems.

I get no errors during installation but I notice the device gets installed
as "unknown device" and when I check properties for the device I get "No
drivers are installed for this device." However, all the files I think should
end up in the drivers directory do appear to have ended up there.

If I disable the driver and then enable it it changes from "unknown device"
to the correct name but still no drivers installed. So, what am I looking at?
Error in the inf file or something wrong with the code?

Thanks

 
Reply With Quote
 
 
 
 
Pavel A.
Guest
Posts: n/a

 
      04-19-2010
What you disable (in the dev. manager) is a device instance, not a driver.
And if this show up as unknown device with no drivers installed - your
driver won't load.
Yes, maybe this is INF problem.
--pa


"isenhand" <> wrote in message
news:BE794606-0B44-4B5E-9B3A-...
> Ok, I'm now at the point where I can get the driver loaded but I'm still
> having a few problems.
>
> I get no errors during installation but I notice the device gets installed
> as "unknown device" and when I check properties for the device I get "No
> drivers are installed for this device." However, all the files I think
> should
> end up in the drivers directory do appear to have ended up there.
>
> If I disable the driver and then enable it it changes from "unknown
> device"
> to the correct name but still no drivers installed. So, what am I looking
> at?
> Error in the inf file or something wrong with the code?
>
> Thanks
>

 
Reply With Quote
 
isenhand
Guest
Posts: n/a

 
      04-20-2010
Well, I keep think its the inf file but I can't see why. I've looked at the
examples and the book.

Here's the inf file anyway:

; axissnd.inf - Install the AxisSnd driver
;

[Version]
Signature="$Windows NT$"
Class = Media
ClassGuid = {4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%MSFTUMDF%
DriverVer=02/22/2010,6.1.7600.16385
CatalogFile=AxisSnd.cat

[Manufacturer]
%MSFTUMDF%=Psychology,NTAMD64

[Psychology.NTAMD64]
%AxisSndDeviceName%=AxisSnd_Install, media\Vid_045e&Pid_94aa&mi_00
%AxisSndDeviceName%=AxisSnd_Install, media\VID_0547&PID_1002

[ClassInstall32]
AddReg=AxisSndClass_RegistryAdd

[AxisSndClass_RegistryAdd]
HKR,,,,%ClassName%
HKR,,Icon,,"-10"

[SourceDisksFiles]
AxisSnd.dll=1
Audio.dll=1
AxisMediaControl.dll=1
WudfUpdate_01009.dll=1
;WdfCoInstaller01009.dll=1
;WinUsbCoinstaller2.dll=1

[SourceDisksNames]
1 = %MediaDescription%

;[DestinationDirs]
;DefaultDestDir=12 ; dirid = \Drivers on WinNT platforms

; =================== UMDF AxisSnd Device ==================================

[AxisSnd_Install.NTAMD64]
CopyFiles=UMDriverCopy
;Include=WINUSB.INF ; Import sections from WINUSB.INF
;Needs=WINUSB.NT ; Run the CopyFiles & AddReg
directives for ;WinUsb.INF

[AxisSnd_Install.NTAMD64.hw]
AddReg=AxisSnd_Device_AddReg

[AxisSnd_Install.NTAMD64.Services]
AddService=WUDFRd,0x000001f8,WUDFRD_ServiceInstall ; flag 0x2 sets this as
the service for the device
;AddService=WinUsb,0x000001f8,WinUsb_ServiceInstal l ; this service is
installed because its a filter.

[AxisSnd_Install.NTAMD64.CoInstallers]
CopyFiles=CoInstallers_CopyFiles
AddReg=CoInstallers_AddReg

[AxisSnd_Install.NTAMD64.Wdf]
;KmdfService = WINUSB, WinUsb_Install
UmdfService = UMDFAxisSnd, UMDFAxisSnd_Install
UmdfServiceOrder = UMDFAxisSnd

;[WinUsb_Install]
;KmdfLibraryVersion = 1.9

[UMDFAxisSnd_Install]
UmdfLibraryVersion=1.9.0
DriverCLSID="{d4112073-d09b-458f-a5aa-35ef21eef5de}"
ServiceBinary="AxisSnd.dll"

[AxisSnd_Device_AddReg]
HKR,,DeviceType,0x10001, FILE_DEVICE_SOUND

[WUDFRD_ServiceInstall]
DisplayName = %WudfRdDisplayName%
ServiceType = 1
StartType = 3
ErrorControl = 1
%ServiceBinary = %12%\WUDFRd.sys
ServiceBinary = %12%\umdf\AxisSnd.dll
%LoadOrderGroup = Base


;[WinUsb_ServiceInstall]
;DisplayName = %WinUsb_SvcDesc%
;ServiceType = 1
;StartType = 3
;ErrorControl = 1
;ServiceBinary = %12%\WinUSB.sys

[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WudfUpdate_01009.d ll", "WdfCoInstaller"

[CoInstallers_CopyFiles]
WUDFUpdate_01009.dll
;WdfCoInstaller01009.dll
;WinUsbCoinstaller2.dll

[UMDriverCopy]
AxisSnd.dll
Audio.dll
AxisMediaControl.dll

[DestinationDirs]
CoInstallers_CopyFiles=11 ; copy to system32
UMDriverCopy=12,UMDF ; copy to drivers/umdf

; =================== Generic ==================================

[Strings]
MSFTUMDF="Psychology"
MediaDescription="C drive"
ClassName="AxisSnd"
WudfRdDisplayName="AxisSnd Driver"
AxisSndDeviceName="AxisSndDriver"
WinUsb_SvcDesc="WinUSB Driver"





"Pavel A." wrote:

> What you disable (in the dev. manager) is a device instance, not a driver.
> And if this show up as unknown device with no drivers installed - your
> driver won't load.
> Yes, maybe this is INF problem.
> --pa
>
>
> "isenhand" <> wrote in message
> news:BE794606-0B44-4B5E-9B3A-...
> > Ok, I'm now at the point where I can get the driver loaded but I'm still
> > having a few problems.
> >
> > I get no errors during installation but I notice the device gets installed
> > as "unknown device" and when I check properties for the device I get "No
> > drivers are installed for this device." However, all the files I think
> > should
> > end up in the drivers directory do appear to have ended up there.
> >
> > If I disable the driver and then enable it it changes from "unknown
> > device"
> > to the correct name but still no drivers installed. So, what am I looking
> > at?
> > Error in the inf file or something wrong with the code?
> >
> > Thanks
> >

 
Reply With Quote
 
isenhand
Guest
Posts: n/a

 
      04-20-2010
> What driver it is ??


At the moment its the mainly just the UMFD skeleton driver but hoping to use
that as the basis for my won driver so I have renamed it.

 
Reply With Quote
 
Tim Roberts
Guest
Posts: n/a

 
      04-22-2010
isenhand <> wrote:
>
>Well, I keep think its the inf file but I can't see why. I've looked at the
>examples and the book.
>
>Here's the inf file anyway:
>
>; axissnd.inf - Install the AxisSnd driver
>;
>
>[Version]
>Signature="$Windows NT$"
>Class = Media
>ClassGuid = {4d36e96c-e325-11ce-bfc1-08002be10318}
>Provider=%MSFTUMDF%
>DriverVer=02/22/2010,6.1.7600.16385
>CatalogFile=AxisSnd.cat


Media-class devices are kernel streaming devices. They cannot be UMDF.

>[Manufacturer]
>%MSFTUMDF%=Psychology,NTAMD64
>
>[Psychology.NTAMD64]
>%AxisSndDeviceName%=AxisSnd_Install, media\Vid_045e&Pid_94aa&mi_00
>%AxisSndDeviceName%=AxisSnd_Install, media\VID_0547&PID_1002


Ah, so you have a USB device! I know this because 0547/1002 happens to be
the VID/PID of an unconfigured Cypress FX2 chip.

The hardware ID is going to be USB\VID_0547&PID_1002. Where did you get
the "media" from?
--
Tim Roberts,
Providenza & Boekelheide, Inc.
 
Reply With Quote
 
isenhand
Guest
Posts: n/a

 
      04-22-2010
<<Media-class devices are kernel streaming devices. They cannot be UMDF.>>

<<Ah, so you have a USB device!>>

Right So I'm all over the place with this!

<<Where did you get the "media" from?>>

From the sea of documentation I'm using to try and work this out! I've got
the book "Developing Drivers with the Windows Driver Foundation" and I find
the site http://www.osronline.com usefull too. Some where in all that I found
something that said do that!

What I'm trying to do is actually get a sound driver running for a network
camera. We have a video driver already but no sound.

<<I know this because 0547/1002 happens to be the VID/PID of an unconfigured
Cypress FX2 chip.>>

Oh dear! I didn't find anything to say what goes there!

Thanks.
 
Reply With Quote
 
Tim Roberts
Guest
Posts: n/a

 
      04-24-2010
isenhand <> wrote:
>
>What I'm trying to do is actually get a sound driver running for a network
>camera. We have a video driver already but no sound.


Ummm, if it's a network camera, then what does USB have to do with it? If
it's a USB camera, then the sound section should be USB Audio Class
compliant. That way, you don't need a driver at all.

The HWID for a USB device always starts USB\VID_xxxx&PID_xxxx.
--
Tim Roberts,
Providenza & Boekelheide, Inc.
 
Reply With Quote
 
isenhand
Guest
Posts: n/a

 
      04-26-2010
<<Ummm, if it's a network camera, then what does USB have to do with it?>>

Nothing, it was a left over from the example I was uisng.

I still think the problem has to do with the inf file so I'm redoing it all
and going back to the toaster example.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
active sync issue mk3100 patrick craig ActiveSync 0 01-15-2010 05:06 AM
BUGCODE_USB_DRIVER with external USB HDD PHILIPS Deathwing00 Windows Vista Hardware 11 06-15-2007 07:02 PM
Prevent Auto-Start Arthur Dent ActiveSync 4 07-17-2006 05:01 PM
Trouble with driver on Windows Vista Beta 2 sujatha Windows Vista Installation 0 06-08-2006 06:44 PM
Help !!! Unable to connecte Asus 620 Nick ActiveSync 4 05-23-2005 11:56 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59