kevin wrote:
>
> Right, I should have used cut and paste. Here is my pencam_set_camera
> function at present (I have cut out all but the first of the vendor
> specific codes, since the crash occurs there):
>
> cut
>
[snip]
> pipe = usb_rcvctrlpi
"Randy.Dunlap" wrote:
>
>
> Do you mean:
> pipe = usb_rcvctrlpipe(dev->udev,0);
> here?
> I'd suggest using cut & paste to correctly show us what you
> are using. "usbrcvpipe" isn't a [full] USB macro name.
Right, I should have used cut and paste. Here is my pencam_set_camera
function at pre
kevin wrote:
>
> Thanks for the suggestions but so far I am still having the same problem
> with the usb_control_msg. I tried kmalloc-ing buf but this made no
> difference. I also tried ksymoops on the crash file but I don't
> understand the output- it seems to have a lot of messages having nothi
Oliver Neukum wrote:
>
> > > > if ((i = usb_control_msg(dev->udev, usb_rcvctrlpipe(dev->udev,0),
>
> Eh... Stupid question, do you really want a receive pipe ?
>
> Regards
> Oliver
I believe so, but in any case I already tried the snd pipe. The camera
has one config
> > > if ((i = usb_control_msg(dev->udev, usb_rcvctrlpipe(dev->udev,0),
Eh... Stupid question, do you really want a receive pipe ?
Regards
Oliver
___
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://li
Thanks for the suggestions but so far I am still having the same problem
with the usb_control_msg. I tried kmalloc-ing buf but this made no
difference. I also tried ksymoops on the crash file but I don't
understand the output- it seems to have a lot of messages having nothing
to do with usb. Maybe
kevin wrote:
>
[snippage]
>
> I am using Mandrake 8.0, with their kernel 2.4.3-20mdk; no other patches
> or changes. The latest driver I tried is based on Greg K-H's
First, there have been some updates to usb-skeleton.c.
You might want to use a later kernel, or at least usb-skeleton.c.
> usb-s
You should use kmalloc to allocate dma-able ram for the buf buffer.
- Roman
kevin wrote:
>
> Greg KH wrote:
> >
> > On Thu, Sep 20, 2001 at 06:09:52PM -0400, kevin wrote:
> > >
> > > Now I have to send a series of about a dozen vendor specific commands
>
> >
> > Posting exact code might
Greg KH wrote:
>
> On Thu, Sep 20, 2001 at 06:09:52PM -0400, kevin wrote:
> >
> > Now I have to send a series of about a dozen vendor specific commands
>
> Posting exact code might help out in determining what is goind wrong.
>
> thanks,
>
> greg k-h
Thanks all for the quick response.
Am Freitag, 21. September 2001 00:09 schrieb kevin:
> I am trying to write a loadable driver for a usb STV0680 based camera
> (pencam). I already have a command line program which will allow the
> user to download images from the camera, but I am writing the driver to
> make use of the camera's vi
On Thu, Sep 20, 2001 at 06:09:52PM -0400, kevin wrote:
>
> Now I have to send a series of about a dozen vendor specific commands
> to the camera to initialize it for video mode (or to download still
> pictures). These codes were obtained from the Windows sniff usb program,
> and work in the
11 matches
Mail list logo