avstream avssamp example freeze system

device driver

    Sponsored Links


  • 1. Binding NDIS IM Driver To Bluetooth Device
    Hi! I have scoured the various postings about this subject and I still haven't seen anything that definatively says that NDIS IM drivers can bind to a BT device, although I've seen some postings that say it is possible but don't say what to set up in the .inf file. Does anyone know if an IM can filter a BT device? If so, what do I need to add to the NDI section in the .inf. Thanks!
  • 2. mirror driver dual monitor color issue
    I have developed a display mirror driver and when I attach the driver using ChangeDisplaySettingsEX on a dual monitor system that Extends the Desktop to the second display, it changes the color of toolbars, buttons, etc in MS applications such as Word and Outlook. On XP with Outlook 2003 a toolbar normally would be light blue on the top and gradually go to dark blue on the bottom. When I attach my mirror driver the toolbars all change to grey with a dotted line around them as a border. If I do not extend the desktop to the second monitor this does not happen when I attach the driver. It only happens when the desktop is extended to a second monitor. I am attaching the mirror only to the primary display. I have tried the lowest resolutions and both 16/32 bit color with the same results. I am not sure if there is a devinfo or gdiinfo setting i need, or possiblly a DrvXXX fuction I need to hook that I am not. Please help.
  • 3. The lower filter of usbhub can not be sucessfully repoted to vista
    I wrote a lower filter of usbhub which capture urb request and change some parameters. This filter is based on the source code of usb filter which is in DDK2600(path:2600\src\wdm\usb\filter) . And I only modify the function VA_Dispath() which is the dispath routine of all Major function. The filter can work normally in win2k&XP. The 6000 WDK removed the source code and left only an introduction html in the folder. I modified my filter according to the html, and complied the filter code with vista X86 debug builder. And the compied filter cannot work normally in vista. The hint message is "Found the device driver. But there is an error when tried to install it. The device cannot start up. Error code 10" (My vista system is Chinese-language OS). Since the softICE can not be used in vista, it's hard for me to debug the source code. Would somebody please help me with this problem? Which function is most probably cause the problem? Thank you~
  • 4. Should I use Reseller to help our customer to get a signed x64 driver?
    Hello, We are an IC design house. We develop an usb webcam and wish to sell to our customers. We don't want to sell webcam, but wish our customers buy our ICs and make them as webcams to sell to many end-users. We plan to provide a x64 driver for the webcam to customers. There are a INF file and two SYS files in it. I use DTM to test this driver and get a passed report. As I know, INF has some string descriptions such as Model Name, USB VID&PID, ... and so on. And I has not yet get a VeriSign ID (it needs $399 USD) and has not yet an account at the winqual website. My question are: 1. Should I first use our USB VID&PID to submit this report to winqual website and get a signed driver? Or should I let our customers to submit by using their each USB VID&PID? 2. Should I provide modified INFs (cumstomers's various Model Name and VID&PID) to customers? 3. Should I must use Winqual website's "Reseller" function to help our customers to get a signed x64 drivers? It means I must pay $250 USD to let our x64 driver signed by using our model name. And Resell To our customer by using his Model Name and USB VID&PID. Is it true? I am new to Vista logo, thanks for your answers. Brs, Ricky
  • 5. Debugging Driver Install (INF)
    Hi all, I believe that XP / Vista both don't like my inf (which I had thought that I had decorated correctly). Microsoft's ChkInf doesn't show a problem up either, however both OS's fail to install... So ... my question is: Is there any way to put the driver installation / Add New Hardware wizard into a Debug mode where I can find out exactly what is going on? Regards, Andy Neillans

avstream avssamp example freeze system

Postby Tulup » Thu, 19 Apr 2007 23:16:29 GMT

Using matlab+simulink (under mex setup VS2005) as a client application for 
capturing video from DDK sample avssamp totally freeze windows (Vista, XP). 
The mouse cursor doesn't move, nothing is move at all.
At the same time Avssamp is fine when capturing with Amcap, and fine if 
matlab mex setup is VS2003.NET, also matlab is fine with vs2005 when 
captureing from {*filter*}era...

Tried using avsamp debug version with dbgPrintf+dbgview - i can't see any 
out message, system is freezed before any message occurs.
Tried run with verifier ON, nothing!

Could anybody advise how to debug this strange avssamp behaviour?
Thank you.


Similar Threads:

1.avstream sample freezes system

i'm already wrote about this problem with no reply.

building avssamp example and using it with some client app freeze xp and 
vista (this app is works well with real cameras). i can't find a way to 
figure out what is the problem with, because bsod is not happening, just 
mouse cursor is freezes and system is stall :( no error logs found on 


2.AVStream avshws DDK example

I'm playing around with avshws to learn AVStream.  avshws shows up in the
"WDM Streaming Capture Devices" category in GraphEdit.  I'd like the driver
to appear in "Video Capture Sources" as well.  I have some ideas as to how
this might be done, but I'd like to get a deeper understanding.  Any info is

AMCap only enumerates CLSID_VideoInputDeviceCategory devices, as do most
capture apps that I'm aware of.  What logic determines which categories a
video capture card should belong to?  What is the difference between
CLSID_VideoInputDeviceCategory and AM_KSCATEGORY_CAPTURE?

3.AVStream: why do the examples use dispatch function bridging

4.system freeze after memory access

i want resize a memory area of my selfmade PCI card.

I do the following:

- send it to the underlaying driver (synchronous)
- modify the size of one memory area (PCI told me there are 0x400 bytes, i 
only want 0x200 bytes)
- complete the IRP

The IRP_MN_START_DEVICE request, which i receive later, gives me the 
modified resources.
The whole driver works fine at three of my test machines.

One machine shows a strange behavior. I see, that the size of the memory 
area is modified
(the length is 0x200 instead the original 0x400 bytes). The following call 
to MmMapIoSpace
returns without error (returns pointer != NULL).
If i use this pointer, the system freezes.

In this case the revision and version numbers of the partial resource list, 
which i get at IRP_MN_START_DEVICE request,
are 0 instead of 1.

All machines use Windows XP with service pack 2. The "error" machine uses an 
english XP version.
The driver is compiled with the DDK version 3790.1830.

Some additional informations:
My PCI card uses more than one memory and i/o resources. At least there are 
three device drivers,
to support the whole functionality of this card. The resources are divided 
using MF.SYS.

Any ideas?

Thanks in advance,
Roman Jordan 

5.Windows 7, Media Player freeze the system loading 3gp drivers

that is

6. System freeze

7. Wrong Epson driver causes system to freeze

8. System Freezes with new ATi driver

Return to device driver


Who is online

Users browsing this forum: No registered users and 42 guest