-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 22 Oct 2002 08:55, John Tyner wrote:
> > The memory should definitely not be allocated when the camera is
> > initialized.  I think there are a few who would throw a fit if your
> > driver was allocating 320*240*3*2 bytes of data (nearly half a megabyte)
> > any time the camera was plugged in but only got used if a V4L application
> > started
>
> If you don't intend to use the camera, why plug it in? If you want to plug
> it in, why not leave the driver as an unloaded module? cp and dd are not
> V4L applications, but they would cause this memory to be allocated.

You are thinking like a developer, not like a user :-)

Developer: "Why do you have the camera plugged in if you aren't using it right 
now?"
User: "I just leave the camera plugged in all the time. No real need to unplug 
it, because I don't need the port for anything else, and I'll probably use 
the camera tomorrow night"
Developer: "Then why do you have the module loaded?"
User: "What's a module? I just plug in the camera and it works..."

Users shouldn't need to understand concepts like "kernel memory is not 
swappable". Just do the allocation on open(), and free it on close().

Brad

- -- 
http://linux.conf.au. 22-25Jan2003. Perth, Aust. I'm registered. Are you?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9tItwW6pHgIdAuOMRAtJzAKCgRJebEJqhdhPE42KgHSMBkunnRgCgmG/6
8ZwalkeKwKaW3yOlCRRxRZM=
=7zzp
-----END PGP SIGNATURE-----



-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future 
of  Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to