Hi Mark,
Just to let you know that the latest version of your driver (
ov511 1.50) works with this camara. Looking back in the archive this
device musy have changed, it used to use the CPiA driver. I still use
kernel 2.4.8 though (my laptop doesn't always come back from suspend with
any later 2.4 kernel) and had to make this change;
[stag] /scratch/gowdy/build/ov511-1.50 > diff -u ov511.c~ ov511.c
--- ov511.c~ Sat Jan 26 18:02:50 2002
+++ ov511.c Sat Jan 26 19:50:47 2002
@@ -697,7 +697,7 @@
return;
/* Create per-device directory */
- snprintf(dirname, 10, "%d", ov511->vdev.minor);
+ sprintf(dirname, "%d", ov511->vdev.minor);
PDEBUG(4, "creating /proc/video/ov511/%s/", dirname);
ov511->proc_devdir = create_proc_entry(dirname, S_IFDIR,
ov511_proc_entry);
@@ -749,7 +749,7 @@
if (!ov511 || !ov511->proc_devdir)
return;
- snprintf(dirname, 10, "%d", ov511->vdev.minor);
+ sprintf(dirname, "%d", ov511->vdev.minor);
/* Destroy "control" entry */
if (ov511->proc_control) {
otherwise the snprintf was unresolved. With the driver that came with this
kernel the picture was very dark, the output during startup was;
hub.c: USB new device connect on bus1/1, assigned device number 2
usb.c: USB device 2 (vend/prod 0x5a9/0xa511) is not claimed by any active
driver.
Linux video capture interface: v1.00
usb.c: registered new driver ov511
ov511.c: USB OV511+ camera found
ov511.c: camera: generic model (no ID)
ov511.c: i2c write retries exhausted
ov511.c: i2c write: error -1
ov511.c: Sensor is an OV6xx0 (version 1)
ov511.c: v1.28:OV511 USB Camera Driver
then while xawtv was using it;
ov511.c: VIDIOCMCAPTURE: invalid format (5)
ov511.c: Unknown mode (64, 48): 4
ov511.c: VIDIOCMCAPTURE: invalid format (5)
ov511.c: Unknown mode (352, 264): 4
ov511.c: Unknown mode (352, 264): 4
ov511.c: Unknown mode (352, 264): 4
ov511.c: Unknown mode (352, 264): 4
ov511.c: Unknown mode (352, 264): 4
ov511.c: Unknown mode (352, 264): 4
ov511.c: Unknown mode (352, 264): 4
After upgrading I get;
usb.c: deregistering driver ov511
ov511.c: driver deregistered
usb.c: registered new driver ov511
ov511.c: USB OV511+ camera found
ov511.c: model: Generic Camera (no ID)
ov511.c: i2c write retries exhausted
ov511.c: i2c write: error -1
ov511.c: Sensor is an OV6620
ov511.c: Device registered on minor 0
ov511.c: v1.50 : OV511 USB Camera Driver
ov511.c: VIDIOCMCAPTURE: invalid format (5)
and now the picture is much better. The devices file contains;
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=05a9 ProdID=a511 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 0 Ivl= 1ms
I: If#= 0 Alt= 1 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 33 Ivl= 1ms
I: If#= 0 Alt= 2 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 129 Ivl= 1ms
I: If#= 0 Alt= 3 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 257 Ivl= 1ms
I: If#= 0 Alt= 4 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 385 Ivl= 1ms
I: If#= 0 Alt= 5 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 513 Ivl= 1ms
I: If#= 0 Alt= 6 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 769 Ivl= 1ms
I: If#= 0 Alt= 7 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
E: Ad=81(I) Atr=01(Isoc) MxPS= 961 Ivl= 1ms
Output from xawtv is;
[stag] /scratch/gowdy/build/ov511-1.50 > xawtv
This is xawtv-3.68, running on Linux/i686 (2.4.8)
/dev/video0 [v4l]: no overlay support
v4l-conf had some trouble, trying to continue anyway
Warning: Actions not found: set-values
ioctl: VIDIOCMCAPTURE(0,fmt=5,size=64x48): Invalid argument
conv: 15 bit TrueColor (BE) => 8 bit StaticGray
conv: 15 bit TrueColor (LE) => 8 bit StaticGray
conv: 15 bit TrueColor (LE) => 15 bit TrueColor (BE)
conv: 15 bit TrueColor (BE) => 15 bit TrueColor (LE)
conv: 16 bit TrueColor (LE) => 16 bit TrueColor (BE)
conv: 16 bit TrueColor (BE) => 16 bit TrueColor (LE)
conv: 24 bit TrueColor (LE: bgr) => 24 bit TrueColor (BE: rgb)
conv: 24 bit TrueColor (BE: rgb) => 24 bit TrueColor (LE: bgr)
conv: 32 bit TrueColor (BE: -rgb) => 24 bit TrueColor (BE: rgb)
conv: 32 bit TrueColor (BE: -rgb) => 24 bit TrueColor (LE: bgr)
conv: 24 bit TrueColor (LE: bgr) => 32 bit TrueColor (LE:
bgr-)
Thanks!! BTW, I just bought this camera without really expecting
it to work. It was $29.99 from Fry's in Palo Alto and comes with a $20
mail-in rebate.
regards,
Stephen.
--
/------------------------------------+-------------------------\
|Stephen J. Gowdy | SLAC, MailStop 17, |
|http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road, |
| | Menlo Park CA 94025, USA |
|EMail: [EMAIL PROTECTED] | Tel: +1 650 926 3144 |
\------------------------------------+-------------------------/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users