Re: [linux-usb-devel] Help with driver additional info

2001-09-24 Thread Randy.Dunlap
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

Re: [linux-usb-devel] Help with driver additional info

2001-09-24 Thread kevin
"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

Re: [linux-usb-devel] Help with driver additional info

2001-09-23 Thread Randy.Dunlap
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

Re: [linux-usb-devel] Help with driver additional info

2001-09-23 Thread kevin
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

Re: [linux-usb-devel] Help with driver additional info

2001-09-23 Thread Oliver Neukum
> > > 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

Re: [linux-usb-devel] Help with driver additional info

2001-09-23 Thread kevin
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

Re: [linux-usb-devel] Help with driver

2001-09-21 Thread Randy.Dunlap
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

Re: [linux-usb-devel] Help with driver

2001-09-21 Thread Roman Weissgaerber
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

Re: [linux-usb-devel] Help with driver

2001-09-21 Thread kevin
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.

Re: [linux-usb-devel] Help with driver

2001-09-20 Thread Oliver Neukum
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

Re: [linux-usb-devel] Help with driver

2001-09-20 Thread Greg KH
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