[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: open video0 trouble



Markus Nilsson wrote:
> 
> Ok, so I got to change some memory allocation somewhere.
> What I don't can figure out is that what really happens when I try to open()
> such video device.
> Where goes the call open()? Is it to usb-host driver, webcam's driver, v4l or
> somewhere else?

I don't know the exact function call chain, but you should end up in
pwc_video_open in pwc-if.c before it reaches the host driver.  The PWC
driver has various levels of trace which are set by the pwc_trace
variable (check pwc.h).

-- 
Orjan Friberg
Axis Communications AB