6270: identifying the sensor

1 view
Skip to first unread message

lolo06

unread,
May 9, 2008, 1:11:26 PM5/9/08
to microdia
Hi,

I have a 6270 camera.

When opened the sensor is:
http://microdia.googlegroups.com/web/iPRO_0c45%3A6270_microdia_pcb_front.jpg

Looking at the datasheets for MT9V011 and MT9V111, the sensor seems to
be a MT9V011 (28 pin PLCC), but the driver detects it as a MT9V111
(packaging is 44 ball ICSP).

a USB sniff is here:
http://microdia.googlegroups.com/web/0c45_6270_21-Apr-2008_init_start_stop_sequences.zip

The driver does not work (no image with xawtv, which just freeze).

When I plug the camera I get:
[241645.063447] usb 3-1.2.3: new full speed USB device using ohci_hcd
and address 21
[241645.177411] usb 3-1.2.3: not running at top speed; connect to a
high speed hub
[241645.209695] usb 3-1.2.3: configuration #1 chosen from 1 choice
[241645.224686] microdia: Probe function called with VendorID=0C45,
ProductID=6270 and InterfaceNumber=0
[241645.224702] microdia: Microdia USB2.0 Webcam - Product ID 6270.
[241645.224710] microdia: Release: 0100
[241645.224714] microdia: Number of interfaces : 1
[241645.365749] microdia: I2C write to ff: 90 5d ff 00 00 00 00 10
[241645.379372] microdia: I2C slave 0x5d returned error during write
to address 0xff
[241645.379390] microdia: I2C write to 01: 90 5c 01 00 00 00 00 10
[241645.393380] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241645.414375] microdia: I2C write to 01: b0 5c 01 00 04 00 00 10
[241645.428374] microdia: I2C write to ff: 90 5c ff 00 00 00 00 10
[241645.468440] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241645.489386] microdia: Detected sensor: MT9V111/MI0360SOC (chip
version: 0x823A)
[241645.489411] microdia: I2C write to 01: 90 5c 01 00 00 00 00 10
[241645.503390] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241645.529372] microdia: I2C write to 01: b0 5c 01 00 01 00 00 10
[241645.587719] microdia: Microdia USB2.0 Camera is now controlling
video device /dev/video0
[241645.606484] microdia: Allocate video buffers
[241645.606553] microdia: Allocated iso buffer at dbb00000
[241645.606590] microdia: Allocated iso buffer at dba48000
[241645.606627] microdia: Allocated iso buffer at dbb90000
[241645.606668] microdia: Allocated iso buffer at db964000
[241645.606704] microdia: Allocated iso buffer at c8240000
[241645.606746] microdia: Allocated iso buffer at c8254000
[241645.606782] microdia: Allocated iso buffer at d6090000
[241645.606818] microdia: Allocated iso buffer at d6258000
[241645.606859] microdia: Allocated iso buffer at d6308000
[241645.606916] microdia: Allocated iso buffer at d6178000
[241645.606959] microdia: Allocated iso buffer at c8bf4000
[241645.607043] microdia: Allocated iso buffer at d8420000
[241645.607131] microdia: Allocated iso buffer at dd1e8000
[241645.607173] microdia: Allocated iso buffer at dd1fc000
[241645.607259] microdia: Allocated iso buffer at cad80000
[241645.607303] microdia: Allocated iso buffer at d4824000
[241645.607310] microdia: Allocated frame buffer structure at de9e4340
[241645.609204] microdia: Allocated frame buffer 0 at e1101000.
[241645.662668] microdia: Allocated frame buffer 1 at e1602000.
[241645.692481] microdia: Allocated frame buffer 2 at e1b03000.
[241645.778636] microdia: Allocated image buffer at e2004000
[241645.778666] microdia: Reset all buffers
[241645.778674] Changing resolution to 640 by 480
[241645.778680] microdia: Set mode 3 [640x480]
[241645.787745] microdia: usb_microdia_isoc_init()
[241645.787779] microdia: dev->isoc_in_size = 3F0
[241645.787784] microdia: dev->isoc_in_endpointAddr = 1
[241645.787815] microdia: URB 0xdebf0000 submitted.
[241645.787825] microdia: URB 0xdebf0800 submitted.
[241645.787833] microdia: URB 0xdebf0e00 submitted.
[241645.787842] microdia: URB 0xdf85ba00 submitted.
[241645.787851] microdia: URB 0xdf85b000 submitted.
[241645.787860] microdia: URB 0xdf85bc00 submitted.
[241645.787868] microdia: URB 0xdf85be00 submitted.
[241645.787878] microdia: URB 0xdf85b400 submitted.
[241645.787887] microdia: URB 0xde3be600 submitted.
[241645.787895] microdia: URB 0xde3be200 submitted.
[241645.787904] microdia: URB 0xde385e00 submitted.
[241645.787913] microdia: URB 0xde385c00 submitted.
[241645.787922] microdia: URB 0xde0c6c00 submitted.
[241645.787930] microdia: URB 0xdf87fa00 submitted.
[241645.787939] microdia: URB 0xdf4e3a00 submitted.
[241645.787948] microdia: URB 0xdf4e3400 submitted.
[241645.917251] microdia: I2C write to 0d: b0 5c 0d 00 01 00 00 10
[241645.931249] microdia: I2C write to 0d: b0 5c 0d 00 00 00 00 10
[241645.945250] microdia: I2C write to 01: d0 5c 01 00 01 00 16 10
[241645.959235] microdia: I2C write to 03: d0 5c 03 01 e1 02 81 10
[241645.973269] microdia: I2C write to 05: d0 5c 05 00 04 00 00 10
[241645.987227] microdia: I2C write to 07: d0 5c 07 30 02 04 80 10
[241646.001233] microdia: I2C write to 11: 90 5c 11 00 00 00 00 10
[241646.015234] microdia: I2C write to 01: d0 5c 01 00 04 00 16 10
[241646.029223] microdia: I2C write to 03: d0 5c 03 01 e6 02 86 10
[241646.043221] microdia: I2C write to 05: d0 5c 05 00 04 00 00 10
[241646.057223] microdia: I2C write to 07: d0 5c 07 30 02 00 08 10
[241646.071217] microdia: I2C write to 11: 90 5c 11 00 00 00 00 10
[241646.085218] microdia: I2C write to 0c: d0 5c 0c 00 00 00 00 10
[241646.099209] microdia: I2C write to 0e: d0 5c 0e 00 00 00 00 10
[241646.113205] microdia: I2C write to 10: d0 5c 10 00 00 00 00 10
[241646.127201] microdia: I2C write to 12: d0 5c 12 00 b0 00 7c 10
[241646.141196] microdia: I2C write to 14: d0 5c 14 00 00 00 00 10
[241646.155200] microdia: I2C write to 16: d0 5c 16 00 00 00 00 10
[241646.169187] microdia: I2C write to 18: d0 5c 18 00 00 00 00 10
[241646.183187] microdia: I2C write to 1a: d0 5c 1a 00 00 00 00 10
[241646.197189] microdia: I2C write to 1c: d0 5c 1c 00 00 00 00 10
[241646.211187] microdia: I2C write to 30: b0 5c 30 00 00 00 00 10
[241646.225189] microdia: I2C write to 20: b0 5c 20 00 00 00 00 10
[241646.239178] microdia: I2C write to 30: d0 5c 30 00 05 00 00 10
[241646.253173] microdia: I2C write to 34: 90 5c 34 00 00 00 00 10
[241646.281166] microdia: I2C write to 00: 90 50 00 00 00 00 00 10
[241646.295175] microdia: I2C slave 0x50 returned error during write
to address 0x00
[241646.337153] microdia: I2C write to 02: d0 5c 02 00 16 01 e1 10
[241646.351147] microdia: I2C write to 04: d0 5c 04 02 81 00 04 10
[241646.365154] microdia: I2C write to 06: d0 5c 06 00 00 30 02 10
[241646.379139] microdia: I2C write to 0e: b0 5c 0e 00 08 00 00 10
[241646.589098] microdia: I2C write to 06: b0 5c 06 00 2d 00 00 10
[241646.603104] microdia: I2C write to 05: b0 5c 05 00 04 00 00 10
[241646.617088] microdia: I2C write to 20: b0 5c 20 00 00 00 00 10
[241646.638080] microdia: I2C write to 20: b0 5c 20 00 00 00 00 10
[241646.659075] microdia: I2C write to 09: b0 5c 09 00 64 00 00 10
[241646.673085] microdia: I2C write to 2b: d0 5c 2b 00 a0 00 a0 10
[241646.687068] microdia: I2C write to 2d: d0 5c 2d 00 a0 00 a0 10
[241646.701071] microdia: I2C write to 33: 90 5c 33 00 00 00 00 10
[241647.030004] microdia: I2C write to 02: d0 5c 02 00 16 01 e1 10
[241647.043993] microdia: I2C write to 04: d0 5c 04 02 81 00 04 10
[241647.058013] microdia: I2C write to 06: d0 5c 06 00 2d 30 02 10
[241647.071985] microdia: I2C write to 0e: b0 5c 0e 00 08 00 00 10
[241647.316931] microdia: I2C write to 06: b0 5c 06 00 2d 00 00 10
[241647.330925] microdia: I2C write to 05: b0 5c 05 00 04 00 00 10
[241647.344933] microdia: I2C write to 36: 90 5c 36 00 00 00 00 10
[241647.358916] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241647.421917] microdia: I2C write to 01: 90 5c 01 00 00 00 00 10
[241647.435896] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241647.456932] microdia: I2C write to 09: b0 5c 09 03 00 00 00 10
[241647.470901] microdia: I2C write to 01: 90 5c 01 00 00 00 00 10
[241647.484927] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241647.505911] microdia: I2C write to 20: 90 5c 20 00 00 00 00 10
[241647.519879] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241647.540881] microdia: I2C write to 20: b0 5c 20 00 00 00 00 10
[241647.554935] microdia: v4l_microdia_ioctl 00
[241647.554948] v4l2 ioctl VIDIOC_QUERYCAP, dir=r- (0x80685600)
[241647.554953] microdia: VIDIOC_QUERYCAP
[241647.557603] microdia: v4l_microdia_ioctl 01
[241647.557620] v4l1 ioctl VIDIOCGCAP, dir=r- (0x803c7601)
[241647.557625] microdia: VIDIOCGCAP
[241647.606857] microdia: Isoc cleanup
[241647.613863] microdia: URB unlinked synchronuously !
[241647.614851] microdia: URB unlinked synchronuously !
[241647.615850] microdia: URB unlinked synchronuously !
[241647.616856] microdia: URB unlinked synchronuously !
[241647.617852] microdia: URB unlinked synchronuously !
[241647.618848] microdia: URB unlinked synchronuously !
[241647.619848] microdia: URB unlinked synchronuously !
[241647.620848] microdia: URB unlinked synchronuously !
[241647.621847] microdia: URB unlinked synchronuously !
[241647.622847] microdia: URB unlinked synchronuously !
[241647.623846] microdia: URB unlinked synchronuously !
[241647.624844] microdia: URB unlinked synchronuously !
[241647.625845] microdia: URB unlinked synchronuously !
[241647.626844] microdia: URB unlinked synchronuously !
[241647.627844] microdia: URB unlinked synchronuously !
[241647.628846] microdia: URB unlinked synchronuously !
[241647.628869] microdia: Free buffers







