Re: memory that can be sent to usb control msg

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

 



> Is the data getting sent to the camera, or received from the camera?
> And what kind of usb endpoints is the data sent on (isoc, bulk, etc.)?

Receiving data; bulk endpoint.

> Take a look at the most recent versions of these functions in the
> 2.4.20-pre8 kernel for an example of how most of this has been cleaned
> up.

Will do.

> Any reason you're not doing it for 2.5 first?  I've heard the USB
> maintainer will not accept drivers for only 2.4, they have to also work
> in 2.5...  :)

The driver is essentially done. Here's the background:

When I first saw the vicam driver in the kernel, I was pretty happy (since I
have a 3Com HomeConnect USB Camera and I think they're pretty much the
same), but it always crashed on me. I tried to fix it up, once I did, I
found that it didn't even work properly (at least not that I could tell). I
found some guys working on the 3Com driver at homeconnectusb.sourceforge.net
but the driver looked similar so I never tried it. I finally contacted them
with my half completed driver and was told theirs worked. It did work, but
wanting to poke around and extend it (and generally learn more kernel
stuff), I combined their work with my own to make a [hopefully] better
driver. ...back to the present day.

The driver works and seems pretty stable, but I wasn't really planning on
releasing it back since I didn't want to step on the toes of the developers
on sourceforge because of all of the hard work they put in. I'd be happy
(and would actually prefer) to release it back (after all, it is GPL'd) if
someone thinks that it would be useful.

> Also, the USB api has changed in 2.5, so I'd _really_ recommend you work
> in that tree.  These changes are getting slowly backported to 2.4, so
> it's not like the 2.4 api will be around much longer.

I'm familiar with 2.4 and it's what I run at home, so that's why I started
there, but I'll port it forward eventually. I realize that it's probably
twice the work, but for some reason I actually enjoy writing code. :)

Thanks,
John

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux