Re: porting a webcam

From: Bernd Walter (ticso_at_cicely12.cicely.de)
Date: 08/08/03

  • Next message: John Baldwin: "Re: How to get a device_t"
    Date: Fri, 8 Aug 2003 18:06:07 +0200
    To: Paulo Roberto <nirv199@yahoo.com>
    
    

    On Fri, Aug 08, 2003 at 07:56:26AM -0700, Paulo Roberto wrote:
    > Hello,
    >
    > I am about to code my first kmod. I am trying to port an usb camera to
    > FreeBSD, and since I am new at system development, I hope you don't
    > mind helping me out. If this is not the correct list I should post,
    > please point me what list I should post to.
    >
    > I got a few questions:
    >
    > * Does the 5 series differs too much to from the 4-stable to write a
    > device driver? I am planning to code for 4.8 (the one I am using now)
    > and I wonder how hard would it be to port it later to the 5 series.
    >
    > * I am reading the developers handbook, is there another good reference
    > recommended? Any good point of reference for usb/camera
    > protocols/device drivers?
    >
    > * You guys think it is too difficult and I should just give up due to
    > my lack of experience? And if I manage to code properly, is it too
    > bureaucratic to get it into the FreeBSD kernel?

    I wouldn't write a kernel driver for a camera and use ugen(4) instead.
    The state of ugen is similar in 4.x and 5.x so you don't have to worry
    about a special version.
    The most important part is getting informations about the protocol
    used by your camera.

    -- 
    B.Walter                   BWCT                http://www.bwct.de
    ticso@bwct.de                                  info@bwct.de
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: John Baldwin: "Re: How to get a device_t"

    Relevant Pages

    • Re: LDM (Windows Dynamic Disks) in FreeBSD?
      ... FreeBSD doesn't seem to have changed much since ... If I port the code then obviously my version will have to be ... under the GPL. ... As for the FreeBSD kernel, ...
      (freebsd-questions)
    • Problems with Toshiba PDR-3300 Camera on USB
      ... When I connect a Toshiba PDR-3300 Camera to my FreeBSD 4.9-RELEASE system's ... USB port, I get one of two problems. ... Either the system immediately locks ...
      (comp.unix.bsd.freebsd.misc)
    • Re: ieee1394 errors on attempted insmod
      ... C automatically terminates quoted strings with a nul char. ... > Port 0: Not connected ... > and its locked up, whereas with the camera off, the report above is ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Failure To Recognize DV Camera
      ... If the camera, cable and host controller are all working, the only thing ... that I can think of is that you have a bad physical port on the computer. ... connection was made but if I released the connector the connection would be ... Under the heading IEEE 1394 Bus Host Controller ...
      (microsoft.public.windowsxp.moviemaker)
    • Capturing Error!
      ... not what to do video capture. ... up to the computer via firewire using my 6 pin firewire ... port from my Sound Blaster Audigy PCI card. ... my camera worked fine and capture video didnt have any ...
      (microsoft.public.windowsxp.moviemaker)