When, I start camorama, I get:
[241675.865627] microdia: Allocate video buffers
[241675.866359] microdia: Allocated iso buffer at c4218000
[241675.866735] microdia: Allocated iso buffer at cfebc000
[241675.867057] microdia: Allocated iso buffer at dba40000
[241675.867379] microdia: Allocated iso buffer at cec98000
[241675.867711] microdia: Allocated iso buffer at d7834000
[241675.868047] microdia: Allocated iso buffer at d9698000
[241675.868388] microdia: Allocated iso buffer at d9b74000
[241675.868789] microdia: Allocated iso buffer at d4618000
[241675.869153] microdia: Allocated iso buffer at d74b0000
[241675.869507] microdia: Allocated iso buffer at d25d4000
[241675.869858] microdia: Allocated iso buffer at d262c000
[241675.870221] microdia: Allocated iso buffer at d253c000
[241675.870706] microdia: Allocated iso buffer at d6c80000
[241675.871073] microdia: Allocated iso buffer at c4d20000
[241675.871463] microdia: Allocated iso buffer at cec60000
[241675.871844] microdia: Allocated iso buffer at df758000
[241675.871859] microdia: Allocated frame buffer structure at dd9be3c0
[241675.874221] microdia: Allocated frame buffer 0 at e1101000.
[241675.902851] microdia: Allocated frame buffer 1 at e1602000.
[241675.932557] microdia: Allocated frame buffer 2 at e1b03000.
[241676.017666] microdia: Allocated image buffer at e2004000
[241676.017695] microdia: Reset all buffers
[241676.017702] Changing resolution to 640 by 480
[241676.017708] microdia: Set mode 3 [640x480]
[241676.051755] microdia: usb_microdia_isoc_init()
[241676.051788] microdia: dev->isoc_in_size = 3F0
[241676.051793] microdia: dev->isoc_in_endpointAddr = 1
[241676.051824] microdia: URB 0xdf85be00 submitted.
[241676.051832] microdia: URB 0xdf85b400 submitted.
[241676.051841] microdia: URB 0xde0c6c00 submitted.
[241676.051851] microdia: URB 0xde385e00 submitted.
[241676.051859] microdia: URB 0xde385c00 submitted.
[241676.051868] microdia: URB 0xdf87fa00 submitted.
[241676.051876] microdia: URB 0xde3be600 submitted.
[241676.051885] microdia: URB 0xde3be200 submitted.
[241676.051893] microdia: URB 0xdf4e3400 submitted.
[241676.051902] microdia: URB 0xdf4e3a00 submitted.
[241676.051911] microdia: URB 0xdd87f600 submitted.
[241676.051919] microdia: URB 0xddf0c200 submitted.
[241676.051928] microdia: URB 0xdd809a00 submitted.
[241676.051936] microdia: URB 0xde1eb600 submitted.
[241676.051945] microdia: URB 0xdebf0600 submitted.
[241676.051954] microdia: URB 0xdebf0000 submitted.
[241676.185352] microdia: I2C write to 0d: b0 5c 0d 00 01 00 00 10
[241676.199362] microdia: I2C write to 0d: b0 5c 0d 00 00 00 00 10
[241676.213340] microdia: I2C write to 01: d0 5c 01 00 01 00 16 10
[241676.227336] microdia: I2C write to 03: d0 5c 03 01 e1 02 81 10
[241676.241339] microdia: I2C write to 05: d0 5c 05 00 04 00 00 10
[241676.255331] microdia: I2C write to 07: d0 5c 07 30 02 04 80 10
[241676.269335] microdia: I2C write to 11: 90 5c 11 00 00 00 00 10
[241676.283325] microdia: I2C write to 01: d0 5c 01 00 04 00 16 10
[241676.297322] microdia: I2C write to 03: d0 5c 03 01 e6 02 86 10
[241676.311317] microdia: I2C write to 05: d0 5c 05 00 04 00 00 10
[241676.325314] microdia: I2C write to 07: d0 5c 07 30 02 00 08 10
[241676.339321] microdia: I2C write to 11: 90 5c 11 00 00 00 00 10
[241676.353306] microdia: I2C write to 0c: d0 5c 0c 00 00 00 00 10
[241676.367305] microdia: I2C write to 0e: d0 5c 0e 00 00 00 00 10
[241676.381306] microdia: I2C write to 10: d0 5c 10 00 00 00 00 10
[241676.397452] microdia: I2C write to 12: d0 5c 12 00 b0 00 7c 10
[241676.410290] microdia: I2C write to 14: d0 5c 14 00 00 00 00 10
[241676.424293] microdia: I2C write to 16: d0 5c 16 00 00 00 00 10
[241676.438288] microdia: I2C write to 18: d0 5c 18 00 00 00 00 10
[241676.452289] microdia: I2C write to 1a: d0 5c 1a 00 00 00 00 10
[241676.466296] microdia: I2C write to 1c: d0 5c 1c 00 00 00 00 10
[241676.480277] microdia: I2C write to 30: b0 5c 30 00 00 00 00 10
[241676.494276] microdia: I2C write to 20: b0 5c 20 00 00 00 00 10
[241676.508272] microdia: I2C write to 30: d0 5c 30 00 05 00 00 10
[241676.522272] microdia: I2C write to 34: 90 5c 34 00 00 00 00 10
[241676.550258] microdia: I2C write to 00: 90 50 00 00 00 00 00 10
[241676.564258] microdia: I2C slave 0x50 returned error during write
to address 0x00
[241676.606256] microdia: I2C write to 02: d0 5c 02 00 16 01 e1 10
[241676.620245] microdia: I2C write to 04: d0 5c 04 02 81 00 04 10
[241676.634242] microdia: I2C write to 06: d0 5c 06 00 00 30 02 10
[241676.648239] microdia: I2C write to 0e: b0 5c 0e 00 08 00 00 10
[241676.858201] microdia: I2C write to 06: b0 5c 06 00 2d 00 00 10
[241676.872187] microdia: I2C write to 05: b0 5c 05 00 04 00 00 10
[241676.886192] microdia: I2C write to 20: b0 5c 20 00 00 00 00 10
[241676.907179] microdia: I2C write to 20: b0 5c 20 00 00 00 00 10
[241676.928186] microdia: I2C write to 09: b0 5c 09 00 64 00 00 10
[241676.942172] microdia: I2C write to 2b: d0 5c 2b 00 a0 00 a0 10
[241676.956175] microdia: I2C write to 2d: d0 5c 2d 00 a0 00 a0 10
[241676.970170] microdia: I2C write to 33: 90 5c 33 00 00 00 00 10
[241677.301096] microdia: I2C write to 02: d0 5c 02 00 16 01 e1 10
[241677.315092] microdia: I2C write to 04: d0 5c 04 02 81 00 04 10
[241677.329098] microdia: I2C write to 06: d0 5c 06 00 2d 30 02 10
[241677.343079] microdia: I2C write to 0e: b0 5c 0e 00 08 00 00 10
[241677.588035] microdia: I2C write to 06: b0 5c 06 00 2d 00 00 10
[241677.602025] microdia: I2C write to 05: b0 5c 05 00 04 00 00 10
[241677.616024] microdia: I2C write to 36: 90 5c 36 00 00 00 00 10
[241677.630012] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241677.693012] microdia: I2C write to 01: 90 5c 01 00 00 00 00 10
[241677.707003] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241677.728002] microdia: I2C write to 09: b0 5c 09 03 00 00 00 10
[241677.742002] microdia: I2C write to 01: 90 5c 01 00 00 00 00 10
[241677.755988] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241677.776995] microdia: I2C write to 20: 90 5c 20 00 00 00 00 10
[241677.790976] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241677.811982] microdia: I2C write to 20: b0 5c 20 00 00 00 00 10
[241677.826059] microdia: v4l_microdia_ioctl 01
[241677.826073] v4l1 ioctl VIDIOCGCAP, dir=r- (0x803c7601)
[241677.826078] microdia: VIDIOCGCAP
[241677.826795] microdia: v4l_microdia_ioctl 09
[241677.826804] v4l1 ioctl VIDIOCGWIN, dir=r- (0x80207609)
[241677.826809] microdia: VIDIOCGWIN
[241677.827458] microdia: v4l_microdia_ioctl 0A
[241677.827467] v4l1 ioctl VIDIOCSWIN, dir=-w (0x4020760a)
[241677.827472] microdia: VIDIOCSWIN
[241677.827475] microdia: Set x=0, y=0
[241677.827480] microdia: Set width=320, height=240
[241677.827484] microdia: Flags = 0
[241677.875956] microdia: Isoc cleanup
[241677.879972] microdia: URB unlinked synchronuously !
[241677.880970] microdia: URB unlinked synchronuously !
[241677.881950] microdia: URB unlinked synchronuously !
[241677.882949] microdia: URB unlinked synchronuously !
[241677.883955] microdia: Iso frame 8 of USB has error -18
[241677.883966] microdia: Iso frame 9 of USB has error -18
[241677.883988] microdia: URB unlinked synchronuously !
[241677.889954] microdia: URB unlinked synchronuously !
[241677.890944] microdia: URB unlinked synchronuously !
[241677.891948] microdia: URB unlinked synchronuously !
[241677.892953] microdia: URB unlinked synchronuously !
[241677.893946] microdia: URB unlinked synchronuously !
[241677.894942] microdia: URB unlinked synchronuously !
[241677.895942] microdia: URB unlinked synchronuously !
[241677.896944] microdia: URB unlinked synchronuously !
[241677.897943] microdia: URB unlinked synchronuously !
[241677.898941] microdia: URB unlinked synchronuously !
[241677.899941] microdia: URB unlinked synchronuously !
[241677.926198] Changing resolution to 320 by 240
[241677.926212] microdia: Set mode 2 [320x240]
[241678.029105] microdia: usb_microdia_isoc_init()
[241678.029135] microdia: dev->isoc_in_size = 3F0
[241678.029140] microdia: dev->isoc_in_endpointAddr = 1
[241678.029170] microdia: URB 0xc0fd4000 submitted.
[241678.029179] microdia: URB 0xc0fd4800 submitted.
[241678.029189] microdia: URB 0xc0fd4a00 submitted.
[241678.029198] microdia: URB 0xc0fd4c00 submitted.
[241678.029206] microdia: URB 0xc0fd4e00 submitted.
[241678.029215] microdia: URB 0xdebf0000 submitted.
[241678.029224] microdia: URB 0xdebf0600 submitted.
[241678.029232] microdia: URB 0xdebf0c00 submitted.
[241678.029241] microdia: URB 0xdfab6e00 submitted.
[241678.029249] microdia: URB 0xddfa8c00 submitted.
[241678.029258] microdia: URB 0xdf847000 submitted.
[241678.029266] microdia: URB 0xdf85bc00 submitted.
[241678.029275] microdia: URB 0xdf85b000 submitted.
[241678.029284] microdia: URB 0xdf85ba00 submitted.
[241678.029293] microdia: URB 0xdf85b400 submitted.
[241678.029302] microdia: URB 0xdf85be00 submitted.
[241678.162902] microdia: I2C write to 0d: b0 5c 0d 00 01 00 00 10
[241678.176901] microdia: I2C write to 0d: b0 5c 0d 00 00 00 00 10
[241678.190887] microdia: I2C write to 01: d0 5c 01 00 01 00 16 10
[241678.204902] microdia: I2C write to 03: d0 5c 03 01 e1 02 81 10
[241678.218892] microdia: I2C write to 05: d0 5c 05 00 04 00 00 10
[241678.232881] microdia: I2C write to 07: d0 5c 07 30 02 04 80 10
[241678.246885] microdia: I2C write to 11: 90 5c 11 00 00 00 00 10
[241678.260876] microdia: I2C write to 01: d0 5c 01 00 04 00 16 10
[241678.274879] microdia: I2C write to 03: d0 5c 03 01 e6 02 86 10
[241678.288863] microdia: I2C write to 05: d0 5c 05 00 04 00 00 10
[241678.302869] microdia: I2C write to 07: d0 5c 07 30 02 00 08 10
[241678.316872] microdia: I2C write to 11: 90 5c 11 00 00 00 00 10
[241678.330856] microdia: I2C write to 0c: d0 5c 0c 00 00 00 00 10
[241678.344857] microdia: I2C write to 0e: d0 5c 0e 00 00 00 00 10
[241678.358846] microdia: I2C write to 10: d0 5c 10 00 00 00 00 10
[241678.372847] microdia: I2C write to 12: d0 5c 12 00 b0 00 7c 10
[241678.386851] microdia: I2C write to 14: d0 5c 14 00 00 00 00 10
[241678.400849] microdia: I2C write to 16: d0 5c 16 00 00 00 00 10
[241678.414847] microdia: I2C write to 18: d0 5c 18 00 00 00 00 10
[241678.428833] microdia: I2C write to 1a: d0 5c 1a 00 00 00 00 10
[241678.442832] microdia: I2C write to 1c: d0 5c 1c 00 00 00 00 10
[241678.456843] microdia: I2C write to 30: b0 5c 30 00 00 00 00 10
[241678.470829] microdia: I2C write to 20: b0 5c 20 00 00 00 00 10
[241678.484830] microdia: I2C write to 30: d0 5c 30 00 05 00 00 10
[241678.498816] microdia: I2C write to 34: 90 5c 34 00 00 00 00 10
[241678.526822] microdia: I2C write to 00: 90 50 00 00 00 00 00 10
[241678.540815] microdia: I2C slave 0x50 returned error during write
to address 0x00
[241678.582801] microdia: I2C write to 02: d0 5c 02 00 16 01 e1 10
[241678.596805] microdia: I2C write to 04: d0 5c 04 02 81 00 04 10
[241678.610808] microdia: I2C write to 06: d0 5c 06 00 00 30 02 10
[241678.624795] microdia: I2C write to 0e: b0 5c 0e 00 08 00 00 10
[241678.834755] microdia: I2C write to 06: b0 5c 06 00 2d 00 00 10
[241678.848736] microdia: I2C write to 05: b0 5c 05 00 04 00 00 10
[241678.862734] microdia: I2C write to 20: b0 5c 20 00 00 00 00 10
[241678.883730] microdia: I2C write to 20: b0 5c 20 00 00 00 00 10
[241678.904735] microdia: I2C write to 09: b0 5c 09 00 64 00 00 10
[241678.918719] microdia: I2C write to 2b: d0 5c 2b 00 a0 00 a0 10
[241678.932719] microdia: I2C write to 2d: d0 5c 2d 00 a0 00 a0 10
[241678.946725] microdia: I2C write to 33: 90 5c 33 00 00 00 00 10
[241679.277644] microdia: I2C write to 02: d0 5c 02 00 16 01 e1 10
[241679.291637] microdia: I2C write to 04: d0 5c 04 02 81 00 04 10
[241679.305642] microdia: I2C write to 06: d0 5c 06 00 2d 30 02 10
[241679.319628] microdia: I2C write to 0e: b0 5c 0e 00 08 00 00 10
[241679.564585] microdia: I2C write to 06: b0 5c 06 00 2d 00 00 10
[241679.578569] microdia: I2C write to 05: b0 5c 05 00 04 00 00 10
[241679.592569] microdia: I2C write to 36: 90 5c 36 00 00 00 00 10
[241679.606594] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241679.669555] microdia: I2C write to 01: 90 5c 01 00 00 00 00 10
[241679.683553] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241679.704553] microdia: I2C write to 09: b0 5c 09 03 00 00 00 10
[241679.718549] microdia: I2C write to 01: 90 5c 01 00 00 00 00 10
[241679.732559] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241679.753546] microdia: I2C write to 20: 90 5c 20 00 00 00 00 10
[241679.767524] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241679.788521] microdia: I2C write to 20: b0 5c 20 00 00 00 00 10
[241679.802538] microdia: v4l_microdia_ioctl 09
[241679.802550] v4l1 ioctl VIDIOCGWIN, dir=r- (0x80207609)
[241679.802556] microdia: VIDIOCGWIN
[241679.803276] microdia: v4l_microdia_ioctl 06
[241679.803285] v4l1 ioctl VIDIOCGPICT, dir=r- (0x800e7606)
[241679.803290] microdia: VIDIOCGPICT
[241679.804100] microdia: v4l_microdia_ioctl 14
[241679.804112] v4l1 ioctl VIDIOCGMBUF, dir=r- (0x80887614)
[241679.804118] microdia: VIDIOCGMBUF
[241679.805837] microdia: v4l_microdia_ioctl 13
[241679.805850] v4l1 ioctl VIDIOCMCAPTURE, dir=-w (0x40107613)
[241679.805856] microdia: VIDIOCMCAPTURE format=15
[241679.805861] microdia: VIDIOCMCAPTURE done
[241679.806825] microdia: v4l_microdia_ioctl 13
[241679.806834] v4l1 ioctl VIDIOCMCAPTURE, dir=-w (0x40107613)
[241679.806839] microdia: VIDIOCMCAPTURE format=15
[241679.806844] microdia: VIDIOCMCAPTURE done
[241680.421279] microdia: v4l_microdia_ioctl 07
[241680.421303] v4l1 ioctl VIDIOCSPICT, dir=-w (0x400e7607)
[241680.421308] microdia: VIDIOCSPICT
[241680.441725] microdia: I2C write to 01: 90 5c 01 00 00 00 00 10
[241680.455457] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241680.476460] microdia: I2C write to 09: b0 5c 09 03 00 00 00 10
[241680.490416] microdia: I2C write to 01: 90 5c 01 00 00 00 00 10
[241680.504829] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241680.525397] microdia: I2C write to 20: 90 5c 20 00 00 00 00 10
[241680.539395] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241680.560402] microdia: I2C write to 20: b0 5c 20 00 00 00 00 10
[241680.574386] microdia: VIDIOCSPICT done
[241680.575664] microdia: v4l_microdia_ioctl 07
[241680.575684] v4l1 ioctl VIDIOCSPICT, dir=-w (0x400e7607)
[241680.575689] microdia: VIDIOCSPICT
[241680.595392] microdia: I2C write to 01: 90 5c 01 00 00 00 00 10
[241680.609395] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241680.631486] microdia: I2C write to 09: b0 5c 09 03 00 00 00 10
[241680.644543] microdia: I2C write to 01: 90 5c 01 00 00 00 00 10
[241680.658356] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241680.679407] microdia: I2C write to 20: 90 5c 20 00 00 00 00 10
[241680.693366] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241680.714361] microdia: I2C write to 20: b0 5c 20 00 00 00 00 10
[241680.728340] microdia: VIDIOCSPICT done
[241680.729643] microdia: v4l_microdia_ioctl 07
[241680.729664] v4l1 ioctl VIDIOCSPICT, dir=-w (0x400e7607)
[241680.729670] microdia: VIDIOCSPICT
[241680.749354] microdia: I2C write to 01: 90 5c 01 00 00 00 00 10
[241680.763373] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241680.784346] microdia: I2C write to 09: b0 5c 09 03 00 00 00 10
[241680.798323] microdia: I2C write to 01: 90 5c 01 00 00 00 00 10
[241680.812298] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241680.833301] microdia: I2C write to 20: 90 5c 20 00 00 00 00 10
[241680.847282] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241680.868276] microdia: I2C write to 20: b0 5c 20 00 00 00 00 10
[241680.882273] microdia: VIDIOCSPICT done
[241680.883390] microdia: v4l_microdia_ioctl 07
[241680.883409] v4l1 ioctl VIDIOCSPICT, dir=-w (0x400e7607)
[241680.883415] microdia: VIDIOCSPICT
[241680.903292] microdia: I2C write to 01: 90 5c 01 00 00 00 00 10
[241680.917265] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241680.938260] microdia: I2C write to 09: b0 5c 09 03 00 00 00 10
[241680.952265] microdia: I2C write to 01: 90 5c 01 00 00 00 00 10
[241680.966274] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241680.987254] microdia: I2C write to 20: 90 5c 20 00 00 00 00 10
[241681.001276] microdia: I2C read from 00: a2 5c 00 00 00 00 00 10
[241681.022255] microdia: I2C write to 20: b0 5c 20 00 00 00 00 10
[241681.036250] microdia: VIDIOCSPICT done
[241681.356523] microdia: v4l_microdia_ioctl 12
[241681.356547] v4l1 ioctl VIDIOCSYNC, dir=-w (0x40047612)
[241681.356552] microdia: VIDIOCSYNC
[241697.664491] microdia: Isoc cleanup
[241697.671460] microdia: URB unlinked synchronuously !
[241697.672448] microdia: URB unlinked synchronuously !
[241697.673449] microdia: URB unlinked synchronuously !
[241697.674449] microdia: URB unlinked synchronuously !
[241697.675446] microdia: URB unlinked synchronuously !
[241697.676444] microdia: URB unlinked synchronuously !
[241697.677451] microdia: URB unlinked synchronuously !
[241697.679455] microdia: Iso frame 3 of USB has error -18
[241697.679475] microdia: Iso frame 4 of USB has error -18
[241697.679480] microdia: Iso frame 5 of USB has error -18
[241697.679485] microdia: Iso frame 6 of USB has error -18
[241697.679490] microdia: Iso frame 7 of USB has error -18
[241697.679495] microdia: Iso frame 8 of USB has error -18
[241697.679499] microdia: Iso frame 9 of USB has error -18
[241697.679536] microdia: URB unlinked synchronuously !
[241697.687457] microdia: URB unlinked synchronuously !
[241697.689450] microdia: Iso frame 0 of USB has error -18
[241697.689469] microdia: Iso frame 1 of USB has error -18
[241697.689474] microdia: Iso frame 2 of USB has error -18
[241697.689479] microdia: Iso frame 3 of USB has error -18
[241697.689484] microdia: Iso frame 4 of USB has error -18
[241697.689488] microdia: Iso frame 5 of USB has error -18
[241697.689493] microdia: Iso frame 7 of USB has error -18
[241697.689498] microdia: Iso frame 9 of USB has error -18
[241697.689531] microdia: URB unlinked synchronuously !
[241697.692449] microdia: Iso frame 0 of USB has error -18
[241697.692463] microdia: Iso frame 1 of USB has error -18
[241697.692468] microdia: Iso frame 2 of USB has error -18
[241697.692473] microdia: Iso frame 3 of USB has error -18
[241697.692478] microdia: Iso frame 4 of USB has error -18
[241697.692483] microdia: Iso frame 5 of USB has error -18
[241697.692488] microdia: Iso frame 7 of USB has error -18
[241697.692518] microdia: URB unlinked synchronuously !
[241697.700449] microdia: URB unlinked synchronuously !
[241697.701438] microdia: URB unlinked synchronuously !
[241697.702439] microdia: URB unlinked synchronuously !
[241697.703440] microdia: URB unlinked synchronuously !
[241697.711442] microdia: URB unlinked synchronuously !
[241697.711976] microdia: Free buffers




So, it seems the error is: Iso frame 0 has error -18


If anyone can give me a hint.

Cheers
Laurent

Comer352l

unread,
May 9, 2008, 3:33:01 PM5/9/08
to micr...@googlegroups.com
Hi Laurent,

you can trust in MT9Vx11 sensor probe function, your sensor is
MT9V111/MI0360SOC.
You're not the first one who reported these "Iso frame 0 of USB has
error -18" errors (Click
<http://groups.google.com/group/microdia/browse_thread/thread/3f2ae2949a8b36ed#>).
Which hardware/system do you use ?
The rest of this log looks fine, no further problems !

Frank

lolo06 schrieb:

Boris Borisov

unread,
May 9, 2008, 4:10:40 PM5/9/08
to micr...@googlegroups.com
Hi Laurent,
I solve the same problems with my 6270 (my camera is Delux DLV B32) and
I found hardware problem inside the camera. Really the detection is
working well
If you not trust to sensor detection function, you can try to read
sensor ID manually this is the sequence who is read the ID:
shemet microdia # insmod microdia.ko
shemet microdia # cd /sys/class/video4linux/video0/
shemet video0 # ls
adr brightness contrast dev device exposure fps hflip i2cadr
i2creg i2cslave informations name reg release subsystem uevent
vflip videostatus whitebalance
shemet video0 # echo 2 > adr
shemet video0 # echo 5c > i2cslave
shemet video0 # echo 01 > i2cadr
shemet video0 # echo 04 > i2creg
shemet video0 # echo ff > i2cadr
shemet video0 # cat i2creg
I2C-register 0xff = 0x82 0x3a (2) ----------> This is ID of MT9V111
shemet video0 # echo 36 > i2cadr
shemet video0 # cat i2creg
I2C-register 0x36 = 0x82 0x3a (2) ----------> This is ID of MT9V111
other register
shemet video0 #

If you have the same ID try to use the other USB hole in my situation
camera is working properly only in one hole without extension cable.
After little hardware changes my camera is working very stable with long
cable (about 2m) on each usb connector of my comp.
Bobby

Comer352l написа:

lolo06

unread,
May 9, 2008, 10:41:46 PM5/9/08
to microdia
:-)))))))))))

Hi Boris!

Thanks a lot !
It works now !!! I have a picture, that's the first time... Thks
again.

I have a pretty old PC (7/8 yrs..), so it has only USB 1 ports, and I
added a USB2 PCI board.
I was using a USB Hub + cable....

I connected directly to the USB2 PCI boards and I got a picture...
(only few glitches every seconds or so).

So that's a great step.

Merci
Laurent
> > <http://groups.google.com/group/microdia/browse_thread/thread/3f2ae294...>).
> > Which hardware/system do you use ?
> > The rest of this log looks fine, no further problems !
>
> > Frank
>
> > lolo06 schrieb:
>
> >> Hi,
>
> >> I have a 6270 camera.
>
> >> When opened the sensor is:
> >>http://microdia.googlegroups.com/web/iPRO_0c45%3A6270_microdia_pcb_fr...
>
> >> Looking at the datasheets for MT9V011 and MT9V111, the sensor seems to
> >> be a MT9V011 (28 pin PLCC), but the driver detects it as a MT9V111
> >> (packaging is 44 ball ICSP).
>
> >> a USB sniff is here:
> >>http://microdia.googlegroups.com/web/0c45_6270_21-Apr-2008_init_start...

lolo06

unread,
May 9, 2008, 11:01:07 PM5/9/08
to microdia
Hi,

My camera is a iPRO camera (I guess, "no brand").
Pictures of it are in the "Files" section, prefixed with "iPRO".

I tried with the extension cable, and I get error -71 ...

It would be interesting to know which hardware problem you had inside
the camera.

Regards
Laurent


On May 9, 10:10 pm, Boris Borisov <lz1...@gmail.com> wrote:

Boris Borisov

unread,
May 10, 2008, 1:05:47 PM5/10/08
to micr...@googlegroups.com
Hi
I nice to read for solved problems ;-)
I resend (copy & paste) my e-mail to my friend who is solved this LONG CABLE problems followed the instructions.
A little bit more information - the termination resistors is 50 OHms and additional capacitor parallel on Vcc 330uF || 100nF. If you can't understand the descriptions I can send the schematic but on your responsibility - this intervention if you not have experience in electronics can damage the your camera or USB port.

(Copy paste is start from here)
I have the same problems under Linux and under Windows (camera freezing). It turned out that is hardware problem. My camera is DLV B32. This is very low cost (~20 USD 1 year ago) camera made in China. Because I'm more hardware engineer (my position now is test engineer) and I have many tools to check USB interface and found root cause. In case - in my camera is missing termination resistors between RX+ RX- and TX+ TX- buses. On pcb is have place but not mounted maybe to decrease price.
You can do very simple experiment. If you have extension cable for USB you can increase the cable between PC and camera. After add the extension cable check the detection of camera into Linux kernel with command (as root or sudo)
cat /proc/bus/usb/devices
If all is OK this command shall be produced some similar
T:  Bus=05 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#=  4 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0c45 ProdID=6270 Rev= 1.00
S:  Product=USB20 Camera
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=usb_microdia_driver
E:  Ad=81(I) Atr=01(Isoc) MxPS=   0 Ivl=125us
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=64ms
I:  If#= 0 Alt= 1 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=usb_microdia_driver
E:  Ad=81(I) Atr=01(Isoc) MxPS= 128 Ivl=125us
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=64ms
I:  If#= 0 Alt= 2 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=usb_microdia_driver
E:  Ad=81(I) Atr=01(Isoc) MxPS= 256 Ivl=125us
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=64ms
I:  If#= 0 Alt= 3 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=usb_microdia_driver
E:  Ad=81(I) Atr=01(Isoc) MxPS= 384 Ivl=125us
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=64ms
I:  If#= 0 Alt= 4 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=usb_microdia_driver
E:  Ad=81(I) Atr=01(Isoc) MxPS= 512 Ivl=125us
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=64ms
I:  If#= 0 Alt= 5 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=usb_microdia_driver
E:  Ad=81(I) Atr=01(Isoc) MxPS= 680 Ivl=125us
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=64ms
I:  If#= 0 Alt= 6 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=usb_microdia_driver
E:  Ad=81(I) Atr=01(Isoc) MxPS= 800 Ivl=125us
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=64ms
I:  If#= 0 Alt= 7 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=usb_microdia_driver
E:  Ad=81(I) Atr=01(Isoc) MxPS=1800 Ivl=125us
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=64ms
I:  If#= 0 Alt= 8 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=usb_microdia_driver
E:  Ad=81(I) Atr=01(Isoc) MxPS=3072 Ivl=125us
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=64ms

Or to decrease and precise record use
cat /proc/bus/usb/devices | grep Vendor=0c45
This report only with one row like this:
P:  Vendor=0c45 ProdID=6270 Rev= 1.00
Try this command again and again and again
If you get this record each time with usb cable around 4m (this is more than the standard length 3m) - then the problem not in hardware.
If some time this is command generate empty message then you have similar problem as me. Solving of this one is to put this termination resistors between TX+/- and RX+/-
I think this is very easy manual for deflection of hardware USB communication problems.
Other possible problems is bad contact in USB connectors (from oxidation or contamination in connector).
Detection of this problem under windows is plug camera for 1h with log cable 3-4m, If picture is freezing after time then the hardware problem is detected.

Bobby

lolo06 написа:
Reply all
Reply to author
Forward
0 new messages